HNHacker News
TopNewBestAskShowJobs

phkamp

2,337 karma · joined June 15, 2010

submissionscomments
phkamp··on SSL revisited
... And now they also need to circumvent Googles cert-pinning and other attempts to twart even legally mandated MiTM proxies...

Either all MiTM needs to be outlawed (with actual laws) or protocols need to recognize that laws mandate MiTM some places, and accommodate that with minimal loss of security and privacy.

The current weapons race just makes things more and more broken.

phkamp··on SSL revisited
If you don't need varnish, it would be pretty stupid to start running it...
phkamp··on SSL revisited
Are you willing to pay increased taxes, so that FEMA (Or your countrys similar) can afford to run 100.000 servers, in order to "do TLS on Google scale", so that they can get emergency orders out for civil defence ?

Have your forgotten (or maybe never seen ?) CNN's traffic graph from 9/11 ?

Experience so far is that emergency services web-pages tend to die the instant they are most needed. Addint TLS will just make that happen even more.

phkamp··on SSL revisited
Let me just make absolutely clear: It's not my opinion that certain people don't deserve privacy, it is the law of the land, duly enacted and ratified by legitimate governments.

If you want to change that, vote.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
It is certainly a step in the right direction, my main worry is that the OpenBSD crew has a tendency to to -- SQUIRREL!! and forget their old toy when they spot a new shiny one.
phkamp··on HTTP/2.0 — Bad protocol, bad politics
The historical evidence that technology cannot be stopped by lawmakers is very weak, if it even exists in the first place.

Very few lawmakers have really tried, and few technologies have been worth it in the first place.

The relevant question is probably if technology can be delayed by lawmaking and how long time.

There is no doubt however that policies can be changed, most places it just takes elections but a few places may need a revolution.

Thinking this is a problem you can solve by rolling out SSL or TLS is incredibly naive.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
It's certainly not a trivial thing to design, but the "GET https://..." proposal floating around solves a lot of the relatively benign cases (company/school smut-proxies etc.)

My point is that HTTP/2 didn't even try, because the political agenda for a lot of people were more or less "death to all client side proxies".

They're entitled to that opinion of course, but given that laws in various countries say the exact opposite, the only thing they achieve by not making space for it in the security model is that the security model will be broken.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
No, I'm not saying "lets not even try", I'm saying "Lets try with the right tools for the job: Voting ballots."

In the meantime we should not cripple our protocols, hoping that the NSA will go "aahh shucks!" and close shop, when the law clearly tells them to "Collect everything."

phkamp··on HTTP/2.0 — Bad protocol, bad politics
You are welcome to that opinion, take it up with your lawmakers, vote based on it, or run for office yourself to make it reality.

Just don't think you will make such proxies disappear with technical means -- in particular not where they are mandated by law.

I fully agree with you when we're talking about people trying to make money by modifying 3rd party traffic.

But I leave it to the relevant legislatures (and their electorates!) to decide with respect to libraries, schools, prisons, financial traders, spies, police offices and so on.

With respect to HTTP/2 there were two choices:

1) Try to use the protocol to force a particular political agenda through.

2) Make the protocol such that people behind manipulating proxies have notice that this is so, and leave the question of which proxies whould be there to the political systems.

Implementing policy with protocols or standardisation has never worked and it won't work this time either.

At the end of the day: IETF has no army, NSA is part of one.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
NSA does what the do because lawmakers told them to and gave them the money -- you cannot separate these two sides of the problem.

There are many ways to break SSL, the easiest, cheapest and most in tune with the present progression towards police-states is to legislate key-escrow.

Google "al gore clipper chip" if you don't think that is a real risk.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
It's really very simple:

Instead of all the servers dumping cookies on you, you send a session-id to them, for instance 127 random bits.

In front of those you send a zero bit, if you are fine with the server tracking you, and you save the random number so you send the same one every time you talk to that server. This works just like a cookie.

If you feel like you want a new session, you can pick a new number and send that instead, and the server will treat that as a new (or just different!) session.

If instead you send a one bit in front of the 127 random bits, you tell the server that once you consider this "session" over, and that you do not want them to track you.

Of course this can be abused, but not nearly as much as cookies are abused today.

But it has the very important property, that all requests get a single fixed size field to replace all the cookies we drag across the net these days.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
That's actually a very good question, thank you for asking it.

Because I think that we can do much better than the pile of IT-shit we have produced until now.

I am actively trying to do that, through my own code, through the articles that I write and through the discussions I engage in.

Not everybody has the luxury of doing that -- the kids have to be fed and the mortgage has to be paid and a job is a job -- but those of us who can, have an obligation to try to make the world a better place, by raising quality if IT.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
A bad analogy is like a wet screwdriver.

Try this one, it's better, but not perfect:

Imagine what happened if some cheap invention turned all buildings into inpenetrable fortresses unless you had a key for the lock.

Now police can not execute a valid judge-sanctioned search warrant.

How long time do you think lawmakers will take to react ?

phkamp··on HTTP/2.0 — Bad protocol, bad politics
Pervasive authenticated encryption will not prevent the NSA from doing their job, as long as lawmakers think they should do their job.

Instead you will see key-escrow laws or even bans on encryption.

You cannot solve the political problem by applying encryption.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
With unencrypted HTTP, NSA can just grab the packets on the fiber and search for any keyword they want.

With a self-signed cert they would have to do a Man In The Middle attack on you to see your traffic.

They don't have the capacity (or ability! man of their fibertaps are passive) to do that to all the traffic at all the time.

The problem with making a CA-blessed cert a requirement for all or even most of the traffic, is that it forces the NSA to break SSL/TLS or CAs definitively, otherwise they cannot do their job.

Fundamentally this is a political problem, just slapping encryption on traffic will not solve it.

But it can shift the economy of the situation -- but you should think carefully what way you shift it.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
self-signed-certs is about making NSA&friends work for it, rather than giving them a free ride.

Today they can grep plaintext as they want. With SSC's they would have to pinpoint what communication they really need to see.

That would be a major and totally free improvement in privacy for everybody.

As for why the browsers so consistently treat SSC's as ebola: I'm pretty sure NSA made that happen -- they would be stupid not to do so.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
I'm not arguing against SSL.

I'm arguing against making SSL mandatory, because that will force NSA to break it so they can do their work, and then we will have nothing to protect our privacy.

More encryption is not a solution to a political problem: http://queue.acm.org/detail.cfm?id=2508864

phkamp··on HTTP/2.0 — Bad protocol, bad politics
No, this is actually a very important point for me.

If HTTP/2.0 had done this right, there wouldn't be a need for your employer to trojan your CA list so they can check for "inappropriate content" going either way through their firewall. (Under various laws they may be legally mandated to do so, flight controllers, financial traders etc.)

But because HTTP/2.0 was more about $BIGSITEs unfettered access to their users, no mechanism was provided for such legally mandated M-I-T-M, and therefore the CA-system will be trojaned by even more people, resulting in even less security for these users.

Likewise, pushing a lot of traffic which doesn't really need it onto SSL/TLS will only force NSA and others to trojan the CA-system even harder, otherwise they cannot do the job the law says they should do.

As I've said earlier: Just mindlessly slapping encryption on traffic will not solve political problems but is likely to make them much worse.

See for instance various "Law Enforcement" types calling for laws to ban encryption or Englands existing law that basically allow them to jail you until you decrypt whatever they want you to decrypt (never mind if you actually can or not...)

Edit to add:

The point about $BIGSITE is that everybody hates it when Hotels, ISPs and Phone companies modifies the content to insert adds etc. Rightfully so.

Any proxy which does not faithfully pass content should be forced to need the clients accept for its actions.

But since such proxies are legal and in some cases legally mandated some places (smut filters in libraries & schools, filters in jails. Parental controls at home, "compliance gateways" at companies) trying to make them impossible with the protocol just means that the protocol will be broken.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
The difference is who makes the decisions: session id is controlled by the client. cookies by the server.

FaceBook, Twitter etc. track you all over the internet with their cookies, even if you don't have an account with them, whenever a site puts up one of their icons for you to press "like".

With client controlled session identifies, uses would get to choose if they wanted that.

The reason YC gets by with 22 bytes is probably that they're not trying to turn the details of your life into their product.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
There is. I have received emails that say so outright.
phkamp··on HTTP/2.0 — Bad protocol, bad politics
Show me the mainstream browsers that will use HTTP/2 without SSL/TLS ?

The difference between you and me, may be that I have spent a lot of time measuring computers power usage doing all sorts of things. You seem to be mostly guessing ?

phkamp··on HTTP/2.0 — Bad protocol, bad politics
Yes, clearly nothing has changed since 1995 at all, obviously nobody has gotten any wiser or anything.

My big problem with HTTP/2 is that it's crap that doesn't solve any of the big problems.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
SSL does not provide identity assurance (=authentication), the CA-cabal does, SSL just does the necessary math for you.

CA's are trojaned, that's documented over and over by bogus certs in the wild, so in practice you have no authentication when it comes down to it.

Authentication is probably the hardest thing for us, as citizens to get, because all the intelligence agencies of the world will attempt to trojan it.

Secrecy on the other hand, we can have that trivially with self-signed certs, but for some reason browsers treat those as if they were carriers of Ebola.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
Actually, getting rid of cookies would fit almost all HTTP requests into a single packet, so there are tangible technical benefits, even without the privacy benefits.

You seem confused about cryptography.

Against NSA we only need secrecy, privacy is not required.

Likewise integrity does not require secrecy, but authentication (which doesn't require secrecy either).

You don't think that anybody can figure out what you are doing when you open a TCP connection to queue.acm.org right after they posted a new article, even if that connection is encrypted ? Really ? How stupid do you think NSA is ?

Have you never heard of meta-data collection ?

And if you like your encrypted connections so much, you should review at the certs built into your browser: That's who you trust.

I'll argue that's not materially better than unencrypted HTTP.

(See also Operation Orchestra, I don't think you perceive the scale of what NSA is doing)

phkamp··on HTTP/2.0 — Bad protocol, bad politics
You obviously havn't spent much time looking either, have you?

You could look at section 15 here for instance: http://phk.freebsd.dk/words/httpbis.html

With respect to key-exchange, maybe the problem is that I do understand, and therefore know that there is a difference between privacy and secrecy ?

Some places we want privacy, some places we want secrecy.

Mandating privacy everywhere makes it almost mandatory for police-states to trojan the privacy infrastructure (ie: CA's -- yes they already did), and therefore we have neither privacy nor secrecy anymore.

PS: Dangerous for who ?

PPS": Google "Operation Orchestra" if you don't undstand the previous question.

phkamp··on HTTP/2.0 — Bad protocol, bad politics
SPDY was chosen because nobody got any serious notice or time to come up with any alternatives.

If the IETF wanted a fresh look at HTTP, they would not have set such a short deadline for submissions.

It was evident from the start that this was about gold-plating & rubber-stamping SPDY, and people saw that and said so, already back then.

HTTP/2 isn't compatible with SPDY any more, but there is no significant difference between them, only a few deck-chairs were arranged differently in HTTP/2

The fact that people spend ages chewing the cud on a "clarification" of HTTP/1.1 has no impact on how long time it would take to define a HTTP/2 protocol.

Quite the contrary, HTTP/2 was a chance to jettison many of the horrors and mistakes that made the HTTP1.1bis effort so maddening.

You can see some of my thinking about what HTTP/2 should have been doing here:

http://phk.freebsd.dk/words/httpbis.html

phkamp··on HTTP/2.0 — Bad protocol, bad politics
I have go go shopping and cook dinner, but if I'll be back in a couple of hours.

Poul-Henning

phkamp··on HTTP/2.0 — Bad protocol, bad politics
Show me a quality implementation of SSL/TLS I can use ?

All the ones I've looked at are shitty source code.

phkamp··on A Generation Lost in the Bazaar (2012)
What we need is not AutoCrapNG™, but sensible convergence of platforms so that we don't need to guess or go hunting for if <stdlib.h> exists or not.
phkamp··on A Generation Lost in the Bazaar (2012)
Plan 9 has appealed to me since I first heard about it in 198x, but it wasn't available until long time after we started FreeBSD.
← PreviousPage 8 of 12Next →