Re:Varnish author criticizing HTTP/2.0 proposals
by angelbob on Tuesday July 17, 2012 @01:04AM
(#4254173)
If you don't store a leakable cookie on the client and only use a connection ID (which is autoassigned by the server and cannot be easily forged) then a lot of cross-domain evil hackery goes away.
[ Parent
| on HN ]
Re:Varnish author criticizing HTTP/2.0 proposals
by danellis on Tuesday July 17, 2012 @02:40AM
(#4254456)
I don't know what you mean by 'leakable' exactly, but you can already mark cookies as HttpOnly (not accessible from Javascript) and Secure (only transmitted over HTTPS).
Re:Varnish author criticizing HTTP/2.0 proposals
by angelbob on Tuesday July 17, 2012 @03:44AM
(#4254666)
"Leakable" in the sense that you can hand it to somebody else and they can actually use it.
A cookie is leakable because the client chooses to send it, so copying it to somebody else is really bad. A server-assigned per-connection ID is not leakable unless you can spoof the IP address of the one you're sending as.
Re:Varnish author criticizing HTTP/2.0 proposals
by jvdongen on Tuesday July 17, 2012 @05:41AM
(#4254940)
In principle you could already achieve that by binding a session (and corresponding cookie) to the client's IP address. No big deal.
Problem you may have is that some clients are behind proxy farms and can arrive with different source IP addresses within the scope of a single session.
If you do not bind the 'server-assigned-per-connection ID' to an IP address they become just as 'leakable' as a session cookie.
Re:Varnish author criticizing HTTP/2.0 proposals
by vidarh on Tuesday July 17, 2012 @05:54AM
(#4254983)
Doing server side IP checks is already easy, but in reality it can lead to massive amounts of user complaints when their sessions keep disappearing, because as it turns out, some user segments have a lot of users coming through proxies where each request is not guaranteed to come from the same IP.
Re:Varnish author criticizing HTTP/2.0 proposals
by eli on Tuesday July 17, 2012 @08:02AM
(#4255290)
Or their mobile device roams from WiFi to cell data.
I suspect anyone suggesting that an IP be part of the session security has never actually tried it on a large scale.