[Patch] httpd - delete unused function canonicalize_host()

2020-07-26 Thread Ross L Richardson
Function is unused and can go. Ross -- Index: httpd.c === RCS file: /cvs/src/usr.sbin/httpd/httpd.c,v retrieving revision 1.68 diff -u -p -r1.68 httpd.c --- httpd.c 9 Sep 2018 21:06:51 - 1.68 +++ httpd.c 26 Jul

Re: pf_remove_divert_state

2020-07-26 Thread YASUOKA Masahiko
Thanks, On Sat, 25 Jul 2020 15:00:07 +0200 Alexander Bluhm wrote: > On Sat, Jul 25, 2020 at 09:37:37PM +0900, YASUOKA Masahiko wrote: >> Is this part a reason why we have "divert-reply"? > > Yes. > > Divert rules pass packets to the local network stack. With divert-to > you specify the socket

Re: xhci(4) isoc: fix bogus handling of chained TRBs

2020-07-26 Thread Marcus Glocker
On Sat, 25 Jul 2020 20:31:44 + sc.dy...@gmail.com wrote: > On 2020/07/25 18:10, Marcus Glocker wrote: > > On Sun, Jul 19, 2020 at 02:12:21PM +, sc.dy...@gmail.com wrote: > > > >> On 2020/07/19 11:25, Marcus Glocker wrote: > >>> On Sun, 19 Jul 2020 02:25:30 + > >>>

Re: xhci(4) isoc: fix bogus handling of chained TRBs

2020-07-26 Thread Marcus Glocker
On Sun, 26 Jul 2020 13:27:34 + sc.dy...@gmail.com wrote: > On 2020/07/26 10:54, Marcus Glocker wrote: > > On Sat, 25 Jul 2020 20:31:44 + > > sc.dy...@gmail.com wrote: > > > >> On 2020/07/25 18:10, Marcus Glocker wrote: > >>> On Sun, Jul 19, 2020 at 02:12:21PM +,

ifconfig.8: document aggr(4) under TRUNK

2020-07-26 Thread Klemens Nanni
Except for `trunkproto' wich his trunk(4) specific, aggr(4) has the same options so I'd like to merge it into the same section just like TUNNEL documents mostly identical interfaces with differences mentioned in at specific options. The wording "trunk" seems clear under OpenBSD, but other vendors

Re: xhci(4) isoc: fix bogus handling of chained TRBs

2020-07-26 Thread sc . dying
On 2020/07/26 10:54, Marcus Glocker wrote: > On Sat, 25 Jul 2020 20:31:44 + > sc.dy...@gmail.com wrote: > >> On 2020/07/25 18:10, Marcus Glocker wrote: >>> On Sun, Jul 19, 2020 at 02:12:21PM +, sc.dy...@gmail.com wrote: >>> On 2020/07/19 11:25, Marcus Glocker wrote: > On

Re: bge(4) fix

2020-07-26 Thread Klemens Nanni
On Sun, Jul 26, 2020 at 06:07:07PM +0200, Mark Kettenis wrote: > Booted up the old v210 to test something and noticed that it prints a > couple of: > > bge0: nvram lock timed out > > warnings when booting up. These are the on-board network interfaces > and we already established in the past

Re: Python 3.8 os.listdir EINVAL on large directories

2020-07-26 Thread Aaron Miller
On Sun, 2020-07-26 at 17:05 +0100, Stuart Henderson wrote: > Moving to tech. > > In gmane.os.openbsd.misc, you wrote: > > Hi all, > > > > I am getting a stacktrace from the borg command in the borgbackup > > package while checking a backup (see bottom of email for full > > output, since it's

Re: Python 3.8 os.listdir EINVAL on large directories

2020-07-26 Thread Stuart Henderson
Moving to tech. In gmane.os.openbsd.misc, you wrote: > Hi all, > > I am getting a stacktrace from the borg command in the borgbackup > package while checking a backup (see bottom of email for full > output, since it's verbose). The relevant part is this: > > filenames =

bge(4) fix

2020-07-26 Thread Mark Kettenis
Booted up the old v210 to test something and noticed that it prints a couple of: bge0: nvram lock timed out warnings when booting up. These are the on-board network interfaces and we already established in the past that these come without EEPROM/NVRAM and instead rely on the firmware to

relayd: set group and divert-reply

2020-07-26 Thread YASUOKA Masahiko
Hi, I'd like to run relayd as _relayd group always so that we can use "group _relayd" in a pf rule. This makes it possible to write a pf rule easily which is to match only connections from relayd(8). Also as for relayd.conf(5), I'd like to mention that "divert-reply" is required for

Re: ifconfig.8: document aggr(4) under TRUNK

2020-07-26 Thread Jason McIntyre
On Sun, Jul 26, 2020 at 07:33:55PM +0200, Klemens Nanni wrote: > Except for `trunkproto' wich his trunk(4) specific, aggr(4) has the same > options so I'd like to merge it into the same section just like TUNNEL > documents mostly identical interfaces with differences mentioned in at > specific

ldapd: adding bsd.schema

2020-07-26 Thread Aisha Tammy
Hi, Am reviving an old thread from https://marc.info/?l=openbsd-tech=152663835315469=4 (i did cc reyk@ sorry if it is noise) For some reason seems like the patch didn't go through... I am reattaching it here, maybe someone can take a look and see if it can be merged ? Getting sshPublicKey

Re: ssh(1), getrrsetbyname(3), SSHFP and DNSSEC

2020-07-26 Thread Jeremie Courreges-Anglas
On Sun, Jul 26 2020, Jesper Wallin wrote: > On Sat, Jul 25, 2020 at 02:01:06PM +0200, Jeremie Courreges-Anglas wrote: >> >> For those two reasons I think the feature should be opt-in. > > Yeah, I agree with you. My first approach was to have it check what > kind of DNS record that was

Re: Improve ure(4) performance

2020-07-26 Thread Jonathon Fletcher
> On Jul 26, 2020, at 1:24 PM, Mikolaj Kucharski wrote: > > Hi Kevin, Jonathon, > > On Tue, Jul 21, 2020 at 02:38:55PM +0800, Kevin Lo wrote: >> Hi, >> >> Jonathon Fletcher has been helping get the better performance out of ure(4). >> I ran the tcpbench with ure (RTL8156) for 5 minutes: >>

Re: ifconfig.8: document aggr(4) under TRUNK

2020-07-26 Thread Klemens Nanni
On Sun, Jul 26, 2020 at 06:47:14PM +0100, Jason McIntyre wrote: > certainly ok by me. i think this commit could add aggr to the list of > devices in "create". Right, thanks. > bridge is a bit different i think. i wouldn;t like to have those > synopses dropped because i think they're useful. but

Re: Improve ure(4) performance

2020-07-26 Thread Mikolaj Kucharski
Hi Kevin, Jonathon, On Tue, Jul 21, 2020 at 02:38:55PM +0800, Kevin Lo wrote: > Hi, > > Jonathon Fletcher has been helping get the better performance out of ure(4). > I ran the tcpbench with ure (RTL8156) for 5 minutes: > > 71538432760 bytes sent over 300.999 seconds > bandwidth

Re: change ktime to nanoseconds in drm

2020-07-26 Thread Scott Cheloha
On Fri, Jul 24, 2020 at 04:05:18PM +1000, Jonathan Gray wrote: > On Tue, Jul 21, 2020 at 05:10:02PM -0500, Scott Cheloha wrote: > > On Tue, Jul 21, 2020 at 07:33:21PM +1000, Jonathan Gray wrote: > > > Change from using timevals for ktime to 64 bit count of nanoseconds > > > to closer match linux.

route: add size to free(9) calls

2020-07-26 Thread Klemens Nanni
Those are for the gateway sockaddrs which get allocated in rt_setgate() with the same ROUNDUP(sa_len) approach. mpi already added a sizes for a few rt_gateway sockaddrs in two commits, these are the last one in route.c leaving only ifafree() behind. Also tested on a few machines during last

Re: ldapd: adding bsd.schema

2020-07-26 Thread Aisha Tammy
On 7/26/20 5:21 PM, Aisha Tammy wrote: > Hi, > Am reviving an old thread from > https://marc.info/?l=openbsd-tech=152663835315469=4 > (i did cc reyk@ sorry if it is noise) > > For some reason seems like the patch didn't go through... > > I am reattaching it here, maybe someone can take a look

timeout(9): remove unused timeout_add_ts(9), timeout_add_bt(9)

2020-07-26 Thread Scott Cheloha
timeout_add_ts(9) and timeout_add_bt(9) are not used anywhere. ok to remove them? Index: sys/kern/kern_timeout.c === RCS file: /cvs/src/sys/kern/kern_timeout.c,v retrieving revision 1.76 diff -u -p -r1.76 kern_timeout.c ---

mtx locking against myself panic message with __func__

2020-07-26 Thread Mikolaj Kucharski
Hi, I've faced recently couple of panics like: panic: mtx 0x8211ed38: locking against myself and modified messages as with the below diff. I guess you may consider that with the nature of this type of panic, function name don't help much to norrow down the problem, nonetheless would

Re: ssh(1), getrrsetbyname(3), SSHFP and DNSSEC

2020-07-26 Thread Jeremie Courreges-Anglas
On Sat, Jul 25 2020, Sebastian Benoit wrote: > Jeremie Courreges-Anglas(j...@wxcvbn.org) on 2020.07.25 14:01:06 +0200: >> On Fri, Jul 17 2020, Jesper Wallin wrote: >> > Hi all, >> > >> > I recently decided to add SSHFP records for my servers, since I never >> > memorize or write down my key

Re: Improve ure(4) performance

2020-07-26 Thread Mikolaj Kucharski
On Sun, Jul 26, 2020 at 06:47:32PM -0700, Jonathon Fletcher wrote: > Mikolaj, > > Thank you for testing my patch. > > I am very interested to know what xhci (or ehci) hardware you have. > > I have the following: > > xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi, xHCI 1.0

Re: ksh [emacs.c] -- simplify isu8cont()

2020-07-26 Thread Martijn van Duren
On Sun, 2020-07-26 at 04:15 +0100, ropers wrote: > On 25/07/2020, Martijn van Duren wrote: > > This function is used throughout the OpenBSD tree and I think it's > > fine as it is. This way it's clearer to me that it's about byte > > 7 and 8 > > You mean bits 7 and 8 when counting from 1 from