/[svn]/ircd-hybrid/etc/simple.conf
ViewVC logotype

Annotation of /ircd-hybrid/etc/simple.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30 - (hide annotations)
Sun Oct 2 20:03:27 2005 UTC (15 years ago) by adx
File size: 2873 byte(s)
- imported sources
- can be moved later according to the directory/branching scheme,
  but we need the svn up

1 adx 30 # Hybrid 7 minimal example configuration file
2     #
3     # $Id: simple.conf,v 1.12 2005/06/11 01:36:43 michael Exp $
4     #
5     # This is a basic ircd.conf that will get your server running with
6     # little modification. See the example.conf for more specific
7     # information.
8     #
9     # The serverinfo block sets up your server's name. Fields that may
10     # be set are the name, description, vhost, network_name, network_desc,
11     # and hub.
12    
13     serverinfo {
14     name = "irc.example.com";
15     sid = "_CHANGE_ME_";
16     description = "Test IRC Server";
17     hub = no;
18     };
19    
20     # The administrator block sets up the server administrator information,
21     # that is shown when a user issues the /ADMIN command. All three fields
22     # are required.
23    
24     administrator {
25     description = "Example, Inc Test IRC Server";
26     name = "John Doe";
27     email = "jdoe@example.com";
28     };
29    
30     # Class blocks define the "privileges" that clients and servers get when they
31     # connect. Ping timing, sendQ size, and user limits are all controlled by
32     # classes. See example.conf for more information
33    
34     class {
35     name = "users";
36     ping_time = 90;
37     number_per_ip = 0;
38     max_number = 200;
39     sendq = 100000;
40     };
41    
42     class {
43     name = "opers";
44     ping_time = 90;
45     number_per_ip = 0;
46     max_number = 10;
47     sendq = 500000;
48     };
49    
50     # Auth blocks define who can connect and what class they are put into.
51    
52     auth {
53     user = "*@*";
54     class = "users";
55     };
56    
57     # Operator blocks define who is able to use the OPER command and become IRC
58     # operators. The necessary fields are the user@host, oper nick name, and
59     # the password, encrypted with the mkpasswd program provided.
60    
61     operator {
62     name = "JohnDoe";
63     user = "*@*.example.com";
64     password = "yl9xlY019Bbfc";
65     encrypted = yes;
66     class = "opers";
67     };
68    
69     # Listen blocks define what ports your server will listen to client and
70     # server connections on. ip is an optional field (Essential for virtual
71     # hosted machines.)
72    
73     listen {
74     port = 6667;
75     };
76    
77     # Quarantine blocks deny certain nicknames from being used.
78    
79     quarantine {
80     nick = "dcc-*";
81     reason = "DCC bots are not permitted on this server";
82     };
83    
84     quarantine {
85     nick = "LamestBot";
86     reason = "You have to be kidding me!";
87     };
88    
89     quarantine {
90     nick = "NickServ";
91     reason = "There are no Nick Services on this Network";
92     };
93    
94     # The general block contains most of the configurable options that were once
95     # in config.h. The most important ones are below. For the rest, please see
96     # example.conf. Note that variables not mentioned here are set to the ircd
97     # defaults, which are listed in src/s_conf.c:set_default_conf.
98    
99     general {
100     hide_spoof_ips = yes;
101    
102     # Disable ident lookups?
103     disable_auth = no;
104    
105     # Control nick flooding
106     anti_nick_flood = yes;
107     max_nick_time = 20;
108     max_nick_changes = 5;
109    
110     # Show extra warnings when servers connections cannot succeed
111     # because of no "N" line (a misconfigured connect block)
112     warn_no_nline = yes;
113     };
114    
115     # There are many more configurable options. See example.conf for the rest

Properties

Name Value
svn:eol-style native
svn:keywords "Id Revision"

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28