tcp performance tuning using /proc/sys/net/ipv4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello list members,
   this is regarding linux tcp implementation ..
if a tcp client application is requesting large receive window using
setsockopt.. 
and is opening multiple connections to  different servers...
there is a possiblity that tcp buffers might get exhausted(in scenarios
where there is lot of congestion or when a server is deliberately 
sending only some packets in the advertised window whereby the native
tcp has to buffer all these packets before passing to the user,
resulting in a DOS attack).
->My question is whether linux tcp implementation deal with such
situations by lowering the window sizes outgoing packets so that buffers
will not get exhausted....
i have seen tcp_adv_win_scale and tcp_app_win of proc by which one can
control the window sizes.
->how can one use these options to mitigate the aforesaid problems?
and does this problem is  automatically taken care of by linux stack...

thanks and regards
Syed

 


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux