Skip site navigation (1)Skip section navigation (2)
Date:      28 Jun 2000 19:15:58 +0200
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        Visigoth <visigoth@telemere.net>
Cc:        freebsd-current@FreeBSD.ORG, freebsd-security@FreeBSD.ORG
Subject:   Re: new ftpd feature...
Message-ID:  <xzpr99hwwtt.fsf@flood.ping.uio.no>
In-Reply-To: Visigoth's message of "Wed, 28 Jun 2000 11:40:22 -0500 (CDT)"
References:  <Pine.BSF.4.21.0006281121480.67967-300000@shell.telemere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Visigoth <visigoth@telemere.net> writes:
> [patches to limit the range of ports used for passive FTP]

des@flood ~% sysctl -A | grep portrange
net.inet.ip.portrange.lowfirst: 1023
net.inet.ip.portrange.lowlast: 600
net.inet.ip.portrange.first: 1024
net.inet.ip.portrange.last: 5000
net.inet.ip.portrange.hifirst: 49152
net.inet.ip.portrange.hilast: 65535

ftpd uses ports in the high range, just adjust the last two sysctls
and you'll be fine.

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpr99hwwtt.fsf>