Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 06-14-2006, 09:57 AM   #1
Registered: Jan 2006
Distribution: Various versions of Red Hat Fedora Core and Ubuntu
Posts: 40

Rep: Reputation: 15

Lately I have been getting slammed with brute force attacks from overseas All of my valid clients are here in The States. I'd like to block all blocks outside of the US. I am having difficulty finding a good list of all world ip addresses. Due to the volume I'd like to allow all of the US blocks and then do an implicit deny. Does anyone have such a list? Any suggestions?
Old 06-14-2006, 10:25 AM   #2
Registered: May 2004
Location: Atlanta, GA USA
Distribution: Redhat ES4, FC4, FC5, slax, ubuntu, knoppix
Posts: 155

Rep: Reputation: 30
You can create a block list and apply it to iptables to drop. The ony problem is there are so many ip ranges to keep up with it's nearly impossible to do.

Take a look at blackhole lists and check out SANS block list. It's a good start.
Old 06-14-2006, 03:02 PM   #3
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: win 10 | OpenBSD 6.1 | Fedora 26
Posts: 241

Rep: Reputation: 72

You need to patch kernel if you want to use this match.
Old 06-14-2006, 03:57 PM   #4
Registered: Jan 2006
Distribution: Various versions of Red Hat Fedora Core and Ubuntu
Posts: 40

Original Poster
Rep: Reputation: 15
Thats the stuff. Thanks. I looked at geoip but I did not see anything that was as easy as geoip match. I knew there had to be something out there. Thanks. Now i feel stupid for not finding it. My google-fu was weak today.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ways for close/block ports and/or ip's jamiguel77 Linux - Networking 2 03-11-2006 06:41 PM
IPTables - Multiple Public IP's to private IP's matneyc Linux - Security 8 05-27-2005 12:23 PM
How do I block IP's to prevent unauthorized SSH login attempts? leofoxx Linux - Security 6 05-23-2005 09:36 PM
IP Table help, Droping entire 200 block of ip's? Wide glide Linux - Security 2 12-03-2004 12:39 AM
Find IP's in use in a particular block kegwell Linux - Networking 1 07-14-2004 05:22 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration