From owner-freebsd-questions Fri Jul 24 23:08:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA14480 for freebsd-questions-outgoing; Fri, 24 Jul 1998 23:08:06 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shell6.ba.best.com (jkb@shell6.ba.best.com [206.184.139.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA14473 for ; Fri, 24 Jul 1998 23:08:05 -0700 (PDT) (envelope-from jkb@best.com) Received: from localhost (jkb@localhost) by shell6.ba.best.com (8.9.0/8.9.0/best.sh) with SMTP id XAA16344; Fri, 24 Jul 1998 23:07:36 -0700 (PDT) X-Authentication-Warning: shell6.ba.best.com: jkb owned process doing -bs Date: Fri, 24 Jul 1998 23:07:35 -0700 (PDT) From: "Jan B. Koum " X-Sender: jkb@shell6.ba.best.com To: Brian Gallucci cc: freebsd-questions@FreeBSD.ORG Subject: Re: Turning Ports Off In-Reply-To: <002301bdb78b$18d6a820$6e00a8c0@brians-workstat.thetingroup.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 Don't write eMail with HTML!!! You don't turn off ports in /etc/services, that file is like a database. You turn off services in /etc/inetd.conf: $ man 5 inetd.conf ; man inetd Are you sure you need port 21? You should use scp (secure copy, part of SSH - secure shell) to copy files between systems. To see which udp ports are open on your system: $ netstat -an | grep udp I am currently finishing up FreeBSD Security How-To .. when I am done (a few more days), I'll post the URL here or something... -- Yan Jan Koum jkb@best.com | "Turn up the lights; I don't want www.FreeBSD.org -- The Power to Serve | to go home in the dark." Observation #1: The more security consultants get paid, the longer their sentences are On Fri, 24 Jul 1998, Brian Gallucci wrote: >I'm running BSD 2.2.5 and I'm try to turn off all the ports in the /etc/services file >I only need ports 80, 21, 110, 25. When I do a port scan it onlys finds these >ports for tcp/ip but then finds alot of udp ports and this is what I want to turn off. >If you can help please let me know. >Thanks Brian > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message