Re: Authenticated TLS contraints in ntpd(8)

2015-02-11 Thread Carlin Bingham
On Wed, 11 Feb 2015, at 12:32 AM, Reyk Floeter wrote: Let me share the answer to a question that I got in a private mail: On Tue, Feb 10, 2015 at 10:55:53AM +0100, Reyk Floeter wrote: ---snip--- servers pool.ntp.org constraints from https://www.google.com/search?q=openntpd;

syslogd SSL3_WRITE_PENDING:bad write retry

2015-02-11 Thread Alexander Bluhm
Hi, During testing syslogd I got some strange error messages from libtls: syslogd: loghost @tls://localhost:15878 connection error: write failed: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry I found out that after an SSL_ERROR_WANT_WRITE, SSL_write must be called with exactly

ypldap - support for ypcat(1)ing the whole database

2015-02-11 Thread Martin Pelikan
Index: yp.c === RCS file: /cvs/src/usr.sbin/ypldap/yp.c,v retrieving revision 1.14 diff -u -p -r1.14 yp.c --- yp.c11 Feb 2015 01:26:00 - 1.14 +++ yp.c12 Feb 2015 02:21:09 - @@ -51,6 +51,7 @@ int

Re: Authenticated TLS contraints in ntpd(8)

2015-02-11 Thread Reyk Floeter
On Thu, Feb 12, 2015 at 02:05:59AM +1300, Carlin Bingham wrote: On Wed, 11 Feb 2015, at 12:32 AM, Reyk Floeter wrote: Let me share the answer to a question that I got in a private mail: On Tue, Feb 10, 2015 at 10:55:53AM +0100, Reyk Floeter wrote: ---snip--- servers pool.ntp.org

Re: syslogd SSL3_WRITE_PENDING:bad write retry

2015-02-11 Thread Ted Unangst
Alexander Bluhm wrote: Hi, During testing syslogd I got some strange error messages from libtls: syslogd: loghost @tls://localhost:15878 connection error: write failed: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry I found out that after an SSL_ERROR_WANT_WRITE,

Re: Authenticated TLS contraints in ntpd(8)

2015-02-11 Thread Renaud Allard
On 02/10/2015 12:43 PM, Stuart Henderson wrote: On 2015/02/10 12:32, Reyk Floeter wrote: Let me share the answer to a question that I got in a private mail: On Tue, Feb 10, 2015 at 10:55:53AM +0100, Reyk Floeter wrote: ---snip--- servers pool.ntp.org constraints from

ether_output() and carp(4)

2015-02-11 Thread Martin Pieuchot
ether_output() needs the source Ethernet address in order to construct the frame. When the output interface is a carp(4) interface in balancing mode we might end up changing the source Ethernet address. But doing it after checking for the Ethernet destination address of before does not matter.

Re: syslogd SSL3_WRITE_PENDING:bad write retry

2015-02-11 Thread Ted Unangst
Ted Unangst wrote: Alexander Bluhm wrote: Hi, During testing syslogd I got some strange error messages from libtls: syslogd: loghost @tls://localhost:15878 connection error: write failed: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry I found out that after an