Skip to content

test: fixes for c-ares update to 1.21.0/1.22.0

Rodrigo Muino Tomonari requested to merge github/fork/bradh352/main into main

c-ares has made intentional changes to the behavior of TXT records to comply with RFC 7208, which concatenates multiple strings for the same TXT record into a single string. Multiple TXT records are not concatenated.

Also, response handling has changed, such that a response which is completely invalid in formatting is thrown away as a malicious forged/spoofed packet rather than returning EBADRESP. This is one step toward RFC 9018 (EDNS COOKIES) which will require the message to at least be structurally valid to validate against spoofed records.

Fixes: https://github.com/nodejs/node/issues/50741 Refs: https://github.com/nodejs/node/pull/50444

Fix By: Brad House (@bradh352)

Merge request reports

Loading