Re: snapshot upgrade hangs with "iwm0: DAD detected duplicate"

2021-03-02 Thread Theo de Raadt
It is a bug in dhclient introduced a few days ago. Thomas L. wrote: > Hi, > > current snapshot hangs during sysupgrade after rootfs mount with > > iwm0: DAD detected duplicate IPv6 address fe80:1::164f:8aff:fe25:dbef: NS > in/out=1/1, NA in=0 > iwm0: DAD complete for fe80:1::164f:8aff:fe25:

snapshot upgrade hangs with "iwm0: DAD detected duplicate"

2021-03-02 Thread Thomas L.
Hi, current snapshot hangs during sysupgrade after rootfs mount with iwm0: DAD detected duplicate IPv6 address fe80:1::164f:8aff:fe25:dbef: NS in/out=1/1, NA in=0 iwm0: DAD complete for fe80:1::164f:8aff:fe25:dbef - duplicate found iwm0: manual intervention required The problem persists over mu

snmp(1) Fix some ranges and types

2021-03-02 Thread Martijn van Duren
Live and learn. While working on a regress test I found that I misunderstood some types when I wrote this code. According to RFC2578: - timeticks is a 32 bit unsigned int - counter32 is a 32 bit unsigned int - unsigned is "indistinguishable from Gauge32" - integer is a 32 bit integer OK? martijn@

Re: smtpd: use libtls

2021-03-02 Thread Theo Buehler
On Sat, Feb 13, 2021 at 06:26:02PM +0100, Eric Faurot wrote: > Hi. > > The diff seems to work for the few people who tested it (thanks). > Anyone wants to ok this? I read through the diff several times, but I'm not familiar with smtpd so cannot claim a thorough review. Nothing really stood out as

Re: rpki-client, unify err() for out of memory situation

2021-03-02 Thread Theo de Raadt
Theo Buehler wrote: > On Tue, Mar 02, 2021 at 02:09:37PM +0100, Claudio Jeker wrote: > > This diff just brings all err(3) calls for out of memory situations to one > > form: err(1, NULL); > > It is not very helpful to tell if malloc, strdup or asprintf failed with no > > mem. Just one common idio

Re: rpki-client, unify err() for out of memory situation

2021-03-02 Thread Theo Buehler
On Tue, Mar 02, 2021 at 02:09:37PM +0100, Claudio Jeker wrote: > This diff just brings all err(3) calls for out of memory situations to one > form: err(1, NULL); > It is not very helpful to tell if malloc, strdup or asprintf failed with no > mem. Just one common idiom. > > OK? ok. The https diff

Re: Teach rpki-client some https

2021-03-02 Thread Theo Buehler
On Tue, Mar 02, 2021 at 11:45:22AM +0100, Claudio Jeker wrote: > On Mon, Mar 01, 2021 at 11:57:03AM +0100, Claudio Jeker wrote: > > On Sun, Feb 28, 2021 at 09:09:05AM +0100, Theo Buehler wrote: > > > On Thu, Feb 25, 2021 at 05:03:19PM +0100, Claudio Jeker wrote: > > > > On Fri, Feb 19, 2021 at 07:1

rpki-client, unify err() for out of memory situation

2021-03-02 Thread Claudio Jeker
This diff just brings all err(3) calls for out of memory situations to one form: err(1, NULL); It is not very helpful to tell if malloc, strdup or asprintf failed with no mem. Just one common idiom. OK? -- :wq Claudio Index: main.c

Merge issignal() and CURSIG()

2021-03-02 Thread Martin Pieuchot
t/rw/msleep(9) functions call CURSIG() which needs the KERNEL_LOCK(). To remove this requirement I'd like to start by merging CURSIG() with its underlying function issignal(). The goal of this merge is to avoid accessing shared value like `ps_siglist' multiple times. The diff below moves the con

Re: Teach rpki-client some https

2021-03-02 Thread Claudio Jeker
On Mon, Mar 01, 2021 at 11:57:03AM +0100, Claudio Jeker wrote: > On Sun, Feb 28, 2021 at 09:09:05AM +0100, Theo Buehler wrote: > > On Thu, Feb 25, 2021 at 05:03:19PM +0100, Claudio Jeker wrote: > > > On Fri, Feb 19, 2021 at 07:10:02PM +0100, Claudio Jeker wrote: > > > > Some TAL files now include a