Re: RFC: ported NetBSD if_bridge

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Sat, 17 Apr 2004 10:32:37 +0300
On Sat, Apr 17, 2004 at 12:24:41AM -0700, Julian Elischer wrote:
[...]
> first learn about all the existing features, including netgraph
> which has so many hidden features that you can just about 
> re-impliment several standard network features using it..
> 
Definitely!  That's the best constructor I've ever had since
I was a child.  ;)

> >  I guess the main advantage is that all three
> > *BSDs would have the same code and interface. While I imported it from NetBSD,
> > it originated in OpenBSD. Thats assuming anyone cares about that sort of
> > thing.
> > 
> 
> ng_bridge allows you to bridge to things other than interfaces..
>  e.g. You can bridge 2 ethernet interfaces and a UDP tunnel
> and have the other end of the tunnel bridged back to ethernet.
> 
> e.g.
> 
> en1----+                                         +---- en2
>       [ng_bridge]--[UDP]-------[UDP]----[ng_bridge]
> en3----+                                         +---- en4
> 
Filtering can be done with ng_bpf(4).

OK, I guess that's enough Netgraph propaganda.  ;)


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Fri Apr 16 2004 - 22:32:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:51 UTC