Modifying the Linux TCP implementation
Hi everyone,
I have been trying to modify the TCP implementation code in Linux. I want to disable the reliability feature in TCP. can any one please suggest a way of doing this? Regards, sandeep |
What have you tried?
|
Quote:
- Find out which of those mechanisms can be disabled from user land using sysctls (if any). - Check which mechanisms (if any) can be disabled using compile time kernel configuration options. - For the mechanisms that remain you will have to change kernel code. That is not a trivial task. Depending on test requirements and your understanding of the Linux Kernel you may find it (slightly) easier to start with modifying a 2.4 kernel. |
why?
If it is just to have unreliable delivery, use UDP. |
modifying the linux tcp
@ smallpond: i ahve been trying to check how the tcp.c works using printk ststements, i am checking the messages in /var/log. its not just about reliability, i am trying to disable any of the features of tcp (reliability, congestion control, flow control, ordering and error control).
|
@unspawn: hi thanx for the reply. i tried to do more research but i see there is no explanation for tcp implementation online. could you please suggest some materials , if there is any...
|
There is a fair amount of information online.
One at http://www.cs.unh.edu/cnrg/people/gh...linux-net.html You can google for "linux tcp implementation", and find a number of books, university papers/courses... |
@jpollard: thank you.
|
All times are GMT -5. The time now is 10:31 PM. |