Identd required for other state.

These are old archives. They are kept for historic purposes only.
Franko

Identd required for other state.

Post 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.
JanisB
Posts: 128
Joined: Fri Apr 22, 2005 9:05 am
Location: LV
Contact:

Post by JanisB »

Code: Select all

/spamfilter add u kill - You_must_enable_identd_to_use_this_server .*!~.*@.*\.fr
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Better than a spamfilter for this:

/gline ~*@*.fr 0 Get IDENT!
Why the hell can't my signature be empty?
"Your message contains too few characters."
JanisB
Posts: 128
Joined: Fri Apr 22, 2005 9:05 am
Location: LV
Contact:

Post by JanisB »

*** [error] Too broad mask :P
Franko

but..

Post 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!
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

Edit your allow blocks for this.

Have one for:
hostname ~*@*
ip *@NOIP;
password jibberish;

And one below that for your exceptions.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Guest

Post 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;
};
Guest

Post 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!
Franko

Post by Franko »

But then, all the users besides the "exception" cannot login, even with ident. :roll:
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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";
};
Guest

Post 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. :oops:
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.
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post 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,}|.)$
Why the hell can't my signature be empty?
"Your message contains too few characters."
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post 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
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Guest

Franko

Post 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.
Post Reply