Implementing IP_SENDIF (like SO_BINDTODEVICE)

Julian Elischer julian at elischer.org
Thu Oct 28 10:35:40 PDT 2004



George V. Neville-Neil wrote:

>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 :-)
>

netgraph requires root privs to set up a graph..

>
>Later,
>George
>_______________________________________________
>freebsd-net at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-net
>To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>  
>



More information about the freebsd-net mailing list