maxbans and chars per ban question

These are old archives. They are kept for historic purposes only.
Post Reply
ShArDiCk
Posts: 39
Joined: Tue Jun 01, 2004 7:10 pm
Location: Italy
Contact:

maxbans and chars per ban question

Post by ShArDiCk »

Hi,

i've red unreal 3.2.4 docs for testing new ircd version. I've notice the calculation of medium lenght of characters in ban.

On docs, maxbans default is 60 (so? if i dont specifiy max bans in conf the default value for my ircd would be 60?)
Same for maxbanslenght: 2048 (default value, you write).

If, 60 and 2048 are defaults value, then 34 is a default value too (on u3.2.3?)?

2048 / 60 = 34

So... if i specifiy 60 max bans for my ircd, maxbanslenght would be 2048. but why 2048? Why 34?

34 is an indicative numers?

My specific question si: on Unreal3.2.3, maxbans limit is 60. And maxbansleght is 2048?
So, Unreal3.2.3 calcucate its maxbanslenght on 34?

So, if i have 160 of maxbans, if i specify 5440 for maxbansleght always thinking to 34, i risk anything?

Thanx in advance for reply :)
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

This is digging my memory a bit, but...

Maxbans is actually the number of bans you can have set on a channel. i.e.:

*!*@*
*!*@*.aol.com
*!*@*.bigpond.com.au

3 bans.

Maxbanlength is the number of characters total - so that 60 bans of insane length can't be set.

Together, these work to ensure that users can't manipulate your ircd and make it chew an insane amount of RAM.

Hope this answers your question.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
ShArDiCk
Posts: 39
Joined: Tue Jun 01, 2004 7:10 pm
Location: Italy
Contact:

Post by ShArDiCk »

:?: no...

you hadnt help me...

my doubt is always the same: that 34 is the right (or default) number for calculate maxbanslenght?
Post Reply