Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 13:58:56 +0500
From:      Sergey Klusov <shy@geoseis.t72.ru>
To:        freebsd-ipfw@FreeBSD.ORG
Subject:   Re[2]: ipfw2
Message-ID:  <8817291854.20030131135856@geoseis.t72.ru>
In-Reply-To: <E18eW4B-0000s1-00@m218-3.phy.cam.ac.uk>
References:  <124904071.20030130102535@geoseis.t72.ru> <E18eW4B-0000s1-00@m218-3.phy.cam.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8817291854.20030131135856>