ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/doc/reference.conf
(Generate patch)

Comparing ircd-hybrid/trunk/doc/reference.conf (file contents):
Revision 6488 by michael, Fri Sep 4 17:56:25 2015 UTC vs.
Revision 6609 by michael, Thu Oct 22 18:44:58 2015 UTC

# Line 41 | Line 41 | serverinfo {
41          /*
42           * name: the name of this server. This cannot be changed at runtime.
43           */
44 <        name = "hades.arpa";
44 >        name = "server.example.net";
45  
46          /*
47           * sid: a server's unique ID. This is three characters long and must
# Line 50 | Line 50 | serverinfo {
50           *
51           * NOTE: The letters must be capitalized. This cannot be changed at runtime.
52           *
53 <         * If no sid is configured, one will be generated at runtime.
53 >         * A sid is automatically generated at runtime, if you want to configure
54 >         * a specific sid, uncomment the following line.
55           */
56   #       sid = "0HY";
57  
# Line 76 | Line 77 | serverinfo {
77           * vhost: the IP address to bind to when we connect outward to IPv4 servers.
78           * This should be an IPv4 address, or "*" for INADDR_ANY.
79           */
80 < #       vhost = "192.169.0.1";
80 > #       vhost = "192.0.2.1";
81  
82          /*
83           * vhost6: the IP address to bind to when we connect outward to IPv6 servers.
84           * This should be an IPv6 address, or "*" for in6addr_any.
85           */
86 < #       vhost6 = "3ffe:80e8:546::2";
86 > #       vhost6 = "2001:DB8::1";
87  
88          /*
89           * default_max_clients: the default maximum number of clients allowed
# Line 126 | Line 127 | serverinfo {
127           *
128           *      openssl req -new -days 365 -x509 -key rsa.key -out cert.pem
129           *
129         * See http://www.openssl.org/docs/HOWTO/certificates.txt
130         *
130           * Please use the following values when generating the cert
131           *
132           *      Organization Name: Network Name
133 <         *      Organization Unit Name: changme.someirc.net
134 <         *      Common Name: irc.someirc.net
135 <         *      E-mail: you@domain.com
133 >         *      Organization Unit Name: unit.example.net
134 >         *      Common Name: irc.example.net
135 >         *      E-mail: email@example.net
136           */
137   #       ssl_certificate_file = "etc/cert.pem";
138  
# Line 197 | Line 196 | serverinfo {
196   admin {
197          name = "Smurf target";
198          description = "Main Server Administrator";
199 <        email = "<syn@packets.r.us>";
199 >        email = "<admin@server.example.net>";
200   };
201  
202   /*
# Line 340 | Line 339 | listen {
339          port = 6665 .. 6669;
340  
341          /*
342 <         * Listen on 192.168.0.1/6697 with SSL enabled and hidden from STATS P
342 >         * Listen on 192.0.2.1/6697 with SSL enabled and hidden from STATS P
343           * unless you are an administrator.
344           *
345           * NOTE: The "flags" directive always has to come before "port".
# Line 352 | Line 351 | listen {
351           *  hidden - Port is hidden from /stats P, unless you're an admin
352           */
353          flags = hidden, ssl;
354 <        host = "192.168.0.1";
354 >        host = "192.0.2.2";
355          port = 6697;
356  
357          /*
358           * host: set a specific IP address to listen on using the
359           * subsequent port definitions. This may be IPv4 or IPv6.
360           */
361 <        host = "1.2.3.4";
361 >        host = "192.0.2.3";
362          port = 7000, 7001;
363  
364 <        host = "3ffe:1234:a:b:c::d";
364 >        host = "2001:DB8::2";
365          port = 7002;
366   };
367  
# Line 374 | Line 373 | auth {
373           * user: the user@host allowed to connect. Multiple user
374           * lines are permitted within each auth {} block.
375           */
376 <        user = "*@172.16.0.0/12";
377 <        user = "*test@123D:B567:*";
376 >        user = "*@192.0.2.0/24";
377 >        user = "*test@2001:DB8:*";
378  
379          /* password: an optional password that is required to use this block. */
380          password = "letmein";
# Line 419 | Line 418 | auth {
418           * A user does not have to obey the redirection; the ircd just
419           * suggests an alternative server for them.
420           */
421 <        redirserv = "server.tld";
421 >        redirserv = "server2.example.net";
422          redirport = 6667;
423  
424 <        user = "*@*.tld";
424 >        user = "*@*.ch";
425  
426          /* class: a class is required even though it is not used. */
427          class = "users";
# Line 445 | Line 444 | operator {
444           * user: the user@host required for this operator. Multiple user
445           * lines are permitted within each operator {} block.
446           */
447 <        user = "*sheep@192.168.0.0/16";
448 <        user = "*@127.0.0.0/8";
447 >        user = "*sheep@192.0.2.0/26";
448 >        user = "*@192.0.2.240/28";
449  
450          /*
451           * password: the password required to oper. By default this will
# Line 472 | Line 471 | operator {
471   #       whois = "is a Smurf Target (IRC Operator)";
472  
473          /*
475         * rsa_public_key_file: the public key for this oper when using /challenge.
476         * A password should not be defined when this is used; see
477         * doc/challenge.txt for more information.
478         */
479 #       rsa_public_key_file = "etc/oper.pub";
480
481        /*
474           * ssl_certificate_fingerprint: enhances security by additionally checking
475           * the oper's client certificate fingerprint against the specified
476           * fingerprint below.
# Line 497 | Line 489 | operator {
489           */
490          ssl_connection_required = no;
491  
492 <        /* class: the class the oper joins when they successfully /oper or /challenge. */
492 >        /* class: the class the oper joins when they successfully /oper. */
493          class = "opers";
494  
495          /*
496 <         * umodes: the default user modes opers get when they /oper or /challenge.
496 >         * umodes: the default user modes opers get when they /oper.
497           * If defined, it will override oper_umodes settings in general {}.
498           * Available user modes:
499           *
# Line 573 | Line 565 | operator {
565   */
566   connect {
567          /* name: the name of the server. */
568 <        name = "irc.uplink.com";
568 >        name = "uplink.example.net";
569  
570          /*
571           * host: the host or IP address to connect to. If a hostname is used it
572           * must match the reverse DNS of the server.
573           */
574 <        host = "192.168.0.1";
574 >        host = "192.0.2.4";
575  
576          /*
577           * vhost: the IP address to bind to when making outgoing connections to
# Line 587 | Line 579 | connect {
579           * serverinfo::vhost and serverinfo::vhost6 will be overridden
580           * by this directive.
581           */
582 <        vhost = "192.168.0.2";
582 >        vhost = "192.0.2.5";
583  
584          /*
585           * send_password, accept_password: the passwords to send and accept.
# Line 648 | Line 640 | connect {
640   };
641  
642   connect {
643 <        name = "ipv6.some.server";
644 <        host = "3ffd:dead:beef::1";
643 >        name = "ipv6.example.net";
644 >        host = "2001:DB8::3";
645          send_password = "password";
646          accept_password = "password";
647          port = 6666;
# Line 678 | Line 670 | cluster {
670           *       clustered lines, they need a shared {} block for *THIS*
671           *       server in order to accept them.
672           */
673 <        name = "*.arpa";
673 >        name = "*.example.net";
674  
675          /*
676           * type: list of what to share; options are as follows:
# Line 710 | Line 702 | shared {
702           * If this is not specified, the user will be allowed to kline from all
703           * servers.
704           */
705 <        name = "irc2.some.server";
705 >        name = "irc2.example.net";
706  
707          /*
708           * user: the user@host mask that is allowed to set klines. If this is
# Line 740 | Line 732 | shared {
732   * Oper issued klines will be added to the specified kline database
733   */
734   kill {
735 <        user = "bad@*.hacked.edu";
735 >        user = "bad@*.example.net";
736          reason = "Obviously hacked account";
737   };
738  
# Line 750 | Line 742 | kill {
742   * Oper issued dlines will be added to the specified dline database
743   */
744   deny {
745 <        ip = "10.0.1.0/24";
745 >        ip = "192.0.2.0/28";
746          reason = "Reconnecting vhosted bots";
747   };
748  
# Line 758 | Line 750 | deny {
750   * exempt {}:  IP addresses that are exempt from deny {} and Dlines
751   */
752   exempt {
753 <        ip = "192.168.0.0/16";
753 >        ip = "192.0.2.240/28";
754   };
755  
756   /*
# Line 812 | Line 804 | gecos {
804   *       has the same service {} block.
805   */
806   service {
807 <        name = "service.someserver";
808 <        name = "stats.someserver";
807 >        name = "service.example.net";
808 >        name = "stats.example.net";
809   };
810  
811   /*
# Line 830 | Line 822 | pseudo {
822          name = "NickServ";
823  
824          /* target: the actual target where this message should be sent to. */
825 <        target = "NickServ@service.someserver";
825 >        target = "NickServ@service.example.net";
826   };
827  
828   pseudo {
829          command = "CHANSERV";
830          name = "ChanServ";
831 <        target = "ChanServ@service.someserver";
831 >        target = "ChanServ@service.example.net";
832   };
833  
834   pseudo {
835          command = "CS";
836          name = "ChanServ";
837 <        target = "ChanServ@service.someserver";
837 >        target = "ChanServ@service.example.net";
838   };
839  
840   pseudo {
841          command = "NICKSERV";
842          name = "NickServ";
843 <        target = "NickServ@service.someserver";
843 >        target = "NickServ@service.example.net";
844   };
845  
846   pseudo {
847          command = "NS";
848          name = "NickServ";
849 <        target = "NickServ@service.someserver";
849 >        target = "NickServ@service.example.net";
850   };
851  
852   pseudo {
853          command = "MEMOSERV";
854          name = "MemoServ";
855 <        target = "MemoServ@service.someserver";
855 >        target = "MemoServ@service.example.net";
856   };
857  
858   pseudo {
859          command = "MS";
860          name = "MemoServ";
861 <        target = "MemoServ@service.someserver";
861 >        target = "MemoServ@service.example.net";
862   };
863  
864   pseudo {
865          command = "OPERSERV";
866          name = "OperServ";
867 <        target = "OperServ@service.someserver";
867 >        target = "OperServ@service.example.net";
868   };
869  
870   pseudo {
871          command = "OS";
872          name = "OperServ";
873 <        target = "OperServ@service.someserver";
873 >        target = "OperServ@service.example.net";
874   };
875  
876   pseudo {
877          command = "HOSTSERV";
878          name = "HostServ";
879 <        target = "HostServ@service.someserver";
879 >        target = "HostServ@service.example.net";
880   };
881  
882   pseudo {
883          command = "HS";
884          name = "HostServ";
885 <        target = "HostServ@service.someserver";
885 >        target = "HostServ@service.example.net";
886   };
887  
888   pseudo {
889          command = "BOTSERV";
890          name = "BotServ";
891 <        target = "BotServ@service.someserver";
891 >        target = "BotServ@service.example.net";
892   };
893  
894   pseudo {
895          command = "BS";
896          name = "BotServ";
897 <        target = "BotServ@service.someserver";
897 >        target = "BotServ@service.example.net";
898   };
899  
900   /*
# Line 982 | Line 974 | serverhide {
974          flatten_links = no;
975  
976          /*
977 <         * links_delay: how often to update the links file when it is
977 >         * flatten_links_delay: how often to update the links file when it is
978           * flattened.
979           */
980 <        links_delay = 5 minutes;
980 >        flatten_links_delay = 5 minutes;
981 >
982 >        /*
983 >         * flatten_links_file: path to the flatten links cache file.
984 >         */
985 >        flatten_links_file = "var/lib/links.txt";
986  
987          /*
988           * hidden: hide this server from a /links output on servers that
# Line 1008 | Line 1005 | serverhide {
1005          /*
1006           * hidden_name: use this as the servername users see if hide_servers = yes.
1007           */
1008 <        hidden_name = "*.hidden.com";
1008 >        hidden_name = "*.example.net";
1009  
1010          /*
1011           * hide_server_ips: if this is disabled, opers will be unable to see
# Line 1285 | Line 1282 | general {
1282          oper_only_umodes = bots, cconn, debug, external, farconnect, full, hidden, locops,
1283                          nchange, rej, skill, spy, unauth;
1284  
1285 <        /* oper_umodes: default user modes operators get when they /oper or /challenge. */
1285 >        /* oper_umodes: default user modes operators get when they /oper. */
1286          oper_umodes = bots, locops, servnotice, wallop;
1287  
1288          /*

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)