From owner-freebsd-questions@FreeBSD.ORG Tue Jan 2 20:07:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9265216A407 for ; Tue, 2 Jan 2007 20:07:13 +0000 (UTC) (envelope-from jurjenm@stack.nl) Received: from mx1.stack.nl (meestal.stack.nl [131.155.140.141]) by mx1.freebsd.org (Postfix) with ESMTP id 2960913C458 for ; Tue, 2 Jan 2007 20:07:13 +0000 (UTC) (envelope-from jurjenm@stack.nl) Received: by mx1.stack.nl (Postfix, from userid 65534) id 609FA4B066; Tue, 2 Jan 2007 21:07:12 +0100 (CET) X-Spam-DCC: CTc-dcc2: snail.stack.nl 1031; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on snail.stack.nl X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.5 X-Spam-Relay-Country: NL Received: from jurjen (a62-251-106-27.adsl.xs4all.nl [62.251.106.27]) by mailhost.stack.nl (Postfix) with ESMTP id E29C44B00B for ; Tue, 2 Jan 2007 21:07:07 +0100 (CET) Received: by jurjen (sSMTP sendmail emulation); Tue, 2 Jan 2007 21:06:40 +0100 From: "Jurjen Middendorp" Date: Tue, 2 Jan 2007 21:06:40 +0100 To: freebsd-questions Message-ID: <20070102200640.GA7476@jurjenm.stack.nl> Mail-Followup-To: freebsd-questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: ipfw denies everything and i can open websites? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2007 20:07:13 -0000 Hello, i have configured my firewall, but after i do "ipfw -q flush" i am still able to visit websites, download my e-mail, etc. I thought the default action of ipfw was to deny everything and ipfw show confirms that... Why am i able to go on the internet? Is this weird behaviour or is there something i don't understand about ipfw/firewalls?? I am behind a router (NAT) and get my ip with dhcp. Here is a litle log from what happens if i try to open a random website (blah.org) after i disable my firewall. [jurjen@jurjen ~]$ su Password: [root@jurjen /home/jurjen]# fw_uit 65535 2 616 deny ip from any to any [root@jurjen /home/jurjen]# tcpdump tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on ath0, link-type EN10MB (Ethernet), capture size 96 bytes 20:41:44.919465 IP jurjen.lan.55071 > SpeedTouch.lan.domain: 4879+ A? blah.org. (26) 20:41:45.062650 IP SpeedTouch.lan.domain > jurjen.lan.55071: 4879 1/0/0 A 205.150.150.140 (42) 20:41:45.062889 IP jurjen.lan.53038 > SpeedTouch.lan.domain: 4880+ AAAA? blah.org. (26) 20:41:45.173416 IP SpeedTouch.lan.domain > jurjen.lan.53038: 4880 0/1/0 (98) 20:41:45.173790 IP jurjen.lan.56029 > 205.150.150.140.http: S 1223552665:1223552665(0) win 65535 20:41:45.288590 IP 205.150.150.140.http > jurjen.lan.56029: S 3294004362:3294004362(0) ack 1223552666 win 16384 20:41:45.288662 IP jurjen.lan.56029 > 205.150.150.140.http: . ack 1 win 33304 20:41:45.288924 IP jurjen.lan.56029 > 205.150.150.140.http: P 1:395(394) ack 1 win 33304 20:41:45.441225 IP 205.150.150.140.http > jurjen.lan.56029: . 1:1449(1448) ack 395 win 65141 20:41:45.442758 IP 205.150.150.140.http > jurjen.lan.56029: P 1449:2533(1084) ack 395 win 65141 20:41:45.442812 IP jurjen.lan.56029 > 205.150.150.140.http: . ack 2533 win 32762 20:41:45.591472 IP jurjen.lan.56029 > 205.150.150.140.http: P 395:720(325) ack 2533 win 33304 20:41:45.760525 IP 205.150.150.140.http > jurjen.lan.56029: P 3981:4328(347) ack 720 win 64816 20:41:45.760603 IP jurjen.lan.56029 > 205.150.150.140.http: . ack 2533 win 33304 20:41:45.763003 IP 205.150.150.140.http > jurjen.lan.56029: . 2533:3981(1448) ack 720 win 64816 20:41:45.763045 IP jurjen.lan.56029 > 205.150.150.140.http: . ack 4328 win 32406 20:41:46.021900 IP jurjen.lan.62273 > SpeedTouch.lan.domain: 23988+ PTR? 140.150.150.205.in-addr.arpa. (46) 20:41:46.255700 IP SpeedTouch.lan.domain > jurjen.lan.62273: 23988 NXDomain 0/1/0 (117) 20:42:02.361174 IP sys00.lan.netbios-dgm > 10.0.0.255.netbios-dgm: NBT UDP PACKET(138) And the website has loaded... how is this possible?? greets, jurjen