diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2017-09-08 08:56:34 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-09-08 10:07:04 +0200 |
commit | 5629904ea8753e2b399413074174bf18a88b84f8 (patch) | |
tree | a22f3f89beed6d7f9f61760e6545f08be6a6fae3 /target/linux/lantiq | |
parent | 23317f18bd485e821ca494a61dc09044b1d0e371 (diff) | |
download | upstream-5629904ea8753e2b399413074174bf18a88b84f8.tar.gz upstream-5629904ea8753e2b399413074174bf18a88b84f8.tar.bz2 upstream-5629904ea8753e2b399413074174bf18a88b84f8.zip |
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>
Diffstat (limited to 'target/linux/lantiq')
0 files changed, 0 insertions, 0 deletions