Re: Modify the TCP Window size

Linux Advanced Routing and Traffic Control

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

 



Ricardo Leite wrote:

Hi lartc users,

When a packet arrived to a network device it was stored on a skb structure and then enqueue on a network stack.

One of the tests that I want to do is modify the TCP window size and verify the changes on the bandwidth between two hosts.
To do that I need to know how to modify de packet window size and maybe recalculate the checksum value of the TCP packet.


All I can do is read the information of the packet stored on the skb structure.


I think I saw a patch in patchomatic for iptables to modify window size. Perhaps have a look at that and see if it offers you some clues. I seem to remember the answer is in the ACK packets sent back to the server?

Ed W
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux