Fix netstart when wg requires DNS

2021-10-31 Thread Daniel Moch
I have a server that configures a wg(4) interface to include a peer where wgendpoint is specified via a DNS address. This had been working prior to upgrading to 7.0. The below patch gets it working again by starting dhcpleased before calling netstart in rc, and moving the wait for a default route i

Re: acme-client(1): dns-01

2020-12-29 Thread Daniel Moch
Theo de Raadt wrote: > never use nobody for another purpose. Of course you're right. I regret the suggestion that this was a good idea, especially in a production environment. Anyway, FWIW I looked through the code as well and didn't notice any issues.

Re: acme-client(1): dns-01

2020-12-24 Thread Daniel Moch
in other, similar utilities. Maybe you could replace "exec" with "hook," or "hook exec" if you want to keep it semi-grammatical. Thanks! -- Daniel Moch https://djmo.ch

openrsync: fix poll_timeout in server mode

2020-12-12 Thread Daniel Moch
A recent change to openrsync added the --timeout opt. There's code to handle the (default) case of --timeout=0, which sets the poll_timeout to -1 (INFTIM). Unfortunately that code doesn't run in the server process, meaning all of the relevant calls to poll(2) return immediately and the process fa