Bridge routing table - GitHub issue #68
This commit is contained in:
parent
6f831d5370
commit
d44e1349d8
3 changed files with 69 additions and 3 deletions
|
@ -396,4 +396,15 @@ error_no_byte_order_defined;
|
|||
*/
|
||||
#define ZT_UPDATE_HTTP_TIMEOUT 30
|
||||
|
||||
/**
|
||||
* Sanity limit on maximum bridge routes
|
||||
*
|
||||
* If the number of bridge routes exceeds this, we cull routes from the
|
||||
* bridges with the most MACs behind them until it doesn't. This is a
|
||||
* sanity limit to prevent memory-filling DOS attacks, nothing more. No
|
||||
* physical LAN has anywhere even close to this many nodes. Note that this
|
||||
* does not limit the size of ZT virtual LANs, only bridge routing.
|
||||
*/
|
||||
#define ZT_MAX_BRIDGE_ROUTES 67108864
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue