Hello,
As the owner of a server, why can't I use bans which are as broad as I want ? I keep getting this error "*** [error] Too broad mask". What if I want to gzline ALL countries except ONE. This happens specially when I try to ban a whole ISP.
Any solutions or idéas how to do such things ?
Thank you in advance for help
[error] Too broad mask.
It wouldn't be a GZline if done in the conf because bans set in the conf file are local ONLY.tdw wrote:try doing your gzline in the .conf.
Also if you only want to allow certain countries to access your server (which i find odd) then have a look at the hostname parameter of your allow blocks in your conf.
For example this allow block allows all clients with hostmasks ending .uk (users from the UK) and then have no other allow blocks and only users who match that are allowed to connect:
Code: Select all
allow {
ip *@*;
hostname *@*.uk;
class clients;
maxperip 5;
};
And on a final note:
the reason for this is to stop anyone who gains your trust and then power banning EVERYBODY from your server using a mask of *@* or *@*.com etc...siyavash wrote:As the owner of a server, why can't I use bans which are as broad as I want ?
Thank you for great answer. But I still think I should be allowed to ban as broad as I want or atleast an option to set in the configuration to be able to allow the admins who want to use broad bans to use it. If it's "MY" IRCd, I should be able to decide how to ban, not the creators of the IRCd. Anyway, I'll probably post a suggestion to the coders.
A question... about the allow block you showed, it locks up everyone but those in allow list so I guess a block section would work like that but block the ones in that section except others, right ? That way I could disallow certain proxies or ISPs which isn't possible with gzline I guess. Am I correct about this ?
One other question while I'm at it, do you know anyway to prevent people without "hostnames" to connect to the server ? ( I created another thread about this though ). I know I could do it with a script or something, but was just wondering if it was possible on the server level. Would probably work much better that way.
Thanks again!
A question... about the allow block you showed, it locks up everyone but those in allow list so I guess a block section would work like that but block the ones in that section except others, right ? That way I could disallow certain proxies or ISPs which isn't possible with gzline I guess. Am I correct about this ?
One other question while I'm at it, do you know anyway to prevent people without "hostnames" to connect to the server ? ( I created another thread about this though ). I know I could do it with a script or something, but was just wondering if it was possible on the server level. Would probably work much better that way.
Thanks again!
This is protection, and it exists on ALL major ircds.Thank you for great answer. But I still think I should be allowed to ban as broad as I want or atleast an option to set in the configuration to be able to allow the admins who want to use broad bans to use it. If it's "MY" IRCd, I should be able to decide how to ban, not the creators of the IRCd.
If you want to bypass it, use services AKILL's.
In fact, UnrealIRCd is designed to be used together with services, so if you don't have services installed yet it probably is a good idea to do so now.
-
- Posts: 267
- Joined: Tue Jan 18, 2005 3:24 pm
- Location: Scotland - United Kingdom
yes, agreed with syzop.
if you are new to Unrealircd and they didnt have such protection a experenced ircop could really make it impossible for you to reconnect to ur servers.
or even, you could set a ban so broad it wiped out even urself do u know how to over come it while being unable to connect to your server?
^ this is a major problem and was in the past for ircds and peoples lack of understanding of how to over come the bans makes it 100times worse, as a result broadbans r just made forbidden by ircds.
if you are new to Unrealircd and they didnt have such protection a experenced ircop could really make it impossible for you to reconnect to ur servers.
or even, you could set a ban so broad it wiped out even urself do u know how to over come it while being unable to connect to your server?
^ this is a major problem and was in the past for ircds and peoples lack of understanding of how to over come the bans makes it 100times worse, as a result broadbans r just made forbidden by ircds.
i spend 4 hrs a day gaming and 14hrs on irc, for 5days a week, im not an addict