From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 09:07:20 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D32F10657B2 for ; Wed, 7 Oct 2009 09:07:20 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id D1A088FC0A for ; Wed, 7 Oct 2009 09:07:19 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n9796wKd007700; Wed, 7 Oct 2009 11:07:13 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n9796vWU007699; Wed, 7 Oct 2009 11:06:57 +0200 (CEST) (envelope-from olli) Date: Wed, 7 Oct 2009 11:06:57 +0200 (CEST) Message-Id: <200910070906.n9796vWU007699@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, fbsd@bomgardner.net In-Reply-To: <20091006214115.M53910@brightstar.bomgardner.net> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 07 Oct 2009 11:07:13 +0200 (CEST) Cc: Subject: Re: FBSD 7.2 - ports blocked but no firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, fbsd@bomgardner.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2009 09:07:20 -0000 Gene wrote: > On Tue, 6 Oct 2009 11:05:19 -0700, Chris Cowart wrote > > Gene wrote: > > > I'm running 7.2 GENERIC and installed the unrealirc port. I've started it up > > > and can connect from localhost just fine. But when attempting to connect from > > > the outside world (eg. from another box on the lan) I get connection refused. > > > > > > I've tried both with and without ipfilter running (with appropriate rule). > > > Other ports are reachable including a non-standard port used for ssh. > > > > > > The question: Could there be any reason that port 6667 might be blocked? > > > (Unrealircd questions can be taken up elsewhere). > > > > It's possible you've configured Unrealircd to only listen on > > localhost and not on "*". > > > > Look for something like: > > > > | listen *:6697 > > | { > > | ... > > | }; > > > > And make sure it's "*" and not "127.0.0.1". > > Checked and it's correct. Please check the output from this command: sockstat -l | grep :6667 It will tell you if the daemon is listening on localhost only or on all interfaces. This will narrow done the cause of the problem: If the daemon listens on localhost, then it's a configuration problem with that daemon. If it listens on all interfaces ("*"), then the problem is somewhere else, e.g. a packet filter (on the server or client side, or somewhere between), or maybe a typo when starting the client (wrong port number or address). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "We will perhaps eventually be writing only small modules which are identi- fied by name as they are used to build larger ones, so that devices like indentation, rather than delimiters, might become feasible for expressing local structure in the source language." -- Donald E. Knuth, 1974