channel-mode differences between "+f j" and the ne

These are old archives. They are kept for historic purposes only.
Post Reply
medice
Posts: 42
Joined: Fri Jul 09, 2004 11:02 pm

channel-mode differences between "+f j" and the ne

Post 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...
greets
/medice
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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...
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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...
Last edited by Syzop on Thu Mar 03, 2005 10:05 pm, edited 1 time in total.
medice
Posts: 42
Joined: Fri Jul 09, 2004 11:02 pm

Post by medice »

so "+f j" is setting some blocking modes (whatever is set)
and +j just don't let them in

is this right?
greets
/medice
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

right.

the main difference is that +f j is global (on all users), +j is per-user/individually :P.
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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 :D
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Where? Well anyway, report that on http://bugs.unrealircd.org/ [1] :)

[1] you should know that :P
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Ron2K

Post by Ron2K »

I take full responsibility for this one, because I submitted the "+j - join throttling (per-user basis)" bit some time ago...
Post Reply