bug in ipt_recent.c
Stephen Frost
sfrost@snowman.net
Wed, 13 Feb 2002 22:57:40 -0500
--hp5Mu6hJkc9hZLmH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
* Patrick McHardy (kaber@trash.net) wrote:
> While playing around with the recent module I noticed
> when new entries are added to the recent table old
> ones are overwritten.
> Attached is a patch which fixes the problem.
Hello,
Could you elaborate more on the problem you're seeing? I'm guessing
it's the situation when addresses have been manually removed from the
list? Old entries do have to be overwritten once the table is full, of
course.
Just to give you and others a heads-up, I'm working on a hash-based
version of ipt_recent which is much more efficient. I'm currently
testing it for both correctness and speed but hopefully I'll have a
patch before too long. The new version will also give the option to
pick on a per-table basis the address to use (source or destination).
Stephen
--hp5Mu6hJkc9hZLmH
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8azWzrzgMPqB3kigRApqkAJ0bSUceJyGPdLZNutsQYj7iOP3qWgCfQRLz
2vU8mzvV8Z+mQcLTuuXyxTE=
=aifK
-----END PGP SIGNATURE-----
--hp5Mu6hJkc9hZLmH--