this post was submitted on 11 Jul 2025
319 points (97.9% liked)

linuxmemes

26205 readers
1233 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 39 comments
    sorted by: hot top controversial new old
    [–] [email protected] 3 points 1 day ago

    2140000000 for decimal round number enjoyers

    0x7FEEDBAC for hexadecimal pun enjoyers

    [–] [email protected] 3 points 1 day ago
    [–] [email protected] 8 points 1 day ago* (last edited 1 day ago)
    127.13.37.69:420
    
    [–] [email protected] 7 points 1 day ago

    127.42.0.69

    [–] [email protected] 1 points 1 day ago
    [–] [email protected] 5 points 1 day ago

    127.420.69.531:8008

    [–] [email protected] 4 points 1 day ago

    192.168.0.69

    [–] [email protected] 3 points 2 days ago
    [–] [email protected] 6 points 2 days ago (1 children)

    hey I'm pretty new to stuff like this, can someone explain?

    [–] [email protected] 9 points 2 days ago (1 children)

    These are all network addresses that refer to localhost - how a computer addresses itself.

    [–] [email protected] 14 points 2 days ago* (last edited 2 days ago) (2 children)

    To add to this - localhost spans 127.0.0.1-127.254.254.254

    [–] [email protected] 3 points 1 day ago (2 children)

    Why is 255 off limits? What is 127.0.0.0 used for?

    [–] [email protected] 5 points 1 day ago (1 children)

    To my limited knowledge: If it ends in .0 it's the network identifier. If it ends in .255 it's the broadcast address.

    [–] [email protected] 2 points 1 day ago

    Thank you! That gives me a starting point that should be easy to look up!

    [–] [email protected] 3 points 1 day ago* (last edited 1 day ago) (1 children)

    Why is 255 off limits? What is 127.0.0.0 used for?

    Hypothetically you’re working on an application but you don’t want that application exposed to the internet, you would use localhost to either expose it to 1 machine on your network or network wide by opening a port and telling the application to listen on the private IP assigned by your router.

    Advanced setup would include a reverse proxy to forward the requests from the applications port to the internet, the reverse proxy would use port 80:80 (http) & 443:433 (https), so the flow would look a little like this -

    Internet > Reverse Proxy listening on 80:80 & 443:443 > Application listening on 8080:8080

    —-

    Why does it span to .254? Well this is another advanced setup but if you wanted to segregate two application on different subnets you can. I’m not sure if there is a security benefit by adding the extra hop but the option is there.

    [–] [email protected] 1 points 1 day ago (1 children)

    Why is 255 off limits? What is 127.0.0.0 used for?

    To clarify, I meant that specific address - if the range starts at 127.0.0.1 for local, then surely 127.0.0.0 does something (or is reserved to sometimes do something, even if it never actually does in practice), too.

    Advanced setup would include a reverse proxy to forward the requests from the applications port to the internet

    I use Traefik as my reverse proxy, but I have everything on subdomains for simplicity’s sake (no path mapping except when necessary, which it generally isn’t). I know 127.0.0.53 has special meaning when it comes to how the machine directs particular requests, but I never thought to look into whether Traefik or any other reverse proxy supported routing rules based on the IP address. But unless there’s some way to specify that IP and the IP of the machine, it would be limited to same device communications. Makes me wonder if that’s used for any container system (vs the use of the 10, 172.16-31, and 192.168 blocks that I’ve seen used by Docker).

    Well this is another advanced setup but if you wanted to segregate two application on different subnets you can. I’m not sure if there is a security benefit by adding the extra hop

    Is there an extra hop when you’re still on the same machine? Like an extra resolution step?

    I still don’t understand why .255 specifically is prohibited. 8 bits can go up to 255, so it seems weird to prohibit one specific value. I’ve seen router subnet configurations that explicitly cap the top of the range at .254, though - I feel like I’ve also seen some that capped at .255 but I don’t have that hardware available to check. So my assumption is that it’s implementation specific, but I can’t think of an implementation that would need to reserve all the .255 values. If it was just the last one, that would make sense - e.g., as a convention for where the DHCP server lives on each network.

    [–] [email protected] 1 points 1 day ago

    The highest (all 1s in binary) host address in a network (last octet in /24) is the broadcast address, it is send to all host in the network.

    [–] [email protected] 2 points 1 day ago (2 children)
    [–] [email protected] 3 points 1 day ago

    Let's say you want to test a network service like a webserver (https://www.mywebserver.com/) on the same computer as the browser.

    [–] [email protected] 2 points 1 day ago

    It was designed that way. This span of addresses should not be used for anything other than localhost-ery.

    May seem like a wide span, but at the time that it was designed they didn't anticipate needing every single address

    [–] [email protected] 6 points 2 days ago

    IPv6 >> ipv4

    [–] [email protected] 25 points 2 days ago

    de:ad:be:ef:ca:fe

    [–] [email protected] 17 points 2 days ago

    This reminds me of the tale of the coder tasked to write an input validator for IPv4 addresses. Poor bastard.

    Another fun one: 0177.042.017.066

    PSA: Don't zero-pad your IPv4 octets. Decimal is for simpletons.

    [–] [email protected] 7 points 2 days ago* (last edited 2 days ago) (1 children)

    127.69.420

    127.69420

    127.42069

    [–] [email protected] 4 points 2 days ago
    [–] [email protected] 14 points 2 days ago (1 children)
    [–] [email protected] 5 points 2 days ago

    127.53.105.249

    [–] [email protected] 37 points 2 days ago (3 children)

    Wait. Is that last one really home?

    [–] [email protected] 2 points 2 days ago* (last edited 2 days ago)

    Only with a /8 or 255.0.0.0 netmask. Which is not very common.

    [–] [email protected] 44 points 2 days ago (1 children)

    It's a Class A address, reserved for loopback devices. While not any sort of default - yes, it could be used as home :)

    [–] [email protected] 13 points 2 days ago (1 children)

    Keep in mind the modern ipv4 internet uses classless subnets so it is better to think of it as a /8

    [–] [email protected] 7 points 1 day ago (1 children)

    Technically it fits inside the highest class-A subnet... but I've seen so many people (especially teachers) who think that class-A and /8 subnets are equivalent that I firmly believe that the idea of classful networking should be removed from technical literature altogether.

    [–] [email protected] 14 points 1 day ago

    Classful IPv4 was obsoleted 32 years ago. Only 8 years left before it's literally older than a standard career.

    It's fascinating the sheer inertia that leads formally-trained IT professionals to use and perpetuate such profoundly useless and obsolete nomenclature. You'd think that having an incorrect use of the term "class A" and not having any use for classes B and C would tip off academia that they should cordon off classful networking to the "History of Computing" course next to ARPANET.

    Maybe next time someone refers to 10.0.0.0/8 as a Class A network I'll refer to it as the ARPANET Network. That's only very slightly more anachronistic (3 years).

    [–] [email protected] 25 points 2 days ago (1 children)

    Yes. 127.0.0.0/8 is reserved IPv4 address space for Loopback. It is perfectly valid, and occasionally useful, to use other loopback addresses that are functionally identical, like 127.0.1.1 or 127.0.0.53, which carry semantic information for the initiated, like "53? Must be DNS-related, obviously!"

    [–] [email protected] 6 points 1 day ago

    At the place I work, we use 10.127.0.0/16 for loopback addresses on networking equipment because it has that little familiarity from 127.0.0.0/8

    [–] [email protected] 13 points 2 days ago (1 children)
    [–] [email protected] 5 points 2 days ago

    127.nice.nice.nice

    [–] [email protected] 6 points 2 days ago
    [–] [email protected] 22 points 2 days ago