From owner-freebsd-questions Wed Apr 26 12:47:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 61DEC37B9CB for ; Wed, 26 Apr 2000 12:47:25 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from slave (doug@slave [10.0.0.1]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id MAA49454; Wed, 26 Apr 2000 12:47:20 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Wed, 26 Apr 2000 12:47:20 -0700 (PDT) From: Doug Barton X-Sender: doug@dt051n0b.san.rr.com To: nomo - Cc: freebsd-questions@FreeBSD.org Subject: Re: ports 111 and 1024 mysteriously open In-Reply-To: <20000426070222.82358.qmail@hotmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please use a descriptive subject line for your e-mail. You will get a better response. On Wed, 26 Apr 2000, nomo - wrote: > today, i installed nmap on my FBSD box, did somescanning and found that port > 111 (sunrpc)and 1024 (unknown) open. > how do i close those? First, use sockstat to figure out which process is holding them open. Then kill those processes. Then figure out how to prevent those processes from starting by using rc.conf. Good luck, Doug -- Excess on occasion is exhilarating. It prevents moderation from acquiring the deadening effect of a habit. -- W. Somerset Maugham To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message