View Issue Details

IDProjectCategoryView StatusLast Update
0003827unrealircdpublic2009-02-11 16:05
ReporterIrsagor Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version3.2.7-RC2 
Summary0003827: Оmission? Manipulation with channel mode k: /mode #chan -k any_char
DescriptionWhen operating with channel mode "k", I found out that after the setting of the channel key, it can be turned off using a command:
"/mode #chan -k any_char"

mIRC debug mode log:
21:32:56 -> hostel4.psu.bynets.org mode #Exclusive +k Jipurew
21:32:56 <- :[email protected] MODE #Exclusive +k Jipurew
21:33:12 -> hostel4.psu.bynets.org mode #Exclusive -k
21:33:17 -> hostel4.psu.bynets.org mode #Exclusive -k $
21:33:17 <- :[email protected] MODE #Exclusive -k Jipurew

Document rfc2812 shows in an example:
"/mode #chan -k previously_set_key"

Is it some kind of omission, or what?
And does rfc allow to turn off this mode using command: "/mode #chan -k" ?
3rd party modules

Activities

Stealth

2009-02-10 04:09

reporter   ~0015776

Last edited: 2009-02-10 04:13

Unreal does not comply with RFC 2812, only RFC 1459

EDIT: In my opinion this is really unneccessary, due to the fact the key is available to all operators on the channel, and it requires operator status to be removed. So what's to stop a channel operator from just putting in the correct key to remove it?

Irsagor

2009-02-11 01:37

reporter   ~0015779

So it's possible to change a code, that removing channel key occured by command: "/mode #chan -k" ,
instead of command "/mode #chan -k previously_set_key" or "/mode #chan -k any_char(s)" ?

Stealth

2009-02-11 06:35

reporter   ~0015782

Last edited: 2009-02-11 06:37

IIRC because of the way channel modes work, if they need a parameter to be set, they need one to be unset. This also may be required by RFC 1459

syzop

2009-02-11 16:05

administrator   ~0015785

This is common[*], and not something that's going to be changed.
It's also not necessary, as anyone who can -k is already able to know the key, so there's no need for a "correct key requirement", it doesn't help anyone, it can only annoy people / perhaps even break things (shouldn't, of course).

Oh, and indeed, we (just like any other irc server except ircnet) see RFC1459 as the only real RFC.

[*] Quick google shows for example http://ircnet.irchelp.org/channelmodes.html

Issue History

Date Modified Username Field Change
2009-02-10 03:30 Irsagor New Issue
2009-02-10 04:09 Stealth Note Added: 0015776
2009-02-10 04:13 Stealth Note Edited: 0015776
2009-02-10 04:13 Stealth Status new => feedback
2009-02-11 01:37 Irsagor Note Added: 0015779
2009-02-11 06:35 Stealth Note Added: 0015782
2009-02-11 06:37 Stealth Note Edited: 0015782
2009-02-11 16:05 syzop QA => Not touched yet by developer
2009-02-11 16:05 syzop U4: Need for upstream patch => No need for upstream InspIRCd patch
2009-02-11 16:05 syzop Status feedback => closed
2009-02-11 16:05 syzop Note Added: 0015785
2009-02-11 16:05 syzop Resolution open => no change required