News for hackers. Stuff that matters.

Ask HN: Does HN store IP addresses to identify users?

does HN store IP addresses for the purposes of identifying user accounts?

I wonder if HN was hacked if "anonymous" posts would be linked back to actual people even though no email address is on the account.

EDIT after comments: OK so maybe HN should be clear that anonymity is not likely if HN is hacked. HN sort of presents as being a "safe" place to post anonymously but it's an illusion.

( 19 comments | 13 points | on HN )
Re:Ask HN: Does HN store IP addresses to identify users? by positr0n on Friday July 14, 2017 @05:33PM (#14773376)
I believe they have mod tools to help with voter ring detection and similar problems. I would guess those rely on ip addresses for some of the functionality.
Re:Ask HN: Does HN store IP addresses to identify users? by tentaTherapist on Friday July 14, 2017 @06:32PM (#14773727)
I don't know whether to believe you or not.
Re:Ask HN: Does HN store IP addresses to identify users? by savethefuture on Friday July 14, 2017 @05:42PM (#14773430)
They should not have to tell you that there are risks to using online services, that should be a given...
Re:Ask HN: Does HN store IP addresses to identify users? by pavement on Friday July 14, 2017 @05:32PM (#14773370)
IP address is most definitely part of the voting ring algo. I'm almost positive about that much.
Re:Ask HN: Does HN store IP addresses to identify users? by forgottenacc57 on Friday July 14, 2017 @05:34PM (#14773382)
Is there a safer alternative such as using salted hashed ip addresses?
Re:Ask HN: Does HN store IP addresses to identify users? by jwilk on Friday July 14, 2017 @05:53PM (#14773494)
Certainly not before IPv6 is widely adopted.

IPv4 address space is so small, any hashing can reversed with brute force.

Re:Ask HN: Does HN store IP addresses to identify users? by microwavecamera on Saturday July 15, 2017 @12:25AM (#14775017)
If you knew the hash being used you could just brute force them.
Re:Ask HN: Does HN store IP addresses to identify users? by type0 on Friday July 14, 2017 @06:57PM (#14773872)
> does HN store IP addresses for the purposes of identifying user accounts?

They use cookies assuming you are logged in. I wish they do store IPs in order to prevent password brute-forcing attacks.

> I wonder if HN was hacked if "anonymous" posts would be linked back to actual people even though no email address is on the account.

You should be more concerned about your email account being linked to your HN username, fortunately you don't have to provide your email here.

> OK so maybe HN should be clear that anonymity is not likely if HN is hacked. HN sort of presents as being a "safe" place to post anonymously but it's an illusion.

It's pseudonymous forum, if you wish to be anon - head over to 4chan instead.

Re:Ask HN: Does HN store IP addresses to identify users? by meowface on Friday July 14, 2017 @06:17PM (#14773659)
Even if the DB were dumped and all users' IP addresses were revealed, the leaked IPs wouldn't be much of a security risk.

For one, an attacker would not necessarily get your current IP address.

But even if they did have your current IP address... so what? The most someone could find from that is your general region; maybe your city or a city next to yours if they're lucky. There's no way they're doxing you from that unless they think they can successfully SE the ISP and don't mind risking jail for it.

The real security risk would be the leaked password hashes. That would be much, much more likely to result in people being doxed (and worse).

Re:Ask HN: Does HN store IP addresses to identify users? by krapp on Friday July 14, 2017 @06:22PM (#14773682)
> Even if the DB were dumped and all users' IP addresses were revealed, the leaked IPs wouldn't be much of a security risk.

There's no DB, the site has always been described as storing everything in memory using Lisp closures, and on flat files. I don't know whether that makes Hacker News more or less secure than average, though.

Re:Ask HN: Does HN store IP addresses to identify users? by meowface on Friday July 14, 2017 @06:46PM (#14773812)
Then replace DB with "data structure stored in a flat file". Doesn't really matter.
Re:Ask HN: Does HN store IP addresses to identify users? by ogdan on Friday July 14, 2017 @08:04PM (#14774229)
You can use Tor to post to HN anonymously.
Re:Ask HN: Does HN store IP addresses to identify users? by ketralnis on Friday July 14, 2017 @06:37PM (#14773763)
> HN sort of presents as being a "safe" place to post anonymously but it's an illusion.

I don't think I've seen that represented anywhere, and I don't think a news site really should be

Re:Ask HN: Does HN store IP addresses to identify users? by nvr219 on Friday July 14, 2017 @05:30PM (#14773359)
It does.
Re:Ask HN: Does HN store IP addresses to identify users? by forgottenacc57 on Friday July 14, 2017 @05:33PM (#14773373)
Ok so in the event of an HN hack, real users will effectively be indirectly DOXed?
Re:Ask HN: Does HN store IP addresses to identify users? by Jonnax on Monday July 17, 2017 @06:36AM (#14787174)
It is best to assume that your IP address isn't private information. Every single site you visit will see it because it's the 'address' to which the server's response is sent to.

What is the utility of correlating someone's IP address? General location? Whether users share IPs?

This kind of thing is done by everyone. Social Networks and Ad Networks.

Have a look at this: https://panopticlick.eff.org Your web browser is likely to have a fingerprint making it unique across websites. Sign up to one site with your name, then that can be easily correlated to you.

Re:Ask HN: Does HN store IP addresses to identify users? by literallycancer on Friday July 14, 2017 @06:08PM (#14773602)
IP addresses (can) change all the time, so the attacker would also need to have a way to find out who had which address at the time of the post.
Re:Ask HN: Does HN store IP addresses to identify users? by krapp on Friday July 14, 2017 @06:23PM (#14773688)
Plus, I would expect any HN user to be smart enough to use a proxy for alt accounts.
Re:Ask HN: Does HN store IP addresses to identify users? by microwavecamera on Saturday July 15, 2017 @12:27AM (#14775021)
As ogdan mentioned, if you're posting something you need to be that concerned about, you just should be using TOR.