Fix infinite loop in Cluster, clean up some stuff elsewhere, and back out rate limiting in PUSH_DIRECT_PATHS for now (but we will do something else to mitigate amplification attacks)
This commit is contained in:
parent
54a99d8e32
commit
a1a0ee4edb
7 changed files with 16 additions and 100 deletions
|
@ -324,11 +324,6 @@
|
|||
*/
|
||||
#define ZT_DIRECT_PATH_PUSH_INTERVAL 120000
|
||||
|
||||
/**
|
||||
* Minimum interval between direct path pushes from a given peer or we will ignore them
|
||||
*/
|
||||
#define ZT_DIRECT_PATH_PUSH_MIN_RECEIVE_INTERVAL 2000
|
||||
|
||||
/**
|
||||
* How long (max) to remember network certificates of membership?
|
||||
*
|
||||
|
@ -355,7 +350,7 @@
|
|||
/**
|
||||
* Maximum number of endpoints to contact per address type (to limit pushes like GitHub issue #235)
|
||||
*/
|
||||
#define ZT_PUSH_DIRECT_PATHS_MAX_ENDPOINTS_PER_TYPE 8
|
||||
#define ZT_PUSH_DIRECT_PATHS_MAX_ENDPOINTS_PER_TYPE 2
|
||||
|
||||
/**
|
||||
* A test pseudo-network-ID that can be joined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue