Re: Firewall: logging not accepted packets

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

 



On Tue, 2003-08-05 at 14:47, Lukasz Dorau wrote:
> Hi,
> 
> What should I do in order to all not accepted by firewall packets were
> logged ?

iptables ... -j LOG
(just before the drop/reject rule, with the same matching pattern)

> Where will they be logged ?

log messages are sent to the kernel log . You can use --log-level and
--log-prefix to set priority and some string in each message in order to
filter them. I have --log-prefix "iptables: " --log-level debug, then in
my syslog.conf kernel.=debug /var/log/netfilter

man iptables is your friend

Piero


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux