News for hackers. Stuff that matters.
Re:Is there hope for IPv6? by AnIdiotOnTheNet on Saturday January 05, 2019 @12:25PM (#18832860)
> IPv6 firewall that gives at least if not more security than NAT provides

That's just not true. NAT and firewall both achieve what little security they provide through simple blocking of packets based on state information. Firewalls generally provide more robust state information, but NAT is what lets you redirect sockets. They work together.

Re:Is there hope for IPv6? by Dagger2 on Saturday January 05, 2019 @02:00PM (#18833506)
Except NAT gives no security, because NAT doesn't block packets.

If a packet comes in that doesn't match any NAT state, then the packet isn't dropped on the floor -- it's processed as normal like any other packet would be, and in the absence of a firewall (which is logically separate, even if often implemented in the same software stack) it'll be routed to whatever the destination in the packet header is.

Re:Is there hope for IPv6? by zamadatix on Saturday January 05, 2019 @02:30PM (#18833670)
"If a packet comes in that doesn't match any NAT state, then the packet isn't dropped on the floor"

Yes it is, it's the same scenario as if there was no route to the destination just at a higher abstraction layer. Think about it this way: a packet just hit the NAT IP from the internet, the packet has hit it's destination. There was no NAT table match for the packet so it was not rewritten. Where would the packet be forwarded to if not the bit bucket?

Re:Is there hope for IPv6? by Dagger2 on Saturday January 05, 2019 @03:04PM (#18833879)
It's not the same scenario at all. If there's no route to the destination then the packet will necessarily be dropped, but with no matching NAT state table entry for a packet all that happens is that the dst header field is left alone.

There will still be an IP in the dst header field! The router will still deliver the packet to that IP, subject to all the usual constraints (e.g. it needs a valid route etc). NAT won't stop that; only a firewall will.

Re:Is there hope for IPv6? by quicklyfrozen on Saturday January 05, 2019 @03:39PM (#18834090)
The destination IP will be for the router itself, so the router can either re-deliver the packet to itself or drop it.

I don't see how NAT isn't an effective inbound firewall by itself in the normal case where it's in front of local non-internet-routable IP addresses.

Re:Is there hope for IPv6? by Dagger2 on Saturday January 05, 2019 @04:08PM (#18834273)
It won't necessarily be for the router. The packet could be addressed to one of the machines on your LAN, in which case nothing NAT does will stop the router from happily forwarding it right through.

NAT does nothing to stop a router from forwarding any given packet -- and that's something that's still true regardless of what IP range you're using on the LAN side.

Re:Is there hope for IPv6? by AnIdiotOnTheNet on Saturday January 05, 2019 @03:32PM (#18834042)
And in practice what that means is that the router's own IP is the destination and the packet ends up at a closed port.

Unless of course you're talking about using NAT outside the context of the RFC1918/internet boundary, in which case you're absolutely right, but that wasn't what was being discussed.

Re:Is there hope for IPv6? by Dagger2 on Saturday January 05, 2019 @04:01PM (#18834221)
Isn't it? I thought we were talking about NAT, not about RFC1918.

Even NAT in combination with RFC1918 doesn't give you security. The use of RFC1918 would certainly limit the set of people that could connect to your LAN machines, but it would be hard to call the result secure since anybody sharing your upstream L2 network, plus your ISP and anyone who can trick, force or coerce them into cooperating could still access your network.

And what does NAT add to the situation? Certainly not any security, since any connections that were possible before you added the NAT will still be possible afterwards too. In fact a lot more connections will become possible, so it seems like it reduces the security rather than improves it.

Re:Is there hope for IPv6? by AnIdiotOnTheNet on Sunday January 06, 2019 @12:03AM (#18836668)
> call the result secure since anybody sharing your upstream L2 network, plus your ISP and anyone who can trick, force or coerce them into cooperating could still access your network

Ok, so the L2 thing isn't unheard of, but otherwise these are relatively unrealistic scenarios to be concerned about, don't you think?

Re:Is there hope for IPv6? by Dagger2 on Sunday January 06, 2019 @04:32AM (#18837445)
I guess, but the fact remains that using RFC1918 is still both more effort and less secure than just using a firewall is, and that NAT doesn't help the situation.

Do you really want the security of your network to rely on your ISP always doing the right thing for you?

Re:Is there hope for IPv6? by bartwe on Saturday January 05, 2019 @05:13PM (#18834608)
Terminology shifted, when NAT is talked about it is generally considered to be MASQ NAT to RFC1918 ranges
Re:Is there hope for IPv6? by Dagger2 on Saturday January 05, 2019 @06:24PM (#18835048)
Even then, that would still only put you into the situation in the second paragraph of my previous post. You would still need a firewall, and if you have a firewall then shifting to RFC1918, adding MASQ NAT or even doing both won't help, because inbound connections are already blocked.