Page 1 of 1

Allow Block.

Posted: Sat Apr 08, 2006 12:04 pm
by Bronx AnarchY
I want a allow a password, but I dont do :( my allow line is :

allow {
ip NOMATCHING;
hostname Opers@;
class Opers;
maxperip 2;
password "000000";
};

allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};


but When ı changed my ident Opers, unreal dont ask to me password.
for opers ident. I use ident a Opers@.

I think, java user enter a password, on 7000 port, another user (mirc etc.) not pasword enter the irc.

Thnx all

Posted: Sat Apr 08, 2006 12:21 pm
by Dukat
Read the documentation about allow blocks, Bronx AnarchY.

http://www.vulnscan.org/UnrealIRCd/unre ... allowblock

(Hint: The part "About matching" should be very interesting to you... :P)

example pls ?

Posted: Sat Apr 08, 2006 12:33 pm
by Bronx AnarchY
can u paste a example ? for opers@ identd ?

edited my message :

now,

allow {
ip Opers@*;
hostname NOBODY;
class Opers;
maxperip 2;
password "000000";
};


isnt correct ?



Oh, I still have it problem :(

Posted: Sat Apr 08, 2006 1:31 pm
by Dukat
http://www.vulnscan.org/UnrealIRCd/unreal32docs.html#allowblock wrote:About matching
The access control works like this: ip matches OR host matches, so "hostname *@*"; and "ip *@1.2.3.4" will mean it will always match. Also the allow blocks are read upside down, so you need specific host/ip allow blocks AFTER your general *@* allow blocks. Additionally, if you want to setup a block that only matches based on IP, then set the hostname to something invalid, such as "hostname NOBODY;", this will allow the block to only match based on IP.

Posted: Sat Apr 08, 2006 4:01 pm
by Bronx AnarchY
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};

allow {
ip *@*;
hostname Opers@*;
class Opers;
maxperip 2;
password "000000";
};


nowww my allow line it, But when connect to my server any ident, is type to me, password mismatch,

Posted: Sat Apr 08, 2006 4:20 pm
by Dukat
You need to add the nopasscont directive in the allow block with the password...

http://www.vulnscan.org/UnrealIRCd/unre ... allowblock

Posted: Sat Apr 08, 2006 4:29 pm
by Bronx AnarchY
allow {
ip NOBODY;
hostname Opers@*;
class Opers;
nopasscount;
maxperip 2;
password "000000";
};


if rehash type,
error: unrealircd.conf:117: allow::nopasscount specified without a value
which walue, dukat pls example it, I visit, http://www.vulnscan.org/UnrealIRCd/unre ... allowblock , but ı dont see example for nopasscount


thnx
edited --------------- my new allow block


allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
allow {
ip NOBODY;
hostname Opers@*;
class Opers;
maxperip 2;
password "000000";
nopasscount;
};



ohhhhhhhhhhhhhh really soryy :((( edited message,

allow {
ip NOBODY;
hostname Opers@*;
class Opers;
maxperip 2;
password "000000";
options
{
nopasscont;
};
};


end allow line :( Im idiot :(

yes passworded allow block is ok

Posted: Sat Apr 08, 2006 4:49 pm
by Bronx AnarchY
But,

allow {
ip *@*;
hostname *@*;
class clients;
maxperip 5;
};
allow {
ip *@*;
hostname Opers@*;
class Opers;
maxperip 2;
password "000000";
options
{
nopasscont;
};
};


my new allow line, But my ident is oper, and dont ask to me a password now.

help me ?

Posted: Mon Apr 10, 2006 10:44 am
by Bronx AnarchY
do think help ? anyone ?