From owner-freebsd-questions Mon Oct 16 14:58:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from epsilon.lucida.qc.ca (epsilon.lucida.qc.ca [216.95.146.6]) by hub.freebsd.org (Postfix) with SMTP id 1BB4337B66F for ; Mon, 16 Oct 2000 14:58:28 -0700 (PDT) Received: (qmail 9653 invoked by uid 1000); 16 Oct 2000 21:58:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 16 Oct 2000 21:58:17 -0000 Date: Mon, 16 Oct 2000 17:58:16 -0400 (EDT) From: Matt Heckaman X-Sender: matt@epsilon.lucida.qc.ca To: Guolin Cheng Cc: freebsd-questions@freebsd.org Subject: Re: Reserved ports too limited for amd (automount) on FreeBSD 4.1 In-Reply-To: <20001016204735.28469.qmail@web109.yahoomail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: localhost 1.6.2 0/1000/N Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Did you actually do the sysctl -w though? Just putting them in sysctl.conf wont take effect until reboot, though I would suspect that one could just 'sh /etc/rc.sysctl' without a problem.. I'm afraid I'm not really familiar with amd, nor messing with this stuff, so I'm just throwing out a pseudo-educated guess here. :) Hope that helps some. On Mon, 16 Oct 2000, Guolin Cheng wrote: : Matt Heckaman, : : Thanks. But in fact, I already added the following lines into the file : /etc/sysctl.conf: : : net.inet.ip.portrange.lowfirst=2023 : net.inet.ip.portrange.first=2024 : : But net.inet.ip.portrange.lowfirst is still 1023!! although : net.inet.ip.portrange.first was changed into 2024 (this is of no : use..:(( ), so when I use amd, the sockets still use reserved : ports.(you can use netstat -a command to show the TCP/UDP ports in : use) and make my machine crazy and die. : : I want to know if we can find a configuration option to instruct amd : NOT to use reserved ports by deafault.. Thanks. : : : Yours sincerely, : : Guolin Cheng * Matt Heckaman - mailto:matt@lucida.qc.ca http://www.lucida.qc.ca/ * * GPG fingerprint - A9BC F3A8 278E 22F2 9BDA BFCF 74C3 2D31 C035 5390 * -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.3 (FreeBSD) Comment: http://www.lucida.qc.ca/pgp iD8DBQE563n5dMMtMcA1U5ARAgaeAKCNU7vngVhfJT4dE7w35hAuY5C5iwCfQ9J0 e5q1UO6VNSENiwL11uvdT7Q= =9BnD -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message