this post was submitted on 17 Sep 2023
776 points (97.8% liked)

Programmer Humor

31217 readers
669 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 78 points 9 months ago* (last edited 9 months ago) (3 children)

EDIT: OP has informed me it is not their personal IP. All is good in the land of Lemmy.


Must have quite a personal network for it to be a Class A address with 131072 subnets and 126 hosts. /s

Also, probably not a good idea to make memes with your real IP.

[–] MooseBoys 52 points 9 months ago (1 children)

Not my IP; it’s just a random one that didn’t respond to pings.

[–] [email protected] 14 points 9 months ago* (last edited 9 months ago) (1 children)

Nice. Good old ICMP disabled.

[–] c0mbatbag3l 8 points 9 months ago (1 children)

Good for avoiding detection on a quick scan at least.

Give it that ol' -Pn argument.

[–] [email protected] 3 points 9 months ago

-sS80 -sA80 was my goto for CTF boxes.

[–] [email protected] 25 points 9 months ago (1 children)

Dont really see a problem with leaking ip adresses. You can get mine by doing a nslookup on my lemmy domain for example

[–] [email protected] 30 points 9 months ago* (last edited 9 months ago) (2 children)

It's like putting your phone number on the wall of a bathroom stall. Maybe you won't get a lot of prank calls, maybe you will. It's a crapshoot.

The thing is, posting your public IP is like asking for a number of hackers to start probing your network for lapses in security. Not because you're a juicy target, but simply because you put the information out there. That's been bog standard for the internet for 20 years now.

Sure, IP addresses can be found through various ways, but having them out for everybody to see is just asking for more trouble than it is worth. You're making yourself a target and creating more work for yourself if you're constantly getting hacked because of it.

Like I don't even want to do anything malicious and I immediately started up a traceroute.

[–] [email protected] 22 points 9 months ago (1 children)

A trip to shodan should be enough to convince you that ipv4 space is small enough that it really doesn't buy you much to hide anything. Maybe a tiny bit of extra privacy by not associating an identity to an IP, but even that is pretty quickly blown away if you host anything identifiable. Which is the small web we'd benefit from restoring anyway.

[–] [email protected] 18 points 9 months ago* (last edited 9 months ago) (1 children)

The difference is a random IP is a random IP. You don't know who it's connected to. Once someone says "This is my IP" you now have it connected to a specific person, and other specific people may want to fuck with the original person.

Bots already scan all open IP addresses for vulnerabilities, but hackers live for people who give up information for free because fucking with someone who thinks they're safe from it all is fun to them apparently.

[–] [email protected] 5 points 9 months ago

Right, that's the privacy aspect I mentioned. PII tied to your IP is now available, even if it's just a pseudoidentity. But hosting anything also likely throws that out the window in the same way. Unless you have more users on your hosted service, but even then it narrows things down.

[–] [email protected] 2 points 9 months ago (4 children)

isnt that like... security through obscurity? not really a fan of that

[–] [email protected] 5 points 9 months ago

So just put your phone number on the front page of Lemmy. Or are you practicing security through obscurity by not releasing it? /s

It's not security through obscurity to not divulge information that need not be divulged. It's not obscure if there's lots of ways to find an IP. Like I said, it's like putting a phone number out there. Like that one guy from 10 years ago who posted his phone number online and immediately regretted it because his phone just wouldn't stop ringing. He wasn't "afraid" until it totally fucked up his ability to use his phone. I'm just trying to be helpful. If you really want to put yourself on blast, go for it man.

[–] [email protected] 4 points 9 months ago

There are some things you can't hide for the internet to work, such as IP addresses, so an IP address on it's own is not privileged information. Announcing to the world that "this is my IP address" adds information and context which from a privacy perspective is privileged. If someone has an issue with you, they might target their focus to seeing if there's a service running which is vulnerable at your IP, or they could initiate a DDoS against you.

[–] [email protected] 3 points 9 months ago

If it's your only layer of security, it's not good. But when a website doesn't tell you whether or not an email account exists when you try a username and password, it's still obscurity (you're not confirming one way or the other) but it's still a useful level of security. IPs are generally not given out for a reason. Most people don't even realize they don't get hacked simply because they aren't targeted. That you even route local traffic via the internet is interesting to begin with and makes me wonder if you truly are prepared for a targeted attack. Maybe you decided it's not worth the effort but maybe you don't know how. I don't know. But nonetheless, you're making yourself more of a target.

[–] [email protected] 16 points 9 months ago

Of course that's not OP's IP address. It's mine.

[–] [email protected] 30 points 9 months ago (3 children)

MFW my router doesn't support hairpinning/NAT loopback

[–] [email protected] 2 points 9 months ago

That's it's really annoying.

[–] [email protected] 2 points 9 months ago

cries in shorewall

[–] [email protected] 1 points 9 months ago

IPv6 might work

[–] [email protected] 20 points 9 months ago

This is why I set up my pihole to send back the local server IP when I ask for my domain

[–] [email protected] 16 points 9 months ago (7 children)

Noob question. Would that request travel over the internet or is it resolved locally?

[–] [email protected] 14 points 9 months ago

If the router supports hairpinning, the IP request can be resolved locally.

The domain name lookup would be a different issue and could potentially need to be resolved externally, but the router's DNS cache should be able to answer eventually.

[–] [email protected] 12 points 9 months ago (1 children)

Depends. If the zone responsible for whatever resolves to that IP is hosted locally - then DNS request would stay local.

If the service behind that IP is running locally - then all traffic would stay local. Network stack would be smart enough to not run circles to find itself.

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

Yeah, the router ought to know that public IP belongs to a device in its own network unless you're doing stuff like running your own router behind an ISP provided router and just forwarding ports instead of maintaining IP assignment / routing tables

load more comments (2 replies)
load more comments (5 replies)
[–] [email protected] 10 points 9 months ago
[–] [email protected] 2 points 9 months ago

We have found the location of a Rebel base! It's in Seattle, Washington.

load more comments
view more: next ›