Welcome! Log In Create A New Profile

Advanced

Re: [QUIC] Wrong dcid len in ngx_quic_select_socket_by_dcid

Khomutov Vladimir
March 17, 2021 02:44AM
> 11.03.2021 10:08, Gao,Yan(ACG VCP) пишет:
>>
>> Console client:
>>
>> ~/ngtcp2/examples/client 127.0.0.1 443
>> https://example.com:443/index.html
>> --dcid=00000000000000166142cdef2ef2ca5e4be5
>>
>> Bpf log:
>>
>>            <...>-43083   [001] d.s1 94117.746924: bpf_trace_printk:
>> nginx quic socket len 0x1d
>>
>>            <...>-43083   [001] d.s1 94117.746936: bpf_trace_printk:
>> nginx quic default route for key 0x16
>>
>>            <...>-43083   [000] d.s1 94117.764132: bpf_trace_printk:
>> nginx quic socket len 0x1d
>>
>>            <...>-43083   [000] d.s1 94117.764140: bpf_trace_printk:
>> nginx quic socket selected by key 0x20
>>
>>            <...>-43083   [000] d.s1 94117.764709: bpf_trace_printk:
>> nginx quic socket selected by key 0x20
>>
>>            <...>-43083   [000] d.s1 94117.769174: bpf_trace_printk:
>> nginx quic socket selected by key 0x20
>>
>>            <...>-43083   [000] d.s1 94127.852160: bpf_trace_printk:
>> nginx quic socket selected by key 0x20
>>
>> The  [nginx quic socket len] is added to show the case, it shoud be
>> 0x12, as 18 bytes
>>
>> Len should assign after advance_data(1)
>>
>> Patch and pcap see the attachment
>>
>> Gao,Yan(ACG VCP)
>>
>>
> Thank you for reporting, now I see the problem, will fix it.
>
Fixed in http://hg.nginx.org/nginx-quic/rev/1a489587e1c8, thanks again!

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

[QUIC] Wrong dcid len in ngx_quic_select_socket_by_dcid Attachments

gaoyan09 498 March 11, 2021 02:10AM

Re: [QUIC] Wrong dcid len in ngx_quic_select_socket_by_dcid

Khomutov Vladimir 183 March 11, 2021 06:22AM

Re: [QUIC] Wrong dcid len in ngx_quic_select_socket_by_dcid

Khomutov Vladimir 244 March 17, 2021 02:44AM



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

Online Users

Guests: 191
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