Re: [HELP] Ethernet frame redirector

From: Rusty Russell (rusty@linuxcare.com.au)
Date: Mon Apr 17 2000 - 21:47:18 EST


In message <20000417054549.A27658@home.ds9a.nl> you write:
> On Mon, Apr 17, 2000 at 09:32:01AM +0800, ¼B¾JÂ× wrote:
>
> > I am a newbie in Linux kernel programming. I am wondering if any of
> > you could tell me how to make an ethernet frame "redirector" as a
> > kernel module....What I wish to do is simple: "Receive an ethernet
> > frame, analyze it, and resend it from the SAME card with another MAC
> > address. No IP layer and above routines invloved."
>
> netfilter can do this for you, even from userspace if you want it to.

Unfortunately, no. Netfilter operates at the protocol layer. To do this
involves modifying the network driver, and some bridging-style
trickiness.

Rusty.

--
Hacking time.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:12 EST