[syslog-ng] valid HOSTNAME characters in syslog?

Balazs Scheidler bazsi at balabit.hu
Wed Aug 15 11:48:32 CEST 2007


On Mon, 2007-08-13 at 11:50 -0700, dave wrote:
> Thanks for the historical reasons. 
> 
> I would like rephrase my question as below:
>  If I were to implement a standard compliant Syslog
> Relay, do I need to treat '@' a valid character in the
> HOSTNAME field of syslog message to be relayed?
> For e.g.:
> Input syslog to Relay- <34>Jan 23 11:11:11 host at nm MSG
> Output from Relay    - <34>Jan 23 11:11:11 host at nm MSG
> 
> i.e. The relay didn't insert new hostname/ipAddress
> while forwarding. Is this a standard compliant Syslog
> Relay behavior?

Hostname as defined by DNS may not contain '@'. 

> Is chaining of hostnames using '@' specific to
> SyslogNg? 

yes.

-- 
Bazsi



More information about the syslog-ng mailing list