Page 1 of 2
Identd required for other state.
Posted: Tue Jun 06, 2006 6:42 pm
by Franko
hello,
I'm wonder how I can required from the users that are not connection from *.fr and get ident, otherwise >> kill untill they've got identd respond?
Thank you.
Franko.
Posted: Tue Jun 06, 2006 7:22 pm
by JanisB
Code: Select all
/spamfilter add u kill - You_must_enable_identd_to_use_this_server .*!~.*@.*\.fr
Posted: Tue Jun 06, 2006 7:38 pm
by Jason
Better than a spamfilter for this:
/gline ~*@*.fr 0 Get IDENT!
Posted: Tue Jun 06, 2006 7:39 pm
by JanisB
*** [error] Too broad mask :P
but..
Posted: Tue Jun 06, 2006 7:42 pm
by Franko
but I wanted exception to .fr.
I mean, all .fk users could connect to the server WITHOUT identd.
all the rest? identd required!
Posted: Tue Jun 06, 2006 7:44 pm
by Jason
Edit your allow blocks for this.
Have one for:
hostname ~*@*
ip *@NOIP;
password jibberish;
And one below that for your exceptions.
Posted: Tue Jun 06, 2006 7:58 pm
by Guest
what do you mean?
right now, what's what I've got:
Code: Select all
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 4;
};
allow {
ip unknown@*;
hostname unknown@*;
class clients;
maxperip 2;
};
Posted: Tue Jun 06, 2006 8:10 pm
by Guest
This's fine?
anything else missing?
Code: Select all
allow {
hostname ~*@*;
ip *@NOIP;
password blah;
class clients;
};
allow {
ip *@NOIP;
hostname *@*.fr;
class clients;
maxperip 4;
};
there's a way to add "reason" ?
(instead of "You are not authorized to connect to this server")
Thanks guys!
Posted: Tue Jun 06, 2006 11:08 pm
by Franko
But then, all the users besides the "exception" cannot login, even with ident.

Posted: Wed Jun 07, 2006 1:34 am
by Jason
He didnt get the point.
He was supposed to have:
A global allow
An allow for idented connections WITH A PASSWORD (jibberish works)
An allow for all exceptioons (no password)
In that order.
Posted: Wed Jun 07, 2006 5:48 am
by Stealth
Anonymous wrote:
there's a way to add "reason" ?
(instead of "You are not authorized to connect to this server")
Thanks guys!
Add to all servers a ban user block.
Code: Select all
ban user {
mask ~*@*.fr;
reason "Get identd";
};
Posted: Wed Jun 07, 2006 10:46 am
by Guest
Jason wrote:He didnt get the point.
He was supposed to have:
A global allow
An allow for idented connections WITH A PASSWORD (jibberish works)
An allow for all exceptioons (no password)
In that order.
Code: Select all
allow {
ip *@*;
hostname *@*;
class clients;
maxperip 4;
};
allow {
ip ~*@*;
hostname NOBODY;
class clients;
password "herepass";
};
allow {
ip *@*;
hostname *@*.fr;
class clients;
maxperip 4;
};
Anyone with or without ident can login to the network.
Stealth wrote:Add to all servers a ban user block.
Code:
ban user {
mask ~*@*.fr;
reason "Get identd";
};
Stealth, I want to get "exception" for .fr users. you did the opposite.
Posted: Wed Jun 07, 2006 9:38 pm
by Jason
Ok.
Heres the answer. (God how I hate writing negated spamfilters!)
Code: Select all
/spamfilter add u kill - You_must_enable_identd_to_use_this_server .*!~.*@.*\.(([^f].|.[^r])|.{3,}|.)$
Posted: Thu Jun 08, 2006 7:32 am
by Dukat
I don't quite understand why you can't just simply use a ban user block and a ban exception block?
Code: Select all
ban user {
mask ~*@*
reason "Get identd";
};
except ban {
mask *@*.fr;
};
Ident sucks anyway hehe
Franko
Posted: Thu Jun 08, 2006 9:36 am
by Guest
well, cause then I gives over 200 users protection from been kill/ban.
if I'll add it, I wont be able to /gline then.