Skip to contentSkip to conversation

Changing TCP header using Netfilter

DISCUSSION vipin mehta 1 participant 1 message Feb 8, 2003

lore
Share & tools
lore
#0 lore raw

Hello all,
I am implementing a connection failure resistant server side TCP. At some
point, the implementation demands to change the TCP sequence number and window size of the outgoing packets. I have been using the QUEUE target confidently all this while for bringing the packets to the user space and analysing and then releasing them back into the kernel but I had not realized that I cant 'change' the packet and reinsert it. I can only ACCEPT or DENY the packet. Is there any way to change the TCP header information of the outgoing packet from the user space. I would not like to go into the ip_queue_xmit function and do the same. Please advise.

Regards,
Vipin

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963