[Dnsmasq-discuss] Restrict dhcpd listening interfaces.

Ed W lists at wildgooses.com
Wed Mar 28 23:46:26 BST 2012


On 28/03/2012 13:59, Simon Kelley wrote:
> Linux has a sockopt, SO_BINDTODEVICE which does this job admirably, 
> but isn't portable. 

How interesting... I wanted to do exactly this on just linux for a 
project I'm working on - I didn't realise that this option existed!  
Cool! Thanks!

(Now I just need to figure out how to use it from perl sockets...)

Many thanks for the tip!

Ed W



More information about the Dnsmasq-discuss mailing list