Allow oper only for ssl users

These are old archives. They are kept for historic purposes only.
Post Reply
joschua

Allow oper only for ssl users

Post by joschua »

Hi Guys
i wish, that opers only can get oper privileges if they are loged in as ssl user.

I tryed:

Code: Select all

class           ssl_clients
{
        pingfreq 90;
        maxclients 9999;
        sendq 100000;
        recvq 8000;
};

allow {
        ip             *@*;
        hostname       *@*;
        class           ssl_clients;
        maxperip 2;
        options {
                ssl;
        };

};

oper joschua {
        class           ssl_clients;
....

But i can get oper rights as a non ssl user.
Is there any solution to do this?

Sorry for my terrible english!
Thanks!
Joschua
_MiF_
Posts: 15
Joined: Mon May 03, 2004 5:58 pm
Location: Israel
Contact:

Post by _MiF_ »

Just create another oper line, with :
class clients;
Best regards, _MiF_
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Ignore what _MIF_ said, he's wrong.

Anyway, the class you specify in the oper block has nothing to do with what class the user is in, it has to do with the class the user will be *put in* when they /oper up.

The only way to require SSL would be to use the client cert authentication feature.
-- codemastr
_MiF_
Posts: 15
Joined: Mon May 03, 2004 5:58 pm
Location: Israel
Contact:

Post by _MiF_ »

oops, sorry there. :shock:
Best regards, _MiF_
Ron2K

Post by Ron2K »

You also might want to take a look at this:
http://unreal.phpmemx.net/forums/viewtopic.php?t=51
Post Reply