The Link
https://lists.linux-foundation.org/pipermail/bridge/2008-October/006074.html ,
is about capturing packets and sending to user space. Speed is important in my
current scenario. Is there anyway I can do everything in kernel specially by
hacking or tweaking the already kernel space. Instead of socket programming and
capturing packets at ethernet?> Date: Sun, 9 Nov 2008 00:14:21 +0530> From:
[EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Subject: Re: [Bridge] Modifying All
Packets passing through the bridge!> CC: [email protected]> >
You could probably use the solution that was given to an earlier> question on
this list (Bridge with a tweak...). The message is> archived at
https://lists.linux-foundation.org/pipermail/bridge/2008-October/006074.html>
.> > On Sat, Nov 8, 2008 at 4:50 PM, Fahim Akhter <[EMAIL PROTECTED]> wrote:> >
Hi Everyone,> >> > I am currently working on a Ethernet Link Encryptor (so its
called). The> > concept is to have two Subnetworks connected together using two
bridges and> > the middle lays the internet connection or another network. The
bridge is> > meant for encryption. The ecryption module and ready and working
(> > independantly ) , if one bridge is set to crypto the other is supposed to>
> turn on automatically.> >> > In crypto mode you only accept packet modified
by the other bridge the rest> > of the packets ( rest of the LANS/INTERNET) are
supposed to be dropped. In> > order to acheive that , I have to modify all the
packets passing through the> > bridge so the other bridge is able to recognise
it.> >> > I was modifying the packets in net/bridge/br_forward.c
should_deliver() but> > on the other end I only received ARP packets as
modified. Than I switched> > over to net/bridge/br_input.c br_handle_frame()
but encountring the same> > problem. And in the kernel log only a few packets
appear. ( dmesg , I'm> > printing a message )> >> > I need to Modify all
packets passing through the bridge ( in kernel ) . Any> > Ideas ?> >> >
Thanks,> > Fahim Akhter> >> > ________________________________> > Discover the
new Windows Vista Learn more!> >
_______________________________________________> > Bridge mailing list> >
[email protected]> >
https://lists.linux-foundation.org/mailman/listinfo/bridge> >
_________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
_______________________________________________
Bridge mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/bridge