You can use the FTP Server Manager to check on various aspects of FTP server security:
You can also use packet filtering and TCP Wrappers to restrict access to the FTP server from certain sites. See ``Configuring packet filters and TCP Wrappers'' for more information.
It is also advisable to set up a regular cron job to purge the directory of old or excessively large files, and to report any possible problems with disk usage (see crontab(1)). For example, the following crontab entries for root check hourly for the existence of files bigger than 10MB, and once per day delete files which have not been modified within the last 30 days:
0 * * * * ksh -c "find ~ftp/pub/incoming -type f -size +10485760c -exec ls -l {} \; >> /var/adm/log/incoming.log"
0 0 * * * ksh -c "find ~ftp/pub/incoming -type f -mtime +30 -exec rm -f {} \; 2>&1 > /dev/null"
For more on anonymous FTP security,
consult the information available from CERT at the
URL:
ftp://info.cert.org/pub/tech_tips/anonymous_ftp_config.
You can also obtain information about the known abuses of anonymous FTP at the URL: ftp://info.cert.org/pub/tech_tips/anonymous_ftp_abuses.