Reputation: 31
For my research, I would like to manually control the congestion control window size of TCP.
I want to explicitly stop the window from being reduced when segment/ack loss occurs on a test network.
Is this possible at all?
I have been looking into ways of doing this using Python, Netem and Scapy. I have access to both windows and linux (ubuntu 12).
Upvotes: 3
Views: 3278
Reputation: 478
This worked for me. Add followings to the /etc/sysctl.conf file upon your requirment
#Maximum Socket Receive Buffer
net.core.rmem_max = 33554432
#Maximum Socket Send Buffer
net.core.wmem_max = 33554432
Run "sysctl -p" to apply.
Upvotes: -1