Re: Double entry in /usr/src/lib/libcurses/curs_util.3

2020-12-14 Thread Stuart Henderson
On 2020/12/14 14:45, Chris Bennett wrote: > See also has a double entry. > > Chris Bennett This is present in the latest release upstream, could you report it there please? https://invisible-island.net/ncurses/announce.html#h2-development SEE ALSO are usually in (at least roughly) alphabetical o

Re: acme-client(1) make -F flag use more obvious

2020-12-15 Thread Stuart Henderson
On 2020/12/15 10:18, Solene Rapenne wrote: > This is a small change to acme-client(1) because I find > the explanation of -F flag not being obvious that you > need it when you add/remove an alternative name in your > domain config. This only works directly for adding. For removal you need to rm th

Re: rc.d(8) for tcpbench

2020-12-15 Thread Stuart Henderson
On 2020/12/15 23:07, Jan Klemkow wrote: > Hi, > > for frequent performance test it would be nice to just start tcpbench > as a regular service. tcpbench gets an extra user and group with this > diff and is already pledged to "stdio". Thus, there should be no > security risk to do this even in ho

Re: rc.d(8) for tcpbench

2020-12-15 Thread Stuart Henderson
On 2020/12/15 16:33, Theo de Raadt wrote: > Jan Klemkow wrote: > > > On Tue, Dec 15, 2020 at 03:43:38PM -0700, Theo de Raadt wrote: > > > Jan Klemkow wrote: > > > > > > > for frequent performance test it would be nice to just start tcpbench > > > > as a regular service. tcpbench gets an extra

Re: rc.d(8) for tcpbench

2020-12-15 Thread Stuart Henderson
On 2020/12/15 17:19, Theo de Raadt wrote: > Stuart Henderson wrote: > > > On 2020/12/15 16:33, Theo de Raadt wrote: > > > Jan Klemkow wrote: > > > > > > > On Tue, Dec 15, 2020 at 03:43:38PM -0700, Theo de Raadt wrote: > > > > >

Re: acme-client(1) make -F flag use more obvious

2020-12-16 Thread Stuart Henderson
On 2020/12/16 11:47, Renaud Allard wrote: > On 12/16/20 11:13 AM, Janne Johansson wrote: > > > > But it is a local check for the local date vs the date in the > > certificate, and perhaps your box is not on at 03:00 on Saturdays as you > > thought 3 months ago. > > > > If your clock is 3 months

Re: netstat - proto ip record

2020-12-16 Thread Stuart Henderson
On 2020/12/16 16:43, Salvatore Cuzzilla wrote: > Hi folks, > > is there any process associated with this netstat record? > btw, what's the meaning of the state field with value '17'? > > ToTo@obsd ~ $ doas netstat -an -f inet > Active Internet connections (including servers) > Proto Recv-Q Send

Re: diff: tcp ack improvement

2020-12-23 Thread Stuart Henderson
On 2020/12/17 20:50, Jan Klemkow wrote: > ping > > On Fri, Nov 06, 2020 at 01:10:52AM +0100, Jan Klemkow wrote: > > Hi, > > > > bluhm and I make some network performance measurements and kernel > > profiling. I've been running this on my workstation since you sent it out - lots of long-running s

Re: acme-client(1): fulfil all challenges, then tell the the CA

2020-12-23 Thread Stuart Henderson
On 2020/12/23 18:09, Florian Obser wrote: > First fulfil all challenges then tell the CA that it should check. > > With a CSR with multiple SANs acme-client would write one challenge, > tell the CA, write the next challenge and so on. > > For http-01 this doesn't matter but I think this will be n

Re: acme-client(1) make -F flag use more obvious

2020-12-23 Thread Stuart Henderson
On 2020/12/15 17:49, Florian Obser wrote: > > > On 15 December 2020 14:56:41 CET, Stuart Henderson > wrote: > >On 2020/12/15 10:18, Solene Rapenne wrote: > >> This is a small change to acme-client(1) because I find > >> the explanation of -F flag not bein

Re: Rename SIMPLEQ_ to STAILQ_, diff 1/7

2020-12-26 Thread Stuart Henderson
On 2020/12/26 18:39, Denis Fondras wrote: > Le Sat, Dec 26, 2020 at 06:23:41PM +0100, Mark Kettenis a écrit : > > > > This diff renames SIMPLEQ_* to STAILQ_* in /usr/src/sys/sys to unify > > > > with FreeBSD and Linux. > > > > > > > > I added aliases at the end of queue.h to avoid breaking base t

Re: [PATCH] octeon.html dead links

2020-12-30 Thread Stuart Henderson
On 2020/12/30 00:12, Jordan Geoghegan wrote: > Hello, > > I noticed some dead links on the octeon.html page for the Portwell and Rhino > devices. > > The Portwell link has been pointed to archive.org and the Rhino links now > point to correct URL after Rhino Labs changed their website around. Th

Re: acme-client(1): backup certs

2021-01-03 Thread Stuart Henderson
On 2021/01/02 17:10, Chris Bennett wrote: > On Sat, Jan 02, 2021 at 05:23:11PM +0100, Florian Obser wrote: > > > > Create .1 backup files when acme-client is going to overwrite a > > certificate file. > > > > This files are not terribly big and it's convenient to keep one > > previous file around

Re: snmp - remove BER_TYPE_BOOLEAN

2021-01-04 Thread Stuart Henderson
On 2021/01/04 09:57, Martijn van Duren wrote: > Thanks for the feedback, it's always nice to get some background > information on old standards. However, this change is specifically for > SNMP, which does not use this part of BER/ASN1 as far as I could find. > I'm not going to remove it from ber.c

Re: Adding -p to pr(1)

2021-01-05 Thread Stuart Henderson
On 2021/01/05 00:27, Andras Farkas wrote: > Ping. > I'm hoping someone can review the diff adding -p to pr(1). It's been a few weeks, so probably worth sending the diff out again with the manpage change regenerated against -current. There are some places where you added lines >80 columns (sometime

Re: unbound: missing null check

2021-01-06 Thread Stuart Henderson
On 2021/01/06 10:24, Florian Obser wrote: > On Wed, Jan 06, 2021 at 10:11:01AM +0100, Anton Lindqvist wrote: > > Hi, > > I have a unbound forward zone configured on my router for my $DAYJOB. > > The address associated with the zone is only accessible when the router > > is connected to a VPN. If th

ifconfig(8) interface priorities; mention umb(4)

2021-01-17 Thread Stuart Henderson
umb(4) uses IF_WWAN_DEFAULT_PRIORITY (6); mention it in ifconfig(8). OK? (I considered more generic wording e.g. "wireless WAN interfaces", but that's inaccurate, this prio is only used for umb - wwan can also relate to some ppp/urndis/cdce interfaces which don't use this). Index: ifconfig.8

IPPROTO_SCTP

2021-01-18 Thread Stuart Henderson
can I add IPPROTO_SCTP to in.h? only one port wants it at the moment, but I think I've seen others in the past. Index: netinet/in.h === RCS file: /cvs/src/sys/netinet/in.h,v retrieving revision 1.139 diff -u -p -r1.139 in.h --- netine

Re: IPPROTO_SCTP

2021-01-18 Thread Stuart Henderson
On 2021/01/18 13:31, Landry Breuil wrote: > On Mon, Jan 18, 2021 at 12:13:32PM +0000, Stuart Henderson wrote: > > can I add IPPROTO_SCTP to in.h? only one port wants it at the > > moment, but I think I've seen others in the past. > > https://searchfox.org/mozilla-central

Re: vacation.1: correct .forward file example

2021-01-21 Thread Stuart Henderson
On 2021/01/21 12:43, Jason McIntyre wrote: > On Thu, Jan 21, 2021 at 11:15:48AM +0100, Martin Vahlensieck wrote: > > Hi > > > > I think the backslash at the beginning of the line is an error. > > > > Best, > > > > Martin > > > > Index: vacation.1 > >

Re: [PATCH] tee: Add -q, --quiet, --silent option to not write to stdout

2021-01-23 Thread Stuart Henderson
[cc's trimmed] On 2021/01/23 15:53, Alejandro Colomar wrote: > This is useful for using tee to just write to a file, > at the end of a pipeline, > without having to redirect to /dev/null > > Example: > > echo 'foo' | sudo tee -q /etc/foo; > > is equivalent to the old (and ugly) > > echo 'foo'

Re: grep: add --null flag

2021-01-24 Thread Stuart Henderson
On 2021/01/24 12:10, Theo de Raadt wrote: > I completely despise that the option is called "--null". > > Someone was a complete idiot. gnu grep has both --null and -z for this (why do they do that?!). If it's added as --null it should be added as -z too. Looking at Debian codesearch most things

Re: acme-client(1): dns-01

2021-01-25 Thread Stuart Henderson
On 2020/12/24 18:11, Florian Obser wrote: > 'tis the season to be jolly... sorry for the late reply! > I think it's time to kick the tires on this one. Works for me, I tried it with the script I'm already using with uacme to do updates via rndc. > I don't like the "exec" keyword, we should find

Re: grep: add --null flag

2021-01-26 Thread Stuart Henderson
On 2021/01/25 00:53, Sebastian Benoit wrote: > Sebastian Benoit(be...@openbsd.org) on 2021.01.25 00:27:05 +0100: > > Theo de Raadt(dera...@openbsd.org) on 2021.01.24 16:01:32 -0700: > > > Stuart Henderson wrote: > > > > > > > On 2021/01/24 12:10, Theo

Re: [External] : Re: pf route-to issues

2021-01-26 Thread Stuart Henderson
On 2021/01/26 09:29, Alexandr Nedvedicky wrote: > Hello, > > > > > > > > > > > I'm not sure if proposed scenario real. Let's assume there > > > is a PF box with three NICs running on this awkward set up > > > > > > em1 ... 192.168.1.10 > > > > > > em0 > > > > > >

Re: grep: add --null flag

2021-01-26 Thread Stuart Henderson
On 2021/01/26 11:18, Jordan Geoghegan wrote: > > > On 1/26/21 5:47 AM, Stuart Henderson wrote: > > On 2021/01/25 00:53, Sebastian Benoit wrote: > >> Sebastian Benoit(be...@openbsd.org) on 2021.01.25 00:27:05 +0100: > >>> Theo de Raadt(dera...@openb

Re: Patch for crypt(3) man page.

2021-01-27 Thread Stuart Henderson
On 2021/01/27 22:45, Ingo Schwarze wrote: > Hi, > > this page is a mess. It is full of unclear wordings, in some cases > verging incorrect statements. At the same time, parts of it are wordy. > > Here is an attempt to start fixing it. > I refrained from trying to explain $2a$ (as suggested by s

pfsync(4), mention about carp demotion

2021-02-01 Thread Stuart Henderson
I think this needs documenting somewhere; I had to use the source to remember what triggered "carpdemote 32" on some routers. I am open to suggestions to improving the wording, the way I have it it's useful as a reminder but isn't a great explanation for someone just learning about it.. Index: pfs

Re: pfsync(4), mention about carp demotion

2021-02-01 Thread Stuart Henderson
On 2021/02/01 14:32, Klemens Nanni wrote: > On Mon, Feb 01, 2021 at 01:13:20PM +0000, Stuart Henderson wrote: > > I think this needs documenting somewhere; I had to use the source to > > remember what triggered "carpdemote 32" on some routers. I am open to > > sugge

Re: pfsync(4), mention about carp demotion

2021-02-01 Thread Stuart Henderson
On 2021/02/01 09:22, Theo de Raadt wrote: > It should use 'demotion counter' everywhere. Index: sbin/ifconfig/ifconfig.8 === RCS file: /cvs/src/sbin/ifconfig/ifconfig.8,v retrieving revision 1.360 diff -u -p -r1.360 ifconfig.8 --- sbi

Re: Unbound: add support for pf tables to ipset module

2021-02-07 Thread Stuart Henderson
On 2021/02/07 17:04, Christopher Zimmermann wrote: > Hi, > > a year ago I added support for our pf tables to the unbound ipset module. > Upstream does not seem eager to merge it: > https://github.com/NLnetLabs/unbound/pull/144 > > Implementing pf tables support was pretty straightforward. It has

Re: some Ryzen, AMD 500 Chipset, Navi 10 and Kingson pcidev

2021-02-08 Thread Stuart Henderson
On 2021/02/08 10:54, Jonathan Gray wrote: > On Sun, Feb 07, 2021 at 07:58:52PM +0100, Sven Wolf wrote: > > Hi, > > > > I've added some Ryzen 3xxx, AMD 500 Chipset, Navi 10 and Kingston ids to > > pcidev. I've taken the description from the Linux PCI device ids > > https://pci-ids.ucw.cz/v2.2/pci.i

ssl(8) tweaks, mostly for ecdsa

2021-02-11 Thread Stuart Henderson
acme-client works with ecdsa certificates, but if there's no existing key, it has no way to tell whether you want ec or rsa so it can't actually generate a new ec key. (even if it did, acme-client's default secp384r1 isn't accepted by buypass). here are a few changes for ssl(8) that i think are he

Re: ssl(8) tweaks, mostly for ecdsa

2021-02-11 Thread Stuart Henderson
On 2021/02/11 22:22, Theo Buehler wrote: > On Thu, Feb 11, 2021 at 08:55:55PM +0000, Stuart Henderson wrote: > > acme-client works with ecdsa certificates, but if there's no existing > > key, it has no way to tell whether you want ec or rsa so it can't > > actually

Re: Back-out USB data toggle fix

2021-02-14 Thread Stuart Henderson
On 2021/02/14 15:22, Marcus Glocker wrote: > Unfortunately I'm seeing more and more USB device breakages reported > the last few days related to the USB data toggle fix which we did > commit 2-3 weeks ago. Do you think this could this be implicated in a keyboard with 'stuck' keys i.e. keep repeati

Re: [PATCH] fixes relayd Websocket "Connection: close" header when Upgrade is requested

2021-02-16 Thread Stuart Henderson
Clearly the current behaviour with two Connection headers is wrong and this may be a correct diff, but the description accompanying it only considers "how does this fix the problem seen" rather than "what are the implications of this, does it do anything bad?". I'm only making very minimal use of

Re: [PATCH] fixes relayd Websocket "Connection: close" header when Upgrade is requested

2021-02-16 Thread Stuart Henderson
On 2021/02/16 20:12, Franz Bettag wrote: > My point, the protocol after HTTP 1.0 encourages keep-alives anyway. > Close is only default in 1.0 so basically you wouldn’t have lingering > dead sockets on your server. If you want a full featured HTTP implementation then perhaps relayd is not for you

Re: use /dev/dri/ in xenocara

2021-02-18 Thread Stuart Henderson
On 2021/02/18 22:24, Jonathan Gray wrote: > On Thu, Feb 18, 2021 at 12:01:28PM +0100, Mark Kettenis wrote: > > > Date: Thu, 18 Feb 2021 21:18:51 +1100 > > > From: Jonathan Gray > > > > I suspect that there are some ports that need to get their unveils > > updated if we do this. > > firefox ports

Re: malloc junking tweaks

2021-02-18 Thread Stuart Henderson
On 2021/02/18 19:52, Otto Moerbeek wrote: > Any feedback? I've been doing i386 ports builds with this in, no problems seen there. The changes seem sane, and there's an easy way for people to disable the changes if they do run into problems. Does it make sense to put it into snaps?

Re: Secure by default

2021-02-19 Thread Stuart Henderson
On 2021/02/19 20:27, sivasubramanian muthusamy wrote: > Dear Flint, > > During installation I didn't connect the network, but after installation, > Yes. What would I do with a Computer that isn't connected? My use case is > all about Internet :) Other use cases are available.

ping graphical display

2021-02-19 Thread Stuart Henderson
This diff adds something similar to cisco's ping display, giving a visual display of good/dropped pings. Any interest in it? Example output (with a couple of ^T during the run): $ ping -g 192.168.41.21 PING 192.168.41.21 (192.168.41.21): 56 data bytes .

Re: ping graphical display

2021-02-19 Thread Stuart Henderson
On 2021/02/19 15:19, Stuart Henderson wrote: > This diff adds something similar to cisco's ping display, giving a > visual display of good/dropped pings. Any interest in it? Example > output (with a couple of ^T during the run): (as is traditional I forgot to update usage(), I

Re: ping graphical display

2021-02-19 Thread Stuart Henderson
On 2021/02/19 15:19, Stuart Henderson wrote: > This diff adds something similar to cisco's ping display, giving a > visual display of good/dropped pings. Any interest in it? Example > output (with a couple of ^T during the run): > > $ ping -g 192.168.41.21 > PING 192.1

Re: ping graphical display

2021-02-19 Thread Stuart Henderson
Canvassing opinions on having . and ! this way around. I'm using . for response, ! for no response, which makes more sense to me but it's been pointed out that it's the opposite of what cisco does so it might confuse some people.

Re: ping graphical display

2021-02-20 Thread Stuart Henderson
On 2021/02/20 09:20, Remi Locherer wrote: > On February 19, 2021 8:56:31 PM UTC, Stuart Henderson > wrote: > >Canvassing opinions on having . and ! this way around. I'm using . for > >response, ! for no response, which makes more sense to me but it's been > >poi

Re: OpenBSD perl 5.32.1 - Call for Testing

2021-02-20 Thread Stuart Henderson
On 2021/02/20 14:11, Andrew Hewus Fresh wrote: > Unfortunately the patch doesn't actually apply due to non-ascii files in > the diff, not quite sure the magic incantation to make that work, I haven't tried with this, but usually it's "gpatch"

Re: Add /dev/video0 to fbtab

2021-02-25 Thread Stuart Henderson
On 2021/02/25 20:10, Marcus Glocker wrote: > We had this discussion recently when fbtab(5) for xenodm(1) was fixed > 6 weeks ago, but we didn't come to an agreement yet. tb@ asked me the > same question yesterday whether we can add video(1) to fbtab to avoid > manual chown of /dev/video0, which I

Re: Add /dev/video0 to fbtab

2021-02-25 Thread Stuart Henderson
On 2021/02/25 22:02, Marcus Glocker wrote: > On Thu, Feb 25, 2021 at 08:00:32PM +0000, Stuart Henderson wrote: > > > On 2021/02/25 20:10, Marcus Glocker wrote: > > > We had this discussion recently when fbtab(5) for xenodm(1) was fixed > > > 6 weeks ago, but we d

Re: patch: adding httpd implicit file extensions

2021-02-27 Thread Stuart Henderson
On 2021/02/26 15:38, Bruce Hill wrote: > Hello, this is my first time contributing to openbsd and this mailing > list, so please excuse any newbie blunders. I recently switched my > personal website to use httpd with statically generated HTML files, but > was unhappy to find that my HTML files coul

Re: Mesa leak in intel iris driver

2021-02-27 Thread Stuart Henderson
On 2021/02/27 11:50, Theo de Raadt wrote: > To see the problem, It is better to look at "UVM amap" in "vmstat -m" > > UVM amap 32835 1690K 2636K 78644K 268129080 > 16,32,64,128,256,512,1024,4096,8192 > > this number is way too big, it should be 500 to 2000 ish.

Re: unbound SERVFAIL *: all the configured stub or forward servers failed, at zone .

2021-03-09 Thread Stuart Henderson
On 2021/03/09 07:41, Greg Steuck wrote: > This setup worked for months until recently becoming temperamental. It > would run for a few hours: > > Mar 8 23:17:00 alix unbound: [40947:0] info: start of service (unbound > 1.13.0). > > ... until starting to fail with: > > Mar 9 00:53:18 alix unbo

Re: no IPv6 with umb0 on -current

2021-03-13 Thread Stuart Henderson
On 2021/03/12 17:41, Greg Steuck wrote: > Thomas Windisch writes: > > > I can get an IPv6 address with my LTE-Modem via umb with 6.8-release but > > not with -current. I am aware that there was some discussion last year > > on IPv6 support in umb but I'm not really sure what has changed. In > > b

Re: pppoe(4): describe what happens if RFC 4638 is not supported

2021-03-16 Thread Stuart Henderson
On 2021/03/16 13:59, Klemens Nanni wrote: > On Tue, Mar 16, 2021 at 06:08:00AM -0600, Todd C. Miller wrote: > > I think it is helpful to tell the user what happens if the remote > > endpoint doesn't support RFC 4638. > The manual section basically says that already (last sentence): > > MTU/MSS ISS

Re: LibreSSL: extend the max. no. of SANs for avoid OOM error

2021-03-17 Thread Stuart Henderson
On 2021/03/17 10:53, Jan Klemkow wrote: > ping > > On Tue, Mar 09, 2021 at 03:49:32PM +0100, Jan Klemkow wrote: > > Hi, > > > > The verification of the https://ugos.ugm.ac.id certificate contains 2032 > > subject alt names which leads to the following error in LibreSSL. > > > > # openssl s_clien

Re: vmm crash on 6.9-beta

2021-03-19 Thread Stuart Henderson
On 2021/03/19 17:05, Jan Klemkow wrote: > Hi, > > I had the same issue a few days ago a server hardware of mine. I just > ran 'cvs up'. So, it looks like a generic bug in FFS and not related to > vmm. This panic generally relates to filesystem corruption. If fsck doesn't help then recreating wh

OPENBSD-PF-MIB, use DisplayString not OCTET STRING

2021-03-20 Thread Stuart Henderson
DisplayString seems a better type for pfIfDescr and some of the other objects; this improves the display format in Prometheus snmp_exporter which uses hex values for OCTET STRING. OK? Index: OPENBSD-PF-MIB.txt === RCS file: /cvs/src

Re: patch: ifq_enqueue.9 ifq_deq_begin.9 typo

2021-03-20 Thread Stuart Henderson
On 2021/03/20 16:07, James Hastings wrote: > Spotted this one while reading ifq_enqueue(9). s/struft/struct. > > I grepped the tree for "struft" and found one more in ifq_deq_begin(9). thanks, committed.

Re: OPENBSD-PF-MIB, use DisplayString not OCTET STRING

2021-03-22 Thread Stuart Henderson
ascii anyway. > For pfTableName and pfLabelName it might be an idea to register a new > object which returns something like a best effort UTF-8 presentation > of the actual name and go with SnmpAdminString. Good catch about UTF-8, so these should be SnmpAdminString, I think the same applies a

Re: vmm crash on 6.9-beta

2021-03-22 Thread Stuart Henderson
> > Created a fresh install qcow2 image and derived 35 new VMs from it. > > Then I started all the VMs in four cycles, 10 VMs per cycle and waiting 240 > > seconds after each cycle. > > Similar to the staggered start based on the amount of CPUs. > For me this is not enough info to even try to rep

Re: vmm crash on 6.9-beta

2021-03-22 Thread Stuart Henderson
> > I'm more familiar with the vmd(8) codebase than any ffs stuff, but I > > don't think the issue is the base image being r/w. > > AFAIKS, the issue is that if you start a vm modifying the base because it > uses it as a regular image, that r/o open for the other vms does not > matter a lot, vmd

Huawei ME906s-158 LTE, cdce(4) vs umb(4)

2021-03-24 Thread Stuart Henderson
In my ongoing search to find a umb(4) that will actually work that isn't the one in my laptop (since my EM7305 has been a failure), I picked up a Huawei ME906s-158 off ebay. It attaches to cdce and ugen and fails to work: cdce0 at uhub2 port 4 configuration 2 interface 0 "Huawei Technologies Co.,

Re: Huawei ME906s-158 LTE, cdce(4) vs umb(4)

2021-03-24 Thread Stuart Henderson
On 2021/03/25 00:30, Patrick Wildt wrote: > Without having looked at anything, it might be worth looking at the most > recent mail in this thread: > > 'Re: [PATCH] umb(4) fix for X20 (DW5821e) in Dell Latitude 7300' > oh, usb runs through all drivers looking for a VID/PID match before then runni

Re: disable PPP_BSDCOMP by default

2021-03-25 Thread Stuart Henderson
On 2021/03/25 20:53, Balder Oddson wrote: > On Thu, Mar 25, 2021 at 07:09:37PM +0100, Balder Oddson wrote: > > Compression in PPP was great in the age of ISDN to increase speeds. > > The more common use cases, and trends concerning TLS1.3 advancements. > > > > Having this enabled by default, and i

Re: Huawei ME906s-158 LTE, cdce(4) vs umb(4)

2021-03-28 Thread Stuart Henderson
On 2021/03/25 00:14, Stuart Henderson wrote: > On 2021/03/25 00:30, Patrick Wildt wrote: > > Without having looked at anything, it might be worth looking at the most > > recent mail in this thread: > > > > 'Re: [PATCH] umb(4) fix for X20 (DW5821e) in Dell Latit

Re: Huawei ME906s-158 LTE, cdce(4) vs umb(4)

2021-03-28 Thread Stuart Henderson
On 2021/03/28 13:40, Patrick Wildt wrote: > Am Sun, Mar 28, 2021 at 10:53:53AM +0100 schrieb Stuart Henderson: > > On 2021/03/25 00:14, Stuart Henderson wrote: > > > On 2021/03/25 00:30, Patrick Wildt wrote: > > > > Without having looked at anything, it migh

usbdevs huawei tidying

2021-03-30 Thread Stuart Henderson
This removes a bunch of extra "HUAWEI Mobile", add model numbers according to our macros (some are used on more than one device but should be close enough), add radio type where I could figure it out. ok? Index: usbdevs === RCS file

Re: monotonic time going back by wrong skews

2021-04-05 Thread Stuart Henderson
I've attached r620-E5_2630v2-2p6c2t.tgz, from Dell PE R620 with E5-2630v2. This is a machine which has "disabling user TSC (skew=XXX)" reported for some cores: Nov 5 16:08:34 pweb /bsd: cpu11: disabling user TSC (skew=-107) Nov 5 16:08:34 pweb /bsd: cpu13: disabling user TSC (skew=-101) 2 SMT p

Re: monotonic time going back by wrong skews

2021-04-06 Thread Stuart Henderson
On 2021/04/06 07:27, Marcus MERIGHI wrote: > Morning! > > scottchel...@gmail.com (Scott Cheloha), 2021.04.05 (Mon) 22:25 (CEST): > > To be clear, userland TSC is disabled on this machine, yes? And this > > is a physical server, not a VM? > > $ sysctl |grep tsc > kern.timecounter.hardware=tsc >

Re: wcwidth of soft hyphen

2021-04-06 Thread Stuart Henderson
On 2021/04/05 12:45, Theo de Raadt wrote: > So, your argument is that displays should remain broken forever. > > > The bug in NetBSD and Linux should be fixed, but that's off-topic here. > > If you cannot explain how this problem is going to be fixed (reversed) > in these opposing ecosystems (and

Re: wcwidth of soft hyphen

2021-04-06 Thread Stuart Henderson
On 2021/04/06 13:09, Martijn van Duren wrote: > I´m also not convinced that the other wcwidth implementations might be > on to something and that the unicode consortium is having inertia > problems. The difficulty is that it isn't *possible* to give a single correct answer for the width of SHY, it

Re: Latest sysupgrade (23/07/2022) fails SHA256 check

2022-07-24 Thread Stuart Henderson
On 2022/07/23 21:00, Chris Narkiewicz wrote: > Hi, > > I tried to sysupgade but it fails to check SHA256. Tried multiple times to > exclude random bit flip: > > Verifying sets. > (SHA256) bsd.mp: FAILED > > Sysupgrade on 23/07/2022. > > Best regards, > Chris Narkiewicz > If it persists, plea

Re: include cpuid 0 string in dmesg for fw_update

2022-07-24 Thread Stuart Henderson
On 2022/07/24 10:34, Andrew Hewus Fresh wrote: > On Sun, Jul 24, 2022 at 09:14:30AM -0700, Andrew Hewus Fresh wrote: > > On Sun, Jul 24, 2022 at 10:01:26AM -0600, Theo de Raadt wrote: > > > Jonathan Gray wrote: > > > > > > > On Sun, Jul 24, 2022 at 08:05:26AM -0600, Theo de Raadt wrote: > > > > >

Re:

2022-07-26 Thread Stuart Henderson
On 2022/07/25 20:08, Samuel Venable wrote: > I have a suggestion on how to get the current executable path in OpenBSD that > might be reliable enough and not too costly that it might be accepted for a > future OpenBSD version. > > Even if it won't be accepted, I need a little help completing the

route(8), mention id(1)? [was Re: patch to ksh to show current rdomain]

2022-07-26 Thread Stuart Henderson
from bugs@ On 2022/07/26 13:07, Theo Buehler wrote: > On Tue, Jul 26, 2022 at 11:49:09AM +0100, Stuart Henderson wrote: > > On 2022/07/25 23:41, mgra...@brainfat.net wrote: > > > >Description: > > > This change adds the \% argument to the ksh process of the prompt.

Re: [v4] amd64: simplify TSC sync testing

2022-07-28 Thread Stuart Henderson
On 2022/07/28 12:57, Scott Cheloha wrote: > On Thu, Jul 28, 2022 at 07:55:40AM -0400, Dave Voutila wrote: > > > > This is breaking timecounter selection on my x13 Ryzen 5 Pro laptop > > running the latest kernel from snaps. > > Define "breaking". That's clear from the output: : On 2022/07/28 07

Re: route(8), mention id(1)? [was Re: patch to ksh to show current rdomain]

2022-07-29 Thread Stuart Henderson
On 2022/07/29 14:01, Klemens Nanni wrote: > retrieving revision 1.103 > diff -u -p -r1.103 route.8 > --- sbin/route/route.831 Mar 2022 17:27:20 - 1.103 > +++ sbin/route/route.829 Jul 2022 13:54:26 - > @@ -78,6 +78,9 @@ Suppress all output. > .It Fl T Ar rtable > Selec

Re: Consistency and cleanup in /share/misc/airport

2022-07-30 Thread Stuart Henderson
On 2022/07/30 22:34, Thomas Wager wrote: > On Fri, 2022-07-29 at 16:09 -0400, Daniel Dickman wrote: > > > I think they’re called Metropolitan Area Airport Codes: > > > > I found a list here: > > Metropolitan Area Airport Codes > > wikitravel.org > > > > > > Do you want to submit a revised patch

Re: interface media without netlock

2022-07-31 Thread Stuart Henderson
On 2022/07/28 13:30, Alexander Bluhm wrote: > Problem is that smtpd(8) periodically checks media status. Really?!

Re: bgpd force fib sync in fetchtable

2022-08-02 Thread Stuart Henderson
On 2022/08/02 12:34, Claudio Jeker wrote: > On startup we load the routing table in bgpd and at that moment a cleanup > of old bgpd routes should happen. I noticed this is not the case because > fib_sync is not set and so send_rtmsg() just returns. > I think we need to force fib_sync in fetchtable(

Re: [v5] amd64: simplify TSC sync testing

2022-08-02 Thread Stuart Henderson
On 2022/08/02 22:28, Hrvoje Popovski wrote: > > this is report from Dell R7515 with AMD EPYC 7702P 64-Core Processor > > > r7515$ sysctl | grep tsc > kern.timecounter.choice=i8254(0) mcx1(-100) mcx0(-100) tsc(-1000) > acpihpet0(1000) acpitimer0(1000) > machdep.tscfreq=1996246800 > machdep.invari

Re: echo(1): check for stdio errors

2022-08-11 Thread Stuart Henderson
On 2022/08/10 19:37, Scott Cheloha wrote: > On Thu, Aug 11, 2022 at 02:22:08AM +0200, Jeremie Courreges-Anglas wrote: > > On Wed, Aug 10 2022, Scott Cheloha wrote: > > > [...] > > > > > > 1. Our ksh(1) already checks for stdout errors in the echo builtin. > > > > So do any of the scripts in our s

Re: libsoup2/3 conflicts and gstreamer1 [Re: audio/quodlibet & devel/libsoup]

2022-08-11 Thread Stuart Henderson
Moving from ports@. Quick intro: A library (gstreamer1) uses functions from another library (libsoup) which exists in two incompatible versions (libsoup-2.4.so.XX and libsoup-3.0.so.XX). Other software calling gstreamer might use one or other of these two libsoups for its own purposes, so gstrea

Re: bgpd fix nexthop lookup for connected networks

2022-08-19 Thread Stuart Henderson
On 2022/08/19 10:45, Claudio Jeker wrote: > When implementing knexthop_true_nexthop() to do the lookup from BGP > nexthop to the true nexthop used by the FIB I forgot to handle connected > networks properly. > > For connected networks and connected nexthops the BGP exit nexthop is > equal to the t

Re: ifconfig, wireguard output less verbose, unless -A or

2022-08-20 Thread Stuart Henderson
On 2022/07/14 09:37, Mikolaj Kucharski wrote: > Hi, > > Per other thread, Theo expressed dissatisfaction with long ifconfig(8) > for wg(4) interface. Stuart Henderson pointed me at direction, which > below diff makes it work. > > I guess to questions are: > > - Does

Re: mention double quotes for passwords with white spaces

2022-08-22 Thread Stuart Henderson
On 2022/08/22 16:41, Theo de Raadt wrote: > Hi, > > Do you recommend we do the same in the cat manual page, regarding filenames? > > Or for that matter, in hundreds of other manual pages. > > Unix does whitespace-seperated tokenization, nearly everywhere, so I > do not think this needs to be doc

Re: [PATCH] Exclude pico-debug from the uhid driver

2022-08-22 Thread Stuart Henderson
On 2022/08/22 20:33, Josuah Demangeon wrote: > The pico-debug [1] is a debug firmware, loaded on a Raspberry Pi RP2040 > microcontroller to provide a standard debug interface. > The host support tool OpenOCD already upstreamed it [2]. > > But it does not work with OpenBSD yet, as uhid(4) takes ove

unbound update

2022-08-24 Thread Stuart Henderson
Anyone want to test this? Any OKs? The CVEs mentioned are these: === CVE-2022-30698 Unbound prior to 1.16.2 allows malicious users to trigger continued resolvability of malicious domain names, even after their revocation from the parent zone, via a novel type of the "ghost domain names" attack t

Re: bgpd silence "connection from non-peer" unless verbose

2022-08-25 Thread Stuart Henderson
On 2022/08/24 18:47, Denis Fondras wrote: > Le Tue, Aug 23, 2022 at 06:28:12PM +0200, Claudio Jeker a écrit : > > I noticed that the "connection from non-peer" message can fill the log and > > be so chatty that it is hard to see the other messages. The system I see > > this on is a bit special sinc

Re: bgpd silence "connection from non-peer" unless verbose

2022-08-25 Thread Stuart Henderson
On 2022/08/25 14:38, Claudio Jeker wrote: > On Thu, Aug 25, 2022 at 09:23:01AM +0100, Stuart Henderson wrote: > > On 2022/08/24 18:47, Denis Fondras wrote: > > > Le Tue, Aug 23, 2022 at 06:28:12PM +0200, Claudio Jeker a écrit : > > > > I noticed that the "connect

Re: struct ifnet: remove unused if_switchport member

2022-08-26 Thread Stuart Henderson
On 2022/08/26 09:49, Klemens Nanni wrote: > grep and CVS agree that this is a switch(4) left-over. > > OK? This is exported to userland isn't it? If so, I think all ports using it will need a bump. > Index: if_var.h > === > RCS fi

Re: struct ifnet: remove unused if_switchport member

2022-08-26 Thread Stuart Henderson
On 2022/08/26 16:50, Klemens Nanni wrote: > Running the packages.txt files through 'sort -u' and 'comm -12' and > filtering for ports we actually have leaves us with > > aircrack-ng > firefox > firefox-esr > gst-plugins-bad1.0 > gst-plugins-bad1.0-contrib > libg

Re: [PATCH] Correctly (per POSIX) round up df usage percentage

2022-08-27 Thread Stuart Henderson
On 2022/08/27 15:53, наб wrote: > PROG=df > SRCS=df.c ffs_df.c ext2fs_df.c > -LDADD= -lutil > -DPADD= ${LIBUTIL} > +LDADD= -lutil -lm > +DPADD= ${LIBUTIL} ${LIBM} df is used on the ramdisk, so this would need testing there (at least on the tighter media on

Re: tetris(6) "Random Generator" and advanced controls

2022-08-28 Thread Stuart Henderson
On 2022/08/27 19:58, Tom MTT. wrote: > Apparently, as some people pointed it out, DMARC doesn't influence spam score. Depends on the mail server doing filtering. > I thought that since my e-mail failed both SPF and DKIM and my DMARC > policy was set to quarantine my mail would've been trashed ins

Re: libfido2 update

2022-08-28 Thread Stuart Henderson
On 2022/08/24 17:09, Damien Miller wrote: > Hi, > > https://www.mindrot.org/misc/libfido2-1.11.0.diff contains an update > for src/libfido2 from 1.8 to 1.11 (about 10 months of upstream > development). > > I've tested it with OpenSSH, which is the only thing in src/ that > uses it as well as comp

Re: remove net/ofp.h? switch(4) remnant

2022-08-29 Thread Stuart Henderson
It could move to a private header in tcpdump though. -- Sent from a phone, apologies for poor formatting. On 29 August 2022 08:03:30 Klemens Nanni wrote: Scratch that, tcpdump uses it.

Re: unbound update

2022-08-29 Thread Stuart Henderson
On 2022/08/26 17:47, void wrote: > On Wed, Aug 24, 2022 at 03:03:01PM +0100, Stuart Henderson wrote: > > Anyone want to test this? > > > > Any OKs? > > Hello, > > Seemed to patch OK and built OK with a -current made yesterday, on aarch64. > > I'm

Re: add sendmmsg and recvmmsg systemcalls

2022-08-30 Thread Stuart Henderson
btw a few ports will likely pick this up: paths/devel/glib2.log:Checking for function "recvmmsg" : NO paths/net/tinc.log:checking for recvmmsg... no paths/net/knot.log:checking for recvmmsg... no paths/net/knot.log:Use recvmmsg: no paths/net/gdnsd.log:checking whether recvmmsg is dec

Re: ps(1): add -d (descendancy) option to display parent/child process relationships

2022-09-01 Thread Stuart Henderson
On 2022/09/01 15:14, Martin Schröder wrote: > Am Do., 1. Sept. 2022 um 05:38 Uhr schrieb Job Snijders : > > Some ps(1) implementations have an '-d' ('descendancy') option. Through > > ASCII art parent/child process relationships are grouped and displayed. > > > > Thoughts? > > gnu ps has > > -d

Re: unbound and cannot increase max open fds from 512 to 4152

2022-09-02 Thread Stuart Henderson
On 2022/09/02 11:25, Sebastian Benoit wrote: > > > > Sep 2 06:39:58 x1c unbound: [14264:0] notice: Restart of unbound > > > > 1.16.0. > > > > Sep 2 06:39:58 x1c unbound: [14264:0] notice: init module 0: validator > > > > Sep 2 06:39:58 x1c unbound: [14264:0] notice: init module 1: iterator > >

Re: Support Wacom One S (CTL-472)

2022-09-03 Thread Stuart Henderson
On 2022/09/03 21:37, Marcus Glocker wrote: > On Sat, Sep 03, 2022 at 05:43:25PM +0200, Caspar Schutijser wrote: > > > Hi, > > > > On Sat, Sep 03, 2022 at 05:00:00PM +0200, Stefan Hagen wrote: > > > This is a better version of an earlier attempt to make my wacom tablet > > > work. I have the table

  1   2   3   4   5   6   7   8   9   10   >