From owner-freebsd-stable Mon Oct 16 11:49:47 2000 Delivered-To: freebsd-stable@freebsd.org Received: from web122.yahoomail.com (web122.mail.yahoo.com [205.180.60.57]) by hub.freebsd.org (Postfix) with SMTP id 1296237B670 for ; Mon, 16 Oct 2000 11:49:45 -0700 (PDT) Received: (qmail 24860 invoked by uid 60001); 16 Oct 2000 18:49:44 -0000 Message-ID: <20001016184944.24859.qmail@web122.yahoomail.com> Received: from [209.247.40.201] by web122.yahoomail.com; Mon, 16 Oct 2000 11:49:44 PDT Date: Mon, 16 Oct 2000 11:49:44 -0700 (PDT) From: Guolin Cheng Subject: Reserved ports too limited for amd (automount) on FreeBSD 4.1 To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, all, I encountered a problem with amd(which using reserved ports by default) on FreeBSD box, the version is FreeBSD 4.1. /guolin> uname -v FreeBSD 4.1-RELEASE #0: Fri Sep 29 18:31:50 GMT 2000 /usr/src/sys/compile/ALEXA The problem is: I want to mount more than 800 entries using amd at the same time on a freeBSD machines, but since the FreeBSD4.1 's amd using reserved ports by default for security reasons, there's only (1023-600+1)=424 reserved ports available at most!, so it always report error: amd: ALL PORTS IN USE.. because all the reserved ports are used up!! So, could anyone tell me a method to change the default configuration setting of amd??? so that I can use non-deserved ports instead? I tried to edited the file /sys/netinet/in.h, change the parameter IPPORT_RESERVED to 2024 from 1024,recompile and restart, but the amd services can NOT run normally! How to set the amd functions or change it back to a older version?? any ideas? Thanks. ===== With Best Regards. Guolin Cheng Alexa Internet Company Presidio of San Francisco, San Francisco, CA 94129 (415)561-6900 ext. 6021 __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message