X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=doc%2Fexample.conf;h=8ffe13704979b164234398c6f07a4b593fb7d0d3;hb=refs%2Fheads%2Fupstream-ssl;hp=ade236ec13beda91d6f781729129fed28497740d;hpb=fd380b4897d8023b6f548d337d6ccfbad7a206f7;p=ircu2.10.12-pk.git diff --git a/doc/example.conf b/doc/example.conf index ade236e..8ffe137 100644 --- a/doc/example.conf +++ b/doc/example.conf @@ -216,7 +216,7 @@ Class { # local_gline (can set a G-line for this server only) # local_badchan (can set a Gchan for this server only) # see_chan (can see users in +s channels in /WHO) - # list_chan (can see +s channels with /LIST S) + # list_chan (can see +s channels with /LIST S, or modes with /LIST M) # wide_gline (can use ! to force a wide G-line) # see_opers (can see opers without DISPLAY privilege) # local_opmode (can use OPMODE/CLEARMODE on local channels) @@ -285,6 +285,7 @@ Client { class = "Other"; ip = "*@*"; + maxlinks = 2; }; @@ -292,6 +293,7 @@ Client { class = "Other"; host = "*@*"; + maxlinks = 2; }; # If you don't want unresolved dudes to be able to connect to your # server, do not specify any "ip = " settings. @@ -301,25 +303,27 @@ Client { host = "*@*.com"; class = "America"; + maxlinks = 2; }; Client { host = "*@*.net"; class = "America"; + maxlinks = 2; }; # Now list all the .com / .net domains that you wish to have access... # actually it's less work to do it this way than to do it the other # way around - K-lining every single ISP in the US. # I wish people in Holland just got a .nl domain, and not try to be # cool and use .com... -Client { host = "*@*.wirehub.net"; class = "Other";}; -Client { host = "*@*.planete.net"; class = "Other";}; -Client { host = "*@*.ivg.com"; class = "Other";}; -Client { host = "*@*.ib.com"; class = "Other";}; -Client { host = "*@*.ibm.net"; class = "Other";}; -Client { host = "*@*.hydro.com"; class = "Other";}; -Client { host = "*@*.nl.net"; class = "Local";}; +Client { host = "*@*.wirehub.net"; class = "Other"; maxlinks=2; }; +Client { host = "*@*.planete.net"; class = "Other"; maxlinks=2; }; +Client { host = "*@*.ivg.com"; class = "Other"; maxlinks=2; }; +Client { host = "*@*.ib.com"; class = "Other"; maxlinks=2; }; +Client { host = "*@*.ibm.net"; class = "Other"; maxlinks=2; }; +Client { host = "*@*.hydro.com"; class = "Other"; maxlinks=2; }; +Client { host = "*@*.nl.net"; class = "Local"; maxlinks=2; }; # You can request a more complete listing, including the "list of standard # Kill blocks" from the Routing Committee; it will also be sent to you if @@ -332,6 +336,8 @@ Client host = "*@*.london.ac.uk"; ip = "*@193.37.*"; class = "Local"; + # A maxlinks of over 5 will automatically be glined by euworld on Undernet + maxlinks = 5; }; # You can put an expression in the maxlinks value, which will make ircd @@ -357,6 +363,7 @@ Client { host = "*@*"; ip = "*@*"; class = "Other"; + maxlinks = 2; }; @@ -370,6 +377,10 @@ Client { # file = "path/to/motd/file"; # }; # +# More than one host = "mask"; entry may be present in one block; this +# has the same effect as one Motd block for each host entry, but makes +# it easier to update the messages's filename. +# # DPATH/net_com.motd contains a special MOTD where users are encouraged # to register their domains and get their own client{} lines if they're in # Europe, or move to US.UnderNet.org if they're in the USA. @@ -566,6 +577,8 @@ Connect { # # For an advanced, real-time rule-based routing decision making system # you can use crule blocks. For more information, see doc/readme.crules. +# If more than one server mask is present in a single crule, the rule +# applies to all servers. # CRULE # { # server = "servermask"; @@ -608,6 +621,11 @@ CRULE # is not not passed along to other servers. On Undernet, this prevents # them from using Uworld as well. # +# More than one host = "mask"; entry may be present in one block; this +# has the same effect as one Operator block for each host entry, but +# makes it easier to update operator nicks, passwords, classes, and +# privileges. +# # Operator { # host = "host/IP mask"; # name = "opername"; @@ -664,11 +682,14 @@ Operator { # IANA says we should use port 194, but that requires us to run as root, # so we don't do that. # +# # Port { # port = [ipv4] [ipv6] number; # mask = "ipmask"; # # Use this to control the interface you bind to. # vhost = [ipv4] [ipv6] "virtualhostip"; +# # You can specify both virtual host and port number in one entry. +# vhost = [ipv4] [ipv6] "virtualhostip" number; # # Setting to yes makes this server only. # server = yes; # # Setting to yes makes the port "hidden" from stats. @@ -721,6 +742,14 @@ Port { port = 7000; }; +# More than one vhost may be present in a single Port block; in this case, +# we recommend listing the port number on the vhost line for clarity. +Port { + vhost = "172.16.0.1" 6667; + vhost = "172.16.3.1" 6668; + hidden = no; +}; + # Quarantine blocks disallow operators from using OPMODE and CLEARMODE # on certain channels. Opers with the force_opmode (for local # channels, force_local_opmode) privilege may override the quarantine