gatorparrots
~departed~
Rather than deal with the new FTP daemon in OS X 10.2 (lukemftpd) and its lack of- and mis-documentation, I opted to go with a different daemon altogether. Instead, I chose Pure-ftpd (http://www.pureftpd.org/), which seemed to have the right feature set and flexibility to meet my needs (chroot, quotas, bandwidth throttling, etc.).
Now that I have it installed and configured correctly, I would like to change the port it is listening on. This is a trivial change if it is running in standalone mode (just pass the switch 'S -<portnumber>' to it). However, I prefer to have it run under xindetd, which it does beautifully... except it will not honor the '-S' switch in xinetd mode, because something else is superceding it.
So... the question posed is this:
How does one change the default ftp port in OS X 10.2? I'm after a bit of 'security through obscurity' by dropping off the port 21 radar. I'd rather use another unassigned port <1024 instead of the default 20/21 pair. I'm assuming this is done in NetInfo, but am not aware of the exact methodology under OS X to accomplish this.
Now that I have it installed and configured correctly, I would like to change the port it is listening on. This is a trivial change if it is running in standalone mode (just pass the switch 'S -<portnumber>' to it). However, I prefer to have it run under xindetd, which it does beautifully... except it will not honor the '-S' switch in xinetd mode, because something else is superceding it.
So... the question posed is this:
How does one change the default ftp port in OS X 10.2? I'm after a bit of 'security through obscurity' by dropping off the port 21 radar. I'd rather use another unassigned port <1024 instead of the default 20/21 pair. I'm assuming this is done in NetInfo, but am not aware of the exact methodology under OS X to accomplish this.