Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 11:49:44 -0700 (PDT)
From:      Guolin Cheng <chenggl@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   Reserved ports too limited for amd (automount) on FreeBSD 4.1
Message-ID:  <20001016184944.24859.qmail@web122.yahoomail.com>

next in thread | raw e-mail | index | archive | help
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




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