]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Kill the connections on ICMP (port unreachable) packet receipt
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 10 Feb 2023 13:13:43 +0000 (14:13 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 17 Feb 2023 16:36:30 +0000 (17:36 +0100)
commita2c62c3141d5e1878bec9cd7505dfc792f42fc3f
tree5643943d4e4064c291d6ff72891e91d32d74d5d7
parentdd41a45014683f693b686673747327e1e7ab0bbc
MINOR: quic: Kill the connections on ICMP (port unreachable) packet receipt

The send*() syscall which are responsible of such ICMP packets reception
fails with ECONNREFUSED as errno.

  man(7) udp
  ECONNREFUSED
      No receiver was associated with the destination address.
      This might be caused by a previous packet sent over the socket.

We must kill asap the underlying connection.

Must be backported to 2.7.
include/haproxy/quic_sock.h
src/quic_conn.c
src/quic_sock.c