Page 1 of 1

IPv6 Allow block

Posted: Mon Nov 21, 2011 10:29 pm
by cedric
When trying to connect our ZNC users to the upgraded Unreal 3.2.9, we get the following error:
(23:05:50) (*status) Attempting to connect to [2001:470:d418:10::30 6667] ...
(23:05:50) (*status) Error from Server [Closing Link: cedric[2001:470:d418:10:0:0:0:32] (Too many connections from your IP)]
There are already 3 people succesfully connected via the same IPv6 subnet.

These are our allow blocks:

Code: Select all

allow {
	ip *@2001:470:d418:10::*;
	hostname *@*;
	class clients;
	maxperip 100;
	ipv6-clone-mask 128;
};

allow {
	ip *@127.0.0.1;
	hostname *@*;
	class clients;
	maxperip 1000;
};

allow {
	ip *@*;
	hostname *@*;
	class clients;
	maxperip 3;
	ipv6-clone-mask 64;
};
The default set::ipv6-clone-mask is also set to 64,
but we still get the "Too many connections from your IP" ..
I've also tried writing the IP down like "*@[2001:470:d418:10::*]" to no avail..

Re: IPv6 Allow block

Posted: Tue Nov 22, 2011 1:56 am
by Stealth
Allow blocks match from bottom to top, which means your last allow block is matched first.

Please see the Allow Block documentation for further information: http://www.unrealircd.com/files/docs/un ... allowblock