Ethernet Bridge development
 help / color / mirror / Atom feed
From: "Srinivas M.A." <srinivas.aji@gmail.com>
To: Fahim Akhter <akhter.fahim@hotmail.com>
Cc: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] Modifying All Packets passing through the bridge!
Date: Sun, 9 Nov 2008 00:14:21 +0530	[thread overview]
Message-ID: <fed120860811081044k52dbd99fs174d10cd2df33d34@mail.gmail.com> (raw)
In-Reply-To: <BAY119-W404011B5F297F6E9D47DAA8B180@phx.gbl>

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 <akhter.fahim@hotmail.com> 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
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge
>

  reply	other threads:[~2008-11-08 18:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-08 11:20 [Bridge] Modifying All Packets passing through the bridge! Fahim Akhter
2008-11-08 18:44 ` Srinivas M.A. [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fed120860811081044k52dbd99fs174d10cd2df33d34@mail.gmail.com \
    --to=srinivas.aji@gmail.com \
    --cc=akhter.fahim@hotmail.com \
    --cc=bridge@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox