Re: armv7 diff for testing

2016-07-20 Thread Jonathan Gray
On Thu, Jul 21, 2016 at 12:38:35PM +1000, Jonathan Gray wrote: > On Wed, Jul 20, 2016 at 10:24:11PM -0300, Daniel Bolgheroni wrote: > > On Wed, Jul 13, 2016 at 11:39:54AM +0200, Mark Kettenis wrote: > > > The diff below removes the last board ID dependent code for the i.MX6 > > > platform. It

Re: armv7 diff for testing

2016-07-20 Thread Jonathan Gray
On Wed, Jul 20, 2016 at 10:24:11PM -0300, Daniel Bolgheroni wrote: > On Wed, Jul 13, 2016 at 11:39:54AM +0200, Mark Kettenis wrote: > > The diff below removes the last board ID dependent code for the i.MX6 > > platform. It affects all boards that use a Micrel PHY, which would > > show up as

Re: armv7 diff for testing

2016-07-20 Thread Daniel Bolgheroni
On Wed, Jul 13, 2016 at 11:39:54AM +0200, Mark Kettenis wrote: > The diff below removes the last board ID dependent code for the i.MX6 > platform. It affects all boards that use a Micrel PHY, which would > show up as "ukphy0" in your dmesg. If you have such a board (udoo, > novena and

Re: libc: wrap fpgetround()

2016-07-20 Thread Todd C. Miller
On Wed, 20 Jul 2016 23:17:57 +0200, Mark Kettenis wrote: > The code needs to include hidden/ieeefp.h to do the magic wrapping for > internal usage of these symbols in libc. Ah, I missed the fpgetround() call under #ifdef _SOFT_FLOAT. That explains it. - todd

Re: libc: wrap fpgetround()

2016-07-20 Thread Mark Kettenis
> From: "Todd C. Miller" > Date: Wed, 20 Jul 2016 14:59:14 -0600 > > On Wed, 20 Jul 2016 21:24:17 +0200, Philip Guenther wrote: > > > Wrap fpgetround() so internal calls to it (seen on arm, powerpc, and sh) > > go direct instead of through the PLT. > > > > The first

Re: libc/arm: PLT cleanup

2016-07-20 Thread Mark Kettenis
> Date: Wed, 20 Jul 2016 20:59:55 +0200 > From: Philip Guenther > > Updated diff: > - replace the remaining uses of PIC_SYM(CERROR,PLT) with plain CERROR This bit looks ok to me > - add setjmp xor cookies > - switch _?(set|long)jmp from sigblock/sigsetmask to sigprocmask

Re: libc: wrap fpgetround()

2016-07-20 Thread Mark Kettenis
> Date: Wed, 20 Jul 2016 21:24:17 +0200 > From: Philip Guenther > > Wrap fpgetround() so internal calls to it (seen on arm, powerpc, and sh) > go direct instead of through the PLT. > > The first two diff files below pull in the missing so the > wrapping is seen; the rest

Re: libc: wrap fpgetround()

2016-07-20 Thread Todd C. Miller
On Wed, 20 Jul 2016 21:24:17 +0200, Philip Guenther wrote: > Wrap fpgetround() so internal calls to it (seen on arm, powerpc, and sh) > go direct instead of through the PLT. > > The first two diff files below pull in the missing so the > wrapping is seen; the rest of the diff chunks perform

Re: tcpbench(4) support for AF_UNIX

2016-07-20 Thread Bob Beck
On Wednesday, 20 July 2016, Bob Beck wrote: > > > On Wednesday, 20 July 2016, Henning Brauer > wrote: > >> * Sebastian Benoit [2016-07-20 21:42]: >> > Claudio

Re: tcpbench(4) support for AF_UNIX

2016-07-20 Thread Bob Beck
On Wednesday, 20 July 2016, Henning Brauer wrote: > * Sebastian Benoit > [2016-07-20 21:42]: > > Claudio Jeker(cje...@diehard.n-r-g.com ) on 2016.07.20 > 19:08:51 +0200: > > > On Wed, Jul 20, 2016 at 04:09:48PM +0200,

Re: tcpbench(4) support for AF_UNIX

2016-07-20 Thread Henning Brauer
* Sebastian Benoit [2016-07-20 21:42]: > Claudio Jeker(cje...@diehard.n-r-g.com) on 2016.07.20 19:08:51 +0200: > > On Wed, Jul 20, 2016 at 04:09:48PM +0200, Claudio Jeker wrote: > > > For testing I want to abuse tcpbench to work over AF_UNIX sockets. > > > This diff does

urtwn: heed rtsthreshold

2016-07-20 Thread Stefan Sperling
Same rts threshold fix as for rtwn(4). Index: if_urtwn.c === RCS file: /cvs/src/sys/dev/usb/if_urtwn.c,v retrieving revision 1.65 diff -u -p -r1.65 if_urtwn.c --- if_urtwn.c 17 Jun 2016 10:53:55 - 1.65 +++ if_urtwn.c 20

rtwn: heed rts threshold

2016-07-20 Thread Stefan Sperling
The rtwn(4) driver ignores the rts threshold value set by the stack. This fixes it: Index: if_rtwn.c === RCS file: /cvs/src/sys/dev/pci/if_rtwn.c,v retrieving revision 1.22 diff -u -p -r1.22 if_rtwn.c --- if_rtwn.c 17 Jun 2016

Re: tcpbench(4) support for AF_UNIX

2016-07-20 Thread Sebastian Benoit
Claudio Jeker(cje...@diehard.n-r-g.com) on 2016.07.20 19:08:51 +0200: > On Wed, Jul 20, 2016 at 04:09:48PM +0200, Claudio Jeker wrote: > > For testing I want to abuse tcpbench to work over AF_UNIX sockets. > > This diff does exactly that with minimal extras. Especially the unix > > socket is not

libc: wrap fpgetround()

2016-07-20 Thread Philip Guenther
Wrap fpgetround() so internal calls to it (seen on arm, powerpc, and sh) go direct instead of through the PLT. The first two diff files below pull in the missing so the wrapping is seen; the rest of the diff chunks perform the wrapping. ok? Philip Index: arch/powerpc/gen/flt_rounds.c

Re: libc/arm: PLT cleanup

2016-07-20 Thread Philip Guenther
Updated diff: - replace the remaining uses of PIC_SYM(CERROR,PLT) with plain CERROR - add setjmp xor cookies - switch _?(set|long)jmp from sigblock/sigsetmask to sigprocmask ok? Index: lib/libc/arch/arm/DEFS.h === RCS file:

Re: tcpbench(4) support for AF_UNIX

2016-07-20 Thread Claudio Jeker
On Wed, Jul 20, 2016 at 04:09:48PM +0200, Claudio Jeker wrote: > For testing I want to abuse tcpbench to work over AF_UNIX sockets. > This diff does exactly that with minimal extras. Especially the unix > socket is not removed from the filesystem when closed. I don't want to > add pledge cpath to

iwn: slow down LED in monitor mode

2016-07-20 Thread Stefan Sperling
When I run iwn in monitor mode it flashes its LED like it was trying to give me epileptic seizures. With this diff, it's much less irritating. ok? Index: if_iwn.c === RCS file: /cvs/src/sys/dev/pci/if_iwn.c,v retrieving revision

Re: split in6_selectsrc() for saner prototypes

2016-07-20 Thread Martin Pieuchot
On 20/07/16(Wed) 12:36, Vincent Gross wrote: > This is a completely mechanical diff to get rid of the 7-params madness > in in6_selectsrc(). > > I also apply the same treatment to in_selectsrc() for consistency. > > Ok? The only bikesched I have is about the name. Could you keep the "in_pcb"

Re: tcpbench(4) support for AF_UNIX

2016-07-20 Thread Markus Friedl
schaut gut aus, hab aber nicht probiert. 2016-07-20 16:09 GMT+02:00 Claudio Jeker : > For testing I want to abuse tcpbench to work over AF_UNIX sockets. > This diff does exactly that with minimal extras. Especially the unix > socket is not removed from the filesystem

tcpbench(4) support for AF_UNIX

2016-07-20 Thread Claudio Jeker
For testing I want to abuse tcpbench to work over AF_UNIX sockets. This diff does exactly that with minimal extras. Especially the unix socket is not removed from the filesystem when closed. I don't want to add pledge cpath to tcpbench just for that. -- :wq Claudio Index: tcpbench.1

Re: ecdsa support in iked

2016-07-20 Thread Markus Friedl
great! this changes the code to hide the ECDSA conversion inside crypto.c and also make ECDSA work with the generic RFC 7427 signature encoding. Could you verify this with OS X? I've only tested strongswan. -m 2016-07-03 11:07 GMT+02:00 René Ammerlaan : > Hi, > > I’ve

Re: ecdsa support in iked

2016-07-20 Thread Reyk Floeter
> On Sun, Jul 03, 2016 at 11:07:27AM +0200, Ren?? Ammerlaan wrote: > > I???ve created a patch for ecdsa support in iked. Also found a bug > > in handling auth_eap, because that value is never initialised to 0. I > > also updated the dsa sign functions with the newer EVP_Digest so > > it???s

iwm: make use of RTS/CTS conditional

2016-07-20 Thread Stefan Sperling
Currently, if running in 11n mode, iwm always enables RTS/CTS to protect frames it is sending. To recap what the various HT protection modes are: /* * HT protection modes (see 802.11-2012 8.4.2.59) */ enum ieee80211_htprot { IEEE80211_HTPROT_NONE = 0, /* only 20/40MHz HT STAs

Re: split in6_selectsrc() for saner prototypes

2016-07-20 Thread Alexander Bluhm
On Wed, Jul 20, 2016 at 12:36:45PM +0200, Vincent Gross wrote: > This is a completely mechanical diff to get rid of the 7-params madness > in in6_selectsrc(). > > I also apply the same treatment to in_selectsrc() for consistency. > > Ok? OK bluhm@ > > Index: sys/netinet/in_pcb.c >

iwm: disable beacon filter for ERP and HT prot updates

2016-07-20 Thread Stefan Sperling
Beacon filter settings in iwm(4) prevent the device from passing beacons to net80211 while associated to an AP. The implication is that net80211 does not see HT protection updates, so it never tells the driver to update HT protection settings. This can cause interference problems. I believe this

Re: ecdsa support in iked

2016-07-20 Thread Reyk Floeter
Hi, On Sun, Jul 03, 2016 at 11:07:27AM +0200, Ren?? Ammerlaan wrote: > I???ve created a patch for ecdsa support in iked. Also found a bug > in handling auth_eap, because that value is never initialised to 0. I > also updated the dsa sign functions with the newer EVP_Digest so > it???s aligned

Re: clarity recommendation for faq15.html

2016-07-20 Thread Josh Grosse
On Tue, Jul 19, 2016 at 02:05:06PM +0200, ludovic coues wrote: > faq4.html [1] already deal with the problem. > > [1] http://www.openbsd.org/faq/faq4.html#AddThoughts Granted. But that discussion does not include the ports tree and port building. Someone who has successfully installed may not

syn cache netstat -s

2016-07-20 Thread Alexander Bluhm
Hi, To tune the TCP syn cache we need more information. Print the relevant counters with netstat -s -p tcp. 1 SYN cache seed with new random 293 hash bucket array size in current SYN cache 199 entries in current SYN cache, limit is 10255 3 longest bucket length

split in6_selectsrc() for saner prototypes

2016-07-20 Thread Vincent Gross
This is a completely mechanical diff to get rid of the 7-params madness in in6_selectsrc(). I also apply the same treatment to in_selectsrc() for consistency. Ok? Index: sys/netinet/in_pcb.c === RCS file: