Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

NcFTPd seems to listen on all IP addresses for the machine. Can I configure NcFTPd so it only listens on certain addresses?

0
Posted

NcFTPd seems to listen on all IP addresses for the machine. Can I configure NcFTPd so it only listens on certain addresses?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123