NcFTPd seems to listen on all IP addresses for the machine. Can I configure NcFTPd so it only listens on certain addresses?
NcFTPd always listens on all the addresses (i.e. it binds to the wildcard address). It would require major work to get it to listen on specific addresses. The recommended work-around is to have your default domain (the first one listed in the domain.cf) be a degenerate domain. Set up this domain so that the ftp-home points to an empty directory. Then be sure to have regular domain entries following the default domain, so that the domains you wish to have access are ready to go. Then, if users FTP to a domain you dont want to offer FTP access, there is nothing left to do but logout since there arent any files to download.
Related Questions
- I need even tighter Freeway access security. Can I configure a firewall on the Freeway, and restrict access to certain IP addresses?
- Can I configure NcFTPd so that certain symbolic links are allowed that point outside of the home directory of a restricted user?
- How to white or blacklist certain e-mail addresses?