All of lore.kernel.org
 help / color / mirror / Atom feed
* Sending back out A TCP Packet from netfilter
@ 2004-02-23  3:56 Chee Yong TAN
  2004-02-23  7:33 ` Henrik Nordstrom
  0 siblings, 1 reply; 6+ messages in thread
From: Chee Yong TAN @ 2004-02-23  3:56 UTC (permalink / raw)
  To: netfilter-devel

Hi,

I need to do some mangling of a TCP packet at netfilter level and send 
the packet out back to the sending host.Upon receiving the packet, my 
module will check if the packet need to be send back to the sending host 
  after mangling.I tried using ip_send() to send back the packet but it 
don't seem to work but when i do a tcpdump capture i manage to capture 
the packet. I return a verdict of NF_STOLEN for the received packet. I 
did invert the ip address, ports and the hardware address. I also 
updated the sequence numbers in the header.

What is the proper procedure in getting the packet send out back to the 
network ?

I need it to support both 2.2 and 2.4 kernels

Thanks in advance

Regards,
Chee Yong

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-24  7:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23  3:56 Sending back out A TCP Packet from netfilter Chee Yong TAN
2004-02-23  7:33 ` Henrik Nordstrom
2004-02-23 12:14   ` Chee Yong TAN
2004-02-23 14:19     ` Henrik Nordstrom
2004-02-24  2:18       ` Chee Yong TAN
2004-02-24  7:00         ` Chee Yong TAN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.