Netstat +kill

G

Guest

Is there a command to "kill" an address that is attached to my port 21?
I run an FTP server (not Microsoft) and I occasionally get those attempted
break ins. Using netstat I can see the addresses attached, but because the
attacker can not logon to the ftp service I can not use the FTP service's
"kill" function. I can not stop the service because other legit users maybe
upload/downloading files. Is the some command I can use to kill the
attacker's specific address?
 
P

Pegasus \(MVP\)

Rick K said:
Is there a command to "kill" an address that is attached to my port 21?
I run an FTP server (not Microsoft) and I occasionally get those attempted
break ins. Using netstat I can see the addresses attached, but because the
attacker can not logon to the ftp service I can not use the FTP service's
"kill" function. I can not stop the service because other legit users maybe
upload/downloading files. Is the some command I can use to kill the
attacker's specific address?

You should set up rule in your hardware firewall that permits access
to port 21 only from a specific set of addresses.
 
G

Guest

That is not a practicle solution as we do not know the addresses of our
customers, plus their addresses can change. We can block a specific address
in the firewall, but that's only after the fact.
 
P

Pegasus \(MVP\)

In this case you should give each customer a specific port
number to use and translate it to port 21 at the firewall.
For example:
Customer A Port 19921
Customer B Port 29921
Customer C Port 39921

This will greatly reduce your exposure because hackers
scan those ports that are likely to yield results, i.e. the
know ports below 1000 plus the ports for popular
applications such as 1723, 3389, 5900.
 
G

Guest

Thanks for the suggestions, but again this is not practicle given to type of
users and the number of users. The issue is killing that ip address that is
trying to break into the FTP server. Without effecting other users.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top