Re: Checking MAC address of incoming unicast packets

2016-01-21 Thread Stefan Fritsch
As there isn't any consensus for one of the other solutions, I am going to commit the patch that fixes this inside vio(4). On Thu, 14 Jan 2016, Stefan Fritsch wrote: > On Mon, 4 Jan 2016, Stefan Fritsch wrote: > > On Sun, 3 Jan 2016, Theo de Raadt wrote: > > > >> dlg writes: > > > >> > should we

typo in OpenBSD 5.7 errata 22 and OpenBSD 5.8 errata 10

2016-01-21 Thread Jiri Navratil
Hello, Thank you for early warning by Theo and quick solution. I noticed typo in http://ftp.openbsd.org/pub/OpenBSD/patches/5.7/common/022_ssh.patch.sig http://ftp.openbsd.org/pub/OpenBSD/patches/5.8/common/010_ssh.patch.sig on line 16 is "And then rebuild and install sshd:" there shall be ssh

Re: mg: display wide characters

2016-01-21 Thread S. Gilles
On 2016-01-21T20:31:05-0500, Kjell Wooding wrote: > Oh goodness. My recollection is that 1 byte per character is assumed all > over the place. This is going to take a *while* to test properly. > > Maybe this is a good time for me to start looking at mg again... Some things that were were challeng

Re: 11n: fix BA timeout value in ADDBA requests/responses

2016-01-21 Thread Mark Kettenis
> Date: Thu, 21 Jan 2016 19:06:51 +0100 > From: Stefan Sperling > > The ADDBA frames use a timeout value in units of TU (802.11 time unit). > ba->ba_timeout_val is in usec and has already been multiplied by TU > (e.h. in ieee80211_recv_addba_req()). > We need to divide by TU when copying out to t

11n: fix BA timeout value in ADDBA requests/responses

2016-01-21 Thread Stefan Sperling
The ADDBA frames use a timeout value in units of TU (802.11 time unit). ba->ba_timeout_val is in usec and has already been multiplied by TU (e.h. in ieee80211_recv_addba_req()). We need to divide by TU when copying out to the frame. ok? Index: ieee80211_output.c ==

Re: I have a mirror testing program for you. - Mirror down

2016-01-21 Thread Simon Kuhnle
Hi all, On Wed, Jan 20, 2016 at 10:27:44AM +, Stuart Henderson wrote: > On 2016/01/20 10:38, Benjamin Baier wrote: > > Important thing first, the mirror http://openbsd.cs.fau.de/pub/OpenBSD/ > > seems to be down. > > +cc maintainer, could you take a look please Simon? Down for v4+v6, > tracer

Re: mg: display wide characters

2016-01-21 Thread Mark Lumsden
I am busy for the next month or so, but will try and look at your diff afterwards. Hopefully some others will be able to test/comment as well, in the mean time. Mark

msdosfs uiomove() conversion

2016-01-21 Thread Martin Natano
Below the uiomove() conversion for msdosfs. This diff prevents truncation of uio_resid in both msdosfs_read() and msdosfs_write(). Index: msdosfs/msdosfs_vnops.c === RCS file: /cvs/src/sys/msdosfs/msdosfs_vnops.c,v retrieving revision

mg: display wide characters

2016-01-21 Thread S. Gilles
Change handling of wide characters so that they are displayed if mbrtowc(3) can parse them (completely determined by the current LC_CTYPE). Characters which are not parsed are still displayed as \OOO sequences, and this wide handling can be disabled by `show-raw-mode' or `set-default-mode "raw"'.

audioctl: simpler output

2016-01-21 Thread Alexandre Ratchov
The following attributes are always the same for play and record directions (this is a kernel constraint): - sample rate - encoding (including precision, msb and bps) - block size (in frames per block, not bytes) - pause - active The diff below makes audioctl display a single attribute (