[syslog-ng] NULL byte and Syslog-NG

Balazs Scheidler bazsi at balabit.hu
Thu May 21 09:00:44 CEST 2009


On Mon, 2009-05-18 at 17:00 -0400, Jon Fredrickson wrote:
> Hello,
> 
> I am importing events from the Oracle sys.aud$ table via JDBC, then
> forwarding these events to a syslog-ng server.  Every time a user
> makes an ODBC connection from a windows machine, a NULL byte appears
> directly after the host name in the USERHOST field.
> 
> When syslog-ng gets this raw event it changes the NULL byte from 00 to
> a line feed 0a.
> 
> Does anyone know how to stop this from happening, or allow syslog-ng
> to trim NULL characters?
> 
> My syslog-ng version is 
> 2.0.1

Honestly, I don't really understand the problem. Can you add some
examples on what you see and what you expect to see?

Also, your syslog-ng version is really old, even in the 2.0 branch,
there were 9 bugfix releases (the latest is 2.0.10)

-- 
Bazsi



More information about the syslog-ng mailing list