From owner-freebsd-questions Mon Dec 14 01:25:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA01200 for freebsd-questions-outgoing; Mon, 14 Dec 1998 01:25:53 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mailb.telia.com (mailb.telia.com [194.22.194.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA01142 for ; Mon, 14 Dec 1998 01:25:41 -0800 (PST) (envelope-from listuser@netspace.net.au) Received: from d1o1.telia.com (root@d1o1.telia.com [195.67.240.241]) by mailb.telia.com (8.8.8/8.8.8) with ESMTP id KAA24658 for ; Mon, 14 Dec 1998 10:25:37 +0100 (CET) Received: from doorway.home.lan (t6o1p48.telia.com [195.67.241.108]) by d1o1.telia.com (8.8.8/8.8.5) with ESMTP id KAA10822 for ; Mon, 14 Dec 1998 10:25:35 +0100 (CET) Received: (from listuser@localhost) by doorway.home.lan (8.8.8/8.8.7) id JAA13206 for freebsd-questions@FreeBSD.org; Mon, 14 Dec 1998 09:30:55 +0100 (CET) (envelope-from listuser) Date: Mon, 14 Dec 1998 09:30:55 +0100 (CET) From: List User Message-Id: <199812140830.JAA13206@doorway.home.lan> To: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Newsgroups: freebsd.questions Path: root From: Karl Pielorz Subject: Re: Port 111 Content-Type: text/plain; charset=us-ascii X-Accept-Language: en Received: from tdx.co.uk (lorca-tx.tdx.co.uk [195.188.177.242]) by caladan.tdx.co.uk (8.9.1a/8.9.1) with ESMTP id IAA03903; Mon, 14 Dec 1998 08:21:44 GMT To: Geoffrey Robinson Sender: owner-freebsd-questions@FreeBSD.ORG Content-Transfer-Encoding: 7bit Precedence: bulk Organization: TDX - The Digital eXchange Message-ID: <3674CA98.5F1C070D@tdx.co.uk> References: <3674C77B.E7504EB5@globalserve.net> X-Mailer: Mozilla 4.5 [en] (WinNT; I) Delivered-To: vmailer-questions@freebsd.org X-Uidl: 2bd4537a68c8cd1c3d5d9311fcae4629 X-Loop: FreeBSD.ORG Mime-Version: 1.0 Cc: questions Date: Mon, 14 Dec 1998 08:21:44 GMT Geoffrey Robinson wrote: > > Recently I installed FreeBSD 2.2.7 for the first time (prior to that I was > using 2.2.5) and discovered an open port I've never seen before: > > tcp 0 0 *.111 *.* LISTEN > > I didn't notice this right away and though somebody had hack me and left a > back door open on port 111 at the time. Soon after that I found port 111 > was open an another system running 2.2.7 that hadn't ever been connected to > the Internet. I looked it up in /etc/services which lists it as Sun Remote > Procedure Call. I check the man pages, /etc/inetd.conf and /etc/rc.conf but > can't find any reference to it. > > I have a pretty good guess what it's for but don't have any use for it. How > to I turn it off? Edit /etc/rc.conf - and make sure 'rpc_portmapper', 'rpc_statd' and any other 'rpc' services are set to 'no'. I've seen a few hacks for RPC services, these mostly tended to be on Linux though... By default rpc_statd and portmapper are enabled on FreeBSD 'clean' installs... - There on my 'normal install' list I run through when setting up new boxes as a reminder to turn them off... ;-) You will probably need them if you use NFS though... -Kp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message