Re: [HELP] Ethernet frame redirector

From: bert hubert (ahu@ds9a.nl)
Date: Sun Apr 16 2000 - 22:45:49 EST


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.

> I wish it is device independent, but I really have no idea where should I
> start from the linux kernel source tree. Could any of you be so kind to
> tell me where to start? Any reference hints are appreciated.

http://www.google.com and 'netfilter' should do nicely.

Regards,

bert hubert

-- 
                       |              http://www.rent-a-nerd.nl
                       |                     - U N I X -
                       |          Inspice et cautus eris - D11T'95

- 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:10 EST