LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-12-2009, 05:27 PM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Rep: Reputation: 40
Iptables and blacklists integration


I'm thinking to integrate the iptables and lists from iblocklist.com.
The objective is to load a fie lists ever week and integrate into iptables.

Has anyone done this - pros and cons, please ?
Thank you.
 
Old 07-12-2009, 06:32 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Given the notices and warnings posted and from looking at 0, 1, 2 memberlists I think you best stay away from those: list 2 is empty and the criteria for listing IPs is all but professional. The others don't list criteria either and mix ranges with FQDN's. As far as the other lists are concerned they might serve a purpose but blocking IP addresses or ranges is rather crude. It doesn't address filtering for common problems like proxy regexes could do efficiently. If I would ponder using those blocklists I'd get a few months worth of data, grep for listed domains and let that determine if the list effectivity is worth the performance hit.

Last edited by unSpawn; 07-13-2009 at 05:45 AM. Reason: //typo
 
Old 07-12-2009, 08:52 PM   #3
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
how about their Level 1 and level 2 ?
I've been using PeerGuardina ( on MS ) for quite some time and, though can't be sure for 100%, but it's lists seemed to be doing their job. So i just wan to have similar level of "protection" on linux...
 
Old 07-13-2009, 07:01 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If the idea they "seem" to work is good enough for you then by all means use those lists. I hope there's a script that'll take care of checking lists, resolving domainnames and adding IP addresses and ranges.
 
Old 07-13-2009, 11:14 AM   #5
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by unSpawn View Post
If the idea they "seem" to work is good enough for you then by all means use those lists. I hope there's a script that'll take care of checking lists, resolving domainnames and adding IP addresses and ranges.
well, i just put in this way - i don't know any better ways. Do you ?
// "don't' do p2p" idea - doesn't count
 
Old 07-13-2009, 11:49 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Without measuring the effectiveness, and even if the site fully admits to not being up to date or checking any errors, lists that do overly broad blocking without objective criteria may put your network connectivity at risk and unnecessarily so. I mean for whom exactly is the "Portsmouth Municipal Court" a "Primary Threat" FCOL? And exactly what is the delay? Some you better get from the official sources like Dshield: http://www.dshield.org/ipsascii.html (note how it reads "# DO NOT USE AS BLOCKLIST"?) and IANA LAN-range, bogon and such lists you can get without delay from http://www.cymru.com/Documents/bogon-bn-nonagg.txt. For the rest, and since you're enamoured with PeerGuardian usage already, I doubt any criteria matter.
 
Old 07-13-2009, 12:07 PM   #7
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
thank you for information and education.
i'm not sure how lists ( any lists for that matter ) can be measured. i do know that i have not received THE email from my ISP since i started using the PG. Does it mean that i'm 100% safe? surely no. but, agree, it's better than nothing. If i knew better - i would surely execute it.

So your advise - get dshield and cymru lists and don't bother with the ilists ?
 
Old 07-13-2009, 12:46 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by DBabo View Post
i'm not sure how lists ( any lists for that matter ) can be measured.
Netstat lists network connections, iptables allows you to set -j LOG rules, some applications can log network addresses, and some files may contain IP addresses (.torrent files: trackers, DHT addresses). Checking for log rule matches and matching logged network addresses against those lists could show.


Quote:
Originally Posted by DBabo View Post
So your advise - get dshield and cymru lists and don't bother with the ilists ?
My advice would be to get as much lists from the official source as possible and to avoid the lists created by members. The rest I may have an opinion about that does not necessarily agree with yours.
 
Old 07-27-2009, 10:26 PM   #9
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by unSpawn View Post
Netstat lists network connections, iptables allows you to set -j LOG rules, some applications can log network addresses, and some files may contain IP addresses (.torrent files: trackers, DHT addresses). Checking for log rule matches and matching logged network addresses against those lists could show.



My advice would be to get as much lists from the official source as possible and to avoid the lists created by members. The rest I may have an opinion about that does not necessarily agree with yours.
Ok, i, probably will get a brake in a month and will have a day to play with it. Thank you!
 
  


Reply


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
SquidGaurd best Blacklists waelaltaqi Linux - Software 0 11-18-2008 09:43 AM
Spam Blacklists. dlublink Linux - Server 9 08-23-2006 07:40 AM
SPAM Blacklists.... cultavixx General 2 04-06-2006 11:42 AM
anyone used blacklists mnauta General 5 04-01-2004 11:24 PM
eXtremail and Blacklists Moltag Linux - Networking 1 10-07-2003 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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