+2007-03-05 Michael Poole <mdpoole@troilus.org>
+
+ * tests/ircd.conf: Make into a hub.
+
+ * tests/ircd-2.conf: New file, for a second server.
+
+ * tests/ircd-3.conf: Configuration for a third server.
+
2007-03-04 Michael Poole <mdpoole@troilus.org>
* ircd/whocmds.c (count_users): Fix length of ipbuf. (Spotted by
--- /dev/null
+General {
+ name = "irc-2.example.net";
+ vhost = "127.0.0.1";
+ description = "Test IRC server";
+ numeric = 2;
+};
+
+Admin {
+ Location = "Right Here, Right Now";
+ Location = "Testbench IRC server";
+ Contact = "root@localhost";
+};
+
+Class {
+ name = "Server";
+ pingfreq = 90 seconds;
+ connectfreq = 5 minutes;
+ sendq = 9 megabytes;
+ maxlinks = 10;
+};
+
+Connect { name = "irc.example.net"; host = "127.0.0.1"; port = 7600; password = "password"; class = "Server"; hub; autoconnect = yes; };
+
+Class {
+ name = "Local";
+ pingfreq = 1 minutes 30 seconds;
+ sendq = 160000;
+ maxlinks = 100;
+};
+
+Client { ip = "127.*"; class = "Local"; };
+Operator { local = no; class = "Local"; host = "*@127.*"; password = "$PLAIN$oper"; name = "oper"; };
+Port { server = yes; port = 7610; };
+Port { port = 7611; };
+
+Features {
+ "PPATH" = "ircd-2.pid";
+};
--- /dev/null
+General {
+ name = "irc-3.example.net";
+ vhost = "127.0.0.1";
+ description = "Test IRC server";
+ numeric = 3;
+};
+
+Admin {
+ Location = "Right Here, Right Now";
+ Location = "Testbench IRC server";
+ Contact = "root@localhost";
+};
+
+Class {
+ name = "Server";
+ pingfreq = 90 seconds;
+ connectfreq = 5 minutes;
+ sendq = 9 megabytes;
+ maxlinks = 10;
+};
+
+Connect { name = "irc.example.net"; host = "127.0.0.1"; port = 7600; password = "password"; class = "Server"; hub; autoconnect = yes; };
+
+Class {
+ name = "Local";
+ pingfreq = 1 minutes 30 seconds;
+ sendq = 160000;
+ maxlinks = 100;
+};
+
+Client { ip = "127.*"; class = "Local"; };
+Operator { local = no; class = "Local"; host = "*@127.*"; password = "$PLAIN$oper"; name = "oper"; };
+Port { server = yes; port = 7620; };
+Port { port = 7621; };
+
+Features {
+ "PPATH" = "ircd-3.pid";
+};
Contact = "root@localhost";
};
+Class {
+ name = "Server";
+ pingfreq = 90 seconds;
+ connectfreq = 5 minutes;
+ sendq = 9 megabytes;
+ maxlinks = 10;
+};
+
+Connect { name = "irc-2.example.net"; host = "127.0.0.1"; port = 7610; password = "password"; class = "Server"; autoconnect = no; };
+Connect { name = "irc-3.example.net"; host = "127.0.0.1"; port = 7620; password = "password"; class = "Server"; autoconnect = no; };
+
Class {
name = "Local";
pingfreq = 1 minutes 30 seconds;
Client { ip = "127.*"; class = "Local"; };
Operator { local = no; class = "Local"; host = "*@127.*"; password = "$PLAIN$oper"; name = "oper"; };
+Port { server = yes; port = 7600; };
Port { port = 7601; };
+
+Features {
+ "HUB" = "TRUE";
+};