lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 11 Jan 2007 22:29:32 +1100
From:	Herbert Xu <herbert.xu@...hat.com>
To:	David Miller <davem@...emloft.net>
Cc:	vyekkirala@...stedcs.com, jmorris@...ei.org,
	netdev@...r.kernel.org, paul.moore@...com
Subject: Re: [IPSEC] flow: Cache negative results

On Wed, Jan 10, 2007 at 10:06:05PM -0800, David Miller wrote:
> 
> One thing we could do is force a full flow cache flush when some
> percentage before the generation count would overflow.  Say every
> %80 of the generation ID space?  That gives enough space to ensure
> the flush tasklet runs before the ID really does wrap.

Yes that would be a good solution.  It'd prevent overflows from causing
any damage and is also pretty light weight (just a single comparison
every time the genid changes).

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ