Solved

configuring PSAD

Posted on 2004-08-31
2
341 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

In today's information driven age, entrepreneurs have so many great tools and options at their disposal to help turn good ideas into a thriving business. With cloud-based online services, such as Amazon's Web Services (AWS) or Microsoft's Azure, bus…
The term "Bad USB" is a buzz word that is usually used when talking about attacks on computer systems that involve USB devices. In this article, I will show what possibilities modern windows systems (win8.x and win10) offer to fight these attacks wi…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

691 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