Re: Fix length checks in AES_{un,}wrap_key()

2018-10-17 Thread Brent Cook
This makes sense, ok bcook@ On Wed, Oct 17, 2018 at 6:28 PM Theo Buehler wrote: > The spec, https://tools.ietf.org/html/rfc3394, section 2, states that > we need at least two 64 bit blocks for wrapping and, accordingly, three > 64 bit blocks for unwrapping. That is: we need at least 16 bytes

BLAKE2 for libcrypto

2018-10-17 Thread David Gwynne
By BLAKE2, I actually mean just BLAKE2s and BLAKE2b. It doesn't include BLAKE2sp, BLAKE2bp, or BLAKE2x. Like other hashes it is exposed via it's own API, but also through the EVP message digest stuff which also allows it to be used with HMAC. BLAKE2 has a bit more functionality compared to other

igmp, router_info: use queue(3)

2018-10-17 Thread Scott Cheloha
For consistency. While here, clean up two malloc calls. The hand-rolled list queue(3) is replacing here is singly linked but used an extra pointer in rti_delete() to get O(n) deletion. I kept the O(n) deletion by using LIST. If the extra space needed for LIST is unacceptable I can use SLIST

Fix length checks in AES_{un,}wrap_key()

2018-10-17 Thread Theo Buehler
The spec, https://tools.ietf.org/html/rfc3394, section 2, states that we need at least two 64 bit blocks for wrapping and, accordingly, three 64 bit blocks for unwrapping. That is: we need at least 16 bytes for wrapping and 24 bytes for unwrapping. This also matches the lower bounds that OpenSSL

Re: Debug / Driver / Kernel / WiFi

2018-10-17 Thread Deface
Hi all, The patch below works fine for me and fixes the *[ERROR: ath0 unable to reset hardware]* issue that I had on my FUJITSU SIEMENS ESPRIMO Mobile U9210. Patch is relative to -current. Please check. Many Thanks Stefan Sperling for Code Review and strong support with Copyright! Oleg Pahl

Re: vmd losing VMs

2018-10-17 Thread Dmitry Vyukov
On Wed, Oct 17, 2018 at 9:40 PM, Greg Steuck wrote: > On Wed, Oct 17, 2018 at 12:00 PM Dmitry Vyukov wrote: >> >> On Wed, Oct 17, 2018 at 4:50 AM, Greg Steuck wrote: >> > I think I see some evidence of occasional VM just never finishing >> > booting to >> > the point of running sshd. At least

Re: vmd losing VMs

2018-10-17 Thread Greg Steuck
> Can you net out what the current issues you're facing? I can't seem to grok > the log file posted above (not sure what I'm looking at). From reviewing the > thread, it seems the core dumps are gone but there may (?) be some issues > still? The core dumps are gone indeed. Thanks for the prompt

Re: [RFC PATCH] [vmm] Lightweight mechanism to kick virtio VQs

2018-10-17 Thread Mike Larkin
On Fri, Oct 05, 2018 at 12:07:13PM +0200, Sergio Lopez wrote: > Hi, > > This patch implements a mechanism to allow users register an I/O port > with a special file descriptor (kickfd) which can be monitored for > events using kevent. The kernel will note an event each time the Guest > writes to

Re: vmd: servicing virtio devices from separate processes

2018-10-17 Thread Mike Larkin
On Thu, Oct 11, 2018 at 11:55:51PM +0200, Sergio Lopez wrote: > On Thu, 2018-10-11 at 09:02 -0700, Mike Larkin wrote: > > On Wed, Oct 10, 2018 at 05:04:34PM +0200, Sergio Lopez wrote: > > > On Mon, 2018-10-08 at 09:58 -0700, Mike Larkin wrote: > > > > On Fri, Oct 05, 2018 at 01:50:10PM +0200,

Re: vmd: servicing virtio devices from separate processes

2018-10-17 Thread Mike Larkin
On Fri, Oct 05, 2018 at 01:50:10PM +0200, Sergio Lopez wrote: > Hi, > > I have an idea in mind that I'd like to share to ask you if you think > it's worth giving it a try. I had a chance to think further on this. See comments inline. > > Right now, vmd already features an excellent privsep

Re: vmd losing VMs

2018-10-17 Thread Greg Steuck
On Wed, Oct 17, 2018 at 12:00 PM Dmitry Vyukov wrote: > On Wed, Oct 17, 2018 at 4:50 AM, Greg Steuck wrote: > > I think I see some evidence of occasional VM just never finishing > booting to > > the point of running sshd. At least that's what I surmised from the > posted > > manager.log file. >

www/64.html - OpenSSH version 7.8 or 7.9?

2018-10-17 Thread Markus Lude
Hello, www/64.html mentions OpenSSH version 7.8. With snapshot from october 11th on amd64 the version of ssh is 7.9: $ ssh -V OpenSSH_7.9, LibreSSL 2.8.2 Theo bumped the version in src/usr.bin/ssh/version.h r1.83, this version is tagged with OPENBSD_6_4_BASE. On the www.openssh.org the latest

Re: vmd losing VMs

2018-10-17 Thread Dmitry Vyukov
On Wed, Oct 17, 2018 at 4:50 AM, Greg Steuck wrote: > I think I see some evidence of occasional VM just never finishing booting to > the point of running sshd. At least that's what I surmised from the posted > manager.log file. >

Re: acpi panic on dell r640 and r740xd

2018-10-17 Thread Mark Kettenis
> Date: Wed, 17 Oct 2018 00:47:14 -0700 (MST) > From: Luthing > > Hello, > > Did you find something for making this work? > > Regards Yes, a fix was committed and will be in OpenBSD 6.4, which will be released soon.

bgpd throttling for peers

2018-10-17 Thread Claudio Jeker
I noticed that the throttling for peers which was added some time ago is incomplete. The following diff solved these issues. In rde_update_queue_runner() only process peers which are currently not throttled. Additionally only run the runners if not too many imsg are pending in the RDE. Both these

Re: acpi panic on dell r640 and r740xd

2018-10-17 Thread Hrvoje Popovski
On 17.10.2018. 9:47, Luthing wrote: > Did you find something for making this work? > > Regards could you try install snapshot or wait for few day when 6.4 will be stable ?

cvs vendor branch checkout by date

2018-10-17 Thread Alexander Bluhm
Hi, I want to check out certain cvs commits by date. I figured out that our cvs gets confused if there is a vendor branch and a commit on top of it. cvs co -D2018-04-07Z src/gnu/llvm/include/llvm/InitializePasses.h will check out revision 1.1. The correct one would be 1.1.1.5. Attached diff

Re: www/errata64.html fix link (signify)

2018-10-17 Thread Theo Buehler
On Wed, Oct 17, 2018 at 11:24:21AM +0200, fredl wrote: > Hey, > > this diff fixes a link to signify. committed, thanks

www/errata64.html fix link (signify)

2018-10-17 Thread fredl
Hey, this diff fixes a link to signify. -- Kevin Index: errata64.html === RCS file: /cvs/www/errata64.html,v retrieving revision 1.2 diff -u -p -r1.2 errata64.html --- errata64.html 17 Oct 2018 07:07:59 - 1.2 +++

Re: www/errata64.html fix link

2018-10-17 Thread Theo Buehler
On Wed, Oct 17, 2018 at 09:00:00AM +0200, fredl wrote: > Hey, > > just a fix for a link to errata63.html. committed, thanks

www/errata64.html fix link

2018-10-17 Thread fredl
Hey, just a fix for a link to errata63.html. -- Kevin Index: errata64.html === RCS file: /cvs/www/errata64.html,v retrieving revision 1.1 diff -u -p -r1.1 errata64.html --- errata64.html 9 Oct 2018 15:12:03 - 1.1

Re: switchctl(8): Add ability to reference control device for 'dump' option

2018-10-17 Thread Ayaka Koshibe
On Mon, Oct 15, 2018 at 03:17:28PM -0700, Ayaka Koshibe wrote: > Hi all, > > Currently, switchctl(8) is able to query a switch for information by > specifying > the switch's network address. The following adds support for querying a > switch(4) instance via its control device: > > > $ doas