Re: syslogd sending via tcp

2014-12-28 Thread Jasper Lievisse Adriaanse
On Sun, Dec 28, 2014 at 05:33:08PM +0100, Alexander Bluhm wrote: > Jasper tested and found that it only worked on loopback. I have > forgotten to check for EINPROGRESS after connect. So here is a new > diff. > > bluhm Succesfully tested now with a remote logstash host. > Index: privsep.c > ===

Re: syslogd sending via tcp

2014-12-28 Thread Marcus MERIGHI
minimal man page adaption: Index: syslog.conf.5 === RCS file: /cvs/src/usr.sbin/syslogd/syslog.conf.5,v retrieving revision 1.26 diff -u -r1.26 syslog.conf.5 --- syslog.conf.5 25 Aug 2014 20:25:46 - 1.26 +++ syslog.conf

Re: syslogd sending via tcp

2014-12-28 Thread Alexander Bluhm
Jasper tested and found that it only worked on loopback. I have forgotten to check for EINPROGRESS after connect. So here is a new diff. bluhm Index: privsep.c === RCS file: /data/mirror/openbsd/cvs/src/usr.sbin/syslogd/privsep.c,v

Re: syslogd sending via tcp

2014-12-28 Thread Alexander Bluhm
On Wed, Oct 29, 2014 at 07:06:53PM +0100, Alexander Bluhm wrote: > I would like to get this in and develop the missing parts in tree. So here is the diff again, I have merged to current and changed a comment. ok? bluhm Index: privsep.c ===

syslogd sending via tcp

2014-10-29 Thread Alexander Bluhm
Hi, I have implemented a first version of syslogd that can send messages via TCP streams. Some error handling is missing like reconnecting after the remote loghost has closed the connection. I would like to get this in and develop the missing parts in tree. ok? bluhm Index: usr.sbin/syslogd/p