hello, could someone please give me an example of how to setup the allow and oper sections so that normal users could log on without a password and opers would require a password?
Thanks for your help in advance.
securing my server
Re: securing my server
You mean by this:noike wrote:hello, could someone please give me an example of how to setup the allow and oper sections so that normal users could log on without a password and opers would require a password?
Thanks for your help in advance.
Code: Select all
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
GreenRoom SEC - Main Coder & CoMaster (http://www.wiramaster.com)
DataServ IRC Services - Main Coder
AirChat Network - Main Coder (http://www.airchat.org)
WebMAS Network - Main Team (http://www.webmas.net)
DataServ IRC Services - Main Coder
AirChat Network - Main Coder (http://www.airchat.org)
WebMAS Network - Main Team (http://www.webmas.net)
ip *;
hostname *;
class clients;
maxperip 2;
};
/* Passworded allow line */
allow {
ip aaron@*;
hostname *@*;
class Opers;
password "password";
maxperip 1;
options {
nopasscont;
};
};
is that correct?
I meant something like that and then also in the oper block something like this but I don't think all this works because no matter what name I log in as I always become operator.
oper noike {
class clients;
from {
userhost *@*;
};
password "password";
flags {
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
the userhost has to be the way it is because I travel allot and am on many networks.
hostname *;
class clients;
maxperip 2;
};
/* Passworded allow line */
allow {
ip aaron@*;
hostname *@*;
class Opers;
password "password";
maxperip 1;
options {
nopasscont;
};
};
is that correct?
I meant something like that and then also in the oper block something like this but I don't think all this works because no matter what name I log in as I always become operator.
oper noike {
class clients;
from {
userhost *@*;
};
password "password";
flags {
netadmin;
can_zline;
can_gzline;
can_gkline;
global;
};
};
the userhost has to be the way it is because I travel allot and am on many networks.
Im a little confused as to what you are asking for. For reference the oper section defines a user and password for use with the /oper command to allow you to gain IRC operator priviledges.
For example the following would mean you could type "/oper user password" to become an IRC operator:
The other thing which i am confused about is where you say:
For example the following would mean you could type "/oper user password" to become an IRC operator:
Code: Select all
oper user {
from {
userhost *@*;
};
password "password";
class clients;
flags {
netadmin;
};
};
because when you connect you shouldnt be automatically givern IRC operator priviledges. Also you can use the /oper command from ANY nick so long as your user@host mask matches one of the allowed user@host masks for the oper block you are trying to use.noike wrote:no matter what name I log in as I always become operator.