this post was submitted on 19 Apr 2024
245 points (97.7% liked)
Linux
48640 readers
2131 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
IPv6. Lack of IPv4 addresses it's a problem, specially in poorer countries. But still lots of servers and ISPs don't support it natively. And what is worse. Lots of sysadmins don't want to learn it.
Am sysadmin, can confirm I don't wanna learn it.
Also a sysasmin, really don't wanna learn it...or have to type it on the daily
not a sysadmin, but i admin a system or two, have yet to learn it myself, but will eventually learn it.
My university recently had Internet problems, where the DHCP only leased Out ipv6 addresses. For two days, we could all see which sites implemented ipv6 and which didn't.
Many big corpo sites like GitHub or discord Apperently don't. Small stuff like my personal website or https://suikagame.com do.
github is so stupid with that, it's actually funny
That's a fun little game there!
Lots of really large sites are horribly misconfigured. I had intermittent issues because one of the edge hosts in Netflix ‘s round robin dns did not do MTU discovery properly.
IPv6 is great, but NAT is quite functional and is prolonging the demise of IPv4.
My isp decided to put me behind a CGNAT and broke my access to my network from outside my network. Wanted to charge me $5 a month to get around it. It's not easy to get around for a layman, but possible. More than anything it just pissed me off that I'd have to pay for something that 1 day ago was free.
How can you bypass CGNAT?
Set up a reverse proxy on another machine (like one of those free oracle cloud things). I can't go into detail because I don't know exactly how. I think cloudflare also has options for that for free. Either way it's annoying.
Cloudflare tunnel, and its alternatives, such as localXpose, altho the privacy is probably questionable, and a many of them require a domain.
NAT is functional as long as you like NAT, which im pretty sure nobody likes, so uh.
Plenty of people like NAT.
the only people that like nat are network admins, and ISPs.
Everyone else hates them. The rest don't care, but they wouldn't know a NAT if it hit them in the face.
You can have that with ipv6, too.
NAT is not for security, that's what the firewall is for. Nobody can access your IPv6 network unless you allow access through the firewall.
Found the guy that does not want to learn IPv6!
You're thinking of a firewall. NAT is just the thing that makes a connection appear to come from an IP on the internet when it's really coming from your router, and it's not needed with IPv6. But you would not see any difference with IPv6 without it.
That connection only "appears to come from" if I explicitly put a rule in my NAT table directing it to my computer behind the router doing the NAT-ing.
Otherwise all connections through NAT are started from internal->external network requests and the state table in NAT keeps track of which internal IP is talking to which external IP and directs traffic as necessary.
So OP is correct, it does apply a measure of security. Port scanning someone behind NAT isn't possible, you just end up port scanning their crappy NAT router provided by their ISP unless they have specifically opened up some ports and directed them to their internal IP address.
Compare this to IPV6 where you get a slice of the public address space to place your devices in and they are all directly addressable. In that case your crappy ISP router also is a "proper" firewall. Strangely enough it usually is a "stateful" firewall with default deny-all rules that tracks network connections and looks and performs almost exactly like the NAT version, just without address translation.
You end up just port scanning their crappy router on IPv6 as well because ports that are not opened are stuck at the firewall either way, no matter if you use IPv4 or IPv6.
Just because every device gets a public IP does not mean that IP is publicly accessible.
An advantage that IPv6 has against port scanning is the absurdly large network sizes. For example, my ISP gives me a /56 prefix, that is 4,722,366,482,869,645,213,696 IPv6 addresses. Good luck finding the used ones with the port open you need.
Even with just a /64 prefix you get 18,446,744,073,709,551,616 addresses, way outside the feasibility of port scanning.
realistically, it wouldnt surprise me if ISPs started NATing on residential IPV6 networks, just for the simplicity, but still allowed end users to assign their own IPs if they so pleased. Given the surge in shitty IOT devices, that's probably a good thing for most people. Though a firewall would also accomplish this as well.
No. Stop spreading that myth. NAT does fuck all for security. If you want a border gateway, you can just have a border gateway.
you know what is more secure? Not being connected to the internet.
Say this to my very large Canadian ISP who still doesn’t support IPv6 for residential customers. Last I checked, adoption in Canada was still under 50%.
50%?? I fucking wish. In Spain we are at 5%. I finally got IPv6 in my phone this year, but I want it in my home, which is still only available as IPv4 even if they're the same ISP.