ftp

Dag-ErlingSmørgrav des at des.no
Fri Sep 19 10:45:27 PDT 2003


"Devon H. O'Dell" <dodell at sitetronics.com> writes:
> > > Simply change net.inet.ip.portrange.hifirst and
> > > net.inet.ip.portrange.hilast, which default to the following values:
> > > net.inet.ip.portrange.hifirst: 49152
> > > net.inet.ip.portrange.hilast: 65535
> > I haven't examined the bsdftpd source, does it read the sysctl settings and
> > behave accordingly ?
> Yes, this was my implication here. You can change these MIBs and
> restart the ftpd. More information is in the manpages on the subject ;)

All ftpd does is set a flag which causes the kernel to pick a port
number in the appropriate range, thus there is no need to restart ftpd
for the changes to take effect.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-security mailing list