Most active commenters
  • knorker(3)

←back to thread

224 points gurjeet | 17 comments | | HN request time: 1.011s | source | bottom
1. rnhmjoj ◴[] No.26638168[source]
I wonder how much more it will take before the answer to "What is my IP address?" will simply be "Look in the settings" or "Just type ip addr in the terminal".

We are so used to NAT that we don't realize how crazy it is that you essentially have to ask a stranger what's your address. It's really difficult to explain this to someone with no networking knowledge. Nothing else works this way: phone numbers, emails or postal addresses.

replies(4): >>26638280 #>>26638286 #>>26638463 #>>26639036 #
2. knorker ◴[] No.26638280[source]
Phone numbers do work that way.
replies(1): >>26638498 #
3. ◴[] No.26638286[source]
4. teawrecks ◴[] No.26638463[source]
Phone numbers, emails, and postal addresses all still route through multiple mediaries between source and dest, and neither end ever know what path it took. In other words, they are MITMed by design. And for these mediums of communication, you want it this way for everyone's safety and sanity.

The only way this works securely with internet packets would be tor.

5. teawrecks ◴[] No.26638498[source]
Are you referring to country code prefixes?

Their point is that you can always give your number to anyone and they can directly use it to contact you. It's never unclear what number to give someone so they can reach you. Yeah calls have to be routed, but routes are implicit, not something you have to worry about as src or dest.

replies(2): >>26638586 #>>26640388 #
6. rchard2scout ◴[] No.26638586{3}[source]
No, your own phone number.

Say you're at home, you have a landline, and you don't know what your own phone number is. How do you get it? You call someone with caller ID, and ask them to tell you what number you called from.

replies(1): >>26639287 #
7. marcosscriven ◴[] No.26639036[source]
You don’t really have to ask a stranger - you can ask your router, in a similar way you can check the door number on your street.
replies(4): >>26639422 #>>26640496 #>>26640565 #>>26643982 #
8. cestith ◴[] No.26639287{4}[source]
There are numbers one can call for ANI / ANAC info from a landline. They vary by carrier and sometimes region. MCI has a well-known line that reads back your number.

Of course, I haven't had a land line in years and my cell phones tell me their numbers in the settings.

replies(2): >>26639730 #>>26640413 #
9. remram ◴[] No.26639422[source]
Ask your router? Is there a generic way to do this, or do you mean "look into its vendor-specific management interface"?
replies(1): >>26639748 #
10. elcomet ◴[] No.26639730{5}[source]
Yeah that's exactly asking a stranger to tell you your address
11. the8472 ◴[] No.26639748{3}[source]
NAT-PMP, UPnP-IGD or PCP can be used for that. Home routers usually support at least one of those, but you may have to explicitly enable it.
replies(1): >>26640062 #
12. remram ◴[] No.26640062{4}[source]
3 competing techs... Of course this doesn't suffice in a variety of situations which is why STUN is a thing: https://tools.ietf.org/html/rfc3489
13. knorker ◴[] No.26640388{3}[source]
I'm referring to the fact that people don't know their own phone numbers, and instead of reading it, they'll call you and the receiver sees the number.
14. knorker ◴[] No.26640413{5}[source]
They don't always. Sometimes you have to use one of those pound sign codes, but even that sometimes comes up empty.

So like I said, you call someone to get your number. Like how you google what your ip address is.

15. tenacious_tuna ◴[] No.26640496[source]
I'm NAT'd, though with an external IP, so the IP my router sees is not the same as what the world sees--while my ISP did provide me this information in an email, it's much faster for me to ask Google or whatnot than to dig the email up.
16. asymptosis ◴[] No.26640565[source]
Assumes:

* You have login access to the router * Your router is directly exposed to the internet * You're not using a VPN

17. rnhmjoj ◴[] No.26643982[source]
If your ISP is doing a CGNAT, which are becoming more and more common, not even the router knows the public address.