News for hackers. Stuff that matters.
Re:Reasons for servers to support IPv6 by NavinF on Saturday January 29, 2022 @11:10AM (#30127428)
NAT doesn’t improve security if port numbers are easy to guess, which is usually the case.

If you wanna block inbound connections, just drop them with your firewall. Most home routers already do this by default and if yours doesn’t, you better enable it for IPv4 too.

Re:Reasons for servers to support IPv6 by stingraycharles on Saturday January 29, 2022 @11:58AM (#30127918)
“Block everything” works as long as you aren’t actually opening any services on the local network.

If I want to open up a device with a single port, I should open that in the firewall. But wait, my IPv6 addresses aren’t stateful, so they can change any time.

And then suddenly someone decides to just open port 80 and 443 on the main router, and bam! I’ve just opened up those ports for _all_ IPv6 clients in my LAN.

You think all those IP cameras and ring doorbells were vulnerable when they are behind a NAT? Just wait what happens when they all get assigned public IPv6 addresses.

I’m not saying that these problems are unsolvable. But I think it’s important to at least recognize that, yes, this is different than how we did things with NAT, and you now have more tools to shoot yourself in the foot with.

Re:Reasons for servers to support IPv6 by spookthesunset on Saturday January 29, 2022 @12:54PM (#30128553)
> you now have more tools to shoot yourself in the foot with

And the tools for managing IPv6 firewall rules suck on "SMB grade" stuff like ubiquiti and are virtually non-existant on any consumer grade router. If I have to SSH into the router and treat it like a "real" router to set up IPv6 firewall rules... it is never gonna fly for anybody who isn't proficient with "real" routers (i.e. >99% of the world).

Hell I'm pretty sure comcast's cable modem doesn't even have IPv6 firewall capabilities and if they do it is default wide open. Thats not what I want. I have no interest in outsiders being able to ping hosts on my network or even know of their existence. I have no interest in letting random IoT devices expose open ports to the entire world (by default).

IPv6 is cool and all, but no consumer gear sets it up even remotely secure. At least with NAT a "script kiddy" grade attacker won't see what is behind your router. NAT isn't perfect but it solves a lot of problems. Not so with IPv6.

Honestly I just don't really see IPv6 replacing IPv4. It introduces too many problems and offers too little benefit. Whatever actually replaces IPv4 will either need to be 10x better than IPv4 in every way or be a completely transparent migration that works with IPv4 "but with more addresses".

Re:Reasons for servers to support IPv6 by X-Istence on Saturday January 29, 2022 @01:30PM (#30128944)
> Hell I'm pretty sure comcast's cable modem doesn't even have IPv6 firewall capabilities and if they do it is default wide open. Thats not what I want. I have no interest in outsiders being able to ping hosts on my network or even know of their existence. I have no interest in letting random IoT devices expose open ports to the entire world (by default).

Comcasts cable modem also doesn't have any firewall for IPv4... it's a cable modem, it passes packets.

Your CPE (customer premises endpoint) is where the firewall lives.

> IPv6 is cool and all, but no consumer gear sets it up even remotely secure. At least with NAT a "script kiddy" grade attacker won't see what is behind your router. NAT isn't perfect but it solves a lot of problems. Not so with IPv6.

Most newer consumer gear that does IPv6 blocks all in-bound traffic on IPv6, just like it does on IPv4.

Re:Reasons for servers to support IPv6 by spookthesunset on Saturday January 29, 2022 @01:35PM (#30128984)
> Comcasts cable modem also doesn't have any firewall for IPv4... it's a cable modem, it passes packets.

Most of the new stuff comcast ships is an "all in one" device that acts as an access point, a router and a cable modem. You can buy third party cable modems that do what you describe but what comcast gives you is much more fancy.

Re:Reasons for servers to support IPv6 by pixl97 on Saturday January 29, 2022 @04:31PM (#30130715)
You should almost always buy a 'dumb' cable modem and have your own router that you manage behind it. These devices are commonly behind on firmware and may have completely insecure settings that you'll never have insight into.
Re:Reasons for servers to support IPv6 by nomel on Saturday January 29, 2022 @05:43PM (#30131346)
Having an outdated firmware (which could be solved by mandatory updates from the ISP, which appears to be the direction AT&T is going) is still much better than having no firewall at all. An incredible minority of people, who “manage” their household internet access are aware of any of this.
Re:Reasons for servers to support IPv6 by alar44 on Saturday January 29, 2022 @06:32PM (#30131739)
If your firewall has exploitable outdated firmware, I might argue it's worse than no firewall because now you potentially have malicious code living on your network. Whereas if you don't have a firewall (on a home network) there generally isn't anything someone could get into anyway. "Oh I see port 22 is open." Great, there's nothing to SSH into anyway, who cares?
Re:Reasons for servers to support IPv6 by Dagger2 on Sunday January 30, 2022 @08:43AM (#30137109)
Surprisingly, it probably does have a firewall. Cable modems are really odd devices.

That said, the relevant part is the router (which may be part of the same physical device these days), and that part certainly does have both a v4 and a v6 firewall, configured securely for both.

Re:Reasons for servers to support IPv6 by deadbunny on Saturday January 29, 2022 @05:44PM (#30131349)
> And the tools for managing IPv6 firewall rules suck on "SMB grade" stuff like ubiquiti and are virtually non-existant on any consumer grade router. If I have to SSH into the router and treat it like a "real" router to set up IPv6 firewall rules... it is never gonna fly for anybody who isn't proficient with "real" routers (i.e. >99% of the world).

Umm, the IPv6 firewall interface is exactly the same as the IPv4 firewall interface on UniFi[1].

1. https://i.imgur.com/waISjwe.png

Re:Reasons for servers to support IPv6 by zamadatix on Saturday January 29, 2022 @01:42PM (#30129050)
You should use one of your PDs as a DMZ not putting your externally exposed web server in the same subnet as your IOT or other outbound only devices. If you're hosting a lot of things™ you should be using a static DMZ, same as you would on IPv4.

For the more general user case ("I want to host a game session with my friend") I'm not sure if there is something like UPnP for dynamically registering allowed ports without needing to actually do any NAT work but that would certainly seem useful.

Re:Reasons for servers to support IPv6 by thrashh on Saturday January 29, 2022 @11:15AM (#30127470)
NAT sucks but is harder to misconfigure.

I’ve never accidentally let something through NAT.

But accidentally not configuring a firewall? Everyone does that and has done that and will forever do it.

Re:Reasons for servers to support IPv6 by BenjiWiebe on Saturday January 29, 2022 @11:21AM (#30127554)
I hear this and I'm always curious how this happens. The Linux distributions I've used, the home routers I've encountered, etc, all default to a restrictive firewall that only needs to be changed if you want stuff allowed through.
Re:Reasons for servers to support IPv6 by nunez on Saturday January 29, 2022 @02:33PM (#30129597)
Yeah, incorrect firewall rules are a HUGE problem at super large companies that aren't doing infra-as-code at scale yet.

Sysadmins/server engineering/DevOps/SRE, Networks, and Security are usually hard silos at big companies.

"DevOps" gets a request from an app team to open a port between subnet A and subnet B.

DevOps asks Networks to do it. Security needs to approve it before Networks can do it (usually). A cohort of VPs somewhere need to approve it if those subnets are "production" (i.e. subject to serious fines if the data therein fails audit).

Networks outsources the request to their global services team in India/Phillippines/China/Brazil since it's literally a single command, but they are done in bulk. These changes are only done afterhours, partly because of outsourcing latency, partly because of regulations.

The firewall person types in the wrong port. Emergency change request gets filed to fix. Fixed in 1-3 days after the CTO/CIO and some SVPs approve it (and maybe yells at people for wasting their time).

The requester asks for the wrong port. Too bad, so sad, you're waiting another week.

The app team asked for the wrong port. Same outcome as the DevOps person.

Re:Reasons for servers to support IPv6 by withinboredom on Saturday January 29, 2022 @11:29AM (#30127632)
The thing is, once you start to do any complicated firewall setup where defaults can no longer be restrictive, you are bound to screw it up at some point.
Re:Reasons for servers to support IPv6 by mentat on Saturday January 29, 2022 @11:43AM (#30127753)
What kind of firewall work didn't have default drop? Once you take that off the table you really do have a problem but I've only seen that one in 20 years of professional work.
Re:Reasons for servers to support IPv6 by withinboredom on Saturday January 29, 2022 @11:51AM (#30127848)
I’ve had to do it fairly recently due to a lot of dynamic bridges and routing on the internal network vlan. I wanted to allow all traffic through the vlan from any device. However, wanted a default drop on the external interface.
Re:Reasons for servers to support IPv6 by X-Istence on Saturday January 29, 2022 @01:33PM (#30128965)
Once you are working with VLAN's you are out of the bailiwick of consumer hardware, and you should be looking at more enterprise grade gear.

At that point having a default drop on the external interface and different rules for traffic traversing VLAN's is entirely possible, in fact that is what it is designed and built to do.

Re:Reasons for servers to support IPv6 by withinboredom on Saturday January 29, 2022 @01:34PM (#30128983)
My consumer router has vlan support…
Re:Reasons for servers to support IPv6 by yakkers on Saturday January 29, 2022 @04:52PM (#30130919)
As far as consumer routers go, wouldn’t it be trivial to re-tool the usual port forwarding interface to simply accept connections to a specific address-port? That combined with a internal block-all-inbound rule would be quite hard for a user to footgun themselves horribly with.

From a quick search, UPnP seems capable of automating this for user convenience, especially with stateless addressing.

Re:Reasons for servers to support IPv6 by Dagger2 on Sunday January 30, 2022 @08:47AM (#30137139)
Are you sure you haven't? NAT in fact doesn't stop connections, so if you accidentally didn't configure the firewall then you won't be saved by NAT.

Odds are that there weren't many people in a position to connect to you, and probably nobody actually did so, but it would certainly have been possible without a firewall in place.

Re:Reasons for servers to support IPv6 by blibble on Saturday January 29, 2022 @01:40PM (#30129033)
there's plenty of instances of shitty applications setting up massive port forwarding rules using upnp
Re:Reasons for servers to support IPv6 by nitrogen on Saturday January 29, 2022 @12:02PM (#30127957)
It's not just about inbound connections, people also generally don't want to have their outbound devices clearly visible by counting unique IPs, or MAC addresses (and thus manufacturer) of devices sent out with every packet when MAC is used to generate the address, or another globally unique identifier for ad networks to track.
Re:Reasons for servers to support IPv6 by kstrauser on Saturday January 29, 2022 @12:06PM (#30127996)
I think all major OSes have privacy extensions enabled by default, and therefore use random addresses that change regularly.
Re:Reasons for servers to support IPv6 by alar44 on Saturday January 29, 2022 @06:42PM (#30131818)
They 100% most certainly don't. I would have no idea what anything is on my network if every workstation's MAC addresses was constantly changing. Some OS's do randomize per SSID, but it doesn't constantly change, it would break DHCP by using up all the addresses. You can't just constantly change your L2 address.
Re:Reasons for servers to support IPv6 by kstrauser on Saturday January 29, 2022 @09:12PM (#30133134)
This is in IPv6, not v4. I highlight that because you mention DHCP, which generally isn’t used there. And it’s not the MAC address that changes, but the 64-bit interface identifier. Ethernet would probably stop working if the MAC address changed with any regularity. You can read more about this at https://www.internetsociety.org/blog/2014/12/ipv6-privacy-ad...

From that article written in 2014, these OSes have privacy extensions enabled by default:

- All versions of Windows after Windows XP

- All versions of Mac OS X from 10.7 onward

- All versions of iOS since iOS 4.3

- All versions of Android since 4.0 (ICS)

- Some versions of Linux (and for others it can be easily configured)

Re:Reasons for servers to support IPv6 by X-Istence on Saturday January 29, 2022 @01:34PM (#30128982)
With IPv6 and SLAAC your external IPv6 address changes on a schedule using privacy extensions...

Mine at home is configured to change every 30 minutes.

Re:Reasons for servers to support IPv6 by tolien on Saturday January 29, 2022 @12:07PM (#30128009)
As sibling points out, that’s already covered by the IPv6 privacy extensions, which every major OS has some support for [1]

1: https://datatracker.ietf.org/doc/html/rfc4941

Re:Reasons for servers to support IPv6 by Notanothertoo on Saturday January 29, 2022 @04:06PM (#30130452)
This is why I haven't swapped, but I didn't realize they've accounted for this at the client level. Makes sense, still makes me think about IoT devices though and things I don't have 'control' over like my chrome cast.