Re: smtpd: move authentication to table backends

2021-10-08 Thread aisha
On 21/10/08 05:34PM, aisha wrote: > Hi all, > I am still working on the table-procexec for opensmtpd > and while there, I was thinking of how to do authentication > using LDAP, which the current table-ldap from ports does not > support. > The primary reason for that, I believe, is that LDAP >

smtpd: move authentication to table backends

2021-10-08 Thread aisha
Hi all, I am still working on the table-procexec for opensmtpd and while there, I was thinking of how to do authentication using LDAP, which the current table-ldap from ports does not support. The primary reason for that, I believe, is that LDAP authentication should be done by bind and not by

[Patch] httpd handling of HEAD requests to CGI w.r.t. Content-Length

2021-10-08 Thread Ross L Richardson
This is a rewording of my later posts to bugs@ in: https://marc.info/?t=16330937691=1=2 RFC 7231 [HTTP 1.1] states that, for a HEAD request, the server SHOULD send the same header fields in response to HEAD as it would for GET, except that payload headers MAY be omitted.

Re: [PATCH] /etc/netstart: unquoted command substitution inside arithmetic expression

2021-10-08 Thread Theo de Raadt
Philip Guenther wrote: > On Fri, Oct 8, 2021 at 8:57 AM Theo de Raadt wrote: > > Philip Guenther wrote: > > > On Thu, Oct 7, 2021 at 5:57 PM bm1les wrote: > > > > > --- netstart2 Sep 2021 19:38:20 - 1.216 > > > +++ netstart8 Oct 2021 02:43:30 - > > > @@ -365,7

Re: [PATCH] /etc/netstart: unquoted command substitution inside arithmetic expression

2021-10-08 Thread Philip Guenther
On Fri, Oct 8, 2021 at 8:57 AM Theo de Raadt wrote: > Philip Guenther wrote: > > > On Thu, Oct 7, 2021 at 5:57 PM bm1les wrote: > > > > > --- netstart2 Sep 2021 19:38:20 - 1.216 > > > +++ netstart8 Oct 2021 02:43:30 - > > > @@ -365,7 +365,7 @@ ifmstart "tun tap gif

Re: [PATCH] /etc/netstart: unquoted command substitution inside arithmetic expression

2021-10-08 Thread Theo de Raadt
Philip Guenther wrote: > On Thu, Oct 7, 2021 at 5:57 PM bm1les wrote: > > > --- netstart2 Sep 2021 19:38:20 - 1.216 > > +++ netstart8 Oct 2021 02:43:30 - > > @@ -365,7 +365,7 @@ ifmstart "tun tap gif etherip gre egre p > > if [[ $ip6kernel == YES ]]; then > > #

bsd.port.mk.5 typo

2021-10-08 Thread hagen
Index: bsd.port.mk.5 === RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v retrieving revision 1.545 diff -u -p -r1.545 bsd.port.mk.5 --- bsd.port.mk.5 2 May 2021 06:13:57 - 1.545 +++ bsd.port.mk.5 8 Oct 2021

Re: [PATCH] [www] - spell 'X.509' consistently when talking about the standard

2021-10-08 Thread Raf Czlonka
Could someone "do it", please? ;^) Regards, Raf On Fri, Oct 08, 2021 at 04:13:16PM BST, Theo de Raadt wrote: > do it > > Raf Czlonka wrote: > > > On Wed, Oct 06, 2021 at 11:50:01PM BST, Raf Czlonka wrote: > > > Hello, > > > > > > Outside of X509_* functions, filenames, openssl(1) commands,

Re: hostctl does not work on Xen

2021-10-08 Thread Brian Brombacher
I can see from the Ubuntu dmesg that it’s Xen 4.11.4. What mode are you running the OpenBSD vm in (PVH or HVM)? Provide your config file for the vm to help answer that. > On Oct 8, 2021, at 12:41 AM, Masato Asou wrote: > > Attached obsd69-dmesg.txt and ubuntu-dmesg.txt. > > regards. > --

Re: bsd.port.mk.5 typo

2021-10-08 Thread Stefan Hagen
ha...@sdf.org wrote: > Index: bsd.port.mk.5 > === > RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v > retrieving revision 1.545 > diff -u -p -r1.545 bsd.port.mk.5 > --- bsd.port.mk.5 2 May 2021 06:13:57 - 1.545 > +++

iwx: remove support for old firmware versions

2021-10-08 Thread Stefan Sperling
This patch removes code which is only required for running with older firmware versions (older than -63). This will make it easier to add new features, such as 40MHz support. Some code removed here would otherwise need to be updated as well, which is pointless extra work. I have tested on

Re: [PATCH] /etc/netstart: unquoted command substitution inside arithmetic expression

2021-10-08 Thread bm1les
Since you obviously care enough to reply and wonder about what I'm doing, I can happily let you know. I was trying to configure the network while running bsd.rd. I figured I could reuse netstart when I spotted this bug. The bug is that the second part of the expression breaks when sysctl

Re: [PATCH] /etc/netstart: unquoted command substitution inside arithmetic expression

2021-10-08 Thread bm1les
The first problem is the lack of correctness; that should be enough. The second problem is that such command actually breaks when run using bsd.rd. ‐‐‐ Original Message ‐‐‐ On Friday, October 8th, 2021 at 12:11 AM, Philip Guenther wrote: > On Thu, Oct 7, 2021 at 5:57 PM bm1les wrote:

Re: [PATCH] [www] - spell 'X.509' consistently when talking about the standard

2021-10-08 Thread Raf Czlonka
On Wed, Oct 06, 2021 at 11:50:01PM BST, Raf Czlonka wrote: > Hello, > > Outside of X509_* functions, filenames, openssl(1) commands, etc. > there are places where the spelling of 'X.509' could be made > consistent when talking about the standard. I realise the patch might have been too long so

iwx: stop Rx BA sessions before switching AP

2021-10-08 Thread Stefan Sperling
Before roaming to another AP we should explicitly stop Rx BA sessions by sending the appropriate 'ADD_STA' commands to firmware, in addition to clearing Rx BA buffers. This is similar to a recent change in iwm(4). See the iwm patch description for testing instructions:

[PATCH] /etc/netstart: unquoted command substitution inside arithmetic expression

2021-10-08 Thread bm1les
Index: netstart === RCS file: /cvs/src/etc/netstart,v retrieving revision 1.216 diff -u -p -u -r1.216 netstart --- netstart2 Sep 2021 19:38:20 - 1.216 +++ netstart8 Oct 2021 02:43:30 - @@ -365,7 +365,7 @@