]> git.ipfire.org Git - thirdparty/curl.git/commit
socketpair: allow localhost MITM sniffers
authorDaniel Stenberg <daniel@haxx.se>
Tue, 27 Dec 2022 16:19:51 +0000 (17:19 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 28 Dec 2022 08:27:02 +0000 (09:27 +0100)
commit7fa449ca0c8ccccbb25a2f7023f09ae2184a78bb
tree3ce8debda99bf9e4a8052b869b311e9086017be3
parent5ab72b9a576f86a5a8828d5306d69327ceba860a
socketpair: allow localhost MITM sniffers

Windows allow programs to MITM connections to localhost. The previous
check here would detect that and error out. This new method writes data
to verify the pipe thus allowing MITM.

Reported-by: SerusDev on github
Fixes #10144
Closes #10169
lib/socketpair.c