Page 1 of 1

annonymous channel module

Posted: Sun Mar 20, 2005 5:11 am
by Ankara23
we have been playing with this on our network for a little while now
and it seems to be working pretty well.
we figured that someone else might like to play with it too

http://www.taphouse.org/m_achan.c

basically it makes use of the auditorium mode
to make everyone invisible ( you can't have chanops however)
also modes +uCnT should be set... as well as the new * mode

let me know if you find any problems with this.
enjoy!

Ankara

Posted: Mon Mar 21, 2005 6:22 am
by RandomNumber
So the new channel mode is 8 "asterick"? If so Id change that

Posted: Tue Mar 22, 2005 2:13 am
by Ankara23
RandomNumber wrote:So the new channel mode is 8 "asterick"? If so Id change that
originally we were only using the asterick to test the module.
but we decided we rather like it, it "fits" the type of channel it makes..
of course it's a perfectly simple thing to change, if need be.
but why do you think we would need to?


Ankara

Posted: Tue Mar 22, 2005 2:43 am
by Stealth
I dont think "*" is an RFC-compliant mode, and may break clients.

Posted: Tue Mar 22, 2005 3:23 am
by Ankara23
Stealth wrote:I dont think "*" is an RFC-compliant mode, and may break clients.
hmm..in that case I am open for suggestions
(the "old school" annon. chanmode was +a)

http://www.alien.net.au/irc/chanmodes.html
^^ is this complete? (and if not, where could I get a list
of *open* letters, etc.?) rfc2810-13 were not especially helpful

Posted: Tue Mar 22, 2005 3:56 am
by Stealth
User and Channel modes currently in use by Unreal:
http://www.vulnscan.org/UnrealIrcd/unre ... annelmodes

It shouldn't be too hard to see which ones are available, and a mode can be any letter (a-z).

Posted: Thu Mar 24, 2005 2:08 am
by Ankara23
alright...we were thinking either +H (for hidden) or +X
I didn't want to pick something that was being *saved* for anything though
so if anyone has an objection (or amplification) please let me know
I have pulled down the module until it is settled which one we should use

Thanks

Ankara

Posted: Sat Mar 26, 2005 6:10 am
by aquanight
Technically the only mode characters defined by RFC are the standard ones (ov and b,k,l,imnpst). In theory, the only characters you cannot use as mode flags are +, -, space, comma (, because it's a special character in 005 CHANMODES, but as a PREFIX......), CR (ASCII 10), LF (ASCII 13), and NUL (ASCII 0). In practice, you want to stick with letters when you can, but if you look at dancer that has been forced to use almost all the capital and lowercase letters and still had to use digits and even * for usermode characters :) . (Fortunately, unreal should never run out of letters because you can only have 32 modes, but you have 52 letters (upper and lowercase).)

Posted: Sat Mar 26, 2005 5:41 pm
by Ankara23
Ok, unless there are any objections, we are going with X

module back up here:
http://www.taphouse.org/m_achan.c

I also amplified the instructions a bit.

enjoy!


Ankara

Posted: Fri Apr 15, 2005 1:07 am
by Ankara23
I am pulling down this module...as it has errors when compiling in windows,
also...to really make this work flawlessy, it would require modifications to the source, which obviously are not supported. (whois: idle time, channel)


Ankara

Posted: Fri Apr 15, 2005 1:49 am
by Stealth
Actually, it seemed to work nicely without source modifications.

Whois soultion: mode channel +p

Idle solution: Well, there isn't one, but who says they aren't on different channels - or a PM for that matter.

EDIT:
With some help, I was able to fix the errors on Win32. I don't know how well the fixes would have worked on *nix. This module could use a slight recode anyway, IIRC there were bits of another module in it. :)

Posted: Fri Apr 15, 2005 8:36 am
by w00t
Stealth wrote:With some help, I was able to fix the errors on Win32.
*whistles* ;)

If anyone wants to send me the source, and what they want done with it, (ie, recode to remove that other module ;)) I'd be willing to have a look. I got it working under win32 for Stealth with some slight modification.

Posted: Sat Apr 16, 2005 8:19 am
by Ankara23
This module could use a slight recode anyway, IIRC there were bits of another module in it.
Yes, that's true. this module was thrown together quickly when we decided we wanted anon. channels. also, it had not occured to me that anyone would even *care* about idle times....(to me anon channels are for *fun* not for secure communications ) I was wrong...some people found the idle time *problem* a security hole. =\ oh well.....

since then we have solved the idle time problem (even though personally I dont think it IS one) by making whois info *not* update when the user is in a channel with this mode set...however, as this *breaks* irc this belongs in the realm of *not supported* I wont publish (at least publically) the new one.

however if you want the old one, (to play with, fix, alter, whatever) I will put it back up.

Ankara