class defined by local port, user separation

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
lollophile

class defined by local port, user separation

Post 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...
Ron2K

Post 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.
Matridom
Posts: 296
Joined: Fri Jan 07, 2005 3:28 am

Post 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
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
tdw
Posts: 105
Joined: Sat Aug 06, 2005 12:40 pm

Post 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
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor »

That's correct, besides you can specify SSL options if the host wants to connect via Secure Socket Layer.
Ron2K

Post by Ron2K »

I stand corrected :P
Locked