Re: dhcpleased - set ciaddr per RFC

2021-11-17 Thread Florian Obser
On 2021-11-16 09:56 -07, Joel Knight wrote: > Hi. On a firewall recently upgraded to 7.0, I noticed that dhcpleased > was not getting a reply from my ISP's DHCP server during renewal at > T1. At T2, dhcpleased would broadcast the REQUEST which would be > answered. Testing with dhclient showed succ

dhcpleased(8): send default client id

2021-11-17 Thread Florian Obser
This is Joel's diff, extracted from the jumbo diff. If there is an interface config but no "send client id" option, send the default as the man page claims we would do. This is OK florian, or if someone wants to give me an OK... diff --git frontend.c frontend.c index e4b2419c96a..4984cb63e06 100

Re: Retry sleep in poll/select

2021-11-17 Thread Martin Pieuchot
On 16/11/21(Tue) 13:55, Visa Hankala wrote: > Currently, dopselect() and doppoll() call tsleep_nsec() without retry. > cheloha@ asked if the functions should handle spurious wakeups. I guess > such wakeups are unlikely with the nowake wait channel, but I am not > sure if that is a safe guess. I'm

Re: Print learned DNS from sppp(4) in ifconfig(8)

2021-11-17 Thread Klemens Nanni
On Wed, Nov 17, 2021 at 08:51:38AM +0100, Bjorn Ketelaars wrote: > Like umb(4), sppp(4) natively learns DNS information. Among the > differences between these two devices is that umb prints this > information from ifconfig(8) and sppp does not. I would like to equalize > this behaviour, and add the

Re: IPsec tdb ref counting

2021-11-17 Thread Hrvoje Popovski
On 16.11.2021. 0:08, Hrvoje Popovski wrote: > On 15.11.2021. 16:44, Hrvoje Popovski wrote: >> On 15.11.2021. 15:04, Vitaliy Makkoveev wrote: >>> On Mon, Nov 15, 2021 at 02:51:16PM +0100, Hrvoje Popovski wrote: >>> >>> And you don'n see "> tdb_free() killing ourself" in dmesg >>> output? >>

Re: possible fix for Xorg 21.1.1 crashes

2021-11-17 Thread David Hill
On 11/16/21 18:21, Matthieu Herrb wrote: On Tue, Nov 16, 2021 at 11:26:40PM +0100, Matthieu Herrb wrote: Hi, I think I found the bug that causes crashes in X for some people. If X started crashing since you upgraded to the last snapshots, can you try the patch below ? get /usr/xenocara from

wc(1): accelerate word counting

2021-11-17 Thread Scott Cheloha
In wc(1) we currently count words, both ASCII and multibyte, in a getline(3) loop. This makes sense in the multibyte case because stdio handles all the nasty buffer resizing for us. We avoid splitting a multibyte between two read(2) calls and the resulting code is simpler. However, for ASCII inp

Re: Retry sleep in poll/select

2021-11-17 Thread Scott Cheloha
> On Nov 17, 2021, at 03:22, Martin Pieuchot wrote: > > On 16/11/21(Tue) 13:55, Visa Hankala wrote: >> Currently, dopselect() and doppoll() call tsleep_nsec() without retry. >> cheloha@ asked if the functions should handle spurious wakeups. I guess >> such wakeups are unlikely with the nowake wa

Re: possible fix for Xorg 21.1.1 crashes

2021-11-17 Thread Laurence Tratt
On Wed, Nov 17, 2021 at 09:25:22AM -0500, David Hill wrote: Hello David, >>> I think I found the bug that causes crashes in X for some people. > The first diff did not help, but this one has kept my X stable for 12 hours > so far... I haven't got quite as far as 12 hours with it, yet, but I've s