HNHacker News
TopNewBestAskShowJobs

erbbysam

226 karma · joined January 10, 2013

submissionscomments
erbbysam··on Instant.io – Streaming file transfer over WebTorrent
Yup, this works - https://github.com/erbbysam/webRTCCopy/blob/master/client/js... (not the cleanest code)

You can then use idb.filesystem.js to add api support for firefox etc. Search the file above for "is_chrome" for a few idb.filesystem.js-specific quirks.

Looking at that page, it looks like firefox will ship with support in version 50?

erbbysam··on Lorem Ipsum: Of Good and Evil, Google and China
A short story on that as a Defcon 22 badge competitor - When we reached the stage where we got the "Lorem ipsum" page. We first noticed that a bunch of the lines did not directly follow the "Lorem ipsum" format exactly and had strange capitalization. So we thought that the difference between the expected "Lorem ipsum" text and this text was the clue... We eventually figured out if you pasted the entire block into Google translate something strange would pop out (that was relevant to another hint - https://www.defcon.org/1057/SarangHae/ and then was useful again with what that email address returned ).

Looks like Google updated their latin translator to completely break the puzzle :)

page in question: https://www.defcon.org/1057/FissilingualElucidation/

erbbysam··on Show HN: SVG Clocks
Nice work, sorry to be that guy, but it should IIII, not IV on the second clock face - http://www.ubr.com/clocks/frequently-asked-questions-faq/faq... ( via https://en.wikipedia.org/wiki/Roman_numerals )
erbbysam··on Show HN: Real-time file sharing site
Yup it's possible. It doesn't appear to be here though, especially if the files have any sort of lifespan not dependant on the users browser staying open. Anyhow, I built something similar over at rtccopy.com which does use webrtc
erbbysam··on WebRTC Copy – OTR and fast file transfers over WebRTC
No, I currently just manually keep the site in sync with the repository. Not exactly the most professional system but it got the job done. I'm going to look into that(not sure exactly how it works, but I do need to keep a node.js server running as well for webrtc negotiation) , as well as potentially just installing git on the server and have it sync up to the repository.
erbbysam··on WebRTC Copy – OTR and fast file transfers over WebRTC
Chrome Canary is the only Chrome version that has working SCTP (reliable) datachannel support at the moment. It's broken(undetectable also) in every version before that (you can try, the website won't stop any version, just display warnings).

I did have unreliable datachannel support initially, but as both Firefox & Chrome now support reliable, I see no reason to keep that overhead/extra code around. Hopefully working reliable datachannels in Chrome will reach the primary version soon!

erbbysam··on WebRTC Copy – OTR and fast file transfers over WebRTC
removed - https://github.com/erbbysam/webRTCCopy/commit/c1f35404414d63...
erbbysam··on WebRTC Copy – OTR and fast file transfers over WebRTC
It looks like this is leaking the room name to Google Analytics. After thinking about this more, I'm going to go ahead and remove that. I should be able to monitor the server itself to make sure it isn't getting overloaded.
erbbysam··on WebRTC Copy – OTR and fast file transfers over WebRTC
Thanks for the feedback.

In defense of this implementation -

- The only external JS loaded on this site is google analytics. Feel free to block this using something like noscript :)

- WebRTC datachannel connections on this site don't use just (optionally) OTR. They have DTLS enabled within the browser. OTR just adds an authentication layer that DLTS currently lacks. So that even if the OTR implementation here was completely compromised, the only possible attack would still be a MiTM on the DTLS channel.

- It's open source (https://github.com/erbbysam/webRTCCopy), so it's available to be hosted elsewhere and all of the libraries used could be re-downloaded.

-Sam

erbbysam··on WebRTC Copy – OTR and fast file transfers over WebRTC
A minor note on 1. - rtccopy.com does use (optionally) OTR in javascript on top of the DTLS channel in order guarantee identity (something not currently guaranteed with the DTLS channel).
erbbysam··on How to send a file using WebRTC
Hi, I'm the author of rtccopy.com (https://github.com/erbbysam/webRTCCopy). Having just updated the site to support reliable connections, I was not aware that SCTP supported larger "chunk"/message sizes. Do you have a recommendation for a maximum size for Chrome or a spec for this?

I also still base64 encode files... I should probably update that as well.

erbbysam··on An easy way to share files P2P, and how it works
Awesome catch, Thanks! upvoted & cc'd
erbbysam··on An easy way to share files P2P, and how it works
Similar approach to ShareFest - http://rtccopy.com/
erbbysam··on Keep the NSA out of WebRTC
Probably limited to webrtc datachannel only, but as a developer, you could add in a JS OTR implementation - https://github.com/arlolra/otr
erbbysam··on Two.js
Kind of random, but this looks very similar to Ming (php plugin) which renders flash in a very similar manner. I open-sourced a library for rendering animations using it just a few days ago (although the project itself it 6 years old) - https://github.com/erbbysam/ming-icanimate

Thanks for this, I'm probably going to spend some time recreating that ming-icanimate rendering system with two.js

erbbysam··on Show HN: Transfer files between computers using WebRTC
Thank you for posting that, it helped me iron out some connection failure related issues!
erbbysam··on Show HN: Transfer files between computers using WebRTC
When I was initially developing this a month ago, I used the Chromium nightly build on Ubuntu on my laptop. Since then my laptop's video card died. I'm going to probably roll out a linux VM soon to make sure this works with Chromium nightly still.
erbbysam··on Show HN: Transfer files between computers using WebRTC
I like that idea. Will implement it shortly.
erbbysam··on Show HN: Transfer files between computers using WebRTC
As ianlevesque mentioned in the link below, http://peerjs.com/status is a good overview of current state of data channels. As Firefox stabilizes their WebRTC data channel support, I will implement it. Hopefully there will soon be cross-browser support as well for data channels.
erbbysam··on Show HN: Transfer files between computers using WebRTC
I think http://sharefest.peer5.com/ is actually exactly that.
erbbysam··on WebRTC DataChannels just hit Chrome stable
There is a hack to get around this (in Chrome) by increasing the SDP channels transfer rate (I think), still doesn't solve the MTU/reliable issue though. I originally found it via ShareFest - https://github.com/Peer5/ShareFest/issues/10 & have it integrated (in library form) here - https://github.com/erbbysam/webRTC-data.io I haven't tested this yet on Chrome Stable though.