Welcome! Log In Create A New Profile

Advanced

Re: changeset 7591 | accessing SNI from Stream module

Roberto Soto
November 11, 2019 03:56PM
Thank you for your answers, however, i'm still in doubt:

What does the variable $proxy_protocol_server_addr carry exactly?

I've been reading the code a bit, but cannot figure out if it is indeed
what I'm looking for:
Does it carry the server_name (SNI) requested by the client?

Checking the Proxy Protocol preference, it seems that it does support SNI:
"2.2.2 PP2_TYPE_AUTHORITY
Contains the host name value passed by the client, as an UTF8-encoded
string..."
https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt

Is it possible to access such information from Nginx's stream module?

Best regards,

Roberto

On 11/9/19 8:40 AM, Maxim Konovalov wrote:
> Hi Roberto,
>
> On 09/11/2019 02:34, Roberto Soto wrote:
>> Greetings, I have a question regarding the release life-cycle.
>>
>> For a specific use-case (which can be expanded on later), I'm relying on
>> variable $proxy_protocol_server_addr, that was just introduced recently
>> in changeset 7591.
>>
>> I see version was bumped to 1.17.6, but there is no tag in mercurial for
>> that yet, so I supposed it hasn't been released?
>>
>> The question is rather simple: can I expect this version to be available
>> soon?
>>
>> Otherwise I suppose one can always compile it from source into a new
>> docker image.
>>
>> Reading the official Dockerfile, I guess compiling would be easier if
>> the tag existed already, and even might need that a debian package was
>> available for 1.17.6 version too, isn't it?
>>
> [...]
>
> We are planning to release 1.17.6 with these vars on 19th of
> November, see https://trac.nginx.org/nginx/roadmap
>

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

changeset 7591

Roberto Soto 303 November 08, 2019 06:36PM

Re: changeset 7591

Maxim Konovalov 114 November 09, 2019 11:36AM

Re: changeset 7591 | accessing SNI from Stream module

Roberto Soto 136 November 11, 2019 03:56PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready