News for hackers. Stuff that matters.
Re:Firefox 59 to strip path information from referrer values... by joelthelion on Thursday February 01, 2018 @05:19PM (#16286465)
Are there any reasons not to get rid of referers altogether?
Re:Firefox 59 to strip path information from referrer values... by throwaway_boi on Thursday February 01, 2018 @05:44PM (#16286677)
Re:Firefox 59 to strip path information from referrer values... by tmd83 on Thursday February 01, 2018 @07:58PM (#16287451)
This. For this you just need the origin though. There's an origin header for 10 years which makes CSRF protection so trivial yet its still not available in all browsers. Firefox can leak referer in regular mode but can't send origin? Not sure.

Anyone knows a good document on when/which browser actually sends referer header?

Re:Firefox 59 to strip path information from referrer values... by throwaway_boi on Tuesday February 06, 2018 @06:24PM (#16320931)
Firefox and Edge don't send Origin headers with POST requests[0] while all send Referer.[1]

0: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Or...

1: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Re...

Re:Firefox 59 to strip path information from referrer values... by marcell on Thursday February 01, 2018 @06:36PM (#16286988)
If you have a giant traffic spike, it's nice to know where it came from. Eg. if you get linked on Hacker News, you can go to the thread and engage with potential customers.
Re:Firefox 59 to strip path information from referrer values... by orthecreedence on Thursday February 01, 2018 @07:59PM (#16287457)
Weird, every time I get HN traffic the referrer is the HN homepage, never individual posts. Is it just me?
Re:Firefox 59 to strip path information from referrer values... by yorwba on Thursday February 01, 2018 @11:43PM (#16288472)
I guess that's because people click on the link while it's on the frontpage, not from the post's comments section.
Re:Firefox 59 to strip path information from referrer values... by joelthelion on Friday February 02, 2018 @03:10AM (#16289168)
Of course, but that's from the point of view of site owners. Browsers are owned by their users.
Re:Firefox 59 to strip path information from referrer values... by alkonaut on Friday February 02, 2018 @06:18AM (#16289746)
That's not really a direct reason for the client to send them though. There are tons of useful things about referrers to the host.

Stripping everything but the domain should be mostly ok for the client though, so if I come from a.b.com/foo, it just sends b.com as referrer? Both "a" and "foo" can hold any amount of data so those would have to go. Sending b.com should be enough to provide traffic statistics?

Re:Firefox 59 to strip path information from referrer values... by throwaway2016a on Thursday February 01, 2018 @05:42PM (#16286656)
Referral headers can be very useful for tracking down fraud and phishing activities.

Although tracking down fraud is usually as it relates fraudulent traffic which mostly effects advertising so I imagine a lot of the commenters here would say that is not a good reason.

Re:Firefox 59 to strip path information from referrer values... by beardog on Thursday February 01, 2018 @06:30PM (#16286948)
Sites can outright disable referrers using a meta tag: https://www.w3.org/TR/referrer-policy/#referrer-policy-no-re...
Re:Firefox 59 to strip path information from referrer values... by TheCoreh on Thursday February 01, 2018 @05:24PM (#16286507)
They are useful to prevent the hotlinking of images/video from third party domains, which can incur in significant bandwidth costs for smaller websites.
Re:Firefox 59 to strip path information from referrer values... by koolba on Thursday February 01, 2018 @05:35PM (#16286605)
That would continue to work fine with a default same origin allowance. A separate domain would require a referral policy.
Re:Firefox 59 to strip path information from referrer values... by pawelk on Thursday February 01, 2018 @06:06PM (#16286815)
Origin policy is a client thing. Referrer is accessible to the server. It's like using robots.txt vs. HTTP Auth to protect your content.
Re:Firefox 59 to strip path information from referrer values... by nothrabannosir on Thursday February 01, 2018 @08:09PM (#16287518)
Referrer is also a client thing. Referrer based hotlink protection implicitly trusts the visitors' UAs. Same for Origin; it just offloads the actual check to the visitor. No big difference.

HTTP Auth, on the other hand, is actual password protection which cannot be spoofed by a malicious client. Very different from robots.txt.

Re:Firefox 59 to strip path information from referrer values... by alkonaut on Friday February 02, 2018 @06:21AM (#16289751)
This is just like traffic statistics - a help to the host, not the client. This is data sent voluntarily by the client so there has to be some direct benefit to the client in sending it, or at least sending any more than the domain name with out path, subdomain and parameters?
Re:Firefox 59 to strip path information from referrer values... by peterwwillis on Thursday February 01, 2018 @05:30PM (#16286572)
Also paywall skipping, to track what sites are bringing you traffic, to pass fields to forms to report problems, to present targeted traffic based on use, and of course, advertising.
Re:Firefox 59 to strip path information from referrer values... by ori_b on Thursday February 01, 2018 @05:34PM (#16286597)
The question was for reasons to __not__ remove them.
Re:Firefox 59 to strip path information from referrer values... by mi100hael on Thursday February 01, 2018 @07:49PM (#16287399)
And those are all answers...?
Re:Firefox 59 to strip path information from referrer values... by kuschku on Friday February 02, 2018 @02:17AM (#16288981)
How are those answers supposed to convince me to keep the referer setting in my browser on? In fact, they're even more likely to convince me to turn it off.
Re:Firefox 59 to strip path information from referrer values... by executesorder66 on Friday February 02, 2018 @01:39AM (#16288849)
They want to know reasons why a user would want to keep the referrer, not the asshole that is tracking them.
Re:Firefox 59 to strip path information from referrer values... by kuon on Thursday February 01, 2018 @05:21PM (#16286480)
I was wondering the same thing.