mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-14 16:09:32 +01:00
Merge remote-tracking branch 'slingamn/default_tweaks'
This commit is contained in:
commit
90bb3f79d3
@ -30,7 +30,7 @@ const (
|
|||||||
// QuitTimeout is how long without traffic (after they're considered idle) that clients are killed.
|
// QuitTimeout is how long without traffic (after they're considered idle) that clients are killed.
|
||||||
QuitTimeout = time.Minute
|
QuitTimeout = time.Minute
|
||||||
// IdentTimeoutSeconds is how many seconds before our ident (username) check times out.
|
// IdentTimeoutSeconds is how many seconds before our ident (username) check times out.
|
||||||
IdentTimeoutSeconds = 5
|
IdentTimeoutSeconds = 1.5
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -75,10 +75,10 @@ server:
|
|||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
# how wide the cidr should be for IPv4
|
# how wide the cidr should be for IPv4
|
||||||
cidr-len-ipv4: 24
|
cidr-len-ipv4: 32
|
||||||
|
|
||||||
# how wide the cidr should be for IPv6
|
# how wide the cidr should be for IPv6
|
||||||
cidr-len-ipv6: 120
|
cidr-len-ipv6: 64
|
||||||
|
|
||||||
# maximum number of IPs per subnet (defined above by the cird length)
|
# maximum number of IPs per subnet (defined above by the cird length)
|
||||||
ips-per-subnet: 16
|
ips-per-subnet: 16
|
||||||
@ -104,7 +104,7 @@ server:
|
|||||||
duration: 10m
|
duration: 10m
|
||||||
|
|
||||||
# maximum number of connections, per subnet, within the given duration
|
# maximum number of connections, per subnet, within the given duration
|
||||||
max-connections: 12
|
max-connections: 64
|
||||||
|
|
||||||
# how long to ban offenders for, and the message to use
|
# how long to ban offenders for, and the message to use
|
||||||
# after banning them, the number of connections is reset (which lets you use UNDLINE to unban people)
|
# after banning them, the number of connections is reset (which lets you use UNDLINE to unban people)
|
||||||
|
Loading…
Reference in New Issue
Block a user