From 96f13eb838f9bee37a980170f281d3839deb2719 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 15 Oct 2015 14:46:12 +0200 Subject: l 2 ircd: exempt localhost & retiolum --- lass/2configs/ircd.nix | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'lass/2configs') 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 { -- cgit v1.2.3