annonymous channel module

These are old archives. They are kept for historic purposes only.
Post Reply
Ankara23
Posts: 19
Joined: Fri Feb 11, 2005 6:58 pm
Location: irc.taphouse.org
Contact:

annonymous channel module

Post 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
RandomNumber
Posts: 44
Joined: Mon Jan 24, 2005 6:10 pm

Post by RandomNumber »

So the new channel mode is 8 "asterick"? If so Id change that
Ankara23
Posts: 19
Joined: Fri Feb 11, 2005 6:58 pm
Location: irc.taphouse.org
Contact:

Post 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
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

I dont think "*" is an RFC-compliant mode, and may break clients.
Ankara23
Posts: 19
Joined: Fri Feb 11, 2005 6:58 pm
Location: irc.taphouse.org
Contact:

Post 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
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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).
Ankara23
Posts: 19
Joined: Fri Feb 11, 2005 6:58 pm
Location: irc.taphouse.org
Contact:

Post 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
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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).)
Ankara23
Posts: 19
Joined: Fri Feb 11, 2005 6:58 pm
Location: irc.taphouse.org
Contact:

Post 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
Ankara23
Posts: 19
Joined: Fri Feb 11, 2005 6:58 pm
Location: irc.taphouse.org
Contact:

Post 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
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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. :)
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post 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.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Ankara23
Posts: 19
Joined: Fri Feb 11, 2005 6:58 pm
Location: irc.taphouse.org
Contact:

Post 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
Post Reply