Page 1 of 1
channel-mode differences between "+f j" and the ne
Posted: Thu Mar 03, 2005 8:25 pm
by medice
i didn't test it yet, since I've never worked with CVS
but reading the documentation on vulnscan I'm not quite sure where the difference is between the +f flag j and the new mode +j - since both are limiting joins per second in a way...
Posted: Thu Mar 03, 2005 8:53 pm
by Dukat
From the changelog:
Added channelmode +j (jointhrottle), syntax: /mode #chan +j X:Y, and then it will
throttle the number of joins per-user to X in Y seconds. Idea from Angrywolf (who
wrote a module that did this before). This needs testing

.
It's enabled by default but can be #undef'ed in include/config.h (line 449).
Angrywolf's description:
Channel mode +j: sets a join flood protection on users. Syntax: /mode #chan +j <joins>:<seconds>, meaning that users are allowed to join #chan <joins> times in <seconds> seconds. If users exceed the limit, their join attempt will be throttled.
That really needs to be documented better...
Posted: Thu Mar 03, 2005 10:04 pm
by Syzop
Actually I think the unfinished release notes description (not the one you pasted) is just fine:
Code: Select all
- Channel mode +j (jointhrottle). If you set +j X:Y you limit each user (individually)
to X joins per Y seconds to the channel.
Other descriptions tend to get pretty lengty...
Posted: Thu Mar 03, 2005 10:04 pm
by medice
so "+f j" is setting some blocking modes (whatever is set)
and +j just don't let them in
is this right?
Posted: Thu Mar 03, 2005 10:06 pm
by Syzop
right.
the main difference is that +f j is global (on all users), +j is per-user/individually :P.
Posted: Fri Mar 04, 2005 7:44 am
by Dukat
Syzop wrote:Actually I think the unfinished release notes description (not the one you pasted) is just fine:
Code: Select all
- Channel mode +j (jointhrottle). If you set +j X:Y you limit each user (individually)
to X joins per Y seconds to the channel.
Other descriptions tend to get pretty lengty...
Yeah, but add that to the docs, too, please

Posted: Fri Mar 04, 2005 8:27 pm
by Syzop
Where? Well anyway, report that on
http://bugs.unrealircd.org/ [1] :)
[1] you should know that :P
Posted: Sat Mar 05, 2005 11:18 am
by Dukat
Posted: Sat Mar 05, 2005 6:37 pm
by Ron2K
I take full responsibility for this one, because I submitted the "+j - join throttling (per-user basis)" bit some time ago...