Allow Block.

These are old archives. They are kept for historic purposes only.
Post Reply
Bronx AnarchY
Posts: 53
Joined: Thu Apr 06, 2006 3:35 pm
Location: Turkey
Contact:

Allow Block.

Post 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
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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)
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Bronx AnarchY
Posts: 53
Joined: Thu Apr 06, 2006 3:35 pm
Location: Turkey
Contact:

example pls ?

Post 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 :(
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Bronx AnarchY
Posts: 53
Joined: Thu Apr 06, 2006 3:35 pm
Location: Turkey
Contact:

Post 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,
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

You need to add the nopasscont directive in the allow block with the password...

http://www.vulnscan.org/UnrealIRCd/unre ... allowblock
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Bronx AnarchY
Posts: 53
Joined: Thu Apr 06, 2006 3:35 pm
Location: Turkey
Contact:

Post 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 :(
Bronx AnarchY
Posts: 53
Joined: Thu Apr 06, 2006 3:35 pm
Location: Turkey
Contact:

yes passworded allow block is ok

Post 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.
Bronx AnarchY
Posts: 53
Joined: Thu Apr 06, 2006 3:35 pm
Location: Turkey
Contact:

help me ?

Post by Bronx AnarchY »

do think help ? anyone ?
Post Reply