Re: snmp(1) better handling of key material

2019-10-29 Thread Martijn van Duren
On 10/30/19 6:45 AM, Martijn van Duren wrote: > In copying over the net-snmp semantics for snmp-v3/USM I got a bit too > lenient in handling the keys. This diff tries to rectify that. > > This diff does basically two things: > 1) Try to push people to use passphrases from stdin. > 2) Clean up keyi

snmp(1) better handling of key material

2019-10-29 Thread Martijn van Duren
In copying over the net-snmp semantics for snmp-v3/USM I got a bit too lenient in handling the keys. This diff tries to rectify that. This diff does basically two things: 1) Try to push people to use passphrases from stdin. 2) Clean up keying material (including from the ps listing) as soon as

Re: HID devices without numbered reports

2019-10-29 Thread Patrick Wildt
On Wed, Oct 30, 2019 at 08:07:06AM +1100, Damien Miller wrote: > On Tue, 29 Oct 2019, Patrick Wildt wrote: > > > Ok, so it turns out that this is related with opening/closing > > the uhid(4) device. Because every open(2) and close(2) also > > opens and closes the pipe. I think for ehci we someho

Re: HID devices without numbered reports

2019-10-29 Thread Damien Miller
On Tue, 29 Oct 2019, Patrick Wildt wrote: > Ok, so it turns out that this is related with opening/closing > the uhid(4) device. Because every open(2) and close(2) also > opens and closes the pipe. I think for ehci we somehow can > save the toggle and restore it on re-open, and for xhci we > some

Re: HID devices without numbered reports

2019-10-29 Thread Patrick Wildt
On Tue, Oct 29, 2019 at 05:41:55PM +0100, Patrick Wildt wrote: > On Mon, Oct 28, 2019 at 12:07:20PM +1100, Damien Miller wrote: > > On Mon, 28 Oct 2019, Damien Miller wrote: > > > > > On Fri, 25 Oct 2019, Patrick Wildt wrote: > > > > > > > > So from what I understood the Yubikey expects the trans

[PATCH] remove sysctl net.mpls.maxloop_inkernel

2019-10-29 Thread thomas
As per https://marc.info/?l=openbsd-misc&m=157191651123338&w=2 this is no longer used and can be removed. Before: $ sysctl -a | grep mpls net.mpls.ttl=255 net.mpls.maxloop_inkernel=16 net.mpls.mapttl_ip=1 net.mpls.mapttl_ip6=0 After: $ sysctl -a | grep mpls net.mpls.ttl=255 net.mpls.mapttl_ip=1 n

Re: HID devices without numbered reports

2019-10-29 Thread Patrick Wildt
On Mon, Oct 28, 2019 at 12:07:20PM +1100, Damien Miller wrote: > On Mon, 28 Oct 2019, Damien Miller wrote: > > > On Fri, 25 Oct 2019, Patrick Wildt wrote: > > > > > > So from what I understood the Yubikey expects the transfer to happen > > > > on the Interrupt OUT pipe instead of doing a control

Re: flex HAVE_DECL___FUNC__

2019-10-29 Thread Todd C . Miller
On Tue, 29 Oct 2019 11:06:28 +0800, Michael Mikonos wrote: > When reviewing flex's config.h I think we could enable > HAVE_DECL___FUNC__. This allows the flex_die() macro > to include __func__ in its output. For example: > > flex: fatal internal error at main.c:146 (flex_main): spooky error > > D

[PATCH] inet(4) man page

2019-10-29 Thread Martin
Hi Small improvment for the inet(4) manpage. This makes it consistent with inet6(4). Kind regards, Martin Index: inet.4 === RCS file: /cvs/src/share/man/man4/inet.4,v retrieving revision 1.19 diff -u -p -r1.19 inet.4 --- inet.4

Re: iwm: add support for firmware paging

2019-10-29 Thread Stefan Sperling
On Tue, Oct 29, 2019 at 11:57:21AM +0100, Mark Kettenis wrote: > > Date: Tue, 29 Oct 2019 11:31:31 +0100 > > From: Stefan Sperling > > > > On Mon, Oct 28, 2019 at 08:48:41PM +0100, Mark Kettenis wrote: > > > > Date: Mon, 28 Oct 2019 19:28:29 +0100 > > > > From: Stefan Sperling > > > > > > > > N

Re: iwm: add support for firmware paging

2019-10-29 Thread Mark Kettenis
> Date: Tue, 29 Oct 2019 11:31:31 +0100 > From: Stefan Sperling > > On Mon, Oct 28, 2019 at 08:48:41PM +0100, Mark Kettenis wrote: > > > Date: Mon, 28 Oct 2019 19:28:29 +0100 > > > From: Stefan Sperling > > > > > > Newer iwm(4) firmware versions will require paging to host DRAM. > > > This diff

MP, priorities & resched_proc()

2019-10-29 Thread Martin Pieuchot
When support for multiple CPUs has been added to the scheduler, the use of reched_proc(), which comes on top of 4.4BSD's need_resched(), has been overlooked. This function is called when the priority of a thread changes and if its new priority is higher than the currently running one. The goal is

Re: iwm: add support for firmware paging

2019-10-29 Thread Stefan Sperling
On Mon, Oct 28, 2019 at 08:48:41PM +0100, Mark Kettenis wrote: > > Date: Mon, 28 Oct 2019 19:28:29 +0100 > > From: Stefan Sperling > > > > Newer iwm(4) firmware versions will require paging to host DRAM. > > This diff implements support for this. It was written by Imre Vadasz in > > 2017. > > >

Re: [PATCH: 1/3] MMIO handler in vmm(4)

2019-10-29 Thread Mike Larkin
On Thu, Oct 24, 2019 at 08:54:58AM +0900, Iori YONEJI wrote: > Hello tech@, > > Here is the patch discussed in the previous email. This part mainly > covers changes in the declaration part and fault handlers. > Hello, I read through the three diffs and have some feedback. First, please reform

GRE datagram socket support

2019-10-29 Thread David Gwynne
i've been toying with this idea of implementing GRE as a datagram protocol that userland can use just like UDP. the idea is to make it easy to support the implementation of NHRP in userland for mgre(4), and also for ERSPAN* support without going down the path linux took**. so this is the result of

bgpd fix graceful restart and route refresh

2019-10-29 Thread Claudio Jeker
While investigating the cause of bgpd crashing for some people I noticed that both graceful restart and route refresh were broken. This diff fixes this by a) marking the adj-rib-out as stale when a peer goes stale during graceful restart and b) changing peer_dump to force all entries in the Adj-RIB