Re: [opensuse] Cant get syslog server my w/station to accept 514 connections for remote logging.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Thursday 2007-03-29 at 15:59 +0100, Chuck Amadi wrote:

I have been trying to get my OpenSuSE 10.2 Retail Client to accept remote logs
from mail server.

Piece of cake. :-p


Any ideas


Add this to the default config of /etc/syslog-ng/syslog-ng.conf


source ext {
udp(ip("0.0.0.0") port(514));
};

below the source src {...} def. Then:


filter f_router { host("router"); };

destination router { file("/var/log/router"); };
log { source(ext); filter(f_router); destination(router); };


All my external log sources are thus separated.

- --
Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGC9jOtTMYHG2NR9URAkbyAJ9H6/3AwsjzovcsXyPlDWYpRUnwDwCfcM7f
gatmIAnzXBN//xve7LJRdEs=
=T2su
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages