Live data from Hacker News

Show HN: Pure JavaScript P2P file sharing in the browser

whatareyoudownloading.com

61–70 of 72 posts

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#61
post #23
post #16

Earlier quoted context omitted.

Encryption ought to be standard. Making it optional means most people won't use it.

Per spec DataChannels should use encryption by default, you must still encrypt all WebSocket or other traffic that goes via your server.

You are true. DataChannels are encripted by spec, and WebSockets are also being cyphered. I've taken security and anonimity as far as I could (I'm not a security nor frontend guy... :-P )

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#62
post #60

Earlier quoted context omitted.

Great, I'll give it a go soon. I had a look but it can only share folders, not a single file. Otherwise, a very useful service! EDIT: And it's all static HTML, fantastic! I just hosted it on my server, although there doesn't seem to be much of a reason to do that, since it's all static! Thanks a lot for this.

I worked REALLY HARD to make it all statil HTML and Javascript, and I'm still working hard to remove the handshake servers... Any help here will be greatly welcome :-)

Hmm, who runs the handshake servers, and how can you remove them? Unfortunately I haven't managed to get the app to run, but it sounds fantastic in theory...

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#63
post #17

Earlier quoted context omitted.

Can the WebP2P protocol be used for Bittorent, too, like instead of that Torque thing they have?

Someone else made a browser-based BitTorrent-client, http://hcliff.github.com/ampere/ Which, apparently, is based on this code by piranna.

WHAT?!?!?!?!! It's the first news I have about that, I don't know to be happy about it or angry about nobody told me... :-P

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#64
post #60

Earlier quoted context omitted.

I worked REALLY HARD to make it all statil HTML and Javascript, and I'm still working hard to remove the handshake servers... Any help here will be greatly welcome :-)

Hmm, who runs the handshake servers, and how can you remove them? Unfortunately I haven't managed to get the app to run, but it sounds fantastic in theory...

Currently I'm using PubNub as a "pool of peers", where a new peer connect and send a "presence" message that's listened by the previous peers, that then send a SDP offer to that new guy. Later, it keeps waiting some time sending offers to the new guys, and when it has several connections (from older and newer peers) it disconnect and start to search for new peers only over the WebP2P network.

Ideally, I would like to use something more "agnostic" like SIP or XMPP, but didn't be able yet to do it in an anonimous way, since both protocols require to create accounts somewhere that later when you register on a SIP or XMPP server it ask to confirm that you exists, so goodbye anonimity :-(

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#65
post #30

Earlier quoted context omitted.

Not working on Chrome 25 either

no working with chrome 26 ...

Chrome v26 has native DataChannels, but I didn't have time to update my polyfill and also it gave me problem the last time I tried it, so I'm waiting until it gets out of Canary.

Yes: I developed DataChannel-polyfill, the first working implementation of the DataChannels specification, too... :-)

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#68
post #63
post #17

Earlier quoted context omitted.

Someone else made a browser-based BitTorrent-client, http://hcliff.github.com/ampere/ Which, apparently, is based on this code by piranna.

WHAT?!?!?!?!! It's the first news I have about that, I don't know to be happy about it or angry about nobody told me... :-P

I just spotted it on Clojure subreddit few days back: http://www.reddit.com/r/Clojure/comments/16r9ym/my_clojuresc...

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#69
post #58

False and misleading title. _serverless_ file sharing says title, yet the technology "requires a HTTP server". "Its completely anonymous as no data is ever stored on the server". Incorrect, only mild protection against sniffing and spoofing is provided. The underlying code documentations speaks of "This makes it perfect for anonymity": https://github.com/ShirsenduK/WhatAreYouDownloading/tree/mas... No PKI is linked o…

What's "neighbor invite" NAT traversal? This term doesn't resolve to anything on Google.

The technique described in detail here: http://pds.twi.tudelft.nl/reports/2010/PDS-2010-007.pdf http://dl.acm.org/citation.cfm?id=2008828 Code: https://github.com/triblerteam/libswift/blob/master/nat_test...

Re: Show HN: Pure JavaScript P2P file sharing in the browser

#70
post #64

Earlier quoted context omitted.

Hmm, who runs the handshake servers, and how can you remove them? Unfortunately I haven't managed to get the app to run, but it sounds fantastic in theory...

Currently I'm using PubNub as a "pool of peers", where a new peer connect and send a "presence" message that's listened by the previous peers, that then send a SDP offer to that new guy. Later, it keeps waiting some time sending offers to the new guys, and when it has several connections (from older and newer peers) it disconnect and start to search for new peers only over the WebP2P network. Ideally, I would like to…

Hmm, it sounds like you're reimplementing Gnutella for the browser, which is not necessarily a bad thing!
Post reply on HN