All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about IP rerouting at POST_ROUTE_HOOK
@ 2004-03-01  2:21 Glenn.Swonk
  2004-03-01 15:25 ` Patrick McHardy
  2004-03-01 16:33 ` Question about IP rerouting at POST_ROUTE_HOOK Henrik Nordstrom
  0 siblings, 2 replies; 5+ messages in thread
From: Glenn.Swonk @ 2004-03-01  2:21 UTC (permalink / raw)
  To: netfilter-devel

I have written a netfilter module that loads as a kernel loadable module.

I am hooking into the NF_IP_POST_ROUTING hook.

I am trying to change the destination (IP address) of the packet at this
point and am having a problem.

I am able to change the dest IP address but it is sent out with the
original IP destination's  MAC address.

I cannot seem to change the destination MAC address at this point.

Is there a problem with changing the IP address (by manipulation of the
skbuf data structure) or
is a better method.

Any suggestions?

thanks,
glenn







Glenn Swonk
Toshiba America Information System
9740 Irvine Blvd.
Irvine, CA 92618

949-587-6530
gswonk at tais.com

Not Done = Less than 100%
Testing is never finished, only abandoned...

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

end of thread, other threads:[~2004-03-01 23:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-01  2:21 Question about IP rerouting at POST_ROUTE_HOOK Glenn.Swonk
2004-03-01 15:25 ` Patrick McHardy
2004-03-01 21:00   ` Updating a modular ip_queue Scott MacKay
2004-03-01 23:29     ` Henrik Nordstrom
2004-03-01 16:33 ` Question about IP rerouting at POST_ROUTE_HOOK Henrik Nordstrom

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.