[hybrid] Re: hybrid Digest, Vol 62, Issue 3

Michael Wobst wobst.michael at web.de
Thu Aug 19 15:31:24 EDT 2010


You may want to play around with general::throttle_time

-Michael

x y schrieb:
> Hi,
>
> we already have limits set high (not copy)
> number_per_ip 100
> max_number 5000
> sendq 100kbyte
> max_local 5000
> max_global 5000
>
> in fact the problem is when _many_ users try to connect at once,
> similar IPs get refused. they reconnect later fine, while still having
> the others, so its some connection-protect thing
>
> t
>
>
>>    2. Re: setting connect limit (Henri Salo)
>>> 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
>>>
>> -----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