Stefan Srdic <[EMAIL PROTECTED]> writes:
> Anyway, as you can guess I am using netfilter for firewalling.
>
> How can I pipe all logs from Netfilter into a single logfile?
>
> Lets say I wanted all log messages from netfilter to be loged into
> /var/log/netfilter. How could I accomplish that?
FWIW, my approach: assert a log-prefix in your logging iptables rules, and
install syslog-ng with a regexp match to pick up your prefix (make it
distinctive, eg 'Catch-all: .*IN=.*OUT=' would probably be precise enough).
HTH,
~Tim
--
The blade cuts clean through |[EMAIL PROTECTED]
the island soil, |http://spodzone.org.uk/
The years roll back and |
the world grows small |
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]