Re: [Dnsmasq-discuss] Support of labels in --interface

2017-02-23 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > But you can also be notified about interface changes via a netlink > socket, so you can cache the interface information. > See my reply to Petr: there is an option for that but it's not the default for historical reasons. Cheers, Simon.

Re: [Dnsmasq-discuss] Support of labels in --interface

2017-02-23 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 22/02/17 21:52, Petr Menšík wrote: > I would suggest a new option then. For example > --bind-interfaces-exact. It would listen just like > --bind-interfaces, but would allow you to listen only on virbr0, > when ignoring any addresses with

Re: [Dnsmasq-discuss] Support of labels in --interface

2017-02-23 Thread Brüns , Stefan
On Mi, 2017-02-22 at 20:51 +, Simon Kelley wrote: > > You can get the destination address for datagrams from the > > IP_PTKINFO auxiliary data: > > > > man 7 ip IP_PKTINFO (since Linux 2.2) Pass an IP_PKTINFO ancillary > > message that contains a pktinfo structure that supplies some > >