|
|
Question : vsftpd and some tools
|
|
Hi all,
How can I get the number of connecting user to my ftp server if I use vsftpd? I know there nice tools available with wu-ftpd like ftpwho, ftpcount...but these tools are not available in vsftpd. Anyone has success story of workaround to make wu-ftpd-alike tools(ftpcount, ftpshut...) Thanks,
Stand
|
Answer : vsftpd and some tools
|
|
This will give you the information who is currently connected via FTP # netstat -a | grep ESTABLISHED | egrep '\.20|\.ftp' The second field is the client's IP address or name and client port appended
Example: # netstat -a | grep ESTABLISHED | egrep '\.20|\.ftp' my-server.ftp 192.168.11.15.2585 8652 0 24820 0 ESTABLISHED
|
|
|
|