Implementing IP_SENDIF (like SO_BINDTODEVICE)

George V. Neville-Neil gnn at neville-neil.com
Wed Oct 27 19:29:56 PDT 2004


At Wed, 27 Oct 2004 12:52:33 -0700,
Bruce M Simpson wrote:
> 
> On Wed, Oct 27, 2004 at 12:28:22PM -0700, Julian Elischer wrote:
> > >It annoys me that we have to resort to BPF to send IP datagrams on
> > >unnumbered interfaces. Here is a half baked idea. Please look and
> > >tell me what you think.
> > 
> > I've sent lots of datagrams on un-numberred interfaces using netgraph..
> 
> I should qualify my post a bit more: I began thinking along these lines
> with the intention of enabling ISC dhcp (and dhclient) to be compiled
> without using bpf support. I don't have the time or interest to port ISC
> dhcp to use netgraph, but I'd be interested to see the results if that
> happened.
> 

Just one quick question.  Does the use of this option require root
privilege?  I think it should :-)

Later,
George


More information about the freebsd-net mailing list