mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
f60780c8b6
A customer has come across a DNS server that really just cuts a SRV reply if it's too long. This makes the packet invalid according to ndr_pull and according to wireshark. DNS_FLAG_TRUNCATION is however set. As this seems to be legal according to the DNS RFCs, we need to hand-parse the first two uint16's and look whether DNS_FLAG_TRUNCATION is set. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jan 20 18:01:41 UTC 2022 on sn-devel-184 |
||
---|---|---|
.. | ||
dns_lookup.c | ||
dns_lookup.h | ||
dns_lookuptest.c | ||
dns.c | ||
dns.h | ||
libdns.h | ||
resolvconf.c | ||
resolvconf.h | ||
resolvconftest.c | ||
wscript_build |