dnsmasq: backport arcount edns0 fix
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Fri, 8 Sep 2017 07:56:34 +0000 (08:56 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 8 Sep 2017 08:07:04 +0000 (10:07 +0200)
commit5629904ea8753e2b399413074174bf18a88b84f8
treea22f3f89beed6d7f9f61760e6545f08be6a6fae3
parent23317f18bd485e821ca494a61dc09044b1d0e371
dnsmasq: backport arcount edns0 fix

Don't return arcount=1 if EDNS0 RR won't fit in the packet.

Omitting the EDNS0 RR but setting arcount gives a malformed packet.
Also, don't accept UDP packet size less than 512 in received EDNS0.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/patches/030-fix-arcount-edns0-behaviour.patch [new file with mode: 0644]