From owner-freebsd-ipfw Fri Jan 31 1: 4: 1 2003 Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AFB037B401 for ; Fri, 31 Jan 2003 01:03:59 -0800 (PST) Received: from mail.geoseis.t72.ru (geoseis.t72.ru [193.111.45.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id C638443F3F for ; Fri, 31 Jan 2003 01:03:57 -0800 (PST) (envelope-from shy@geoseis.t72.ru) Received: from leon.geoseis (leon.geoseis [192.168.1.10]) by tower.geoseis.t72.ru (8.12.6/8.11.6) with ESMTP id h0V8wu9l030433 for ; Fri, 31 Jan 2003 13:59:14 +0500 (YEKT) (envelope-from shy@geoseis.t72.ru) Date: Fri, 31 Jan 2003 13:58:56 +0500 From: Sergey Klusov X-Mailer: The Bat! (v1.62 Christmas Edition) Reply-To: freebsd-ipfw@FreeBSD.ORG X-Priority: 3 (Normal) Message-ID: <8817291854.20030131135856@geoseis.t72.ru> To: freebsd-ipfw@FreeBSD.ORG Subject: Re[2]: ipfw2 In-Reply-To: References: <124904071.20030130102535@geoseis.t72.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello AMAKAWA, Friday, January 31, 2003, 12:58:27 PM, you wrote: AS> At Thu, 30 Jan 2003 10:25:35 +0500, AS> Sergey Klusov wrote: >> >> ipfw add 50 divert natd all from any to any via ${extif} >> ipfw add 100 check-state >> ipfw add 200 deny log tcp from any to any established >> ipfw add 300 permit tcp from any to any setup >> >> almost always there is a logged message like this, WHEN the connection >> terminates >> Everything works fine but full log of this: >> >> Jan 10 12:04:24 tower /kernel: ipfw: 200 Deny TCP 217.66.99.188:80 193.111.x.x:1147 in via rl1 >> >> i've tried to intercept this packets with tcpdump and figured out, >> what those packets logged are TCP packets with FIN flag. And it seems, >> that many hosts send multiple FIN packets, wich causes to remove >> dynamic rule on first FIN packet and then log that message above on >> all subsequent packets. >> Also i must notice that it is not diverted packets logged, because we >> use squid, which is on the same host. So i doubt what this is a NAT >> issue. >> >> Any ideas? AS> I think you keep-state at 300. sure it's there, i just forgot to type it in e-mail AS> Does AS> sysctl net.inet.ip.fw.dyn_fin_lifetime=4 AS> possibly change anything? yes but little still many messages -- Best regards, Sergey mailto:shy@geoseis.t72.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message