]> git.ipfire.org Git - thirdparty/pdns.git/commit
sdig: Increment the DNS message IDs when pipelining 9449/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 1 Sep 2020 07:53:49 +0000 (09:53 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 7 Sep 2020 14:36:14 +0000 (16:36 +0200)
commit4cbec52a42bc087a5812096d994d26aa8882c31c
treee70b5231d52193091a3a6a4fb5dd1141f4e366d1
parent63c49a8cf8c1e5267ef2ed3a41983b55f83972cc
sdig: Increment the DNS message IDs when pipelining

As stated in section 6.2.1 of rfc7766:
  "When sending multiple queries over a TCP connection, clients MUST NOT
   reuse the DNS Message ID of an in-flight query on that connection in
   order to avoid Message ID collisions.  This is especially important
   if the server could be performing out-of-order processing"

(cherry picked from commit e4ddc6e9daae3d79c0c28a6391f1380e378238c8)
pdns/sdig.cc