From owner-freebsd-newbies Wed Aug 8 4:39:20 2001 Delivered-To: freebsd-newbies@freebsd.org Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by hub.freebsd.org (Postfix) with ESMTP id 0B48C37B42A for ; Wed, 8 Aug 2001 04:39:14 -0700 (PDT) (envelope-from js@jonsonn.de) Received: from [195.20.224.209] (helo=mrvdom02.schlund.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 15URg8-0001Ko-00 for freebsd-newbies@freebsd.org; Wed, 8 Aug 2001 13:39:12 +0200 Received: from b050a.pppool.de ([213.7.5.10] helo=jonsonn) by mrvdom02.schlund.de with smtp (Exim 2.12 #2) id 15URg7-00028G-00 for freebsd-newbies@FreeBSD.ORG; Wed, 8 Aug 2001 13:39:11 +0200 From: "Jonas Sonntag" To: Subject: AW: open ports Date: Wed, 8 Aug 2001 13:41:09 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i was wondering about the same some time ago and turned off everything i do not actually need. everything but a service called 'SUN Remote Procedure Call' running on tcp 111. i'm still curious to know what this is for, and how i could maybe turn it off, if i don't have use for it. can someone help? i'm using 4.3-RELEASE tnx. j. -----Ursprungliche Nachricht----- Von: owner-freebsd-newbies@FreeBSD.ORG [mailto:owner-freebsd-newbies@FreeBSD.ORG]Im Auftrag von Agemo Noraj Gesendet: Dienstag, 7. August 2001 23:57 An: Thorel Cc: freebsd-newbies@FreeBSD.ORG Betreff: Re: open ports On Tue, 7 Aug 2001, Thorel wrote: > Hi how are you all? > Ok i have a question how do i turn on and of ports on my freebsd computer? > > Thanxs > > Joe Lawrence The quickest way to turn off and on common services is to edit /etc/inetd.conf If you see something that doesn't have a '#' in the beginnging of the line, ask your self if you wan't others to be able to play with that service. Put a '#' in front, and then from the command line, killall -HUP inetd To further complicate the issues, if you want the service available but only to certain hosts, from the command line man hosts.allow or man hosts.deny If you want to have even more control over incoming/outgoing connections, from the command line, man ipfw or man ipf If your wondering what ports you have open on your box. From the command line, netstat -an | grep LISTEN If your wondering what services those ports are, from the command line, grep /etc/services Agemo Noraj -_-_-_-_-_ " What an excellent day for an exorcism. " _-_-_-_-_- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message