News for hackers. Stuff that matters.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by yakult on Wednesday January 18, 2017 @01:32AM (#13424523)
Suggestion: get rid of the torrent files and just serve magnet urls in plain text without a clickable button. This way you get rid of the knowledge of who-downloaded-what, and also save some bandwidth.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by unicornporn on Wednesday January 18, 2017 @02:05AM (#13424654)
> just serve magnet urls in plain text without a clickable button

That would make it impossible to copy the magnet link from the search results page, which I believe is a really nice usability perk. For users that are less technically inclined, clickable links could be crucial (even if it gives you the theoretical possibility to track the click).

I guess it depends on if you are prepared to be a search engine only for the 1337 crowd, or if you want casual users to have access to a decent search engine too. The Hacker News crowd could still just right click and copy the magnet link, so essentially you're just removing features for those who don't understand how technology works but are still dependant on it.

Perhaps the best idea would be to keep the link and have a text area for selecting and copying like requested above.

Consider this.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by StavrosK on Wednesday January 18, 2017 @06:56AM (#13425727)
Clickable magnet links are fine, since the query doesn't actually go to the server.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by ryanbrunner on Wednesday January 18, 2017 @07:37AM (#13425895)
I think the point is that the clicks could be tracked via Javascript, even if the links themselves point elsewhere.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by JshWright on Wednesday January 18, 2017 @08:00AM (#13425991)
If we're allowing javascript, then you might as well use links. It would be just as easy to check for selected text to find out what the user copied from the page.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by StavrosK on Wednesday January 18, 2017 @07:45AM (#13425932)
Ah, that's true, I kind of assumed no client-side trickery, as it would be easily detectable.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by unicornporn on Wednesday January 18, 2017 @12:16PM (#13428068)
Yes, if they stand by their word of not using JavaScript. That is easy enough to verify by someone knowledgeable, but I suppose ditching any magnet links would be more of a marketing move ("we can't track your clicks, because there's nothing to click!"). I guess selecting text (at least by selecting it in a textarea) could easily be tracked with js too though...
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by leni536 on Wednesday January 18, 2017 @03:35AM (#13424953)
> This way you get rid of the knowledge of who-downloaded-what, and also save some bandwidth.

I don't get this. It's a magnet link with magnet protocol. It will be handled by your torrent client, no additional request to the server whatsoever if you click on them. It's the same as plain text copying, but more convenient.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by jvzr on Wednesday January 18, 2017 @03:46AM (#13424987)
That's still trackable via JS for instance. Selecting & copying plain text are (AFAIK) not trackable, hence the suggestion from parent.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by VertexRed on Wednesday January 18, 2017 @06:23AM (#13425594)
Nearly everything that you do on a page is trackable if you have JS enabled including how you moved your mouse on the page (https://api.jquery.com/mousemove/).

To keep the technical details short: the events are logged with JS and sent over either ajax or a websocket in the background as you navigate the site.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by arghwhat on Wednesday January 18, 2017 @07:35AM (#13425884)
Text select and copy raises the respective events in supported browsers. See https://developer.mozilla.org/en-US/docs/Web/Events/copy for the copy event.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by darawk on Wednesday January 18, 2017 @03:48AM (#13424993)
Selecting and copying are both definitely trackable.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by mnsc on Wednesday January 18, 2017 @04:25AM (#13425113)
Is "right click and copy url" trackable as well? Genuine question.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by newscracker on Wednesday January 18, 2017 @04:53AM (#13425234)
Yes, it is. I've tried it on Facebook several times (since I try to avoid clicking on external links on the platform) and it shows related links the moment I finish the right click and copy link location action. There is some variation depending on where one clicks (on the image that has a link or the actual hyperlink), but Facebook definitely knows in most cases what URLs someone is copying to the clipboard. The first time I saw it I was very annoyed.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by nannal on Wednesday January 18, 2017 @05:18AM (#13425317)
Because the website notorious with spying on every single user action was spying on a user action?
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by atbentley on Wednesday January 18, 2017 @03:31PM (#13430029)
I get annoyed by it too, because sometimes I want to read an article but don't necessarily want fb to continue serving those articles to me. I don't really know what happens inside the Facebook machine, but I imagine clicking a link indicates you are interested in a topic. Sometimes I just want to read trash.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by nannal on Thursday January 19, 2017 @04:09AM (#13434266)
So google the title in an incognito window, or alternative and preferably, stop using that site all together.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by atbentley on Thursday January 19, 2017 @04:43AM (#13434418)
Yes, I tend to do something along those lines when I don't want to be tracked. To the original point, it's an annoying extra step to have to do but not unreasonable enough to stop using the site, I'm simply answering your question on why someone might find it annoying.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by arghwhat on Wednesday January 18, 2017 @07:34AM (#13425879)
Yes and yes - Right click raises an event, and copy specifically raises an event.

If in doubt: If it happens over or in a browser window, it is probably trackable from JavaScript.

See: https://developer.mozilla.org/en-US/docs/Web/Events/copy

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by tornadoboy55 on Wednesday January 18, 2017 @08:42AM (#13426219)
Over a browser Window? So If my 1Password window overlaps with my browser window, the page I'm on could sniff the entire 1Password window? Seems like a bunch of FUD..
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by __david__ on Wednesday January 18, 2017 @08:49AM (#13426247)
It's not really polite to call it FUD right off the bat, especially when you're probably just misunderstanding. A browser obviously can't get events from a different app.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by arghwhat on Wednesday January 18, 2017 @03:37PM (#13430072)
Moving your mouse over the window, despite not interacting with it, will allow the page to track your cursor, and could provide a surprising amount of information. That's why I wrote "over".
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by chriswarbo on Wednesday January 18, 2017 @02:30PM (#13429520)
You built a strawman, but it can actually be dangerous to interact with an application on the same screen as a browser!

https://jameshfisher.github.io/cursory-hack/

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by nommm-nommm on Wednesday January 18, 2017 @01:58PM (#13429197)
Subject to the same origin policy.

https://en.wikipedia.org/wiki/Same-origin_policy

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by arghwhat on Wednesday January 18, 2017 @03:46PM (#13430135)
That protects you (to some extend) from page A accessing resources from page B.

Same origin policy doesn't do anything to stop you from being tracked, though.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by nommm-nommm on Thursday January 19, 2017 @01:12AM (#13433491)
Yeah, of course, I was replying to a post about the concern about a website getting your entire 1password database.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by coldtea on Wednesday January 18, 2017 @04:38AM (#13425169)
Maybe not in itself, but "user mouse pointer is above the url" and "user right clicked" are.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by masklinn on Wednesday January 18, 2017 @05:50AM (#13425455)
It is trackable in itself through the `copy` clipboard event (https://developer.mozilla.org/en-US/docs/Web/Events/copy). Both keychord and contextual menu will trigger the event.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by coldtea on Wednesday January 18, 2017 @07:32AM (#13425863)
The parent was asking whether the "Copy Link Address" (Chrome) or similar is other browsers is trackable though, not the more general copy to clipboard.

I don't think that one is.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by pbhjpbhj on Wednesday January 18, 2017 @08:03AM (#13426004)
Presumably if you select and copy from a page's source view (eg via Inspect in FF) then you'd overcome tracking of specific interactions?

Or if you just block scripts.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by leni536 on Wednesday January 18, 2017 @03:52AM (#13425003)
The site serves no JS. Of course you shouldn't trust the site, so you should disable JS explicitly (via NoScript or other means) too.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by bitJericho on Wednesday January 18, 2017 @05:31AM (#13425370)
In that case a clickable maybe link isn't trackable. Afaik that requires js
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by manquer on Wednesday January 18, 2017 @07:21AM (#13425827)
not if the link itself is unique for each user trivial to implement, this is how email campaigns track what you clicked in a email ( email after all do not server js)
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by jasonkostempski on Wednesday January 18, 2017 @07:52AM (#13425960)
doesn't that only work for sites the link creator has control of? i don't see how the technique can be used with links a search engine finds and then gives out to anon users.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by leni536 on Wednesday January 18, 2017 @01:37PM (#13428957)
This is how it would work.

1. The search engine adds itself to the tracker list in the magnet URI (&tr= query parameters), but with a unique subdomain and using HTTP (i.e. it adds http://asdfkja.skytorrent.in/announce to the tracker list)

2. The client announces itself to the tracker, sending the unique "Host" in the GET request (asdfkja.skytorrent.in in the example).

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by ajsalminen on Wednesday January 18, 2017 @07:54AM (#13425969)
In that case the plain text link would be just as trackable.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by bitJericho on Wednesday January 18, 2017 @08:52AM (#13426265)
magnet links are user-side. They're like email addresses or phone numbers.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by chriswarbo on Wednesday January 18, 2017 @03:00PM (#13429759)
This doesn't prevent their users from being tracked.

Email addresses can be used for tracking by having each request for an address (e.g. each GET of a "contact us" page) return a different email address (e.g. [email protected]). Checking which address gets used allows the GET request (and all associated information) to be associated with the email message (and all associated information).

Likewise, magnet links can be tracked by looking for torrent clients trying to access them. A sibling has pointed out that unique tracker URLs can be used for this. Another way would be to make up a unique content hash for each request, then lurk on the DHT looking for queries for those hashes.

If the operator has no qualms with transferring data (e.g. being directly exposed to copyright infringement) they could even service such requests, with the user being unaware of the fact they're being tracked: the operator alters the hash by making some innocuous "watermark" change to the content, e.g. altering a filename inside an archive; each time a chunk is requested, the operator fetches it from the "original" and passes it on.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by kasumis_ on Wednesday January 18, 2017 @01:33AM (#13424530)
If 2 more users recommend this, it will be done.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by kowdermeister on Wednesday January 18, 2017 @03:00AM (#13424843)
I never download torrent files, just look for the magnet link. Same feature, why bother downloading?
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by EE84M3i on Wednesday January 18, 2017 @01:32PM (#13428899)
Magnet links are perfectly fine for popular content, but because of the dependency on BEP 009 (Metadata exchange) for very long tail content it's often better to get the torrent file directly.

For example, to get information about torrents that are on life support (e.g. have a couple seeds that show up for a few minutes a day), having the torrent file downloadable is invaluable, as it includes info like the size and the file names, etc. In many cases it's even possible to bring a torrent /back to life/ if you have the torrent file and got the content that was in it out of band.

If you just have the magnet link you cannot do any of this.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by lsmod on Wednesday January 18, 2017 @03:27AM (#13424931)
It's not the same.you'll be missing some of the trackers.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by asperous on Wednesday January 18, 2017 @03:50AM (#13424999)
Magnet URLs can and usually do include all of the trackers.

http://www.bittorrent.org/beps/bep_0009.html#magnet-uri-form...

That being said DHT and PEX (BEP 5 and BEP 11) is good enough that you don't need them.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by anacrolix on Wednesday January 18, 2017 @10:40AM (#13427069)
That's not entirely true. DHT is generally the most effective, but PEX and trackers help a lot when there aren't many seeds, or there's a lot of noise on the DHT.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by deafcalculus on Wednesday January 18, 2017 @01:42AM (#13424568)
Vote to serve only magnet links.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by EE84M3i on Wednesday January 18, 2017 @01:35PM (#13428939)
Please don't remove downloads of .torrent files. If you don't have this it's impossible to know what files are in the torrent (or even how big they are!) without connecting to the swarm and relying on BEP 009 (Metadata exchange).

I use this all the time for downloading very long tail content, and the move to have indexing sites be magnet-only is very frustrating.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by arthurcolle on Wednesday January 18, 2017 @01:35AM (#13424538)
What's the intent/desire for you to be on the delivering end of serving .torrent files?
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by kasumis_ on Wednesday January 18, 2017 @01:40AM (#13424562)
There is no intent, it's just there as many people still prefer torrent file. Though we have magnet links, so security focused users can download without us knowing nothing.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by Fnoord on Wednesday January 18, 2017 @03:50AM (#13424998)
Tangible/easy mirroring of the torrent database? Then again, DHT wouldn't go down.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by gigatexal on Wednesday January 18, 2017 @01:59AM (#13424632)
Yes magnet only plz
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by leetbulb on Wednesday January 18, 2017 @01:35AM (#13424542)
i recommend this
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by pizza on Wednesday January 18, 2017 @01:35AM (#13424537)
do this
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by kasumis_ on Wednesday January 18, 2017 @01:41AM (#13424564)
It will be done soon, thanks for voting.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by repomies691 on Wednesday January 18, 2017 @01:39AM (#13424556)
ralph plz
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by mike-cardwell on Wednesday January 18, 2017 @04:17AM (#13425079)
Alternatively: Just don't log downloads of the torrent file? Those who care can use the magnet link, those who have a use case for the torrent file can get the unlogged torrent file.

I prefer using torrent files, because I can just wget/curl them down into a directory being watched by my server which downloads torrents.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by supergreg on Wednesday January 18, 2017 @07:57AM (#13425974)
You can use aria2c on the command line to generate the torrent file from the magnet link, so it's just as easy, only a little slower.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by mike-cardwell on Wednesday January 18, 2017 @08:00AM (#13425992)
That looks good. Thanks for the tip.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by fulafel on Wednesday January 18, 2017 @01:39AM (#13424555)
The DHT search from the magnet lookup will announce to the world what you are downloading, no?
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by thecatspaw on Wednesday January 18, 2017 @03:27AM (#13424928)
Yes, but the site owner does not know if the Person who views the page actually clicks the magnet link or not, so noone will be able to tell "due to your site, X people illegally downloaded file Y"
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by antocv on Wednesday January 18, 2017 @04:23AM (#13425105)
"Due to your site, people viewed illegal content. Go to jail for X years".

Is the current world we live in.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by kasumis_ on Wednesday January 18, 2017 @01:47AM (#13424588)
YES, but still we donot download any content(because it reaches EXA Bytes).
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by juskrey on Wednesday January 18, 2017 @01:47AM (#13424591)
Yes!
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by supergreg on Wednesday January 18, 2017 @07:52AM (#13425959)
> magnet urls in plain text

A magnet as a link would be more useful. I'm sure the people worried about letting others know what they download can copy the link without clicking anyway.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by malevich88 on Wednesday January 18, 2017 @03:37PM (#13430068)
agree
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by rz2k on Wednesday January 18, 2017 @02:23AM (#13424717)
I don't do web development or design, but is tracking the selection of text that will be copied more difficult that tracking clicks in actual practice?
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by digitalengineer on Wednesday January 18, 2017 @05:15AM (#13425308)
Send an event into Google Analytics using GTM when a visitor copies text from your page

http://dcarlbom.com/google-tag-manager/event-tracking-gtm-wh...

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by icemelt8 on Wednesday January 18, 2017 @02:38AM (#13424766)
Yes, clicking a button or link will send a request to the server with some information in the header, such as which browser clicked from which IP.

Selecting the text will trigger no such request, the developer will still know who opened the site and searched for what, but he cannot know the exact torrent that was copied.

Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by disiplus on Wednesday January 18, 2017 @02:47AM (#13424800)
clicking a magnet link wont fire a request to the server. yes you can track who clicked a magnet link with javascript but you can track who selected the text with javascript also.
Re:Show HN: Privacy-focused, ad-free, non-tracking torrent s... by rhizome on Wednesday January 18, 2017 @03:56AM (#13425019)
The magnet links can be in the page, and downloads and copy/paste UX can be achieved via JS just the same as server-backed as far as the end-user is concerned. This way the entire execution of the page can be audited.