From: JD Horelick Date: Sun, 4 Apr 2010 21:13:04 +0000 (-0400) Subject: Change the default ident timeout time to 5s to not be as annoying X-Git-Tag: shadowircd-6.1.0~13 X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/commitdiff_plain/4369131cc7d2e3c22d5dbd297e16028b3028121c Change the default ident timeout time to 5s to not be as annoying to clients that don't send an ident and add a TODO item for 6.2 to make ident timeout time configurable in the ircd.conf. Currently it's only configurable in the include/defaults.h (ugly) or on-the-fly with /set (doesn't persist, have to re-set it on each restart/server). --- diff --git a/TODO-SHADOW b/TODO-SHADOW index 447dc22..c99443d 100644 --- a/TODO-SHADOW +++ b/TODO-SHADOW @@ -12,3 +12,4 @@ Todo list for ShadowIRCd 6.2 * pure TS6 compat mode for linking with charybdis/ratbox/etc. * TBAN equivalent (like a extban?) (?) * ELINE - command to make users kline/dline/xline exempt on-the-fly +* Add a configuration option to set the ident_timeout time. diff --git a/include/defaults.h b/include/defaults.h index 5edd8b8..6584065 100644 --- a/include/defaults.h +++ b/include/defaults.h @@ -55,7 +55,7 @@ #define CLIENT_FLOOD_MIN 10 #define LINKS_DELAY_DEFAULT 300 #define MAX_TARGETS_DEFAULT 4 /* default for max_targets */ -#define IDENT_TIMEOUT 10 +#define IDENT_TIMEOUT 5 #define MIN_JOIN_LEAVE_TIME 60 #define MAX_JOIN_LEAVE_COUNT 25 #define OPER_SPAM_COUNTDOWN 5