Improved rate limit logic for QoS/ACK packets. Also reduced how often processBackgroundPathMeasurements() is called
This commit is contained in:
parent
7c53adbcfe
commit
6fddf31db3
4 changed files with 27 additions and 29 deletions
|
@ -289,7 +289,7 @@
|
|||
* CUTOFF_LIMIT times per CUTOFF_TIME milliseconds per peer to prevent
|
||||
* this from being useful for DOS amplification attacks.
|
||||
*/
|
||||
#define ZT_PATH_QOS_ACK_CUTOFF_LIMIT 16
|
||||
#define ZT_PATH_QOS_ACK_CUTOFF_LIMIT 128
|
||||
|
||||
/**
|
||||
* Path choice history window size. This is used to keep track of which paths were
|
||||
|
@ -372,11 +372,6 @@
|
|||
*/
|
||||
#define ZT_PATH_MAX_OUTSTANDING_QOS_RECORDS 128
|
||||
|
||||
/**
|
||||
* How often we check the age of QoS records
|
||||
*/
|
||||
#define ZT_PATH_QOS_RECORD_PURGE_INTERVAL 1000
|
||||
|
||||
/**
|
||||
* Timeout for QoS records
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue