Reference

show quic

On this page

Available since

  • HAProxy 2.7
  • HAProxy Enterprise 2.7r1

Display details on active QUIC frontend connections.

Description Jump to heading

The show quic command displays details on active QUIC frontend connections.

An optional argument can be specified to control the verbosity. Specify either oneline, the default, or full.

By default, connections on closing or draining state are not displayed. To include them in the output, specify the additional argument all.

This command requires a permission level of operator or admin.

This command is available only on the QUIC-enabled load balancer. For details, see HTTP/3.

Examples Jump to heading

Show active connections in single-line format.

nix
echo "show quic" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show quic" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
# conn/frontend state in_flight infl_p lost_p from to local & remote CIDs
0x55640121edd0[00]/ft_web ESTAB 0 0 0 78.2.87.205:39160 172.31.39.255:443 b254b4d91c508339
0x7fd2b8052380[01]/ft_web ESTAB 0 0 0 99.161.85.162:57929 172.31.39.255:443 642481da17fe200c
output
text
# conn/frontend state in_flight infl_p lost_p from to local & remote CIDs
0x55640121edd0[00]/ft_web ESTAB 0 0 0 78.2.87.205:39160 172.31.39.255:443 b254b4d91c508339
0x7fd2b8052380[01]/ft_web ESTAB 0 0 0 99.161.85.162:57929 172.31.39.255:443 642481da17fe200c

Show all connections in multi-line format.

nix
echo "show quic full all" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show quic full all" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
* 0x7fd2b8054000[01]: scid=aefb0b99275aecd2........................ dcid=........................................
loc. TPs: odcid=12710e64754ea485 iscid=aefb0b99275aecd2
midle_timeout=30000ms mudp_payload_sz=2048 ack_delay_exp=3 mack_delay=25ms act_cid_limit=8
md=1687140 msd_bidi_l=16380 msd_bidi_r=16380 msd_uni=16380 ms_bidi=100 ms_uni=3
(no_act_migr,stless_rst_tok)
rem. TPs: iscid=
midle_timeout=30000ms mudp_payload_sz=1472 ack_delay_exp=3 mack_delay=25ms act_cid_limit=2
md=15728640 msd_bidi_l=6291456 msd_bidi_r=6291456 msd_uni=6291456 ms_bidi=100 ms_uni=103
st=opened mux=ready expire=27s
fd=-1 from=99.161.85.162:57929 to=172.31.39.255:443
[initl] rx.ackrng=1 tx.inflight=0 [hndshk] rx.ackrng=1 tx.inflight=0
[01rtt] rx.ackrng=1 tx.inflight=0
srtt=135 rttvar=37 rttmin=129 ptoc=0 cwnd=14153 mcwnd=14153 lostpkts=0
| stream=3 off=0 ack=17
output
text
* 0x7fd2b8054000[01]: scid=aefb0b99275aecd2........................ dcid=........................................
loc. TPs: odcid=12710e64754ea485 iscid=aefb0b99275aecd2
midle_timeout=30000ms mudp_payload_sz=2048 ack_delay_exp=3 mack_delay=25ms act_cid_limit=8
md=1687140 msd_bidi_l=16380 msd_bidi_r=16380 msd_uni=16380 ms_bidi=100 ms_uni=3
(no_act_migr,stless_rst_tok)
rem. TPs: iscid=
midle_timeout=30000ms mudp_payload_sz=1472 ack_delay_exp=3 mack_delay=25ms act_cid_limit=2
md=15728640 msd_bidi_l=6291456 msd_bidi_r=6291456 msd_uni=6291456 ms_bidi=100 ms_uni=103
st=opened mux=ready expire=27s
fd=-1 from=99.161.85.162:57929 to=172.31.39.255:443
[initl] rx.ackrng=1 tx.inflight=0 [hndshk] rx.ackrng=1 tx.inflight=0
[01rtt] rx.ackrng=1 tx.inflight=0
srtt=135 rttvar=37 rttmin=129 ptoc=0 cwnd=14153 mcwnd=14153 lostpkts=0
| stream=3 off=0 ack=17

As of version 2.8r1, two additional options are available, full and oneline. The show quic full command will show all information about active QUIC connections and show quic oneline will show the output in a single-line format.

Show active connections in single-line format.

nix
echo "show quic oneline" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show quic oneline" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
# conn/frontend state in_flight infl_p lost_p Local Address Foreign Address local & remote CIDs
0x7fd6fc057070[01]/mysite ESTAB 0 0 0 192.168.56.20:443 192.168.56.1:63001 dcac8f57cf114e79 eb5100
output
text
# conn/frontend state in_flight infl_p lost_p Local Address Foreign Address local & remote CIDs
0x7fd6fc057070[01]/mysite ESTAB 0 0 0 192.168.56.20:443 192.168.56.1:63001 dcac8f57cf114e79 eb5100

Show all connections in multi-line format.

nix
echo "show quic full all" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "show quic full all" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
output
text
0x7fd6fc0557e0[00]: scid=808512a0ce1efa02........................ dcid=25bba7..................................
loc. TPs: odcid=78388e56de6e49b0 iscid=808512a0ce1efa02
midle_timeout=30000ms mudp_payload_sz=2048 ack_delay_exp=3 mack_delay=25ms act_cid_limit=8
md=1687140 msd_bidi_l=16380 msd_bidi_r=16380 msd_uni=16380 ms_bidi=100 ms_uni=3
(no_act_migr,stless_rst_tok)
rem. TPs: iscid=25bba7
midle_timeout=30000ms mudp_payload_sz=65527 ack_delay_exp=3 mack_delay=20ms act_cid_limit=8
md=25165824 msd_bidi_l=12582912 msd_bidi_r=1048576 msd_uni=1048576 ms_bidi=16 ms_uni=16
(no_act_migr)
st=opened mux=ready expire=28s
fd=23 local_addr=192.168.56.20:443 foreign_addr=192.168.56.1:58805
[initl] rx.ackrng=1 tx.inflight=0 [hndshk] rx.ackrng=1 tx.inflight=0
[01rtt] rx.ackrng=1 tx.inflight=0
srtt=10 rttvar=10 rttmin=5 ptoc=0 cwnd=15065 mcwnd=15065 sentpkts=12 lostpkts=0
| stream=3 off=0 ack=17
output
text
0x7fd6fc0557e0[00]: scid=808512a0ce1efa02........................ dcid=25bba7..................................
loc. TPs: odcid=78388e56de6e49b0 iscid=808512a0ce1efa02
midle_timeout=30000ms mudp_payload_sz=2048 ack_delay_exp=3 mack_delay=25ms act_cid_limit=8
md=1687140 msd_bidi_l=16380 msd_bidi_r=16380 msd_uni=16380 ms_bidi=100 ms_uni=3
(no_act_migr,stless_rst_tok)
rem. TPs: iscid=25bba7
midle_timeout=30000ms mudp_payload_sz=65527 ack_delay_exp=3 mack_delay=20ms act_cid_limit=8
md=25165824 msd_bidi_l=12582912 msd_bidi_r=1048576 msd_uni=1048576 ms_bidi=16 ms_uni=16
(no_act_migr)
st=opened mux=ready expire=28s
fd=23 local_addr=192.168.56.20:443 foreign_addr=192.168.56.1:58805
[initl] rx.ackrng=1 tx.inflight=0 [hndshk] rx.ackrng=1 tx.inflight=0
[01rtt] rx.ackrng=1 tx.inflight=0
srtt=10 rttvar=10 rttmin=5 ptoc=0 cwnd=15065 mcwnd=15065 sentpkts=12 lostpkts=0
| stream=3 off=0 ack=17

Do you have any suggestions on how we can improve the content of this page?