Re: Problems with LOGS in iptables (Help Please)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




   Try to take off the spaces from your log-prefix string. I've had 
problems with this. Try replacing:

--log-prefix "RULE 0 --ACCEPT "
by
--log-prefix "RULE0_ACCEPT" 

   It should work.


   Sincerily,
   Leonardo Rodrigues

Citando Francisco Garcia Guillen <Paco.Garcia@xxxxxxx>:

> Hi all,
> 
> The rules of iptables work fine but I can't obtain log messages from
> iptables.
> 
> With fwbuilder I mark all rules with LOG option.
> 
> The generated script has this flag: "-j LOG --log-level 6 --log-prefix
> "RULE 0 --ACCEPT " --log-tcp-sequence --log-tcp-options
> --log-ip-options"
> with each rule
> The klogd is running
> The syslogd is running
> The syslog.conf is correctly configured
>  ... but the logs not appear in /var/log/messages file




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux