- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Iptables - trying to block multiple ip address...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 04:10 AM
01-12-2004 04:10 AM
I'm using Easy Firewall Generator for IPTables.
http://easyfwgen.morizot.net/gen/index.php
I've added:
# Drop everyting from the following ip's
echo "Process the bad people ..."
$IPT -A INPUT -p ALL -d 68.122.142.182 -j DROP
$IPT -A INPUT -p ALL -d 68.144.185.86 -j DROP
$IPT -A INPUT -p ALL -d 68.157.86.130 -j DROP
$IPT -A INPUT -p ALL -d 216.185.55.67 -j DROP
$IPT -A INPUT -p ALL -d 68.210.138.17 -j DROP
$IPT -A INPUT -p ALL -d 62.81.176.46 -j DROP
$IPT -A INPUT -p ALL -d 24.82.81.169 -j DROP
Yet, 62.81.176.46 is still being logged in my maillog...
I'm new to iptables - so be gentle....
Server is a DNS, Mail, and web server running RH 9.
Rgds...Geoff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 04:23 AM
01-12-2004 04:23 AM
Re: Iptables - trying to block multiple ip addresses
# Drop everyting from the following ip's
echo "Process the bad people ..."
$IPT -A INPUT -p ALL -s 68.122.142.182 -j DROP
$IPT -A INPUT -p ALL -s 68.144.185.86 -j DROP
$IPT -A INPUT -p ALL -s 68.157.86.130 -j DROP
$IPT -A INPUT -p ALL -s 216.185.55.67 -j DROP
$IPT -A INPUT -p ALL -s 68.210.138.17 -j DROP
$IPT -A INPUT -p ALL -s 62.81.176.46 -j DROP
$IPT -A INPUT -p ALL -s 24.82.81.169 -j DROP
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 04:27 AM
01-12-2004 04:27 AM
SolutionAre you working on my sendmail deal by using iptables to block the nasty person?
Just wondering. Got to block the soure.
I have ehanced firewall logging going and am planning on matching the mail events to the iptables log and doing a iptables modification myself.
I wouldn't mind seeing your final configuration in my investmenttool@yahoo.com account.
The same guy may be messing with both of us.
I'm going to get those points assigned btw, just dealing with other issues this morning.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 07:55 AM
01-22-2004 07:55 AM
Re: Iptables - trying to block multiple ip addresses
I wish to refer to you two ip addresses that have been making my life miserable:
-A INPUT -i eth0 -p ALL -s 66.47.86.187 -j DROP
-A INPUT -i eth0 -p ALL -s 131.178.0.213 -j DROP
Punish them!
I've developing a log analyzer that will give me the ip addresses of repeat users of my formscript.
I will post when its done.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2004 08:54 AM
01-22-2004 08:54 AM
Re: Iptables - trying to block multiple ip addresses
All of these ip's have run formscript.cgi more than 10 times.
Funny thing is, I didn't get a single form from the web.
-A INPUT -i eth0 -p ALL -s 131.178.0.213 -j DROP
-A INPUT -i eth0 -p ALL -s 68.122.142.182 -j DROP
-A INPUT -i eth0 -p ALL -s 68.144.185.86 -j DROP
-A INPUT -i eth0 -p ALL -s 68.157.86.130 -j DROP
-A INPUT -i eth0 -p ALL -s 216.185.55.67 -j DROP
-A INPUT -i eth0 -p ALL -s 68.210.138.17 -j DROP
-A INPUT -i eth0 -p ALL -s 62.81.176.46 -j DROP
-A INPUT -i eth0 -p ALL -s 24.82.81.169 -j DROP
-A INPUT -i eth0 -p ALL -s 12.161.118.34 -j DROP
-A INPUT -i eth0 -p ALL -s 200.11.183.252 -j DROP
-A INPUT -i eth0 -p ALL -s 205.147.224.92 -j DROP
-A INPUT -i eth0 -p ALL -s 207.61.246.194 -j DROP
-A INPUT -i eth0 -p ALL -s 208.186.102.78 -j DROP
-A INPUT -i eth0 -p ALL -s 213.173.154.230 -j DROP
-A INPUT -i eth0 -p ALL -s 194.102.248.251 -j DROP
-A INPUT -i eth0 -p ALL -s 194.254.160.78 -j DROP
-A INPUT -i eth0 -p ALL -s 64.14.144.85 -j DROP
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com