/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! /* ALSO: Don't quote this header. It makes you look lame :-) */
> > Is there a way for me to get the messages generated by > iptables when a rule is triggered (assuming that logging is > enabled) directed to a file other than /var/log/messages? > I'd really like the output to go its own file. > > Thanks! SuSE does this with it's personal firewall when I installed my custom firewall I inherited this feature. It logs to /var/log/firewall I imagine this would be Pretty easy using a cron job and like cat /var/log/messages | grep 'insert firewall prefix' >> /var/log/firewall. Then you could get more fancy with your script but that�s a start. I know there is a way to get the log feature of IPTables to insert a prefix .. Ie. 'myfirewall'. Hope I helped I would be curious to know if there is a better way of doing this. _______________________________________________ Masq maillist - [EMAIL PROTECTED] Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES UNSUBSCRIBING! or email to [EMAIL PROTECTED] PLEASE read the HOWTO and search the archives before posting. You can start your search at http://www.indyramp.com/masq/ Please keep general linux/unix/pc/internet questions off the list.
