tdw wrote:try doing your gzline in the .conf.
It wouldn't be a
GZline if done in the conf because bans set in the conf file are local ONLY.
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;
};
Please bear in mind there are cases of a user coming from a country but their ISP not using country specific TLD's in it's hostnames. For example: AOL use .com no matter what country the user is from. A UK user of AOL would not be able to get in if your allow blocks match only *.uk Also you cannot restrict by IP subnets to a specific country because IP subnets although are relatively near to country assignments there is no specific ranges for each country.
And on a final note:
siyavash wrote:As the owner of a server, why can't I use bans which are as broad as I want ?
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...