Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread Robert Elz
Date:Sat, 15 Apr 2017 20:24:45 -0700 From:John Nemeth Message-ID: <201704160324.v3g3ojwt018...@server.cornerstoneservice.ca> | There are issues with IP_PKTINFO on NetBSD, see 48166 and 48280. The missing field (48166) doesn't bother me (I did see it exists on

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread Christos Zoulas
On Apr 15, 8:14pm, jnem...@cue.bc.ca (John Nemeth) wrote: -- Subject: Re: bind reacts badly to dhcpcd losing/regaining connectivity | } It is a weak copyleft license. It creates problems for us because | } it will require a lot more work to import, and cause more issues | } for redistribution. |

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread Christos Zoulas
On Apr 16, 6:48am, k...@munnari.oz.au (Robert Elz) wrote: -- Subject: Re: bind reacts badly to dhcpcd losing/regaining connectivity | Date:Sat, 15 Apr 2017 22:16:43 + (UTC) | From:chris...@astron.com (Christos Zoulas) | Message-ID: | | | > How is this done

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread John Nemeth
On Apr 16, 8:23am, Robert Elz wrote: } } | I suspect the IP_RECVDSTADDR setsockopt() } } Actually, more probably IP_PKTINFO as that's the one named uses for IPv6. } Either would do for the purpose of determining the incoming address of a } UDP datagram, so the reply can be sent from the correc

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread John Nemeth
On Apr 15, 10:16pm, Christos Zoulas wrote: } In article <201704152047.v3fklaxz010...@server.cornerstoneservice.ca>, } John Nemeth wrote: } > } > What's wrong with the MPL? } } It is a weak copyleft license. It creates problems for us because } it will require a lot more work to import, and c

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread Robert Elz
Date:Sun, 16 Apr 2017 06:48:28 +0700 From:Robert Elz Message-ID: <17026.1492300...@andromeda.noi.kre.to> | I suspect the IP_RECVDSTADDR setsockopt() Actually, more probably IP_PKTINFO as that's the one named uses for IPv6. Either would do for the purpose of determi

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread Robert Elz
Date:Sat, 15 Apr 2017 22:16:43 + (UTC) From:chris...@astron.com (Christos Zoulas) Message-ID: | > How is this done in NetBSD? | | bind to INADDR_ANY I assume that what jnemeth was really asling, was how to make it work the way bind requires, and I susp

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread Christos Zoulas
In article <201704152047.v3fklaxz010...@server.cornerstoneservice.ca>, John Nemeth wrote: > > What's wrong with the MPL? It is a weak copyleft license. It creates problems for us because it will require a lot more work to import, and cause more issues for redistribution. >} to add an option

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread John Nemeth
On Apr 15, 9:09am, Christos Zoulas wrote: } On Apr 15, 5:29pm, k...@munnari.oz.au (Robert Elz) wrote: } } | ps: Christos - capabilities (if we had them) would not be the answer - if you } | were to trust bind to be unhackable, then just using root would be just as } | good a solution, if you (w

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread Christos Zoulas
On Apr 15, 5:29pm, k...@munnari.oz.au (Robert Elz) wrote: -- Subject: Re: bind reacts badly to dhcpcd losing/regaining connectivity | ps: Christos - capabilities (if we had them) would not be the answer - if you | were to trust bind to be unhackable, then just using root would be just as | good a

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread Robert Elz
Date:Sat, 15 Apr 2017 10:57:08 +0200 From:Rhialto Message-ID: <20170415085708.gb17...@falu.nl> | Ah, that is probably why the following attempt did not cause bind to | open a wildcard socket: | | listen-on-v6 { any; }; /* I had this one already */ |

Re: bind reacts badly to dhcpcd losing/regaining connectivity

2017-04-15 Thread Rhialto
On Sat 15 Apr 2017 at 13:55:08 +0700, Robert Elz wrote: > Changing the bind() call is easy, fixing all the places it is assumed to > work the way it now does is harder. Ah, that is probably why the following attempt did not cause bind to open a wildcard socket: listen-on-v6 { any; }; /*