Re: blocked FIN packets

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Stary
Date: Saturday, December 25, 2010 - 12:29 pm

> > All of these FINs go through, but never receive an ACK (why?).

Is there a way to make sure that thsi is what's happening?


With 'set optimization conservative', all the timeouts get
bumped to much bigger values; I no longer see the blocked FINs.
But that's not because they have more time (if the other side
never ACKs my FINs, they will lose state at some point),
but the application (firefox) now sends its FIN much faster,
and it gets ACKed. What does 'optimzation conservative' do
besides bumping up the timeout values. How does that influence
running applications (wrt how they close connections)?


I am not sure. But the first FIN is sent by the other side (moving the
state to closing), we ACK it, and send our FIN (moving the state to
finwait?), which never gets ACKed.


This is indeed the first packet that goes over 90s:
the first (remote) FIN came at 13:08:07
the last FIN we send that goes through is 13:09:24 (i.e. 77s later)
the first FIN that is blocked is at 13:10:28 (i.e. 141s later)
But where does the 90s limt come from? Without further
configuration, pf has a tcp.finwait of 45s.


I am probably misunderstanding something.
"tcp.closing: The state after the first FIN has been sent."
That does not mean the first FIN _we_ sent. The first FIN
was sent by the other side, at 13:08:07.

The state we are in now _is_ tcp.closing, right? The first FIN has been
sent. It's not "tcp.finwait: the state after both FINs have been exchanged",
right? Because the FINs have not been exchanged - our FIN has not been ACKed.
Or does pf consider this finwait already, because we have acked the remote
FIN, and sent our FIN?

Either way, this packet is not the first one to go over tcp.finwait = 45s.
(And it is well withnin tcp.closing = 900s.) So why is this the first
one that got blocked?

 	Thank you for your time

 		Jan
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
blocked FIN packets, Jan Stary, (Wed Dec 22, 3:41 pm)
Re: blocked FIN packets, Forman, Jeffrey, (Wed Dec 22, 5:54 pm)
Re: blocked FIN packets, Jan Stary, (Thu Dec 23, 1:47 am)
Re: blocked FIN packets, Brian Seklecki (Mobile), (Thu Dec 23, 2:45 am)
Re: blocked FIN packets, Daniel E. Hassler, (Thu Dec 23, 3:39 am)
Re: blocked FIN packets, Jan Stary, (Thu Dec 23, 12:17 pm)
Re: blocked FIN packets, Claudio Jeker, (Thu Dec 23, 1:11 pm)
Re: blocked FIN packets, Jan Stary, (Sat Dec 25, 3:07 am)
Re: blocked FIN packets, Jan Stary, (Sat Dec 25, 12:29 pm)