Re: TCP connection tracking timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 31, 2008 at 09:26:40PM +0200, Jozsef Kadlecsik wrote:
>
> So what do you suggest ;-)?

Out of a nutshell, let's divide the existing u8 state into two
separate states, each 4 bits wide.  They should be used to track
the two directions separately using the same logic that we currently
have.

The timout should then be computed as the maximum of that of each
state.  However, the overall timeout should be the minimum of this
and that given by the retransmit logic (This is because the logic
for retransmits is to detect the death of the connection at the
sender, in which case both directions evaporate).

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux