Better HN
topnewbestaskshowjobs
Log inSign up

nullc

19,337 karma · joined Dec 24, 2010 (15y ago) · 7,234 submissions

gmaxwell

http://nt4tn.net/

Submissions

comment 13y ago · link · parent

> This is silly and trying to tie it into the recent NSA revelations is disingenuous [...] (a) will not be enabled by default; the developer would have to enable it explicitly?* ;

The point of showing the relationship here is to point out that site/service operators ("The developer") in your example cannot be trusted to not be coerced into acting against the user's interest.

> (b) is mainly intended for compatibility with existing SIP systems

WebRTC cannot be directly compatible with existing SIP systems because the data transport channel must use ICE to negotiate permission to send. (Otherwise JS bugs on webpage could turn random browsers into traffic flooders.

> where the server can do whatever kind of interception it wants by modifying the page JavaScript

SDES always sends the cryptographic keys to the signaling service, so the traffic can be undetectably captured. DTLS-SRTP does not make them available at all— even to the JS. So you never get unconditionally undetectable capture— at worst you get is capture which is only detectable by users that bother to page-info->media->session ID and compare.

> a downgrade attack

Whenever a less secure channel exists you can be forced into using it by blocking the more secure one. In particular, the thread model pointed out by the recent revelations is that the "developer" (site operator) can be secretly acting against the user's best interest.

> NSA taking over WebRTC

Huh? I wasn't ambiguous about who was pushing it because I wanted to suggest it was some shadowy force. I don't think it particularly matters _who_ is pushing it. I believe that when technology creates backdoors available to third parties those backdoors will eventually be used. As an engineer in this space I believe we can only protect the public by building systems which, to the best of our ability, are structurally immune to being subverted.

comment 13y ago · link · parent

> I don't think this is correct.

You may have adopted a somewhat definition of interception then I was intending there. Certainly it will not prevent traffic analysis but the content of the communication can not be discerned by a computationally bounded adversary under the assumption that the underlying cryptography is secure (and if it isn't... there are bigger issues). Modern cryptography isn't something you just wave CPU power at: the energy required to crack these constructs via brute force on non-reversible computers is not currently available to man kind.

> 2) Persona does not prevent against MITM.

Persona is, effectively, a distributed PKI system that binds ephemeral signing keys to a human recognizable identity. There is, in fact, a draft on using Persona (or any other cryptographic identity service) to authenticate the WebRTC session IDs: http://tools.ietf.org/html/draft-rescorla-rtcweb-generic-idp... but it only protects against server-cooperating MITM if DTLS-SRTP is used and not SDES.

> Unfortunately you always need someone in the middle because even in 2013 probably 99.9% of 'things' on the internet are behind NAT

Having a signaling intermediary and and ICE/TURN service to get past NAT is completely orthogonal to having ephemerally keyed end-to-end encryption which cannot be tampered with by site controlled JS.

With DTLS-SRTP you can have a conversation signaled and NAT traversed by, say, Facebook which cannot be spied on by Facebook without— at a minimum— causing the two endpoints to show and record different session fingerprints making any interception detectable.

comment 13y ago · link · parent

This is why decenteralized systems are important. WebRTC itself can be used in an entirely peer to peer manner.

Do you foresee CALEA being successfully imposed on open source software (e.g. firefox) where users connect directly to each other without an intermediate server?

comment 13y ago · link · parent

Sorry for the wall of text. I think this is a place where the people on Hacker News can actually _do something_ about the surveillance.

But bringing in a bunch of unformed yelling people into the IETF won't help. Bringing in a bunch of concerned but informed people _can_ make a difference. But like most things that make a difference it will take a bit more of your time than just clicking a form.

7055.

Keep the NSA out of WebRTC

254 points · by nullc · 13y ago · 17 comments

comment 13y ago · link · parent

Perhaps it's performance art. They'll have a great big community on a pervasive surveillance platform in order to be personally the first against the wall.

comment 13y ago · link · parent

Which section of the §215 authorizes this activity?

comment 13y ago · link · parent

I must confess to giggling at the authors examples of 'signal':

> "Lots of signal. Lots of friends becoming parents.

> Getting engaged. Couples falling in love. Babies. [...]

> Friends and acquaintances off on adventures. Beautiful

> mountain photos [...] Family outings. [...] orphanage

> a good friend of mine runs in Nepal. [...] updates on

> the dog back home on the east coast"

All that stuff sounds like the expected output of a random human condition generator. Knowing those things wouldn't change my life at all. I trust that that kind of stuff is happening all on its own without having to take any of my attention.

Different strokes for different folks, I suppose. However, I suspect he may be missing the mark because the audience he's addressing with his "just use hide!" may well be like me and find all that stuff inane. 'Use hide to reveal the signal under the noise' doesn't work when there is no signal.

comment 13y ago · link · parent

Indeed. It doesn't surprise me that the actual freedom available to users wouldn't be important to them, but it surprises me that the Bug#1 would have spoken so clearly about it if they didn't understand the issue.

comment 13y ago · link · parent

This has an expedient solution of only making devices which are able to play DRMed media (perhaps with permissive flags), and having all authoring tools use a per-user content creator key. Then the same broadcast encryption keying that allows players to be selectively disable also allows the cracked transcoder to be disabled.

Of course, this isn't terribly compatible with general purpose computing but operating systems intended for the public have been moving away from general purpose computing for some time and tables and mobile devices are pretty close to that now.

If we go far enough down that path the makers of these handicapped devices can even get legislative help in preventing competition from more user friendly devices by outlawing their sale as was the case for macrovision.

comment 13y ago · link · parent

This is good news: Don't pretend to not be logging something they're actually logging (and, can't really choose not to log since they can be ordered to secretly do so).

comment 13y ago · link · parent

An example of the bids and asks on one exchange: http://bitcoincharts.com/charts/mtgoxUSD/accumulated_orderbo...

I'm sure there is truth to an argument that people with 'intense' opinions are over represented in trading activity, leading to increased volatility then there would be otherwise... but this is far from unique to Bitcoin.

comment 13y ago · link · parent

Thanks, Mr. McCullagh, for doing some actual journalism and not just repeating a rumor.

comment 13y ago · link · parent

Browse over to about:memory

I run nightly and I don't use addons beyond adblock and don't run flash so perhaps my experiences are different, but I haven't had problems with Firefox leaking memory in a couple years. The profiling tools at about:memory may let you see where things are breaking.

comment 13y ago · link · parent

The Pro-DRM side has netflix and a bunch of other DRMed media sites which will work if people switch to Google's Chrome browser or MSIE.

Whats your leverage?

comment 13y ago · link · parent

In that particular case it was weird because something like 80% of the public network nodes / users / services were on <0.8 but most of the hash-power was on 0.8.0 simply because the two largest pools were already on 0.8. (0.8's performance improvements could increase miner's income due to needing less time to process and switch to new blocks)

comment 13y ago · link · parent

Short forks happen all the time, it's a natural consequence of the finite speed of light. So long as any divergence is detected and resolved within the window of typical forks (e.g. <6 blocks) is mostly a non-issue.

The natural thing to accept is the history acceptable to most distinct makes of software (least common denominator) which would be the automatically successful one with no intervention at all if not for the extreme consolidation of hashing power on a couple overly large pools.

comment 13y ago · link · parent

It assumes an anonymous protocol. The identity of the nodes does not matter.

> a step towards proving that there will always be a polynomial time attack against such protocols

I had considered that to be the definition of a majority consensus. I find it sort of surprising that you'd think otherwise.

Lets just assume that some alternative protocol has a property where a an attack with the >50% computing power would be ignored. Then it follows that it would also allow an attack with <50% computing power— unless "attack" could be detected as a function of network state, in which case any sane system would just ignore those entirely— as Bitcoin does, e.g. a transaction outputting more coins than it inputs is ignored regardless of the hashpower— so they're not the kind of attacks we're talking about here.

Even if you dispense with all the crypto-computing-power-mumbo-jumbo: A _consensus_ ultimately depends on linear energy applied to an attack. Lets imagine a magical version of Bitcoin solves the sybil problem completely and counts the consensus of _users_ instead of computing power. China (for example) could reorganize the consensus by spending a lot of energy to manufacturer a lot of additional people. So long as the attacker put in more energy mining people than all the honest participants they'd always eventually win.

comment 13y ago · link · parent

Bitcoin is a distributed consensus algorithm. Software which implements a subtly different algorithm might be able to join the consensus until some case arises which triggers the difference, after that consensus between the implementations would be impossible.

Unfortunately, it's rather hard to demonstrate that two dissimilar complex programs actually implement exactly the same function.

This is doubly true because performance is very important, so some techniques that might help— e.g. define a kind of abstract turing machine, write the rules for the distributed algorithm in its language, then different implementations use the same rules and only have to prove their turing machine implementation is functionally identical— aren't readily available.

It can be hard to gain confidence through testing because some of the most important rules are for cases which are forbidden, so these cases will not show up on the production network— they only happen when an attacker produces them. There are an infinite number (subject to memory, and already the function input is gigabytes of data) of valid and invalid cases, so exhaustive testing of the whole function is not possible. They can also arise out of implicit behavior, "what happens when this value overflows?", "what is the maximum size of this structure", etc.

This is further complicated by the fact that Bitcoin implementations use third party code that wasn't written with this kind of must-have-exact-behavior in mind. The reference implementation uses things like OpenSSL's crypto and bignums, various boost data structures, BDB (previously, now leveldb)... and subtle potentially undocumented and unknown behavior from this third party code may be leaking into the definition of the consensus algorithm. The reference implementation has been slowly disentangling these dependencies, but things like the hidden BDB locking limitations (which depend on the layout of the database on disk) are easy to miss.

(Third party code isn't just a reference implementation issue, e.g. BitcoinJ's full node code has had algorithm inconsistencies arising out of undocumented behavior in a database library it uses)

Satoshi's answer for this was that there should only be one implementation of the full node software. However, "create your own Bitcoin implementation" seems to be the new millennium's "create an IRC client" so it seems that this is unrealistic... and there have been more than a half dozen attempts (including two nearly complete ones in java, two in C, three in C++, one in Haskell, one in erlang, one (two?) in javascript, as well as several non public ones (including one in ruby, I think)).

comment 13y ago · link · parent

Not simply "most": "Virtually all".

A split that was near 50/50 (e.g. 'most') would be an utterly pessimal outcome, while a 99.9/0.01 split is probably pretty harmless, at least if you talk in terms weighed by some kind of amorphous economic significance.

comment 13y ago · link · parent

https://socrates1024.s3.amazonaws.com/consensus.pdf

comment 13y ago · link · parent

Will be pretty funny when we get a matching duty for their services thats twice as much as typical salestax. :)

comment 13y ago · link · parent

There were two small dogs. One red and one blue. One day the red dog found a bone and the blue dog was jealous. The blue dog appealed to the queen and the queen said "spongebob rutabaga" and there was never again a red dog or blue dog.

Now you are all as enlightened as I was after reading this story.

comment 13y ago · link · parent

I'm quite confident that he wouldn't have.

comment 13y ago · link · parent

Ugh. Promotes (or, at least, inadequately rebukes) the bad and common misunderstanding that quantum computing provides a _general_ exponential speedup. It does not. QC is only even theorized to provide a exponential speedup for a few things, for other things QC cannot provide a better than sqrt() speedup (and this is tightly bounded for general non-linear search).

I strongly recommend Scott Aaronson's thesis http://www.scottaaronson.com/thesis.pdf for anyone who doesn't want to be made QC-stupid by articles like this. The beginning is interesting and generally accessible as it goes into the details you need to be comfortable with linear algebra to follow along.

comment 13y ago · link · parent

It's unsurprising that the "SEO" industry is taking gender equality seriously: They obviously wouldn't want to besmirch their reputation for ethical conduct.

comment 13y ago · link · parent

> "that all Americans are created equal..."

Except the ones the executive branch orders to be assassinated: http://www.huffingtonpost.com/2012/03/05/us-targeted-killing...

comment 13y ago · link · parent

Just so— and most sane Bitcoin users hold this position too. It's only a small number of vocal extremists that create unrealistic rants.
1
235236237
242