Re: syslogd SSL3_WRITE_PENDING:bad write retry

2015-02-16 Thread Reyk Floeter
On Mon, Feb 16, 2015 at 10:03:51PM +0100, Alexander Bluhm wrote: > On Mon, Feb 16, 2015 at 10:17:05AM +0100, Reyk Floeter wrote: > > On Sun, Feb 15, 2015 at 11:21:45PM +0100, Alexander Bluhm wrote: > > > On Fri, Feb 13, 2015 at 02:44:18PM -0500, Ted Unangst wrote: > > > > I think this is ok, but it

Re: unbound problem in 5.6

2015-02-16 Thread Otto Moerbeek
On Tue, Feb 17, 2015 at 12:45:47AM +, Stuart Henderson wrote: > In gmane.os.openbsd.misc, Otto wrote: > > On Tue, Dec 30, 2014 at 11:09:44AM -0200, Raimundo Santos wrote: > > > >> Hello misc@! > >> > >> I have a router (peaking at 70Mbps of aggregated traffic) that acts as a > >> recursive in

unbound 1.5.2rc1

2015-02-16 Thread Stuart Henderson
This updates to the head of the unbound tree, adding Ilya Bakulin's code to support unbound-control over a unix domain socket rather than SSL. I don't see many standard cases needing the SSL socket any more, so I've removed the code from the rc.d script that automatically generates SSL keys when co

Re: unbound problem in 5.6

2015-02-16 Thread Stuart Henderson
In gmane.os.openbsd.misc, Otto wrote: > On Tue, Dec 30, 2014 at 11:09:44AM -0200, Raimundo Santos wrote: > >> Hello misc@! >> >> I have a router (peaking at 70Mbps of aggregated traffic) that acts as a >> recursive internal DNS server too (this configuration will die >> soon, as my traffic is grow

Re: syslogd SSL3_WRITE_PENDING:bad write retry

2015-02-16 Thread Ted Unangst
Alexander Bluhm wrote: > I have tried to download the 227 MB install56.iso from httpd. It > is very slow and fails after half the data. There is a copied > buffer in server_tls_writecb() to workaround the pending write. > Without that httpd works. > > The ftp client does not check for parital wr

unbound.conf(5): kill sample config from manual

2015-02-16 Thread Stuart Henderson
This information is incorrect for OpenBSD and IMHO confusing (as we already have a default configuration). OK to remove it? Index: doc/unbound.conf.5.in === RCS file: /cvs/src/usr.sbin/unbound/doc/unbound.conf.5.in,v retrieving revisi

Re: (patch) mg(1) reallocarray cleanup

2015-02-16 Thread Brian Callahan
On 02/16/15 17:24, Kamil Rytarowski wrote: > Me wrote: >> I'm attaching a patch. > Ooops, wrong file. New attached. OK for me.

Re: (patch) mg(1) reallocarray cleanup

2015-02-16 Thread Kamil Rytarowski
Me wrote: > I'm attaching a patch. Ooops, wrong file. New attached. patch-display.c-reallocarray-cleanup Description: Binary data

Re: (patch) mg(1) reallocarray cleanup

2015-02-16 Thread Brian Callahan
On 02/16/15 17:12, Kamil Rytarowski wrote: > Hello, > > I'm attaching a patch. > > Regards, It's obvious that you didn't try to build mg with your own patch. ~Brian

(patch) mg(1) reallocarray cleanup

2015-02-16 Thread Kamil Rytarowski
Hello, I'm attaching a patch. Regards, patch-display.c-reallocarray-cleanup Description: Binary data

Re: syslogd SSL3_WRITE_PENDING:bad write retry

2015-02-16 Thread Alexander Bluhm
On Mon, Feb 16, 2015 at 10:17:05AM +0100, Reyk Floeter wrote: > On Sun, Feb 15, 2015 at 11:21:45PM +0100, Alexander Bluhm wrote: > > On Fri, Feb 13, 2015 at 02:44:18PM -0500, Ted Unangst wrote: > > > I think this is ok, but it needs some basic load testing with httpd (and > > > ftp) > > > as well.

Re: man ntpd.conf: small errors in constraints section

2015-02-16 Thread Jason McIntyre
On Sat, Feb 14, 2015 at 05:16:49PM +0100, Max Fillinger wrote: > Some small issues in the new section: > > - 'NTP servers' means actual servers, not the keyword, so remove the .Ic > > - 'constraint' is used instead of 'constraint from' in some places; that > might be ok as an abbreviation, but

Re: ksh version lies

2015-02-16 Thread Todd C. Miller
There are scripts that use KSH_VERSION to determine whether they are being run under ksh or a Bourne shell. That seems like a reasonable thing to do. I don't really care what the version number is set to. Using the OpenBSD version seems reasonable and could be generated at build time. - todd

Re: PATCH: ntpctl.8, ntpd.c

2015-02-16 Thread Jason McIntyre
On Mon, Feb 16, 2015 at 04:25:44PM +0100, Ingo Schwarze wrote: > Hi, > hi. of course your mail arrives moments after i pinged henning and reyk ;) > Jason McIntyre wrote on Sat, Feb 14, 2015 at 08:47:31AM +: > > On Fri, Feb 13, 2015 at 09:49:58PM -0600, Adam Thompson wrote: > > >> Fix a mino

Re: PATCH: ntpctl.8, ntpd.c

2015-02-16 Thread Ingo Schwarze
Hi, Jason McIntyre wrote on Sat, Feb 14, 2015 at 08:47:31AM +: > On Fri, Feb 13, 2015 at 09:49:58PM -0600, Adam Thompson wrote: >> Fix a minor typo in the ntpctl help output, and same semantic mistake >> in the manpage. Currently says (to be pedantic) that '-s' only works >> with 'all', whic

Re: ksh version lies

2015-02-16 Thread Ted Unangst
Damien Miller wrote: > On Sun, 15 Feb 2015, Ted Unangst wrote: > > > ksh (and sh) have a version string embedded in them: > > @(#)PD KSH v5.2.14 99/07/13.2 > > > > This is clearly a lie. We've added, removed, and fixed bugs and features > > since > > then. I first noticed the lie in the man page

Re: Add support for Arduino Leonardo to umodem(4)

2015-02-16 Thread Gregor Best
On Mon, Feb 16, 2015 at 02:20:06PM +, Stuart Henderson wrote: > [...] > It's Arduino SA isn't it? The rest looks good to me. > [...] The controller reports itself as made by 'Arduino LLC' in the usbdevs output, but according to http://www.linux-usb.org/usb.ids, you're right. I think going with

Re: Add support for Arduino Leonardo to umodem(4)

2015-02-16 Thread Stuart Henderson
On 2015/02/16 01:08, Gregor Best wrote: > Hi, > > Arduino Leonardos emulate a CDC ACM modem for their serial port. The > following patch adds explicit matching for those in umodem_match, > because apparently the emulation done by the Leonardo is not complete > enough to make umodem attach automati

Re: stop deleting /usr/include/openssl

2015-02-16 Thread Stuart Henderson
On 2015/02/16 08:15, Ted Unangst wrote: > Stuart Henderson wrote: > > > > - @ln -sf openssl ${DESTDIR}/usr/include/ssl > > > > > > Not ok for this part... > > > > ack, this is highly likely to break ports. > > > > ? If we don't delete it, we don't have to create it. It's still going to be

Re: mandoc width clamping

2015-02-16 Thread Ingo Schwarze
Hi Ted, Ted Unangst wrote on Sun, Feb 15, 2015 at 06:53:10AM -0500: > In trying to set man up to use my current terminal width $(($COLUMNS-2)) > I discovered that COLUMNS isn't exported to subshells. mandoc itself > seems to go crazy when run with -O width=-2. > > Clamp width and indent setting

Re: stop deleting /usr/include/openssl

2015-02-16 Thread Ted Unangst
Stuart Henderson wrote: > > > - @ln -sf openssl ${DESTDIR}/usr/include/ssl > > > > Not ok for this part... > > ack, this is highly likely to break ports. > ? If we don't delete it, we don't have to create it. It's still going to be there. Is there some mtree magic we're missing? This seems the

Re: stop deleting /usr/include/openssl

2015-02-16 Thread Jérémie Courrèges-Anglas
Stuart Henderson writes: > On 2015/02/16 13:53, Jérémie Courrèges-Anglas wrote: >> "Ted Unangst" writes: [...] >> > - @ln -sf openssl ${DESTDIR}/usr/include/ssl >> >> Not ok for this part... > > ack, this is highly likely to break ports. and base. (I'm cooking the patch for usr.bin/dc) --

Re: stop deleting /usr/include/openssl

2015-02-16 Thread Stuart Henderson
On 2015/02/16 13:53, Jérémie Courrèges-Anglas wrote: > "Ted Unangst" writes: > > > Index: Makefile > > === > > RCS file: /cvs/src/include/Makefile,v > > retrieving revision 1.198 > > diff -u -p -r1.198 Makefile > > --- Makefile

Re: stop deleting /usr/include/openssl

2015-02-16 Thread Jérémie Courrèges-Anglas
"Ted Unangst" writes: > Index: Makefile > === > RCS file: /cvs/src/include/Makefile,v > retrieving revision 1.198 > diff -u -p -r1.198 Makefile > --- Makefile 17 Jan 2015 20:37:04 - 1.198 > +++ Makefile 16 Feb 2015 11:29:2

stop deleting /usr/include/openssl

2015-02-16 Thread Ted Unangst
This was driving me nuts. Every time you run make includes, it blows away /usr/include/openssl, which means all of libcrypto, etc. get marked as stale and require rebuilding. So much waste. This makefile rule (which is silent, btw, arr) showed up 11 years ago to facilitate renaming /usr/in

Re: syslogd SSL3_WRITE_PENDING:bad write retry

2015-02-16 Thread Reyk Floeter
On Sun, Feb 15, 2015 at 11:21:45PM +0100, Alexander Bluhm wrote: > On Fri, Feb 13, 2015 at 02:44:18PM -0500, Ted Unangst wrote: > > I think this is ok, but it needs some basic load testing with httpd (and > > ftp) > > as well. > > I have tested ftp https by downloading ports distfiles. > I have d