How far along is host based alt-svc support in Chromium?

351 views
Skip to first unread message

Samir Jafferali

unread,
Apr 17, 2016, 2:38:07 PM4/17/16
to net-dev
Now that alt-svc is an RFC (https://tools.ietf.org/html/rfc7838), I’m testing browsers to see how it’s being implemented.  While it looks like there is some support for changing the protocol and port (there are google services under chrome://net-internals/#alt-svc ) I’m not seeing support for alt-svc that change the host.  I’m using the latest Chromium (51.0.2683.0) with alt-svc enabled and trying to load-balance across hosts.  In case IP pooling is at play I also attempted introducing additional IPs but that also didn’t succeed. 

This use model is key for services that leverage multiple PoPs and CDNs. There are usually two different domains, one for the base page and another cookie-less one for CDNs. 

Note that this works partially in Firefox.  Attached are screenshots ( http://imgur.com/a/SEp1o ) and you can test at https://spdy.samir.ca . 

How far along is host based alt-svc support in Chromium? or is this user error in my config?

-Samir






bma...@fb.com

unread,
Apr 17, 2016, 8:37:23 PM4/17/16
to net-dev
Chrome seems to have chrome://flags/#enable-alternative-services -- I was browsing the code recently and it seems like some of the more detailed alt-svc support was behind this.

FWIW, alt-svc is something that would likely be interesting for us at Facebook as well. For example if DNS sends somebody to a POP that isn't the best for them it'd be great if alt-svc could let us send their traffic to the right place. Today we often achieve this by altering the domain name we use which makes the browser cache less effective for users who switch networks.

Bence Béky

unread,
Apr 18, 2016, 2:32:46 PM4/18/16
to Samir Jafferali, net-dev
Hi,

Alt-Svc that changes host is indeed not enabled in Chromium yet.  Most of the code is in place, but it would send out the hostname of the alternative as SNI, whereas the specification requires that the SNI has the hostname of the origin.  As soon as I fix this bug, I will start enabling Alt-Svc.

Cheers,

Bence

--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To post to this group, send email to net...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/5e0da1f7-c6f7-45b3-9dd4-1f30a8a86bbb%40chromium.org.

neil.cr...@gmail.com

unread,
Jun 16, 2017, 9:19:36 AM6/16/17
to net-dev, pub...@samir.ca
Hi

I just found this thread and am interested to see if there's any update yet?

I've spent an hour or so playing with alt-svc in Firefox and it works reasonably for the most part. Progress on Chrome would be very interested as we're considering using alt-svc on a project once support is further along.

Cheers
Neil

On Monday, April 18, 2016 at 7:32:46 PM UTC+1, Bence Béky wrote:
> Hi,
>
>
> Alt-Svc that changes host is indeed not enabled in Chromium yet.  Most of the code is in place, but it would send out the hostname of the alternative as SNI, whereas the specification requires that the SNI has the hostname of the origin.  As soon as I fix this bug, I will start enabling Alt-Svc.
>
>
> Cheers,
>
>
> Bence
>
>
> On Sun, Apr 17, 2016 at 2:38 PM, Samir Jafferali <pub...@samir.ca> wrote:
>
> Now that alt-svc is an RFC (https://tools.ietf.org/html/rfc7838), I’m testing browsers to see how it’s being implemented.  While it looks like there is some support for changing the protocol and port (there are google services under chrome://net-internals/#alt-svc ) I’m not seeing support for alt-svc that change the host.  I’m using the latest Chromium (51.0.2683.0) with alt-svc enabled and trying to load-balance across hosts.  In case IP pooling is at play I also attempted introducing additional IPs but that also didn’t succeed. 
>
>
> This use model is key for services that leverage multiple PoPs and CDNs. There are usually two different domains, one for the base page and another cookie-less one for CDNs. 
>
>
>
> Note that this works partially in Firefox.  Attached are screenshots ( http://imgur.com/a/SEp1o ) and you can test at https://spdy.samir.ca . 
>
>
> How far along is host based alt-svc support in Chromium? or is this user error in my config?
>
>
> -Samir
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

Bence Béky

unread,
Jun 16, 2017, 10:52:23 AM6/16/17
to neil.cr...@gmail.com, net-dev, Samir Jafferali
Hi,

Thanks for checking in.

While I made no progress on the actual feature yet, a lot of progress has been made recently to clean up parts of the code, which is a prerequisite for tackling this issue.  It's currently very high on my list, stay tuned!

Thank you,

Bence

To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+unsubscribe@chromium.org.

To post to this group, send email to net...@chromium.org.

Neil Craig

unread,
Jun 16, 2017, 11:20:18 AM6/16/17
to net-dev, neil.cr...@gmail.com, pub...@samir.ca
That's great news, thanks for the update Bence - much appreciated!

Yoav Weiss

unread,
Oct 24, 2017, 4:41:07 AM10/24/17
to Neil Craig, net-dev, pub...@samir.ca
Was there progress on this issue? Which crbug does one have to follow in order to keep track of this? Is it 392575 or is there a more specific one?

On Fri, Jun 16, 2017 at 3:20 PM Neil Craig <neil.cr...@gmail.com> wrote:
That's great news, thanks for the update Bence - much appreciated!

--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To post to this group, send email to net...@chromium.org.

Bence Béky

unread,
Oct 26, 2017, 8:48:38 AM10/26/17
to Yoav Weiss, Neil Craig, net-dev, Samir Jafferali
I'm sorry, there was no progress recently, I've been caught up with other issues.

B

On Tue, Oct 24, 2017 at 4:40 AM, Yoav Weiss <yo...@yoav.ws> wrote:
Was there progress on this issue? Which crbug does one have to follow in order to keep track of this? Is it 392575 or is there a more specific one?
On Fri, Jun 16, 2017 at 3:20 PM Neil Craig <neil.cr...@gmail.com> wrote:
That's great news, thanks for the update Bence - much appreciated!

--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+unsubscribe@chromium.org.

--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+unsubscribe@chromium.org.

To post to this group, send email to net...@chromium.org.

Samir Jafferali

unread,
Feb 23, 2018, 3:25:58 PM2/23/18
to net-dev, yo...@yoav.ws, neil.cr...@gmail.com, pub...@samir.ca
Hello Bence, What is the ETA on this?  It has been almost 2 years in progress. If this will continue to be protracted, may we have this prioritized or reassigned to someone with more bandwidth? Thanks.

-Samir
Edge SRE @ LinkedIn

On Thursday, October 26, 2017 at 5:48:38 AM UTC-7, Bence Béky wrote:
I'm sorry, there was no progress recently, I've been caught up with other issues.

B
On Tue, Oct 24, 2017 at 4:40 AM, Yoav Weiss <yo...@yoav.ws> wrote:
Was there progress on this issue? Which crbug does one have to follow in order to keep track of this? Is it 392575 or is there a more specific one?
On Fri, Jun 16, 2017 at 3:20 PM Neil Craig <neil.cr...@gmail.com> wrote:
That's great news, thanks for the update Bence - much appreciated!

--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.

--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.

To post to this group, send email to net...@chromium.org.

Bence Béky

unread,
Mar 5, 2018, 2:08:41 PM3/5/18
to Samir Jafferali, net-dev, Yoav Weiss, Neil Craig
Hi Samir,

Thank you for checking in.  This is still high on my list, but due to its complexity I have not been able to allocate the amount of time necessary to tackle this.  I'll do my best to prioritize or reassign, but I cannot promise anything specific at this time.  Sorry.

Cheers,

Bence

To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+unsubscribe@chromium.org.

To post to this group, send email to net...@chromium.org.

Lucas Pardue

unread,
Mar 12, 2018, 11:16:39 AM3/12/18
to net-dev, pub...@samir.ca, yo...@yoav.ws, neil.cr...@gmail.com, b...@google.com
Interestingly, I see adservice.google.co.uk advertising host-based Alt-Svc. Presumably this doesn't work in Chromium, or do the servers handle the incorrect client behaviour?

alt-svc:hq="googleads.g.doubleclick.net:443"; ma=2592000; quic=51303431; quic=51303339; quic=51303335,quic="googleads.g.doubleclick.net:443"; ma=2592000; v="41,39,35",hq=":443"; ma=2592000; quic=51303431; quic=51303339; quic=51303335,quic=":443"; ma=2592000; v="41,39,35"

Ryan Hamilton

unread,
Mar 12, 2018, 6:06:58 PM3/12/18
to Lucas Pardue, net-dev, pub...@samir.ca, Yoav Weiss, neil.cr...@gmail.com, Bence Béky
It is supported for QUIC, but not for HTTP/2 because the layering of the socket pools makes implementing this for HTTP/2 significantly more complex :/

On Mon, Mar 12, 2018 at 8:16 AM, Lucas Pardue <lucaspar...@gmail.com> wrote:
Interestingly, I see adservice.google.co.uk advertising host-based Alt-Svc. Presumably this doesn't work in Chromium, or do the servers handle the incorrect client behaviour?

alt-svc:hq="googleads.g.doubleclick.net:443"; ma=2592000; quic=51303431; quic=51303339; quic=51303335,quic="googleads.g.doubleclick.net:443"; ma=2592000; v="41,39,35",hq=":443"; ma=2592000; quic=51303431; quic=51303339; quic=51303335,quic=":443"; ma=2592000; v="41,39,35"
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+unsubscribe@chromium.org.
To post to this group, send email to net...@chromium.org.
Reply all
Reply to author
Forward
0 new messages