git://git.onelab.eu
/
distributedratelimiting.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweaked the timing of flow expiration back down.
[distributedratelimiting.git]
/
drl
/
raterouter.h
diff --git
a/drl/raterouter.h
b/drl/raterouter.h
index
28c6c7f
..
789cd95
100644
(file)
--- a/
drl/raterouter.h
+++ b/
drl/raterouter.h
@@
-42,6
+42,7
@@
enum accountings { ACT_STANDARD = 1, ACT_SAMPLEHOLD = 2, ACT_SIMPLE = 3 };
/* global constants */
#define IDENT_CLEAN_INTERVAL 5 /* in seconds */
/* global constants */
#define IDENT_CLEAN_INTERVAL 5 /* in seconds */
+
#define LIMITER_LISTEN_PORT 9001
/**
#define LIMITER_LISTEN_PORT 9001
/**
@@
-56,7
+57,9
@@
enum accountings { ACT_STANDARD = 1, ACT_SAMPLEHOLD = 2, ACT_SIMPLE = 3 };
*
* This is used for FPS only. See estimate.c
*/
*
* This is used for FPS only. See estimate.c
*/
-#define FLOW_START_THRESHOLD (4096)
+#define FLOW_START_THRESHOLD (6000)
+
+#define CLOSE_ENOUGH (0.99)
/**
* All fields come from the ip protocol header.
/**
* All fields come from the ip protocol header.