All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] Modifying All Packets passing through the bridge!
@ 2008-11-08 11:20 Fahim Akhter
  2008-11-08 18:44 ` Srinivas M.A.
  0 siblings, 1 reply; 10+ messages in thread
From: Fahim Akhter @ 2008-11-08 11:20 UTC (permalink / raw)
  To: bridge

[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]


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
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE

[-- Attachment #2: Type: text/html, Size: 1569 bytes --]

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

end of thread, other threads:[~2008-11-13  6:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-08 11:20 [Bridge] Modifying All Packets passing through the bridge! Fahim Akhter
2008-11-08 18:44 ` Srinivas M.A.
2008-11-10  6:27   ` Fahim Akhter
2008-11-10 10:28     ` Srinivas M.A.
2008-11-10 12:02       ` Fahim Akhter
2008-11-10 16:35         ` Stephen Hemminger
2008-11-11  5:19           ` Fahim Akhter
2008-11-11  7:16           ` Fahim Akhter
2008-11-11 17:11             ` Stephen Hemminger
2008-11-13  6:12               ` Fahim Akhter

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.