From owner-freebsd-questions Wed Oct 18 1:36:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from siafu.iconnect.co.ke (upagraha.iconnect.co.ke [209.198.248.2]) by hub.freebsd.org (Postfix) with ESMTP id 8C93837B4C5 for ; Wed, 18 Oct 2000 01:36:24 -0700 (PDT) Received: from [212.22.163.2] (helo=poeza.iconnect.co.ke) by siafu.iconnect.co.ke with esmtp (Exim 2.12 #1) id 13logw-000BtS-00 for freebsd-questions@freebsd.org; Wed, 18 Oct 2000 11:35:18 +0300 Received: from wash by poeza.iconnect.co.ke with local (Exim 3.16 #1) id 13loj5-0001Me-00 for freebsd-questions@freebsd.org; Wed, 18 Oct 2000 11:37:31 +0300 Date: Wed, 18 Oct 2000 11:37:31 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Subject: Re: how do you close port 587: unknown service? Message-ID: <20001018113730.H99856@poeza.iconnect.co.ke> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from "Bennett Hui" on Wed, Oct 18, 2000 at 01:32:24AM -0700 X-Operating-System: FreeBSD poeza.iconnect.co.ke 3.5-STABLE FreeBSD 3.5-STABLE X-Mailer: Mutt http://www.mutt.org/ X-Location: Mombasa, KE, East Africa Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Bennett Hui [20001018 11:34]: =>Thanks for the replies on some of the open ports on my webserver, I've =>closed off all unnecessary ports except for one that no one seems to know =>what it's used for. I'm not so concerned as to what service runs on it, but =>more over how to close this port. When I do a portscan on my box, I get the =>following information: => =>192.168.1.x :21 ftp =>192.168.1.x :22 ssh SSH Remote Login Protocol =>192.168.1.x :23 telnet =>192.168.1.x :25 smtp mail =>192.168.1.x :53 domain nameserver =>192.168.1.x :80 www-http World Wide Web HTTP =>192.168.1.x :587 unknown service. => =>It would be great if anyone knew what port 587 was used for (it just came =>with my install of 4.1.1-RELEASE), but more importantly how can I close it =>off. I suppose the quick and easy way would be to block it off with ipfw, =>but is there a line in a config file where I can disable this service? I did not have time to read ALL but I believe the clue is right in front of you in /etc/services ;) HTH -Wash -- Odhiambo Washington Inter-Connect Ltd., wash@iconnect.co.ke 5th Flr Furaha Plaza Tel: 254 11 222604 Nkrumah Rd., Fax: 254 11 222636 PO Box 83613 MOMBASA, KENYA. The best thing to do with the best things in life is to give them up. -Dorothy Day To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message