Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-19-2005, 12:48 PM
|
#1
|
Member
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160
Rep:
|
IP Filter
Hi!
Is there a way to block ip-ranges in slack or linux? Thank you in advance for tips!
|
|
|
12-19-2005, 01:12 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by jasone
Hi!
Is there a way to block ip-ranges in slack or linux? Thank you in advance for tips!
|
yes, there is... check-out this thread:
http://www.linuxquestions.org/questi...d.php?t=385740
good luck...
|
|
|
12-19-2005, 01:21 PM
|
#3
|
Member
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160
Original Poster
Rep:
|
Thanks!
But if I want use a existing blocklist that look like something like this:
http://dialspace.dial.pipex.com/town...d-bad-pr0n.txt
I that possible?
|
|
|
12-19-2005, 01:31 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by jasone
|
yes, of course...
BTW, that list you've linked to seems to be in the "PeerGuardian" format:
http://www.google.com/search?&q=iptables+peerguardian
|
|
|
12-19-2005, 02:35 PM
|
#5
|
Member
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160
Original Poster
Rep:
|
Yes I know and I found "linblock" which is updating the rules as we speak =) Thanks!
I just thought of something: How do I reset these rules if I for some reason want to do that?
Last edited by jasone; 12-19-2005 at 02:54 PM.
|
|
|
12-19-2005, 03:07 PM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by jasone
How do I reset these rules if I for some reason want to do that?
|
just flush whatever chain your rules are in... for example, if your chain was called "antip2p" then to flush all the rules just do a:
Code:
iptables -F antip2p
from the linblock homepage:
Quote:
Designed to coincide with other iptables rules that may be in effect, including a 'flush' command that will remove all rules added by linblock but leave everything else intact.
|
Last edited by win32sux; 12-19-2005 at 03:10 PM.
|
|
|
12-19-2005, 03:21 PM
|
#7
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Moved: This thread is more suitable in Linux-Security and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
All times are GMT -5. The time now is 09:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|