Is there any easy & fast way to add TCP options to the SKB packet like Window scaling factor or Time stamp with C on netfilter. Or if any body has example it would be perfect to see.
Thank you
Is there any easy & fast way to add TCP options to the SKB packet like Window scaling factor or Time stamp with C on netfilter. Or if any body has example it would be perfect to see.
Thank you
One of the fastest way is by using
sysctland following are various options, but as you are interested in window size and timestamp are below:The command to control them is:
Otherwise you can control it programatically like the way timestamp is controlled either in software or hardware in this guide.