Solved

configuring PSAD

Posted on 2004-08-31
2
336 Views
Last Modified: 2013-12-04
Hi can anyone help me with PSAD which is at http://www.cipherdyne.com/psad/

What i am trying to do is block ip addresses which try to log into my linux firewall via SSH, and also if someone scans my IP address with let say portscanner or NMAP. i would like these automatcally put in the hosts.deny file but its not working when i get someone to scan my IP address from the web PSAD is not blocking it the next time its scanned
0
Comment
Question by:jaxxman
2 Comments
 

Accepted Solution

by:
michaelrash earned 50 total points
ID: 12040673
To enable auto blocking of IP addresses, you need to set the ENABLE_AUTO_IDS variable in /etc/psad/psad.conf to "Y".  You will also need to choose an appropriate danger level for the AUTO_IDS_DANGER_LEVEL variable (the default is 5, which scans almost never reach).  Also, psad supports the use of both iptables and tcpwrappers to accomplish auto blocking, but the default method is to only use iptables (see the IPTABLES_BLOCK_METHOD variable).  If you want psad to use tcpwrappers, then you will need to set TCPWRAPPERS_BLOCK_METHOD to "Y".  Note that the best way to maintain security is to use iptables instead of tcpwrappers since iptables intercepts packets in the kernel before they can even talk to the IP stack, let alone the daemon itself.
0
 

Author Comment

by:jaxxman
ID: 13416367
ok thanks for that.
On the bigger picture do you have any step by step handy tips on how to get the best out of PSAD or PDF and website may be
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

No security measures warrant 100% as a "silver bullet". The truth is we also cannot assume anything but a defensive and vigilance posture. Adopt no trust by default and reveal in assumption. Only assume anonymity or invisibility in the reverse. Safe…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question