1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
--- include/config.h.orig Fri Apr 12 05:04:53 2002
+++ include/config.h Tue Apr 15 15:53:06 2003
@@ -66,8 +66,8 @@
* system limits. If you know what you are doing, increase them now
*/
-#define HARD_FDLIMIT_ 256 /* was 256 */
-#define INIT_MAXCLIENTS 200 /* was 200 */
+#define HARD_FDLIMIT_ 512 /* was 256 */
+#define INIT_MAXCLIENTS 400 /* was 200 */
/*
* This is how many 'buffer connections' we allow...
@@ -125,15 +125,15 @@
*/
#define DPATH "/"
-#define SPATH "bin/dancer-ircd"
-#define CPATH "etc/dancer-ircd/ircd.conf"
-#define KPATH "var/lib/dancer-ircd/kline.conf"
-#define DLPATH "var/lib/dancer-ircd/dline.conf"
-#define MPATH "etc/dancer-ircd/motd"
-#define LPATH "var/log/dancer-ircd/ircd.log"
-#define PPATH "var/run/dancer-ircd.pid"
-#define HPATH "etc/dancer-ircd/ohelp"
-#define OPATH "etc/dancer-ircd/omotd"
+#define SPATH "@@prefix@@/bin/dancer-ircd"
+#define CPATH "@@prefix@@/etc/dancer-ircd/ircd.conf"
+#define KPATH "@@prefix@@/etc/dancer-ircd/kline.conf"
+#define DLPATH "@@prefix@@/etc/dancer-ircd/dline.conf"
+#define MPATH "@@prefix@@/etc/dancer-ircd/motd"
+#define LPATH "/var/log/dancer-ircd/ircd.log"
+#define PPATH "/var/run/dancer-ircd/dancer-ircd.pid"
+#define HPATH "@@prefix@@/etc/dancer-ircd/ohelp"
+#define OPATH "@@prefix@@/etc/dancer-ircd/omotd"
/* HIDE_OPS
* Define this to prevent non chanops from seeing what ops a channel has
@@ -173,12 +173,12 @@
/* NETWORK_NAME
* Displayed in place of the servername when SERVERHIDE is enabled
*/
-#define NETWORK_NAME "irc.openprojects.net"
+#define NETWORK_NAME "irc.example.net"
/* NETWORK_DESC
* Displayed in place of the server info when SERVERHIDE is enabled
*/
-#define NETWORK_DESC "http://www.openprojects.net/"
+#define NETWORK_DESC "http://www.example.net/"
/* USE_SERVICES
* Defines whether or not you're using services on your network
@@ -246,7 +246,7 @@
*/
#define SAVE_MAXCLIENT
#ifdef SAVE_MAXCLIENT
-# define MXPATH "etc/dancer-ircd/ircd.max"
+# define MXPATH "@@prefix@@/etc/dancer-ircd/ircd.max"
# define SAVE_TIME 3600
#endif
@@ -683,7 +683,7 @@
* the net. for a leaf, 2 is fine. If the number of servers seen
* on the net gets less than 2, a split is deemed to have happened.
*/
-#define SPLIT_SMALLNET_SIZE 2
+#define SPLIT_SMALLNET_SIZE 0
/*
* SPLIT_SMALLNET_USER_SIZE defines how many global users on the
@@ -693,7 +693,7 @@
* number of users seen on net > SPLIT_SMALLNET_USER_SIZE start
* counting down the SERVER_SPLIT_RECOVERY_TIME
*/
-#define SPLIT_SMALLNET_USER_SIZE 2 /* was 10000 */
+#define SPLIT_SMALLNET_USER_SIZE 0 /* was 10000 */
/*
* SPLIT_PONG will send a PING to a server after the connect burst.
@@ -703,13 +703,13 @@
* you should be able to crank DEFAULT_SERVER_SPLIT_RECOVERY_TIME
* down to 1.
*/
-#define SPLIT_PONG
+#undef SPLIT_PONG
/*
* DEFAULT_SERVER_SPLIT_RECOVERY_TIME - determines how long to delay split
* status after resyncing
*/
-#define DEFAULT_SERVER_SPLIT_RECOVERY_TIME 1
+#define DEFAULT_SERVER_SPLIT_RECOVERY_TIME 0
/* LIMIT_UH
* If this is defined, Y line limit is made against the actual
@@ -864,7 +864,7 @@
* it will show up in /list
*/
-#define MIN_USERS_FOR_LIST 4
+#define MIN_USERS_FOR_LIST 2
/* USE_KNOCK
* KNOCK allows users to send a "knock" to a +i channel.
|