I have created a new version which is currently available under the interim name of
http://download.rsyslog.com/rsyslog/rsyslog-1.19.7.tar.gz [***This is NOT 1.19.7 but will become it over time!***] In that version, I have handled NULs that are emitted by faulty senders (and there seem to be lots of them). A quick test both by me and Raoul Bhatia indicates that those NULs disappear. And so do LF NUL (#012#000) as the LF shown is an artifact from the NUL being then the last char of the message). I would now be interested to know if somebody still sees unexpected #000 at the very end of the message. If there are, they now almost for sure identify a rsyslog problem. Thanks, Rainer > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:rsyslog- > [EMAIL PROTECTED] On Behalf Of Rainer Gerhards > Sent: Friday, September 14, 2007 10:17 AM > To: rsyslog-users > Subject: Re: [rsyslog] some logged lines end with #000 > > The list server is quite picky on attachment types (aka "does not > accept > most of them" ;)). And I have to admit I introduced that policy and > still think it is not a bad one. > > Can you send me the attachment via private mail please. > > Thanks, > Rainer > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:rsyslog- > > [EMAIL PROTECTED] On Behalf Of Raoul Bhatia [IPAX] > > Sent: Friday, September 14, 2007 10:07 AM > > To: rsyslog-users > > Subject: Re: [rsyslog] some logged lines end with #000 > > > > Rainer Gerhards wrote: > > > Ummm... should have thought about this. NULs are treated special. > > This > > > is routed in the sysklogd code. Rsyslog uses standard C strings for > > the > > > most part. Standard C strings are terminated as soon as the first > NUL > > is > > > detected. So we can not allow NULs to be part of the message. Thus, > > NUL > > > is always escaped, no matter what the control character escape > > sequences > > > is. > > > > > > Can you provide us with a debug log (rsyslogd -d -n) showing a > > message > > > with #000 being processed? > > > > attached, you will find the output. > > > > cheers, > > raoul bhatia > > -- > > ____________________________________________________________________ > > DI (FH) Raoul Bhatia M.Sc. email. [EMAIL PROTECTED] > > Technischer Leiter > > > > IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at > > Barawitzkagasse 10/2/2/11 email. [EMAIL PROTECTED] > > 1190 Wien tel. +43 1 3670030 > > FN 277995t HG Wien fax. +43 1 3670030 15 > > ____________________________________________________________________ > > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog

