Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to block a list of ips

Status
Not open for further replies.

tomcsanadi

IS-IT--Management
Dec 6, 2001
36
US
I am using the following command to block people trying to hack my ftp site, I have compiled a huge list of IPs that theyhave tried to use,

access-list outside_access_in extended deny ip host x.x.x.x any log

Is there any way to create a list using the object-group and have this command refer to the group?
 
Sure. You've pretty much got it:

object-group network BAD_GUYS
network-object host 192.168.10.10
network-object host 192.168.10.11

access-list STOP_HACKERS extended deny ip object-group BAD_GUYS any


Not sure what your situation is, but if the list is really huge you might want to consider an ACL that permits the hosts you want, rather than blocks the hosts you don't. Of course, if you want to permit the Internet, that doesn't work. ;-)

Also, if these hacks are coming in the form of malicious or malformed FTP commands and you're running 7.x or higher on your security appliance, you can enable strict protocol inspection.


If you're running 7.2 you can go as far as limiting the FTP commands that users can issue.



Matt
CCSP
 
Could always switch to sftp. And secure your keys for negotiation. Really depends on how you want your FTP server to be accessed. Could also consider proxy auth on the ASA.

 
They are using brute force to try and get in, my event logs are filling up,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top