summaryrefslogtreecommitdiffstats
path: root/lass/2configs/ircd.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-15 14:46:12 +0200
committerlassulus <lass@aidsballs.de>2015-10-15 14:46:12 +0200
commit96f13eb838f9bee37a980170f281d3839deb2719 (patch)
treed2402d2692b8e616312e893394efce20a9516a28 /lass/2configs/ircd.nix
parent9325827d7830407cc6d224381b8342fd82caeb37 (diff)
l 2 ircd: exempt localhost & retiolum
Diffstat (limited to 'lass/2configs/ircd.nix')
-rw-r--r--lass/2configs/ircd.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/lass/2configs/ircd.nix b/lass/2configs/ircd.nix
index e48bbfd3e..4d2c134b6 100644
--- a/lass/2configs/ircd.nix
+++ b/lass/2configs/ircd.nix
@@ -46,24 +46,28 @@
class "users" {
ping_time = 2 minutes;
- number_per_ident = 200;
- number_per_ip = 200;
- number_per_ip_global = 500;
+ number_per_ident = 10;
+ number_per_ip = 2048;
+ number_per_ip_global = 4096;
cidr_ipv4_bitlen = 24;
cidr_ipv6_bitlen = 64;
- number_per_cidr = 9000;
- max_number = 10000;
- sendq = 400 kbytes;
+ number_per_cidr = 65536;
+ max_number = 3000;
+ sendq = 1 megabyte;
};
exempt {
ip = "127.0.0.1";
};
+ exempt {
+ ip = "10.243.0.0/16";
+ };
+
auth {
user = "*@*";
class = "users";
- flags = exceed_limit;
+ flags = kline_exempt, exceed_limit, flood_exempt;
};
channel {