The ipset tag has no wiki summary.
1
vote
2answers
32 views
iptables… blocking a range without flooding ipset set with IPs
I have this range of IPS 197.192.x.x that is brute force attacking my pop/imap/smtp servers day after day.
I have this ipset in place that is blocking every IP that tries to hack on my server.
I ...
1
vote
2answers
34 views
iptables and logs
Suppose I add an IP to iptables blocking for exim, dovecot and FTP and this IP visits my server again.
Is there any log of this visit so I can confirm the IP was trying to reach the server again but ...
2
votes
1answer
91 views
iptables rules not realoading on CentOS 6.x
I have one single ipset addded to my iptables on a CentOS 6.x box and this rule is lost when the machine reboots.
I have found this answer showing how to make a Ubuntu system reload the iptables ...
1
vote
1answer
55 views
iptables is not blocking
I have a script running every minute by a crontab.
This script scans the system logs and grabs the IPs of every failed attempt to login on the server's dovecot, exim or ssh and add them to an ipset, ...
0
votes
1answer
100 views
IP set to block access to exim and dovecot
I have created a ipset with a bunch of IPs that I want to block access to dovecot and exim.
The ipset is called "bannedIPs" and have been added to iptables using this
iptables -A INPUT -p tcp ...
0
votes
1answer
119 views
ipset not executing from crontab
I have this txt files that contains IPs, one per line of file, that I want to block using ipset.
I have this bash script that essentially reads from the plain txt file and constructs an array. Then ...
1
vote
1answer
47 views
Using iptables to block for specific services
I am using ipset in conjunction with iptables to create a list of IPs I want to block. I did this:
ipset -N blocking iphash
ipset -A blocking 124.205.11.230
// and repeated this line for all IPs I ...