/* NETWORK-SPECIFIC */ /* DO NOT MODIFY, UNLESS INSTRUCTED TO */ /* Connection abilities */ /* * NEW: class {} * OLD: Y:line (old was confusing) * These define settings for classes. A class is a group setting for * connections. Example, server connections, instead of going to a client's * class, you direct it to the server class. Syntax is as follows * class (class name) */ class clients { pingfreq 90; /* how often to ping a user/server in seconds */ maxclients 500; /* how many connections for this class */ sendq 100000; /* maximum send queue from a connection */ recvq 8000; /* maximum receive queue from a connection [flood control] */ }; class servers { pingfreq 90; maxclients 10; /* Max servers we can have linked at a time */ sendq 1000000; connfreq 100; /* How many seconds between each connection attempt */ }; /* * NEW: allow {} * OLD: I:Line * This defines allowing of connections... * Basically for clients, it allows them to connect so you can have some * control and/or set a password. * Syntax is as follows: * allow { * ip (ip mask to allow); * hostname (host mask); * class (class to send them to [see class {}]); * password "(password)"; (optional) * maxperip (how many connections per ip); (optional) * }; */ allow { ip *@*; hostname *@*; class clients; maxperip 5; }; /* * NEW: listen {} * OLD: P:Line * This defines a port for the ircd to bind to, to * allow users/servers to connect to the server. * Syntax is as follows: * listen (ip number):(port number) * { * options { * (options here); * }; * }; * or for a plain * listen: listen (ip):(port); * * NOTICE: for ipv6 ips (3ffe:b80:2:51d::2 etc), use listen [ip]:port; * * That works also. */ /* Options for listen: serversonly - Only servers will be allowed to connect to this port clientsonly - Only clients will be allowed to connect to this port ssl - Only encrypted users will be allowed to connect to this port */ /* NOTE ON SSL PORTS: SSL ports are pretty non-standardized, * besides numerous high-SSL ports, some people say you should run * it at 994 because that's the official SSL port.. but that * requires root! Besides, port 194 is the official irc port and * have you ever seen an ircd running on that? * So, our suggestion is to use port 6697 for SSL, this is used by * quite some networks and is recognized by for example StunTour. * You are free to open up as many SSL ports as you want, but * by (also) using 6697 you help the world standardize a bit ;). * * NOTE: If you are on an IRCd shell with multiple IP's you are * likely to get 'Address already in use' errors in your log * and the ircd won't start. This means you MUST bind * to a specific IP instead of '*', so for example: * listen 1.2.3.4:6667; * Obviously, replace the IP with the IP that was assigned to you. */ listen *:6667-6669; /*listen *:6670 { options { ssl; serversonly; }; }; listen *:6697 { options { ssl; clientsonly; }; };*/ listen *:7000; listen *:8067;