LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-10-2004, 01:44 AM   #1
wilcsnyder
LQ Newbie
 
Registered: Dec 2001
Location: Guizhou, China
Distribution: rh
Posts: 13

Rep: Reputation: 0
ip addresses blocked by psad


Hi,

I'm trying to figure out how iptables works, and as you'll see I don't know much yet. I'm using fedora core2, and have installed shorewall and psad (Port Scan Attack Detector). I've set psad to block offending ip address. Where do these address get written into the firewall rules? The offending ip addresses and relevant data are logged under /var/log/psad, but I can't find any other file or ruleset file with these various addresses. How does the firewall know to block these addresses?

Thanks to anyone who can point me in the right direction.

Wil Snyder
 
Old 08-28-2004, 04:59 AM   #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
I've set psad to block offending ip address. Where do these address get written into the firewall rules?
Search the configfile for the line "List of ips that have been auto blocked by iptables". My guess is that there'll be a file containing IP's only, PSAD will build the ruleset from that. If it's just a tiny bit cool it'll add them in a different chain than IN, so you could monitor them with "iptables -n -L <chainname>" or somthing like that. Dunno, I don't use PSAD tho, so I may be totally wrong.
 
  


Reply



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
Blocked bhughesiii Linux - Networking 9 05-12-2005 01:44 PM
PSAD Install Issue Jezter Linux - Security 1 03-20-2005 02:03 PM
psad says DL5 dominant Linux - Security 3 03-25-2004 02:50 PM
My CD drives are blocked. Baldorg Linux - Hardware 13 09-13-2003 04:34 PM
Question on PSAD code? cxel91a Programming 0 09-05-2003 04:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:49 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