Re: clean /dev from /etc/daily ?

2020-11-23 Thread Stuart Henderson
On 2020/11/23 09:31, Bryan Steele wrote: > On Mon, Nov 23, 2020 at 03:25:34PM +0100, Otto Moerbeek wrote: > > tOn Mon, Nov 23, 2020 at 01:53:01PM +0100, Solene Rapenne wrote: > > > > > A common mistake when using dd is to create a file in /dev which > > > fills up the space of / and may stay

Re: Ryzen 5800X hw.setperf vs hw.cpuspeed

2020-11-20 Thread Stuart Henderson
On 2020/11/20 07:41, Bryan Steele wrote: > At least on a desktop I'd suggest to leaved apmd(8) and not do any > manual hw.setperf tweaking, you should have adequate cooling the planet doesn't! :/

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Stuart Henderson
On 2020/11/17 18:23, Peter J. Philipp wrote: > On Tue, Nov 17, 2020 at 05:09:28PM +0000, Stuart Henderson wrote: > > On 2020/11/17 17:13, Peter J. Philipp wrote: > > > Hi, > > > > > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of > >

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-17 Thread Stuart Henderson
On 2020/11/17 17:13, Peter J. Philipp wrote: > Hi, > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > settings with audacity port but couldn't get this to work, so I chose the > method of last resort. Below is a patch to allow an AUDIORECDEVICE > environment >

Re: Import seq(1) from FreeBSD

2020-11-16 Thread Stuart Henderson
On 2020/11/16 05:49, Todd C. Miller wrote: > This is originally from NetBSD but FreeBSD appears to have some > additional fixes. > > I know we have jot(1) but seq(1) is considerably easier to use for > simple things and at this point, most other systems have it. OK with me. If this goes in then

Re: Strange snmpd issue with 6.7

2020-11-13 Thread Stuart Henderson
000, Stuart Henderson wrote: > > On 2020-11-09, Winfred Harrelson wrote: > > > On Sat, Nov 07, 2020 at 01:53:00PM -, Stuart Henderson wrote: > > >> On 2020-11-06, Winfred Harrelson wrote: > > >> > I am running OpenBSD 6.7 and am having a strange iss

Re: Fw: Hardware UUID discrepancies (dmidecode vs. sysctl) on amd64 multiboot system

2020-11-09 Thread Stuart Henderson
On 2020/11/09 15:28, Mark Kettenis wrote: > > I think it would be correct to change our code to follow the spec, > > but reading the manual of current versions of dmidecode it goes a bit > > further; > > > > There is some ambiguity about how to interpret the UUID fields > > prior to

Re: Fw: Hardware UUID discrepancies (dmidecode vs. sysctl) on amd64 multiboot system

2020-11-09 Thread Stuart Henderson
On 2020/11/08 11:42, Benjamin Baier wrote: > Forwarding to tech@ by request from Stuart Henderson > This issue came up on misc@ > https://marc.info/?l=openbsd-misc=160477082230840=2 > > Begin forwarded message: > > Date: Sat, 7 Nov 2020 22:30:44 +0100 > From: Benjamin

Re: pf route-to issues

2020-10-19 Thread Stuart Henderson
On 2020/10/19 19:53, David Gwynne wrote: > On Mon, Oct 19, 2020 at 09:34:31AM +0100, Stuart Henderson wrote: > > On 2020/10/19 15:35, David Gwynne wrote: > > > every few years i try and use route-to in pf, and every time it > > > goes badly. i tried it again last w

Re: net.inet.ip.forwarding=0 vs lo(4)

2020-10-19 Thread Stuart Henderson
On 2020/10/19 11:47, David Gwynne wrote: > On Sun, Oct 18, 2020 at 08:57:34PM +0100, Stuart Henderson wrote: > > On 2020/10/18 14:04, David Gwynne wrote: > > > the problem i'm hitting is that i have a multihomed box where the > > > service it provides listens on an

Re: pf route-to issues

2020-10-19 Thread Stuart Henderson
On 2020/10/19 15:35, David Gwynne wrote: > every few years i try and use route-to in pf, and every time it > goes badly. i tried it again last week in a slightly different > setting, and actually tried to understand the sharp edges i hit > this time instead of giving up. it turns out there are 2

Re: net.inet.ip.forwarding=0 vs lo(4)

2020-10-18 Thread Stuart Henderson
On 2020/10/18 14:04, David Gwynne wrote: > the problem i'm hitting is that i have a multihomed box where the > service it provides listens on an IP address that's assigned to lo1. > it's a host running a service, it's not a router, so the > net.inet.ip.forwarding sysctl is not set to 1. I ran

Re: Typo Diffs

2020-10-16 Thread Stuart Henderson
On 2020/10/16 02:36, Varik Valefor wrote: > Sir or Madam: > > Included within this message should be some diffs which can be applied to > fix some typographical errors and general wording problems which exist > within the OpenBSD manual pages, as well as some other files. > > These changes are

[s...@spacehopper.org: Re: Remove useless line from daemon class in login.conf]

2020-10-14 Thread Stuart Henderson
Just found this in my local tree still, iirc danj liked it but there wasn't much other enthusiasm. Any other comments? Should I just drop the diff? Change 'a' to use 2^10 minimum? Change to fixed 2^10 with no auto measurement? - Forwarded message from Stuart Henderson - From: Stuart

Re: Unbound 1.12.0

2020-10-13 Thread Stuart Henderson
On 2020/10/11 15:37, Renaud Allard wrote: > > > On 10/10/2020 22:05, Stuart Henderson wrote: > > Here's an update to the recently released version of Unbound. Much of > > the additional code is for DoH and is unused here as it requires the > > nghttp2 library. > &

Re: NSD 4.3.3

2020-10-09 Thread Stuart Henderson
On 2020/10/09 21:35, Stuart Henderson wrote: > Here's an update to NSD 4.3.3. Any tests/comments/OKs? Updated to reinstate the pledge lost in nsd.c (merge error as we had a local commit post 4.3.2), spotted by tb. (I didn't reorder the diff for easier reading this time). Index: Makefile

NSD 4.3.3

2020-10-09 Thread Stuart Henderson
Here's an update to NSD 4.3.3. Any tests/comments/OKs? diff in order; - changelog - code changes - manpage changes - autoconf foo doc/ChangeLog | 55 doc/RELNOTES | 24 dbaccess.c |4 - ipc.c |1 mini_event.h |

Re: ssh-keygen: generate ed25519 keys by default

2020-10-08 Thread Stuart Henderson
On 2020/10/08 15:40, Christian Weisgerber wrote: > At this point, I don't know how many SSH servers are still out there > that don't handle Ed25519. I still have an ECDSA key somewhere > that I use to log into a machine that still runs... "OpenSSH_6.0p1 > Debian-4+deb7u7, OpenSSL 1.0.1t 3 May

Re: Make df output more human friendly in daily(8)

2020-10-03 Thread Stuart Henderson
On 2020/10/03 08:44, Daniel Jakots wrote: > On Sat, 3 Oct 2020 08:00:44 +0200, Ingo Schwarze > wrote: > > > But this needs to remain: > > > > > -Reports on which file systems need to be dumped via > > > -.Xr dump 8 . > > > -.It > > Indeed, I wrongly assumed that the other dump call was

Re: pthread_spin_unlock and ownership behaviour

2020-10-03 Thread Stuart Henderson
Ports-wise, from a Nov 2019 build on i386, these used it: $ grep -Rl pthread_spin_unlock wrkscan wrkscan/devel/libivykis wrkscan/x11/gnustep/base wrkscan/x11/e17/eina wrkscan/misc/posixtestsuite wrkscan/net/libunbound wrkscan/net/libshout wrkscan/net/icecast wrkscan/net/bird/1,-doc

Re: trunk: keep interface up on port removal

2020-09-14 Thread Stuart Henderson
On 2020/09/14 10:57, Klemens Nanni wrote: > On Sun, Sep 13, 2020 at 06:44:13PM +0100, Stuart Henderson wrote: > > I can't test at the moment, but the other case is removing a port from > > the trunk without destroying the trunk interface itself. That's almost > > certain

Re: trunk: keep interface up on port removal

2020-09-13 Thread Stuart Henderson
On 2020/09/13 14:47, Klemens Nanni wrote: > So there's a dance around UP interfaces already; CVS log dates this > code back to 2010 when deraadt rearanged code into ifnewlladdr(), the > previous if.c revision also head this dance around UP. > > The if_down() line I removed from trunk(4) dates

Re: trunk: keep interface up on port removal

2020-09-13 Thread Stuart Henderson
On 2020/09/13 13:23, Klemens Nanni wrote: > On Sun, Sep 13, 2020 at 11:31:12AM +0100, Stuart Henderson wrote: > > On 2020/09/13 11:12, Stuart Henderson wrote: > > > This has been tried before, I forget what but there were problems > > > > from chat logs when I tri

Re: trunk: keep interface up on port removal

2020-09-13 Thread Stuart Henderson
On 2020/09/13 11:12, Stuart Henderson wrote: > This has been tried before, I forget what but there were problems from chat logs when I tried this before: 14:52 < sthen> if i kill the if_down, no crash, but the mac address doesn't get updated so i end up with the same one on em0, em1, trunk0

Re: trunk: keep interface up on port removal

2020-09-13 Thread Stuart Henderson
This has been tried before, I forget what but there were problems -- Sent from a phone, apologies for poor formatting. On 12 September 2020 21:16:31 Alexander Bluhm wrote: OK bluhm@ On Sat, Sep 12, 2020 at 05:49:52PM +0200, Klemens Nanni wrote: Index: if_trunk.c

Re: sppp: add free() sizes

2020-09-12 Thread Stuart Henderson
On 2020/09/12 19:13, Martin Pieuchot wrote: > Another approach would be to always use array of AUTHMAXLEN, I'm not sure > the size justifies two malloc(9). it used to do that, changed in if_sppsubr.c 1.74

Re: shrinking and growing reallocs: a theoretical? bad case for performance

2020-09-01 Thread Stuart Henderson
On 2020/08/31 08:39, Otto Moerbeek wrote: > A question from Theo made me think about realloc and come up with a > particular bad case for performance. I do not know if it happens in > practice, but it was easy to create a test program to hit the case. Not very scientific testing (a single attempt

Re: unwind(8): use SO_REUSEADDR

2020-08-30 Thread Stuart Henderson
On 2020/08/29 20:06, Florian Obser wrote: > I can't think of a downside, OK. > (Not sure of a use case either though.) It makes it easier to test unwind diffs on a machine that normally runs another nameserver :) OK.

Re: sync unwind to libunbound 1.11.0

2020-08-29 Thread Stuart Henderson
On 2020/08/27 15:28, Florian Obser wrote: > all heavy lifting done by sthen in unbound > > tests? ok with me. only tested lightly (the machine I normally use does DNS for other machines too so runs unbound). related, any idea what's happening here? unwind[51500]: fatal in main: could not bind

Re: $pexp in re.subr(8)

2020-08-07 Thread Stuart Henderson
On 2020/08/06 18:12, Thomas Levine wrote: > The present patch changes the rc.subr(8) manual page to match > the implementation. > > The current manual page for rc.subr(8) says that $pexp is "A regular > expression to be passed to pgrep(1) in order to find the desired process > or to be passed to

Re: [PATCH]: Add a check for upgrade feature to sysupgrade(8)

2020-08-03 Thread Stuart Henderson
On 2020/08/03 13:50, Solene Rapenne wrote: > On Mon, 3 Aug 2020 13:28:38 +0200 > Emil Engler : > > > ## Abstract > > This patch adds an argument to sysupgrade(8) which makes it possible > > to check if an upgrade is available, similar to "syspatch -c". > > This works both, for snapshots and

Re: no output on glass console after switching to serial

2020-08-01 Thread Stuart Henderson
On 2020/08/01 22:21, Mark Kettenis wrote: > > pci11 at ppb9 bus 10 > > vga1 at pci11 dev 0 function 0 "ASPEED Technology AST2000" rev 0x30 > > This is the BMC graphics and seems to be the only grapics device > available on this machine. Correct. > > wsdisplay at vga1 not configured > > And I

no output on glass console after switching to serial

2020-08-01 Thread Stuart Henderson
I've just been building a machine with serial console to go to colo tomorrow and have noticed that there's no output on glass console after the "switching console to com0" message. The only getty running after boot is the one on serial console. I won't be able to do much in the way of testing on

Re: cat(1): add more restrictive pledge(2)

2020-07-31 Thread Stuart Henderson
On 2020/07/31 00:07, tempmai...@firemail.cc wrote: > I have to say I'm only a beginner to C but hopefully my patch is > good. > > This patch adds a second and more restrictive pledge (only "stdio" > instead of "stdio rpath") after the getopt loop if there is no > input file or if the input file

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 =

Re: Add ability to set control values with video(1)

2020-07-25 Thread Stuart Henderson
On 2020/07/25 09:20, Theo de Raadt wrote: > The normal idiom is when last-close happens in a driver, all modal-state > is lost and restored to default, and when you use the driver again -- > the new open gets you a raw configuration which is then changed via > ioctl, before futher use. Isn't this

Re: wsfontload(8): display number of characters in a loaded font

2020-07-17 Thread Stuart Henderson
Seems useful. While it's not especially likely anyone is parsing the output of this, just in case they are it's usually more admin-friendly to add a new column at the end unless there's a good reason not to. -- Sent from a phone, apologies for poor formatting. On 16 July 2020 21:29:50

Re: iked.conf.5: provide gre example

2020-07-16 Thread Stuart Henderson
On 2020/07/15 10:02, Theo de Raadt wrote: > It is extremely unwise to use DNS names at this level (or things which > look like DNS names). The same problems that pf has with DNS, are > present here. You really don't want people to get into this habit. Same in gre(4) config which needs addresses

Re: empty rc.firsttime when installing

2020-07-14 Thread Stuart Henderson
On 2020/07/14 15:03, Denis Fondras wrote: > I was upgrading an EdgeRouter and it restarted multiple times instead of > booting > /bsd > > When I had a chance to boot it correctly, I noticed that sysmerge and > fw_update > were run multiple times. > > This diff avoids filling rc.firsttime and

Re: silicom X710 ixl, unable to query phy types, no sff

2020-07-09 Thread Stuart Henderson
ompts. You'll need to restart the machine or power cycle ... > > Hope this helps, > > > > > > On Wed, 8 Jul 2020 at 23:09, Stuart Henderson wrote: > > > I have some ixl cards which show "unable to query phy types" at > > attach time, and return e

Re: silicom X710 ixl, unable to query phy types, no sff

2020-07-09 Thread Stuart Henderson
and the intel tools display it like this instead # /usr/sbin/ethtool -i ens1f2 driver: i40e version: 2.3.2-k firmware-version: 5.02 0x80002248 0.0.0 expansion-rom-version: bus-info: :05:00.2 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: ye

Re: silicom X710 ixl, unable to query phy types, no sff

2020-07-09 Thread Stuart Henderson
0 C, high 90.00 C) tx: -2.63 dBm (low -7.00 dBm, high 2.50 dBm) rx: -4.75 dBm (low -16.00 dBm, high 1.00 dBm) On 2020/07/08 22:59, Stuart Henderson wrote: > I have some ixl cards which show "unable to query phy types" at > attach time, and return either EIO or ENOD

silicom X710 ixl, unable to query phy types, no sff

2020-07-08 Thread Stuart Henderson
I have some ixl cards which show "unable to query phy types" at attach time, and return either EIO or ENODEV if I try fetching sff pages. I booted with SFP+ in all ixl ports and have this: ixl0 at pci6 dev 0 function 0 "Intel X710 SFP+" rev 0x02: port 1, FW 5.0.40043 API 1.5, msix, 4 queues,

Re: Use VGA text mode palette RGB values in rasops(9)

2020-07-07 Thread Stuart Henderson
On 2020/07/07 15:16, Frederic Cambus wrote: > Hi tech@, > > The recent spike of interest around framebuffer consoles has prompted > me to revisit a proposal I sent back in early 2017 [1]. > > Aesthetics considerations aside, kettenis@ raised the concern that colors > from the original rasops

Re: userland clock_gettime proof of concept

2020-07-01 Thread Stuart Henderson
running on 38 of these, btw. OpenBSD 6.7-current (GENERIC.MP) #0: Sat Jun 27 21:15:58 BST 2020 sthen@...:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4169592832 (3976MB) avail mem = 4028198912 (3841MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets

Re: Stuck in Needbuf state, trying to understand (6.7)

2020-06-26 Thread Stuart Henderson
On 2020/06/26 15:30, sven falempin wrote: > behavior confirmed on current. > > Once the process stalls, ( could be anything writing to the vnconfig disk, > cp , umount ) > a few other calls like df , or ps, etc may hang, never the same > sp or mp kernel, reproduced on today's snapshots.

awk FS behaviour change

2020-06-26 Thread Stuart Henderson
The Sep 10, 2019 version of awk introduced a change in handling this: ifconfig egress | awk '/inet / {FS="[ .]"; print "host-"$4"-"$5"}' Given a line like inet 10.20.30.40 netmask 0xff00 broadcast 10.20.30.255 it used to return host-30-40, now it returns

Re: Blacklist Ericsson F5521GW from umass

2020-06-22 Thread Stuart Henderson
On 2020/06/22 14:10, Tobias Heider wrote: > On Mon, Jun 22, 2020 at 02:01:43PM +0200, Tobias Heider wrote: > > Hi, > > > > I noticed that the ramdisk takes ages to boot on my T420. > > It seems that without umodem in the kernel, umass tries to attach to my > > Erricson F5521GW WAN modem and fails

Re: sample unbound.conf tweak

2020-06-21 Thread Stuart Henderson
On 2020/06/21 18:29, Klemens Nanni wrote: > On Sun, Jun 21, 2020 at 04:47:22PM +0100, Stuart Henderson wrote: > > An "uncomment" was left in when we reenabled dnssec by default, > > and it seems a bit pointless to say "comment out to disable". ok? > Reads be

Re: lfence for rdtsc

2020-06-21 Thread Stuart Henderson
On 2020/06/21 18:46, Paul Irofti wrote: > > > În 21 iunie 2020 16:30:43 EEST, Theo de Raadt a scris: > >Paul Irofti wrote: > > > >> If you change the name to rdtsc_ordered(), OK. > > > >That is a weaker name. > > > >Ordered in what way, at what level; ordered against what? > > > >This is using

sample unbound.conf tweak

2020-06-21 Thread Stuart Henderson
An "uncomment" was left in when we reenabled dnssec by default, and it seems a bit pointless to say "comment out to disable". ok? Index: unbound.conf === RCS file: /cvs/src/etc/unbound.conf,v retrieving revision 1.19 diff -u -p

Re: userland clock_gettime proof of concept

2020-06-19 Thread Stuart Henderson
On 2020/06/19 20:28, Paul Irofti wrote: > On Fri, Jun 19, 2020 at 06:52:40PM +0200, Mark Kettenis wrote: > > I don't expect userland processes to call CLOCK_UPTIME in a loop like > > they tend to do do for CLOCK_MONOTONIC and CLOCK_REALTIME. Linux > > doesn't have it ;). > > I don't care

pckbd_enable: command error. anything to worry about?

2020-06-17 Thread Stuart Henderson
It doesn't seem to be causing a problem but I've noticed these recently and thought I'd write a mail to at least document it / when it started. 2020-06-17T11:00:52.021Z symphytum /bsd: root on sd1a (2b4432fd9000a5b7.a) swap on sd1b dump on sd1b 2020-06-17T11:00:52.021Z symphytum /bsd: inteldrm0:

ddb(4): tr /t 0t

2020-06-17 Thread Stuart Henderson
Every time I want to use this I spend several minutes figuring out rhe correct prefix, it would help to add a note. Ok? Index: man4/ddb.4 === RCS file: /cvs/src/share/man/man4/ddb.4,v retrieving revision 1.97 diff -u -p -r1.97 ddb.4

Re: netstat -R: list rdomains with associated ifs and tables

2020-06-14 Thread Stuart Henderson
On 2020/06/13 23:29, Sebastian Benoit wrote: > Of course that makes parsing the output more difficult. not really.. netstat -R|awk -F : '/Routing table/ {print $2}'

Re: netstat -R: list rdomains with associated ifs and tables

2020-06-10 Thread Stuart Henderson
It's useful information, I like it. (I preferred it with the route count, but I agree, it's hard on the system if there's a full DFZ table). One thing though - > twister ..in/netstat$ obj/netstat -R > Rdomain 0 > Interfaces: lo0 iwm0 re0 enc0 pflog0 > Routing tables: 0 6 7 77 When there

Re: userland clock_gettime proof of concept

2020-06-08 Thread Stuart Henderson
On 2020/06/08 12:59, Paul Irofti wrote: > This iteration of the diff adds bounds checking for tk_user and moves > the usertc.c stub to every arch in libc as recommanded by deraadt@. > It also fixes a gettimeofday issue reported by cheloha@ and tb@. > > The acpihpet stub is still there, but it

Re: Some redundant code lines in sys

2020-06-05 Thread Stuart Henderson
On 2020/06/05 13:50, Denis Fondras wrote: > On Fri, Jun 05, 2020 at 12:56:21PM +0200, Prof. Dr. Steffen Wendzel wrote: > > Dear all: > > > > just in case this appears useful to you: I found some redundant code > > lines in the following files. > > > > sys/net/pipex.h: > >struct pipex_session

Re: top: Fill last character in process line

2020-06-03 Thread Stuart Henderson
On 2020/06/03 14:49, Klemens Nanni wrote: > On Wed, Jun 03, 2020 at 12:45:35PM +0100, Stuart Henderson wrote: > > It should check terminal capabilities for this, see termcap(5). > > If 'am' (auto-margin) is set then it shouldn't write to the final column. > > If 'xn' is set

Re: top: Fill last character in process line

2020-06-03 Thread Stuart Henderson
On 2020/06/03 12:46, Klemens Nanni wrote: > > i_process() prints process lines from the global buffer thisline[MAX_COLS] > which is filed by format_next_process() using snprintf(3), i.e. it is > guaranteed to be NUL terminated. > > display_width is always set to screen_width and capped

Re: drop addtrust from cert.pem?

2020-06-03 Thread Stuart Henderson
On 2020/06/02 21:38, Bob Beck wrote: > On Mon, Jun 01, 2020 at 06:04:17PM +0100, Stuart Henderson wrote: > > OK to drop the expired AddTrust cert from cert.pem? > > yes, thanks. > > > > > I checked against the firefox set, there are no new/removed cer

drop addtrust from cert.pem?

2020-06-01 Thread Stuart Henderson
OK to drop the expired AddTrust cert from cert.pem? I checked against the firefox set, there are no new/removed certs that work with libressl there. There are now two with GENERALIZEDTIME notAfter dates from before 2050 that don't work though (I only remember seeing one of those when I last

Re: Xwindows keymap weirdness

2020-06-01 Thread Stuart Henderson
On 2020/06/01 15:56, Stéphane Aulery wrote: > Le 01/06/2020 15:46, Matthieu Herrb a écrit : > > On Mon, Jun 01, 2020 at 03:28:52PM +0200, Stéphane Aulery wrote: > > > Le 01/06/2020 14:55, Matthieu Herrb a écrit : > > > > > > > > > > > > > > (I have just tried with a test user with nothing

Re: official ports vs DEBUG_PACKAGES

2020-05-29 Thread Stuart Henderson
On 2020/05/29 17:25, Bob Beck wrote: > On Fri, May 29, 2020 at 06:14:44PM +0200, Marc Espie wrote: > > In a trace: > > > > > > > #3 0x15e48c95459e in WebVfx::shutdown () > > > > > at /usr/obj/ports/webvfx-1.2.0/webvfx-1.2.0/webvfx/webvfx.cpp:193 > > > > Now, this is NOT the default

Re: official ports vs DEBUG_PACKAGES

2020-05-29 Thread Stuart Henderson
On 2020/05/29 18:14, Marc Espie wrote: > In a trace: > > > > > #3 0x15e48c95459e in WebVfx::shutdown () > > > > at /usr/obj/ports/webvfx-1.2.0/webvfx-1.2.0/webvfx/webvfx.cpp:193 > > Now, this is NOT the default location for WRKOBJDIR, but we are shipping > packages with debug

Re: userland clock_gettime proof of concept

2020-05-29 Thread Stuart Henderson
On 2020/05/29 13:50, Paul Irofti wrote: > +struct __timekeep { > + uint32_t major; /* version major number */ > + uint32_t minor; /* version minor number */ > + > + u_int64_t th_scale; > + unsigned intth_offset_count; > + struct bintime

Re: [RFC] pppd: add pipex(4) L2TP control support

2020-05-29 Thread Stuart Henderson
On 2020/05/28 19:42, Jason McIntyre wrote: > On Wed, May 27, 2020 at 08:43:47AM +0200, Martin Pieuchot wrote: > > On 26/05/20(Tue) 10:31, Claudio Jeker wrote: > > > [...] > > > npppd(8) is server only it can not establish a connection. pppd(8) on the > > > other hand is more client side (but I

Re: userland clock_gettime proof of concept

2020-05-28 Thread Stuart Henderson
I'm running it here. On 2020/05/28 17:44, Paul Irofti wrote: > diff --git lib/libc/shlib_version lib/libc/shlib_version > index 06f98b01084..5fb0770494f 100644 > --- lib/libc/shlib_version > +++ lib/libc/shlib_version > @@ -1,4 +1,4 @@ > major=96 > -minor=0 > +minor=1 > # note: If changes were

Re: Remove useless line from daemon class in login.conf

2020-05-23 Thread Stuart Henderson
On 2020/05/22 16:04, Theo de Raadt wrote: > Stuart Henderson wrote: > > > On 2020/05/22 17:06, Daniel Jakots wrote: > > > Hi, > > > > > > We used to have different numbers of blowfish rounds between the > > > default and daemon classes in l

Re: Remove useless line from daemon class in login.conf

2020-05-22 Thread Stuart Henderson
On 2020/05/22 17:06, Daniel Jakots wrote: > Hi, > > We used to have different numbers of blowfish rounds between the > default and daemon classes in login.conf. On Jun 26, 2016, tedu > committed "upgrade selected login.conf to use auto rounds for bcrypt" > for amd64, sparc64, i386, and maccpc

Re: Removing old video drivers

2020-05-19 Thread Stuart Henderson
On 2020/05/19 14:23, Dirk Praet wrote: > A manual xorg config with the vesa driver brought X back to life, but not > until I set machdep.allowaperture=2 in /etc/sysctl.conf . Thanks for your > reply, Matthieu. I do hope 6.7 doesn't come with similar surprises, though Run -current between

Re: Prometheus core metrics for bgpd and ospfd approach ideas

2020-05-18 Thread Stuart Henderson
On 2020/05/18 15:31, Richard Chivers wrote: > Hi, > > We could do with exposing certain metrics from bgpd, ospfd and pf. > > I was considering a couple of approaches and really was just > interested in what would make most sense in general. > > Has anyone else considered this at all? > > Would

Re: bgpctl paged output for show rib

2020-05-17 Thread Stuart Henderson
On 2020/05/17 12:02, Claudio Jeker wrote: > On Sun, May 17, 2020 at 11:51:33AM +0200, Denis Fondras wrote: > > > This implements a way to add a limit for bgpctl show rib output. > > > When a limit is set then the output will include a token (at the end) > > > that can be used to get the next batch

Re: 6.7 snaps upgrade went fine - Intel ax200ngw not so much

2020-05-13 Thread Stuart Henderson
On 2020/05/13 13:46, sven falempin wrote: > *Please* > advise how to squeeze more information to thwart that problem. If I had a card using a newly developed driver that was doing that, I would remove the card, offer to send it to somebody working on the driver if they want it, and replace it

Re: userland clock_gettime proof of concept

2020-05-13 Thread Stuart Henderson
Thanks for looking at this Paul! On 2020/05/13 17:15, Robert Nagy wrote: > On 13/05/20 17:05 +0200, Mark Kettenis wrote: > > > The update currently does the work of clock_gettime(), but it can > > > probably be changed to only update the timehands and move the logic > > > elsewhere. Note that if

Re: nsd 4.3.1

2020-05-08 Thread Stuart Henderson
On 2020/05/08 06:58, Florian Obser wrote: > I'm running this for about 2 weeks or so. > Tests, OKs? Just off to look at a radio link in a church tower that I suspect a pigeon may have knocked out of alignment, I'll put this on some machines when I get back, just wanted to comment: > - I'm adding

Re: JSON support for bgpctl(8)

2020-05-07 Thread Stuart Henderson
On 2020/05/07 17:02, Richard Chivers wrote: > Hi, > > Great to hear about the json support for bgpctl. > > Will bgpctl latest work with 6.6 bgpd, so we can compile a bgpctl_latest > with the json support for testing, without upgrading the rest of bgpd on > our boxes? It definitely won't, but if

Re: [PATCH] add ping(1)-like stats to tcpbench(1)

2020-05-03 Thread Stuart Henderson
On 2020/05/04 09:23, Richard Procter wrote: > I like it. > > Assuming a mention in tcpbench.1 - ok procter ok like this? text stolen from ping. Index: tcpbench.1 === RCS file: /cvs/src/usr.bin/tcpbench/tcpbench.1,v retrieving

Re: [PATCH] add ping(1)-like stats to tcpbench(1)

2020-05-03 Thread Stuart Henderson
Is it worth triggering this on SIGINFO? I use that often with ping(1). Index: tcpbench.c === RCS file: /cvs/src/usr.bin/tcpbench/tcpbench.c,v retrieving revision 1.62 diff -u -p -r1.62 tcpbench.c --- tcpbench.c 2 May 2020 22:00:29

Re: Tighter pledges for ftp(1)

2020-05-03 Thread Stuart Henderson
On 2020/05/02 20:19, Demi M. Obenour wrote: > The following patch tightens the pledges for ftp(1). > > This guarantees that ftp(1) cannot spawn child processes when operating > in batch mode, which is a significant security win. It breaks interactive mode (!ls, more somefile, get somefile

Re: ospf6d ls_update segv

2020-05-02 Thread Stuart Henderson
On 2020/05/02 16:48, Stuart Henderson wrote: > Seeing some of these, including in brand new -current. I think it's triggered > when another ospf6-speaker in the area restarts. > > ospf6d[1296]: route decision engine exiting > ospf6d[214]: kernel routing table decoupled > ospf6d

ospf6d ls_update segv

2020-05-02 Thread Stuart Henderson
Seeing some of these, including in brand new -current. I think it's triggered when another ospf6-speaker in the area restarts. ospf6d[1296]: route decision engine exiting ospf6d[214]: kernel routing table decoupled ospf6d[214]: ospf engine terminated; signal 11 ospf6d[214]: terminating Program

Re: acpipci(4); derive bus number from _CRS

2020-05-02 Thread Stuart Henderson
On 2020/05/02 14:29, Mark Kettenis wrote: > I've always interpreted the bit of code that takes the bus number from > _CRS instead of _BBN, ut allegedly this is not how it works and _BBN > is supposedly only there to make sure we can access PCI config space > of the host bridge from AML code. > >

Re: iked(8): Removing SHA1 from default transforms

2020-05-01 Thread Stuart Henderson
On 2020/05/02 00:43, Stephan Mending wrote: > On 02/05/2020 00:40, Stuart Henderson wrote: > > On 2020/05/02 00:23, Stephan Mending wrote: > > > Hi, > > > > > > I actually read your thread. By what I understood you're at the moment &

Re: iked(8): Removing SHA1 from default transforms

2020-05-01 Thread Stuart Henderson
On 2020/05/02 00:23, Stephan Mending wrote: > Hi, > > I actually read your thread. By what I understood you're at the moment > trying to change a few defaults. > > That was the reason I wanted to add SHA1 for removal. I just thought it > deserved a seperate thread. > > I do understand that

Re: IPv6 Support for umb(4)

2020-05-01 Thread Stuart Henderson
On 2020/05/01 20:10, Gerhard Roth wrote: > On 4/30/20 11:07 PM, Stuart Henderson wrote: > > On 2020/04/30 20:32, Gerhard Roth wrote: > > > Hi Theo, > > > > > > is umb really working that differently for a P2P interface? I think it is > > > very

Re: Audio over hdmi

2020-05-01 Thread Stuart Henderson
On 2020/05/01 17:16, Damien Couderc wrote: > Le 01/05/2020 à 15:01, Mark Kettenis a écrit : > > > Date: Fri, 1 May 2020 14:17:56 +0200 > > > From: Alexandre Ratchov > > > > > > On Fri, May 01, 2020 at 01:11:16PM +0200, Damien Couderc wrote: > > > > > > > > Speaking of the hdmi-only devices that

Re: IPv6 Support for umb(4)

2020-04-30 Thread Stuart Henderson
On 2020/04/30 22:28, Jason McIntyre wrote: > On Thu, Apr 30, 2020 at 10:07:14PM +0100, Stuart Henderson wrote: > > > > On 2020/04/30 20:52, Gerhard Roth wrote: > > > It it too much to expect users to read the ifconfig man page? > > > > Printed, it is 28 page

Re: iked(8): Add ECDH groups and AEADs to defaults

2020-04-30 Thread Stuart Henderson
On 2020/04/30 23:03, Tobias Heider wrote: > On Thu, Apr 30, 2020 at 09:33:28PM +0100, Stuart Henderson wrote: > > On 2020/04/30 20:11, Tobias Heider wrote: > > > Hi, > > > > > > I would like to modernize our crypto defaults a bit and add some of the > &

Re: IPv6 Support for umb(4)

2020-04-30 Thread Stuart Henderson
On 2020/04/30 20:32, Gerhard Roth wrote: > Hi Theo, > > is umb really working that differently for a P2P interface? I think it is > very similar to ppp(4) and IPv6. The standard way is to obtain the IP > address via PPP protocol. Just like this, umb(4) obtains the IP address via > MBIM protocol.

Re: iked(8): Add ECDH groups and AEADs to defaults

2020-04-30 Thread Stuart Henderson
On 2020/04/30 20:11, Tobias Heider wrote: > Hi, > > I would like to modernize our crypto defaults a bit and add some of the > supported ECDH Diffie-Hellman groups to the default IKE crypto proposal. > There should be no downside to this, if they are not supported by the > other side one of the

Re: [PATCH] sysupgrade

2020-04-30 Thread Stuart Henderson
On 2020/04/30 10:07, Anders Andersson wrote: > I recently bought an APU with the smallest disk I could find (16 GB > mSATA), I don't remember the full install of all sets taking more than > 10%. No need to remove stuff. With current auto layouts from the installer it's usually ok, but with ones

release(8) - mention u-boot-*, dtb, raspberrypi-firmware

2020-04-29 Thread Stuart Henderson
OK to add this? Index: release.8 === RCS file: /cvs/src/share/man/man8/release.8,v retrieving revision 1.94 diff -u -p -r1.94 release.8 --- release.8 23 Jun 2018 23:19:11 - 1.94 +++ release.8 29 Apr 2020 13:44:19 -

Re: Install: Invalid group _sndiop in #163 amd64

2020-04-29 Thread Stuart Henderson
On 2020/04/29 11:58, Oliver Marugg wrote: > Yes, I made the mistake using this older snap for install (was on my usb > stick) with consequences. > With a today downloaded install.fs to USB Stick and http install no problem > as you, Otto and Stuart mentioned. thx. > Sorry, I really should know

Re: Install: Invalid group _sndiop in #163 amd64

2020-04-29 Thread Stuart Henderson
On 2020/04/29 10:28, Oliver Marugg wrote: > Possible typo group _sniop shoud be _sndiod: > > During fresh install from install.fs amd64 of OpenBSD 6.7-beta (GENERIC.MP) > #163: Tue Apr 28 21:35:13 MDT 2020 You are showing the version of the installed GENERIC.MP kernel not the install image. I

Re: iked(8): remove insecure EC2N curves

2020-04-28 Thread Stuart Henderson
8, 2020 at 11:22:02AM +0100, Stuart Henderson wrote: > > > On 2020/04/28 01:09, Tobias Heider wrote: > > > > Hi, > > > > > > > > the EC2N family of curves have been marked as insecure for at least 10 > > > > years. > > > > In fact

Re: iked(8): remove insecure EC2N curves

2020-04-28 Thread Stuart Henderson
On 2020/04/28 01:09, Tobias Heider wrote: > Hi, > > the EC2N family of curves have been marked as insecure for at least 10 years. > In fact, IANA has stopped listing them altogether [1]. > Their former IDs are now 'reserved'. > > I think it's time for us to drop them as well. > > ok? I agree

Re: Raspberry Pi GPIO

2020-04-27 Thread Stuart Henderson
On 2020/04/26 12:56, Mark Kettenis wrote: > Diff below adds GPIO support to bcmgpio(4). It also adds the bits to > attach gpio(4) such that GPIO pins can be controlled from userland. > This makes sense on boards like the Raspberry Pi and the > implementation makes sure that pins used by kernel

Re: Update /etc/examples/doas.conf and doas.conf(5)

2020-04-25 Thread Stuart Henderson
On 2020/04/25 19:41, clematis wrote: > +permit nopass solene cmd /usr/bin/touch > +permit nopass setenv { TRUSTED_PKG_PATH TERM } solene cmd \ > + /usr/sbin/pkg_add > +permit nopass setenv { TERM } solene cmd /usr/sbin/pkg_delete it is bad enough that the dangerous "nopass pkg_add" is in

Re: bgpd local-address improvement

2020-04-23 Thread Stuart Henderson
We could use it in the sample config too. OK? Index: bgpd.conf === RCS file: /cvs/src/etc/examples/bgpd.conf,v retrieving revision 1.18 diff -u -p -r1.18 bgpd.conf --- bgpd.conf 16 Feb 2020 20:02:21 - 1.18 +++ bgpd.conf

  1   2   3   4   5   6   7   8   9   10   >