Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Branch tags: u2_10_12_branch
Commit time: 2007-03-06 02:23:09 UTC
Modified files:
Tag: u2_10_12_branch
ChangeLog tests/ircd.conf
Added files:
Tag: u2_10_12_branch
tests/ircd-2.conf tests/ircd-3.conf
Log message:
Update tests/ircd*.conf so that irc.example.net is a hub for two other servers.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.710.2.150 ircu2.10/ChangeLog:1.710.2.151
--- ircu2.10/ChangeLog:1.710.2.150 Sun Mar 4 06:55:25 2007
+++ ircu2.10/ChangeLog Mon Mar 5 18:22:56 2007
@@ -1,3 +1,11 @@
+2007-03-05 Michael Poole <[EMAIL PROTECTED]>
+
+ * 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 <[EMAIL PROTECTED]>
* ircd/whocmds.c (count_users): Fix length of ipbuf. (Spotted by
Index: ircu2.10/tests/ircd-2.conf
diff -u /dev/null ircu2.10/tests/ircd-2.conf:1.1.2.1
--- /dev/null Mon Mar 5 18:23:09 2007
+++ ircu2.10/tests/ircd-2.conf Mon Mar 5 18:22:56 2007
@@ -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 = "[EMAIL PROTECTED]";
+};
+
+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 = "[EMAIL PROTECTED]"; password =
"$PLAIN$oper"; name = "oper"; };
+Port { server = yes; port = 7610; };
+Port { port = 7611; };
+
+Features {
+ "PPATH" = "ircd-2.pid";
+};
Index: ircu2.10/tests/ircd-3.conf
diff -u /dev/null ircu2.10/tests/ircd-3.conf:1.1.2.1
--- /dev/null Mon Mar 5 18:23:09 2007
+++ ircu2.10/tests/ircd-3.conf Mon Mar 5 18:22:59 2007
@@ -0,0 +1,38 @@
+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 = "[EMAIL PROTECTED]";
+};
+
+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 = "[EMAIL PROTECTED]"; password =
"$PLAIN$oper"; name = "oper"; };
+Port { server = yes; port = 7620; };
+Port { port = 7621; };
+
+Features {
+ "PPATH" = "ircd-3.pid";
+};
Index: ircu2.10/tests/ircd.conf
diff -u ircu2.10/tests/ircd.conf:1.1.2.1 ircu2.10/tests/ircd.conf:1.1.2.2
--- ircu2.10/tests/ircd.conf:1.1.2.1 Mon Jan 22 18:19:44 2007
+++ ircu2.10/tests/ircd.conf Mon Mar 5 18:22:59 2007
@@ -12,6 +12,17 @@
};
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;
sendq = 160000;
@@ -20,4 +31,9 @@
Client { ip = "127.*"; class = "Local"; };
Operator { local = no; class = "Local"; host = "[EMAIL PROTECTED]"; password =
"$PLAIN$oper"; name = "oper"; };
+Port { server = yes; port = 7600; };
Port { port = 7601; };
+
+Features {
+ "HUB" = "TRUE";
+};
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches