Re: iptables log and deny rule set

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

 



ann kok wrote on Wednesday 20 June 2007:


> Could you give me some rule examples?

iptables -A INPUT -s <bad_ip> -j LOG -m limit --limit 1/minute
iptables -A INPUT -s <bad_ip> -j REJECT

That will log and block packets from <bad_ip>, limiting logging to one 
entry per minute.

> I am not familiar to iptables?

I hope you are familiar with ip traffic basics and packet filtering?...

# man iptables

gives you a lot of information - in case you know network basics.

> Where the location of the log fime?

By default: /var/log/messages, but you can change the logging facility.

-- 
bye
Adalbert


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux