diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-12-21 13:50:59 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-12-21 13:50:59 +0000 |
commit | 6d37133f5c98dadf6eb17f7f6854290f572dd4ad (patch) | |
tree | df9f738ff31da229f5f48664924a2d3ffea845fb | |
parent | a2eb348ebb6bb3172aa46dd132befe2a24c2d302 (diff) | |
download | conntrack-tools-6d37133f5c98dadf6eb17f7f6854290f572dd4ad.tar.gz conntrack-tools-6d37133f5c98dadf6eb17f7f6854290f572dd4ad.zip |
raise ignorepoll limit from 1024 to INT_MAX
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/ignore_pool.c | 5 |
2 files changed, 4 insertions, 2 deletions
@@ -16,6 +16,7 @@ o syslog support (based on patch from Simon Lodal) o add CacheWriteThrough clause: external cache write through policy o add support for secmark (requires Linux kernel >= 2.6.25) o add conntrackd (8) manpage +o raise ignorepool maximum limit from 1024 to INT_MAX version 0.9.5 (2007/07/29) ------------------------------ diff --git a/src/ignore_pool.c b/src/ignore_pool.c index d6f0e93..619c2fa 100644 --- a/src/ignore_pool.c +++ b/src/ignore_pool.c @@ -22,8 +22,9 @@ #include "ignore.h" #include <libnetfilter_conntrack/libnetfilter_conntrack.h> -#define IGNORE_POOL_SIZE 32 -#define IGNORE_POOL_LIMIT 1024 +/* XXX: These should be configurable */ +#define IGNORE_POOL_SIZE 128 +#define IGNORE_POOL_LIMIT INT_MAX static u_int32_t hash(const void *data, struct hashtable *table) { |