From owner-freebsd-security Fri Apr 5 3:11:21 2002 Delivered-To: freebsd-security@freebsd.org Received: from pa169.kurdwanowa.sdi.tpnet.pl (pa169.kurdwanowa.sdi.tpnet.pl [213.77.148.169]) by hub.freebsd.org (Postfix) with ESMTP id 6198737B405 for ; Fri, 5 Apr 2002 03:10:58 -0800 (PST) Received: from velvet.zaraska.dhs.org (velvet.zaraska.dhs.org [192.168.11.2]) by pa169.kurdwanowa.sdi.tpnet.pl (Postfix) with ESMTP id D64AD1E3D; Fri, 5 Apr 2002 11:10:56 +0000 (GMT) Received: from velvet.zaraska.dhs.org (velvet.zaraska.dhs.org [127.0.0.1]) by velvet.zaraska.dhs.org (8.11.2/8.11.2) with SMTP id g35BArm01237; Fri, 5 Apr 2002 13:10:53 +0200 Date: Fri, 5 Apr 2002 13:10:53 +0200 From: Krzysztof Zaraska To: "Krzysztof Zaraska" Cc: freebsd-security@freebsd.org Subject: Re: Ping problem! Message-Id: <20020405131053.442ecc01.kzaraska@student.uci.agh.edu.pl> In-Reply-To: <20020405125944.10c361c8.kzaraska@student.uci.agh.edu.pl> References: <20020405125944.10c361c8.kzaraska@student.uci.agh.edu.pl> Organization: University Of Mining And Metallurgy X-Mailer: Sylpheed version 0.6.2 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 5 Apr 2002 12:59:44 +0200 Krzysztof Zaraska wrote: > On Fri, 05 Apr 2002 07:44:45 -0000 ozkan_kirik wrote: > > > after i built my kernel, i couldnt ping to anywhere even router, & i > > couldnt ping to my firewall. > > I don't quite understand you... Usually the firewall should be setup the > way allowing you to ping outside host, but the external world should not > be able to ping you. > > > what the problem can be? > > > > the options on kernel are: > > > > IPFIREWALL > > IPDIVERT > > IPFIREWALL_FORWARD > > IPFIREWALL_VERBOSE > > IPFIREWALL_VERBOSE_LIMIT=100 > > IPFIREWALL_DEFAULT_TO_ACCEPT > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > This will let through any traffic not explicitely denied. > > Standard recommended setup is 'default to deny'. > > > IPFILTER > > IPFILTER_LOG > > Are you sure you want to run both ipf and ipfw at the same time? Ooops, missed previous thread on the subject. Sorry. It _makes_ sense. Did you try looking at counters for each firewall rule and/or your logs while pinging? You may have a misconfigured ruleset, ending up in dropping packets that should be let through. Just a guess. -- // Krzysztof Zaraska * kzaraska (at) student.uci.agh.edu.pl // Prelude IDS: http://www.prelude-ids.org/ // A dream will always triumph over reality, once it is given the chance. // -- Stanislaw Lem To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message