All of lore.kernel.org
 help / color / mirror / Atom feed
* ip_local_deliver related query
@ 2006-02-03  6:13 Vasantha Kumar Puttappa
  2006-02-03 13:56 ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Vasantha Kumar Puttappa @ 2006-02-03  6:13 UTC (permalink / raw)
  To: netfilter-devel

Hi,

( I am assuming packet arrival to the local host)

  As far as I know Netfilter hook  for "INPUT" chain is called just before
the ip_local_deliver() function is called. If I am not wrong,
ip_local_deliver function will remove the IP header and gives the packet
to appropriate function in transport layer ( TCP or UDP or ICMP
Process).


 What I am want to do is to change the source IP address of the IP packet
just before calling the ip_local_deliver() using IPtables.

So I want know, will this go smoothly assuming there is a socket waiting
for this kind of packet(packet with new source IP address) or will
something go wrong ?



Please give your valuable feedback and correct me for any wrong
understanding.


-------
Vasanth

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

end of thread, other threads:[~2006-02-07 14:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-03  6:13 ip_local_deliver related query Vasantha Kumar Puttappa
2006-02-03 13:56 ` Patrick McHardy
2006-02-04  6:21   ` Vasantha Kumar Puttappa
2006-02-07  6:28     ` Vasantha Kumar Puttappa
2006-02-07 14:47       ` Patrick McHardy

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.