Re: Fwd: explicit_bzero vs. alternatives

2020-08-10 Thread Philipp Klaus Krause
Am 11.08.20 um 02:48 schrieb Damien Miller: > > We went with explict_bzero because our only use-case for this was > safe erasure that could not be elided by the compiler. > > I don't see any need for explicit_memset() - if anything depends on > the overwritten value then simple memset() should be

RTM_DELETE messages for L2 routes have incorrect flags

2020-08-10 Thread Jonathan Matthew
While looking into filtering out messages for L2 routes in the kernel to reduce load on routing daemons, I noticed that the RTM_DELETE messages do not have the RTF_LLINFO flag set, which is inconvenient because that's what I want to filter on. I tracked this down to r1.361 and r1.362 of net/route.

Re: Fwd: explicit_bzero vs. alternatives

2020-08-10 Thread Damien Miller
On Mon, 10 Aug 2020, Amit Kulkarni wrote: > moving to tech@ > > -- Forwarded message - > From: Philipp Klaus Krause > Date: Mon, Aug 10, 2020 at 4:34 AM > Subject: explicit_bzero vs. alternatives > To: > > > OpenBSD has the explicit_bzero function to reliably (i.e. even if not

Re: pipex "idle-timeout" work with pppx(4).

2020-08-10 Thread Vitaliy Makkoveev
> On 10 Aug 2020, at 19:53, Vitaliy Makkoveev wrote: > > We are doing all wrong :) > > We can just unlink pppx(4) related session from `pipex_session_list' if > it's time expired. But since this unlinked session is still exists in > pppx(4) layer we can access through pppx_get_closed() withou

Re: pms(4): disable parity checking for specific elantech fw

2020-08-10 Thread sxvghd
On 2020-08-08 22:47, Marcus Glocker wrote: Can we maybe add a small comment explaining the inverted parity bits behaviour on cold boot for this firmware version? Sure thing. Index: pms.c === RCS file: /cvs/src/sys/dev/pckbc/pms.c,

Re: [Patch] Change httpd's handling of request "Host:" headers

2020-08-10 Thread Sebastian Benoit
Ross L Richardson(open...@rlr.id.au) on 2020.08.09 20:07:11 +1000: > > At present, if a request contains no "Host:" header [HTTP pre-1.1] or > if the supplied header does not match any of the servers configured > in httpd.conf, the request is directed to the first server. This > isn't documented,

Re: pipex "idle-timeout" work with pppx(4).

2020-08-10 Thread Vitaliy Makkoveev
We are doing all wrong :) We can just unlink pppx(4) related session from `pipex_session_list' if it's time expired. But since this unlinked session is still exists in pppx(4) layer we can access through pppx_get_closed() without any search. We should only add flag to session which identifies it a

Re: [Patch] Change httpd's handling of request "Host:" headers

2020-08-10 Thread Jeremie Courreges-Anglas
On Mon, Aug 10 2020, Ross L Richardson wrote: > Leo, > > On Mon, Aug 10, 2020 at 08:46:19AM +0200, Leo Unglaub wrote: >> Hey, >> i love your patch. The current behavour always bothered me because it caused >> servers to display "wrong" sites as defaults for all requests missing the >> Host header.

Re: [Patch] Change httpd's handling of request "Host:" headers

2020-08-10 Thread Jeremie Courreges-Anglas
On Sun, Aug 09 2020, Ross L Richardson wrote: > At present, if a request contains no "Host:" header [HTTP pre-1.1] or > if the supplied header does not match any of the servers configured > in httpd.conf, the request is directed to the first server. This > isn't documented, AFAICT. > > For exampl

Re: explicit_bzero vs. alternatives

2020-08-10 Thread Janne Johansson
> > > OpenBSD has the explicit_bzero function to reliably (i.e. even if not > observable in the C abstract machine) overwrite memory with zeroes. > WG14 is currently considering adding similar functionality to C2X. > > Considered options include: > > * A function like explicit_bzero or memset_expli

Fwd: explicit_bzero vs. alternatives

2020-08-10 Thread Amit Kulkarni
moving to tech@ -- Forwarded message - From: Philipp Klaus Krause Date: Mon, Aug 10, 2020 at 4:34 AM Subject: explicit_bzero vs. alternatives To: OpenBSD has the explicit_bzero function to reliably (i.e. even if not observable in the C abstract machine) overwrite memory with ze

Re: pipex "idle-timeout" work with pppx(4).

2020-08-10 Thread Vitaliy Makkoveev
On Mon, Aug 10, 2020 at 03:12:02PM +0900, YASUOKA Masahiko wrote: > Hi, > > Thank you for your review. > > On Sun, 9 Aug 2020 20:03:50 +0300 > Vitaliy Makkoveev wrote: > > On Sun, Aug 09, 2020 at 06:20:13PM +0300, Vitaliy Makkoveev wrote: > >> You propose to unlink pppx(4) related session which

Re: [Patch] Change httpd's handling of request "Host:" headers

2020-08-10 Thread Ross L Richardson
Leo, On Mon, Aug 10, 2020 at 08:46:19AM +0200, Leo Unglaub wrote: > Hey, > i love your patch. The current behavour always bothered me because it caused > servers to display "wrong" sites as defaults for all requests missing the > Host header. I really like your patch and it works fine for me on my