diff options
author | Steven Barth <steven@midlink.org> | 2015-04-10 10:19:17 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-04-10 10:19:17 +0000 |
commit | 6bc333e002bbddd3564391537d02e69e561f3197 (patch) | |
tree | 536465dbf519acf1ededb6c08220ba66f81088e5 /package/network/services/dnsmasq/patches/200-fix-dhcpv6-solicit-handling.patch | |
parent | 5144bdef3788af870cd8b0f085a4ff404a7ced3b (diff) | |
download | master-187ad058-6bc333e002bbddd3564391537d02e69e561f3197.tar.gz master-187ad058-6bc333e002bbddd3564391537d02e69e561f3197.tar.bz2 master-187ad058-6bc333e002bbddd3564391537d02e69e561f3197.zip |
dnsmasq: bump to 2.73rc4
Fix crash caused by malformed DNS requests
Improved DNSSEC handling
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45354 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/dnsmasq/patches/200-fix-dhcpv6-solicit-handling.patch')
-rw-r--r-- | package/network/services/dnsmasq/patches/200-fix-dhcpv6-solicit-handling.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/package/network/services/dnsmasq/patches/200-fix-dhcpv6-solicit-handling.patch b/package/network/services/dnsmasq/patches/200-fix-dhcpv6-solicit-handling.patch new file mode 100644 index 0000000000..7c900287e4 --- /dev/null +++ b/package/network/services/dnsmasq/patches/200-fix-dhcpv6-solicit-handling.patch @@ -0,0 +1,38 @@ +From 35042c3ef61b3bc07f0f9418dff6be6ed78f4aa1 Mon Sep 17 00:00:00 2001 +From: Steven Barth <steven@midlink.org> +Date: Fri, 10 Apr 2015 10:46:57 +0200 +Subject: [PATCH] Revert "Don't reply to DHCPv6 SOLICIT messages when not + configured for statefull DHCPv6." + +This reverts commit 61b838dd574c51d96fef100285a0d225824534f9. +--- + src/rfc3315.c | 13 ------------- + 1 file changed, 13 deletions(-) + +diff --git a/src/rfc3315.c b/src/rfc3315.c +index c1ddc80..50131d8 100644 +--- a/src/rfc3315.c ++++ b/src/rfc3315.c +@@ -824,19 +824,6 @@ static int dhcp6_no_relay(struct state *state, int msg_type, void *inbuff, size_ + } + else + { +- /* Windows 8 always requests an address even if the Managed bit +- in RA is 0 and it keeps retrying if it receives a reply +- stating that no addresses are available. We solve this +- by not replying at all if we're not configured to give any +- addresses by DHCPv6. RFC 3315 17.2.1. appears to allow this. */ +- +- for (c = state->context; c; c = c->current) +- if (!(c->flags & CONTEXT_RA_STATELESS)) +- break; +- +- if (!c) +- return 0; +- + /* no address, return error */ + o1 = new_opt6(OPTION6_STATUS_CODE); + put_opt6_short(DHCP6NOADDRS); +-- +2.1.4 + |