From owner-freebsd-questions Mon Sep 30 17:41:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E0EE37B401 for ; Mon, 30 Sep 2002 17:41:27 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D704443E4A for ; Mon, 30 Sep 2002 17:41:25 -0700 (PDT) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (patr530-b240.otenet.gr [212.205.244.248]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g910fGVb024551; Tue, 1 Oct 2002 03:41:21 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.6/8.12.6) with ESMTP id g910f0uc018685; Tue, 1 Oct 2002 03:41:19 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by hades.hell.gr (8.12.6/8.12.6/Submit) id g8UNnD0V013128; Tue, 1 Oct 2002 02:49:13 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 1 Oct 2002 02:49:13 +0300 From: Giorgos Keramidas To: Derrick Ryalls Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 4.7 RC problem Message-ID: <20020930234912.GA1535@hades.hell.gr> References: <000501c2684f$eb276d90$0200a8c0@bartxp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c2684f$eb276d90$0200a8c0@bartxp> X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-09-30 00:06, Derrick Ryalls wrote: > After some hardware issues were resolved, I did a cvsup to get > everything up to date and ready for a kernel compile. The o/s will > eventually be used as a router, but for now it has just one nic. > cvsup goes fine, and I start the buildworld. No errors through the > whole process, so I reboot to switch to the new kernel. The machine is > now dead to me, it won't respond to pings/ssh/begging. On site, the box > is running, and my brother can log in fine (directly, not via ssh). > When I ask him to ping around or even ping localhost, it comes up with > "ping: sendto: permission denied". This is definitely a firewall, although not very obvious which one of them all :-) The message is identical to what happens when I load the ipfw.ko module (one of the firewalls available for FreeBSD) without configuring any rules to allow some traffic through the firewall. See the sample transcript below (note that I am running all the commands as `root', the superuser): root@hades[02:39]/root# kldload ipfw ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled root@hades[02:41]/root# ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ping: sendto: Permission denied ^C root@hades[02:42]/root# ipfw add 1 pass ip from any to any 00001 allow ip from any to any root@hades[02:42]/root# ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=1.084 ms ^C You have obviously enabled one of the firewalls, in your new kernel config but didn't configure anything to let packets through before rebooting. Does your kernel config include any of the following? options IPFIREWALL #firewall options IPFILTER #ipfilter support Giorgos. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message