Re: ftp server limit ?
From: charly (kanari_at_yahoo.fr)
Date: 03/05/04
- Next message: a_at_b.com: "Re: run as different user"
- Previous message: David: "Re: run as different user"
- In reply to: Ben Measures: "Re: ftp server limit ?"
- Next in thread: Ben Measures: "Re: ftp server limit ?"
- Reply: Ben Measures: "Re: ftp server limit ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 05 Mar 2004 20:26:09 +0000
> Google Groups search: proftpd hammer
> http://tinyurl.com/23l4k
>
> Requires a little knowledge in shell scripting though.
Ok here is how I could set things up :
a perl script sent in background via the & operator.
It parses the log file of the day and looks for the xx.xx.xx.xx -> ip
adresses.
each time he finds one, he puts it in an array of ips. If the ip is
present, then he adds 1 to the counter if the counter < 5 ; else, the ip
is appended to the hosts.deny.
Strcture of Array :
IP NB of occurences
xx.xx.xx.xx 1
Your opinion there ?
- Next message: a_at_b.com: "Re: run as different user"
- Previous message: David: "Re: run as different user"
- In reply to: Ben Measures: "Re: ftp server limit ?"
- Next in thread: Ben Measures: "Re: ftp server limit ?"
- Reply: Ben Measures: "Re: ftp server limit ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Loading