19,337 karma · joined Dec 24, 2010 (15y ago) · 7,234 submissions
http://nt4tn.net/
comment 13y ago · link · parent
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
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
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
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.
254 points · by nullc · 13y ago · 17 comments
comment 13y ago · link · parent
> "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
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
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
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
comment 13y ago · link · parent
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
> 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
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
Now you are all as enlightened as I was after reading this story.
comment 13y ago · link · parent
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
Except the ones the executive branch orders to be assassinated: http://www.huffingtonpost.com/2012/03/05/us-targeted-killing...