IPv6 Allow block

These are old archives. They are kept for historic purposes only.
Post Reply
cedric
Posts: 7
Joined: Thu Nov 17, 2011 11:34 pm

IPv6 Allow block

Post by cedric » Mon Nov 21, 2011 10:29 pm

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

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: IPv6 Allow block

Post by Stealth » Tue Nov 22, 2011 1:56 am

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

Post Reply