X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/6fcb8629ae638cceeead036a7240821c9886fe0f..05073c8113aa670155925cb8e9ccab284bc0a29b:/include/defaults.h diff --git a/include/defaults.h b/include/defaults.h index 99d6447..6584065 100644 --- a/include/defaults.h +++ b/include/defaults.h @@ -34,6 +34,9 @@ /* * First, set other fd limits based on values from user */ + + +#define MAXCONNECTIONS 65535 /* default max connections if getrlimit doesn't work */ /* class {} default values */ #define DEFAULT_SENDQ 20000000 /* default max SendQ */ #define PORTNUM 6667 /* default outgoing portnum */ @@ -52,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