Page 1 of 1
Set options for specific connection class
Posted: Wed Mar 30, 2011 3:51 pm
by coolfire
Hello,
I was wondering if it was possible to have a set block (with a auto-join, specifically) only apply to a certain connection class.
For example, if you would connect to the connection class for IRC operators, that you will get auto-joined to #opers.
I've not been able to find any information about this in the documentation so far, any help would be appriciated.
Re: Set options for specific connection class
Posted: Wed Mar 30, 2011 10:27 pm
by katsklaw
Currently, no there isn't a way to set auto-join by class. However, in reference to auto-joining opers there is set::oper-auto-join.
Re: Set options for specific connection class
Posted: Fri Apr 01, 2011 9:40 am
by coolfire
Well, that at least solves half of my problem.
The other thing I wanted to do is create a honeypot connection class for people trying to brute force our passworded oper connection class.
Any thoughts on what I could do to receive some type of notification when someone connects to a specific class?
I don't much mind what it is, but I'd somewhere, somehow like to get some kind of notification.
Re: Set options for specific connection class
Posted: Fri Apr 01, 2011 7:01 pm
by katsklaw
Users are placed into the class defined by the first allow block they match. Opers aren't placed into the oper class until after they have successfully opered, so your brute force kiddies will still be in the same class as everyone else.
If you are overly concerned about o:lines getting hacked you should insure you are using the strictest host mask possible and encourage the use of ssl connection and ssl client certs. Tutorial on setting up ssl client certs is found at:
http://forums.unrealircd.com/viewtopic. ... 81&p=21634
Re: Set options for specific connection class
Posted: Fri Apr 01, 2011 7:16 pm
by coolfire
katsklaw wrote:Users are placed into the class defined by the first allow block they match. Opers aren't placed into the oper class until after they have successfully opered, so your brute force kiddies will still be in the same class as everyone else.
Normally yes, I forgot to mention this tefore, but we have a custom patch on our network that prevents people from attempting to authenticate as an oper unless they have initially connected to the correct, password protected class. Switching classes is not possible anymore once connected.
Re: Set options for specific connection class
Posted: Fri Apr 01, 2011 7:26 pm
by katsklaw
We don't support modified versions of Unreal.
By modifying the source you take all liability for it, This includes all assumptions that you know what you are doing. ie: editing the code to send the notifications you are asking about.
Re: Set options for specific connection class
Posted: Fri Apr 01, 2011 7:31 pm
by coolfire
Alright, no need to go all legal disclaimer on me.
I was just asking if there was already something in place to do what I wanted. There's no point in me writing a patch to 'add' functionality when the developers spent a lot of time to implement for us already.
Re: Set options for specific connection class
Posted: Fri Apr 01, 2011 8:05 pm
by katsklaw
*shrug* you can try the modules site:
http://www.unrealircd.com/modules.php or google maybe.