On 8/17/06, John Joseph <[EMAIL PROTECTED]> wrote:
> Hi
> I want to log iptables to a file
> /var/log/iptables
>

Not possible. syslog.conf understands pre defined facilities only. If
you log kern or debug messages to /var/log/iptables, all logs with
that facility will be logged there.

You have two options:
1. Parse /var/log/messages for iptables logs and redirect them to
/var/log/iptables.
2. Use a third-party syslog tool like syslog-ng.

Regards,
NMK.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dubailug/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to