[syslog-ng] Problems with syslog-ng use over a redireted port inside an SSH s ession

Edwards, David david.edwards@eds.com
Mon, 10 Jul 2000 13:23:50 +0930


Hi,

I'm using syslog-ng over redirected ports inside an SSH 
channel and whenever I HUP syslog-ng, the SSH channel 
closes.

This appears to be a problem with syslog-ng, as if I 
kill -KILL syslog-ng, the channel remains in place.

I copy logs over the channel using a perl script.  This
also may be suspect of course..  The channel seems to close 
when the script writes to the (possibly disrupted tcp) 
socket.  If I don't write to the socket, the channel stays up..  
I use the IO::Socket method $socket->can_write to attempt 
to find out if the socket is still writable but this does not 
show any problems but the channel dies anyway.

Anyone else seeing this problem?

ciao
dave
----
Dave Edwards
mailto:david.edwards@eds.com
Ph: +61 8 83015720 
EDS Network Support
Glenside,  South Australia
----
PGP Fingerprint: B9C0 AB83 F18B CE88 C167  67B9 6AB2 C630 3DC9 ACC2