[EMAIL PROTECTED] (Charles Sprickman) wrote in message 
news:<b0nn8p$2akl$[EMAIL PROTECTED]>...
> On Wed, 22 Jan 2003, David Pick wrote:
> 
> > DNS "answers" returning late after a timeout. If your resolver/
> > resolving-cache sends queries to multiple servers, one answer
> > can come back and satisfy your resolver but another (duplicate)
> > can be delayed enough to fall outside the interval the state-
> > table rule is kept for it. Late versions of IPFiilter allow
> > you to specify the timeout(s) for the table entries on
> 
> Ahhh.  Good question for the djbdns list.  I shall don asbestos suit and
> ask if it's not clear from the FAQ/archives.
> 
> Any info on whether these timings can be tweaked in the source or not?
> I'm currently locked into the stock ipfilter on FreeBSD 4.6 which is
> v3.4.27.  Is that new enough to tweak the timings in the rules?
> 
> Any other info on this topic is welcomed...

I'm seeing similar behavior, and it doesn't appear to be related to late
answers. Here's a sample from my logfile:
Jan 23 07:55:15 firewallhost ipmon[55]: 07:55:15.009999 4x de0 @231:8 p EXTADDR,1896 
-> 149.174.211.5,53 PR udp len 20 86 K-S K-F OUT 
Jan 23 07:55:15 firewallhost ipmon[55]: 07:55:15.107151 de0 @231:8 p 149.174.211.5,53 
-> EXTADDR,1896 PR udp len 20 133 K-S K-F IN 
Jan 23 07:55:15 firewallhost ipmon[55]: 07:55:15.107552 3x de0 @100:3 b 
149.174.211.11,53 -> EXTADDR,1896 PR udp len 20 133 IN 

Here are the relevant rules. Logging on the 'pass' rule is turned on only for
testing:
@8 pass out log quick on de0 proto udp from EXTADDR/32 to any port = 53 keep state 
keep frags group 231
@3 block in log quick on de0 from any to any head 130 group 100

EXTADDR is the external address of my firewall. 1896 is the current DNS query
port. de0 is my external interface.

It looks like the remote DNS is returning two packets, and the state entry is
getting removed after the first arrives. Does that sound correct?

        Thanks,

        Robert Shull

Reply via email to