Set options for specific connection class

These are old archives. They are kept for historic purposes only.
Post Reply
coolfire
Posts: 4
Joined: Wed Mar 30, 2011 3:47 pm

Set options for specific connection class

Post 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.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Set options for specific connection class

Post 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.
coolfire
Posts: 4
Joined: Wed Mar 30, 2011 3:47 pm

Re: Set options for specific connection class

Post 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.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Set options for specific connection class

Post 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
coolfire
Posts: 4
Joined: Wed Mar 30, 2011 3:47 pm

Re: Set options for specific connection class

Post 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.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Set options for specific connection class

Post 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.
coolfire
Posts: 4
Joined: Wed Mar 30, 2011 3:47 pm

Re: Set options for specific connection class

Post 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.
katsklaw
Posts: 1124
Joined: Sun Apr 18, 2004 5:06 pm
Contact:

Re: Set options for specific connection class

Post by katsklaw »

*shrug* you can try the modules site: http://www.unrealircd.com/modules.php or google maybe.
Post Reply