News for hackers. Stuff that matters.
Re:Dealing with IPv6 fragmentation in the DNS by kevin_nisbet on Tuesday August 22, 2017 @09:27AM (#15072131)
I've actually had this conversation before, and it get's a bit tricky.

I'd say it has a few main facets: - ICMP is dangerous, and needs to be blocked. This is partly true, as there is historically information leakage with ICMP under certain codes. So blocking all of it is easier than trying to figure out what should be allowed and what should not.

- It's not perceived to be a problem. Most services just work, so TCP/IP with mss clamping will avoid the fragmentation issue for many services. So the services that have an issue, might be something like 2%, and the question that always lingers is if everything else works, and this one thing doesn't, it's not the filters problem.

- ICMP doesn't necessarily work with multiple layers of encapsulation anyways I encountered this on mobile wireless networks, where doing multiple rounds of encapsulation caused multiple packet size reductions. Basically, if we encapsulate in tunnels used by the mobile network, then encapsulate again in say IPSec, the IPSec node will send it's icmp packet too big to the tunnel endpoint, not the originator of the traffic.

While I suppose it could be argued that the tunnel endpoint should maintain it's own PMTU, and pro-actively send it's own icmp packet too big based on this, it can be difficult to guarantee these components work.

I've seen lots of telco equipment struggle with handling this properly, and it's not just filtering, it's bugs.

So unfortunately, we're in a situation where many networks are likely miss-configured, but lots of other services for various reasons just work. So unless you can drive the networks with problems to actually change, realistically you just lose a portion of your own customer base if you don't handle the situation while your competitors just work.

Re:Dealing with IPv6 fragmentation in the DNS by wogna on Tuesday August 22, 2017 @11:01AM (#15073066)
> ICMP is dangerous, and needs to be blocked

I've fought this argument countless times and lost. Not being able to ping a server, check for "destination unreachable" messages, etc. leads to frustrating troubleshooting sessions.

Re:Dealing with IPv6 fragmentation in the DNS by feld on Tuesday August 22, 2017 @01:35PM (#15074639)
> I'd say it has a few main facets: - ICMP is dangerous, and needs to be blocked. This is partly true, as there is historically information leakage with ICMP under certain codes. So blocking all of it is easier than trying to figure out what should be allowed and what should not.

It's actually quite easy to identify which should be allowed and which should not.

ICMP: 0,3,8,11 (echo reply, destination unreachable, echo, time exceeded)

ICMP6: 1,2,3,4,128,129,135,136 (unreachable, packet too big, time exceeded, parameter problem, echo request, echo reply, neighbor solicitation, neighbor advertisement)

See, that wasn't hard. These are the base requirements for you to have a reasonably functional IPv4 network, and the absolute minimum requirements for IPv6 to work properly.

Re:Dealing with IPv6 fragmentation in the DNS by verri on Tuesday August 22, 2017 @01:49PM (#15074792)
But why filter ICMP at all? I can understand that ICMP allows for covert tunnelling, but by that logic any IP protocol number should be blocked.
Re:Dealing with IPv6 fragmentation in the DNS by mgsouth on Tuesday August 22, 2017 @09:11PM (#15077729)
I think it's more the incoming ICMP that is troublesome, particularly redirect, and to a lesser extent destination unreachable (DOS).
Re:Dealing with IPv6 fragmentation in the DNS by rasz on Wednesday August 23, 2017 @12:14AM (#15078484)
Under windows you cant whitelist applications allowed to use ICMP, all ICMP traffic originates from deep down ring 0 NT Kernel process.
Re:Dealing with IPv6 fragmentation in the DNS by feld on Thursday August 24, 2017 @10:11AM (#15090227)
because some ICMP types are actually dangerous and can be abused
Re:Dealing with IPv6 fragmentation in the DNS by kevin_nisbet on Tuesday August 22, 2017 @05:34PM (#15076587)
Agreed.

It's just the argument that gets made for filtering, is we'd rather just filter it all instead of trying to understand what should and should not be filtered.