Re: bgpd: dispatch_rtmsg_addr[change] mpath route not found

2016-01-03 Thread Stuart Henderson
Did anyone have any ideas about this? On 2015/12/18 01:36, Stuart Henderson wrote: > I updated a box running bgpd/ospfd/ospf6d earlier and ran into this when > bgpd started at boot time: > > $ syslogc bgpd | cut -d' ' -f 3,5- > 21:03:23 bgpd[2742]: startup > 21:03:23 bgpd[2742]: rereading config

Re: nc(1) - fix use of certificates for TLS

2016-01-03 Thread Brent Cook
Applied, thanks Andreas! On Sun, Jan 3, 2016 at 7:01 PM, Andreas Bartelt wrote: > Hello, > > the use of certificates for TLS didn't work with nc(1). Fix is attached. > > Best regards > Andreas

nc(1) - fix use of certificates for TLS

2016-01-03 Thread Andreas Bartelt
Hello, the use of certificates for TLS didn't work with nc(1). Fix is attached. Best regards Andreas Index: netcat.c === RCS file: /cvs/src/usr.bin/nc/netcat.c,v retrieving revision 1.149 diff -u -p -u -r1.149 netcat.c --- netcat.c

Re: sftp globbing remote pwd

2016-01-03 Thread Christian Heckendorf
Ping? Christian Heckendorf wrote: > Several sftp(1) commands will fail if the remote pwd contains glob(3) > meta characters. This is due to glob being called on the concatenated > pwd and command argument in order to generate a file list to operate > on. However, the pwd is not escaped before cal

Re: Checking MAC address of incoming unicast packets

2016-01-03 Thread Theo de Raadt
>On Friday 01 January 2016 16:25:59, Theo de Raadt wrote: >> dlg writes: >> > should we just do it unconditionally? is there a downside to that? > >It may decrease performance a tiny bit. Since such bits tend to add >up, I would be hesitant to enable the check for drivers that don't >need it. OTO

Re: Clarify vmctl(8) console

2016-01-03 Thread Mike Larkin
> I wasn't sure which key combination is the escape sequence. > > Index: vmctl.8 > === > RCS file: /cvs/src/usr.sbin/vmctl/vmctl.8,v > retrieving revision 1.9 > diff -u -p -r1.9 vmctl.8 > --- vmctl.8 11 Dec 2015 10:16:53 -

Re: vmd.h typo in comment (VMM_DEBUG -> VMD_DEBUG)

2016-01-03 Thread Mike Larkin
On Sat, Jan 02, 2016 at 03:57:03PM +0100, Michal Mazurek wrote: > Index: vmd.h > === > RCS file: /cvs/src/usr.sbin/vmd/vmd.h,v > retrieving revision 1.16 > diff -u -p -r1.16 vmd.h > --- vmd.h 11 Dec 2015 10:16:53 - 1.16 >

Re: A cleanup block for virtio.c vionet_notifyq()

2016-01-03 Thread Mike Larkin
On Fri, Jan 01, 2016 at 08:38:46AM +0100, Michal Mazurek wrote: > It looks like there were two cases of a memory leak (lack of free(pkt)). > > Also fix typo: unexpceted -> unexpected, and remove an empty line after > a while(). Thanks Michal. I'll integrate and commit. -ml > > Index: virtio.c

Use of bread_cluster() in ffs_read()

2016-01-03 Thread Martin Pieuchot
I don't understand why the check for reading ahead one block has been kept for clustering read when the Dynamic buffer cache got introduced. Since bread_cluster() replaces cluster_read() I believe this can go away. Index: ufs/ffs/ffs_vnops.c ===

Clustering read for MSDOSFS

2016-01-03 Thread Martin Pieuchot
Reading files on msdos-formated USB sticks under OpenBSD is really slow. *One* of the reasons is that only one block is currently read-ahead if possible. Diff below converts msdosfs_read() to use bread_cluster() which at least double the transfer rate when reading sequential blocks here. When com

bread_cluster() and cached buffer

2016-01-03 Thread Martin Pieuchot
When the Dynamic Buffer Cache has been introduced bread_cluster() became the replacement of cluster_read(). However this function, currently used by ffs_read() only, does not consider the B_CACHE flag of the first buffer of a cluster like its predecessor did. This basically mean that the kernel m

Re: OpenBSDVMM58 -> OpenBSDVMM59 in vmmvar.h

2016-01-03 Thread Mike Larkin
On Fri, Jan 01, 2016 at 11:32:25AM -0500, Ted Unangst wrote: > > unless something has actually changed, it should not be necessary to increment > this number. the vmm in 5.9 will still speak the same protocol as the vmm that > appeared after 5.8. Yes, this does not need to be changed (yet). -ml

Re: Fix support for early SATA drives on ahci(4)

2016-01-03 Thread Mark Kettenis
> Date: Sun, 3 Jan 2016 12:30:08 -0800 > From: Mike Larkin > > Catching up on holiday email, not sure if this already went in, but there > is a typo (drives not drivers) in the previous line. Thanks. Fixed.

USB keyboards with multiple displays

2016-01-03 Thread Mark Kettenis
OpenBSD/amd64 and OpenBSD/i386 have been supporting multiple wsdisplay(4) devices for a while now. Somewhat recently it became also possible to use inteldrm(4) as a secondary display device. There have always been some issues with pairing wskbd(4) keyboard devices with wsdisplay(4) devices. But

em watchdog timeout

2016-01-03 Thread Hrvoje Popovski
Hi all, i accidentally managed to trigger em watchdog timeout -- resetting on my test box which is clean -current from today at 20:00 CET. Test box is IBM X3550M4 with 4 onboard em I350 (em0,em1,em2,em3) and 2 ix (ix2,ix3) 82599 interfaces. Beside these interfaces in that box i have myx (myx0,myx1

Re: Fix support for early SATA drives on ahci(4)

2016-01-03 Thread Mike Larkin
On Tue, Dec 29, 2015 at 12:43:43AM +0100, Mark Kettenis wrote: > I have an old Maxtor 7Y250M0 SATA drive that didn't quite work when > attached to an Intel AHCI controller. The drive was properly > detected, but any attempt to read from the drive failed. It worked > fine if I switched the SATA co

Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Fabian Raetz
On Sun, Jan 03, 2016 at 03:54:16PM +0100, Martin Pieuchot wrote: > On 03/01/16(Sun) 14:19, Fabian Raetz wrote: > > On Sun, Jan 03, 2016 at 11:54:18AM +0100, Martin Pieuchot wrote: > > > On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > > > > Hi tech@, > > > > > > > > i've found the undocumented -carpd

Re: PF: reference counting for statekey

2016-01-03 Thread Alexander Bluhm
OK bluhm@ On Sun, Jan 03, 2016 at 04:32:58PM +0100, Alexandr Nedvedicky wrote: > Index: kern/uipc_mbuf.c > === > RCS file: /cvs/src/sys/kern/uipc_mbuf.c,v > retrieving revision 1.216 > diff -u -p -r1.216 uipc_mbuf.c > --- kern/uipc_mb

Re: ignore inflight messages in daily output

2016-01-03 Thread Devin Reade
--On Sunday, January 03, 2016 01:22:34 PM + Stuart Henderson wrote: On 2016/01/02 18:05, Devin Reade wrote: If mail is in the process of being sent (rather than sitting in the queue) we probably shouldn't complain about it. If something like daily.local causes mail to be sent this can en

PF: reference counting for statekey

2016-01-03 Thread Alexandr Nedvedicky
Hello, there is a sad story behind patch below. I've commit the change on Dec 22snd. Unfortunately many people who run snapshots experienced panic on assert. Markus Lude has been the first who reported the issue: !pf_state_key_isvalid(sk)" failed: file "../../../../net/pf.c", line 6830 Obvio

new expr(1)

2016-01-03 Thread Rafael Sadowski
Hi, last days I worked on the netbeans port and try to fix the heapsize problem. My patch always crashed and I realized this effect: $ mem=`sysctl -n hw.usermem` $ echo $mem 8302469120 $ expr $mem + 1 -287465471 OpenBSD's expr can only process values between -2147483648 and +2147483647. It only

Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Martin Pieuchot
On 03/01/16(Sun) 14:19, Fabian Raetz wrote: > On Sun, Jan 03, 2016 at 11:54:18AM +0100, Martin Pieuchot wrote: > > On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > > > Hi tech@, > > > > > > i've found the undocumented -carpdev option in ifconfig(8) which freezes > > > my sytem if executed. > > > > >

Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Fabian Raetz
On Sun, Jan 03, 2016 at 11:54:18AM +0100, Martin Pieuchot wrote: > On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > > Hi tech@, > > > > i've found the undocumented -carpdev option in ifconfig(8) which freezes > > my sytem if executed. > > > > As the -carpdev option is undocumented in both ifconfig(8

Re: ignore inflight messages in daily output

2016-01-03 Thread Stuart Henderson
On 2016/01/02 18:05, Devin Reade wrote: > If mail is in the process of being sent (rather than sitting in > the queue) we probably shouldn't complain about it. If something > like daily.local causes mail to be sent this can end up with a lot > of false positives. (False in the sense that nothing

Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Martin Pieuchot
On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > Hi tech@, > > i've found the undocumented -carpdev option in ifconfig(8) which freezes > my sytem if executed. > > As the -carpdev option is undocumented in both ifconfig(8) and carp(4) i > propose two patches to remove this functionality. > > The pa