review fixes

This commit is contained in:
Shivaram Lingamneni 2019-11-23 21:07:45 -05:00
parent 42db1778ac
commit 41497c1b51
1 changed files with 8 additions and 8 deletions

View File

@ -148,22 +148,22 @@ server:
ip-limits: ip-limits:
# whether to enforce limits on the total number of concurrent connections per IP/CIDR # whether to enforce limits on the total number of concurrent connections per IP/CIDR
limit: true limit: true
# maximum concurrent connections per subnet # maximum concurrent connections per IP/CIDR
max-concurrent-connections: 16 max-concurrent-connections: 16
# whether to restrict the rate of new connections per IP/CIDR # whether to restrict the rate of new connections per IP/CIDR
throttle: true throttle: true
# how long to keep track of connections for # how long to keep track of connections for
window: 10m window: 10m
# maximum number of connections, per subnet, within the given duration # maximum number of new connections per IP/CIDR within the given duration
max-connections-per-window: 32 max-connections-per-window: 32
# how long to ban offenders for # how long to ban offenders for. after banning them, the number of connections is
# after banning them, the number of connections is reset (which lets you use UNDLINE to unban people) # reset, which lets you use /UNDLINE to unban people
throttle-ban-duration: 10m throttle-ban-duration: 10m
# how wide the CIDR should be for IPv4 (a /32 is a fully specified IPv4 address) # how wide the CIDR should be for IPv4 (a /32 is a fully specified IPv4 address)
cidr-len-ipv4: 32 cidr-len-ipv4: 32
# how wide the cidr should be for IPv6 (a /64 is the typical prefix assigned # how wide the CIDR should be for IPv6 (a /64 is the typical prefix assigned
# by an ISP to an individual customer for their LAN) # by an ISP to an individual customer for their LAN)
cidr-len-ipv6: 64 cidr-len-ipv6: 64
@ -173,7 +173,7 @@ server:
# - "192.168.1.1" # - "192.168.1.1"
# - "2001:0db8::/32" # - "2001:0db8::/32"
# custom connection limits for certain IPs/networks. Note that CIDR # custom connection limits for certain IPs/networks. note that CIDR
# widths defined here override the default CIDR width --- the limit # widths defined here override the default CIDR width --- the limit
# will apply to the entire CIDR no matter how large or small it is # will apply to the entire CIDR no matter how large or small it is
custom-limits: custom-limits: