Update tests/ircd*.conf so that irc.example.net is a hub for two other servers.
[ircu2.10.12-pk.git] / tests / ircd-2.conf
diff --git a/tests/ircd-2.conf b/tests/ircd-2.conf
new file mode 100644 (file)
index 0000000..45882d6
--- /dev/null
@@ -0,0 +1,38 @@
+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";
+};