Re: Modifying bridged traffic



Eric Anderson wrote:
What is the easiest way to play with modifying data in-transit within an ethernet bridge?

For instance, say I have something like this:

[BOX 1] <----> [ BOX 2 ] <----> [ BOX 3 ]

And BOX 2 is a FreeBSD box with bridging enabled between two ethernet interfaces, how can I parse/modify the ethernet frames as they pass through?

a netgraph bridge can do that (you can hook two ng_bridges together
and capture all the packets that flow between them...

There are also some patches that allow divert sockets to be
attached to a bridging ipfw firewall.


Eric

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • DSL router when what I need is a bridge; ARP problem?
    ... My only choice for a DSL isp will only do G.lite in routing mode, ... the freebsd box handling routing and other duties for hosts connected ... to a hub on another ethernet card. ... From the arp man page, it seems like an arp -s entry should be ...
    (freebsd-questions)
  • network perf : em driver ?
    ... I'm the happy owner of a Tyan Tiger i7520SD motherboard, sporting two ethernet ports using a Intel 82571EB GbE controller and running FreeBSD 6.2 RC1. ...
    (freebsd-performance)
  • Re: Connecting to the Internet
    ... > Hello everyone...for the first time. ... I very recently installed FreeBSD on my first ... How do I connect it to the Internet using Ethernet? ...
    (freebsd-questions)
  • Re: Inline/Bypass ethernet NIC for FreeBSD
    ... I just curious about the availability of inline/bypass ethernet NIC ... any OS, not just FreeBSD.) ... Your google search skill must be low, ... I just want to use it as a NIC for my firewall, ...
    (freebsd-net)
  • Realtek RTL8169 on FreeBSD 5.4: no carrier
    ... I recently installed FreeBSD 5.4 on an ABIT AA-8 DuraMax and all went ... I can successfully ping localhost and the IP that was assigned to re0 ... when I plug an ethernet cable from my ... if I manually set the media with the following command: ...
    (freebsd-hackers)