Page 1 of 1

class defined by local port, user separation

Posted: Wed Jan 25, 2006 4:45 pm
by lollophile
Hey everybody

Is it possible to define a class by the local port a user is connecting to?

Example: Connection via port X (different to standard)leads to autojoin channel Y

The problem is that I can't differenciate the users by their hostname - but can tell them to connect to a different port which should result in some special treatment...

Posted: Wed Jan 25, 2006 6:01 pm
by Ron2K
I don't think so. I've just checked the docs for the allow, listen and class blocks and I don't see anything that will do this. Unless, of course, I've missed something. Maybe you should go to bugs.unrealircd.org and request it as a new feature.

Posted: Wed Jan 25, 2006 7:38 pm
by Matridom
you can defined classes by using the allow block

http://www.vulnscan.org/UnrealIRCd/unre ... allowblock

you can nest these, so that depending on what connect password they give, they get a different class. no pass provided ends up in a default class

Posted: Wed Jan 25, 2006 8:15 pm
by tdw
tld {
mask *@*.ext;
motd "motd.txt";
rules "rules.txt";
channel "#channelyouwantthemtojoin";
};

correct me if i'm wrong!

you can put as much as tld blocks as you want

Posted: Thu Jan 26, 2006 4:33 am
by JIVXor
That's correct, besides you can specify SSL options if the host wants to connect via Secure Socket Layer.

Posted: Thu Jan 26, 2006 5:22 pm
by Ron2K
I stand corrected :P