[hybrid] setting connect limit

Henri Salo henri at nerv.fi
Thu Aug 12 18:32:38 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 12 Aug 2010 15:23:35 +0200
x y <awaiting.spam.here at gmail.com> wrote:

> Hi,
> 
> we've set up Ircd-Hybrid for a local chat. I't fine, but we're having
> overload issues by means of connecting
> we typically have a high rate of newcomers in a narrow interval (show
> start) and much milder in any other cases, that means few peaks a day
> (2-3)
> we have spoofed the clients' host
> the problem is it refuses many connection, in fact locking out our
> office as well :)
> how can we raise the limit of new connections? didn't find any .conf
> variables for that
> would exceed_limit on the 'users' class solve this?
> 
> tia
> tom

http://svn.ircd-hybrid.org:8000/viewcvs.cgi/ircd-hybrid/etc/example.conf?revision=1075&view=markup

174	class {
175	        /* name: the name of the class.  classes are text
now */ 176	        name = "users";
177	
178	        /*
179	         * ping_time: how often a client must reply to a
PING from the 180	         * server before they are dropped.
181	         */
182	        ping_time = 90 seconds;
183	
184	        /*
185	         * number_per_ip: how many local users are allowed
to connect 186	         * from one IP  (optional)
187	         */
188	        number_per_ip = 2;
189	
190	        /*
191	         * max_local: how many local users are allowed to
connect 192	         * from one ident at host  (optional)
193	         */
194	        max_local = 2;
195	
196	        /*
197	         * max_global: network-wide limit of users per
ident at host  (optional) 198	         */
199	        max_global = 10;
200	
201	        /*
202	         * max_number: the maximum number of users allowed
in this class (optional) 203	         */
204	        max_number = 100;
205	
206	        /*
207	         * the following lines are optional and allow you to
define 208	         * how many users can connect from one /NN
subnet 209	         */
210	        cidr_bitlen_ipv4 = 24;
211	        cidr_bitlen_ipv6 = 120;
212	        number_per_cidr = 16;
213	
214	        /*
215	         * sendq: the amount of data allowed in a clients
queue before 216	         * they are dropped.
217	         */
218	        sendq = 100 kbytes;
219	};
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkxkdoYACgkQXf6hBi6kbk9wXQCg2YGoSPxn+r1awG2KpOs4Kgk2
u6kAn2vUehCkeEDsz+JP2/vqaADS1CDT
=vJcb
-----END PGP SIGNATURE-----




More information about the hybrid mailing list