From owner-freebsd-questions Sun Sep 12 10:17: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt014nb6.san.rr.com (dt014nb6.san.rr.com [24.30.129.182]) by hub.freebsd.org (Postfix) with ESMTP id 93F1B14A06 for ; Sun, 12 Sep 1999 10:16:30 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gorean.org (master [10.0.0.2]) by dt014nb6.san.rr.com (8.9.3/8.8.8) with ESMTP id KAA04655; Sun, 12 Sep 1999 10:16:29 -0700 (PDT) (envelope-from Doug@gorean.org) Message-ID: <37DBDFED.B4F9C2E7@gorean.org> Date: Sun, 12 Sep 1999 10:16:29 -0700 From: Doug Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT-0904 i386) X-Accept-Language: en MIME-Version: 1.0 To: Ryan McCullough Cc: questions@FreeBSD.ORG Subject: Re: Closing ports References: <19990912065059.50518.qmail@hotmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ryan McCullough wrote: > > I am currently using a cable modem so I have a static ip. How do I close any > open ports that I am not using. I have dectected 4 ports open that should > not be there. I think someone is trying to steal my bandwith or trying to > hack into my network. That's always possible, especially with a cable modem, but it's not very likely. We could give you more help if you told us which ports are open, and why you think they shouldn't be. In general, you want to find out what program has the port open and kill it if you shouldn't be running it. If you are using Freebsd 3.1 or newer, use the 'sockstat' program to tell you this information. If you're not, you should upgrade to 3.3 when it becomes available, or cvsup 3.x-Stable if you're comfortable with that. If you're still having trouble after all that, send us the output of 'netstat -a', 'netstat -an', and 'sockstat' and point out what is open that you don't want to be; and we'll try to help you further. Good luck, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message