[Dnsmasq-discuss] [PATCH] Fix conntrack when bind-interfaces option is enabled

2014-12-09 Thread Hans Dedecker
Make sure dst_addr is assigned the correct address in receive_query when OPTNOWILD is enabled so the assigned mark can be correctly retrieved and set in forward_query when conntrack is enabled. Signed-off-by: Hans Dedecker dedec...@gmail.com --- src/forward.c | 4 ++-- 1 file changed, 2

[Dnsmasq-discuss] [PATCH] dnsmasq: max-port support for outbound dns queries

2016-01-14 Thread Hans Dedecker
if unset to prevent clashes with the system ports; fatal error is generated when max-port is smaller than min-port Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- man/dnsmasq.8 | 7 +++ src/dns-protocol.h | 1 + src/dnsmasq.c | 8 +++- src/dnsmasq.h | 2 +- src/net

[Dnsmasq-discuss] [PATCH] rfc2131: Fix range address assignment not honoring vendor option filters

2016-09-05 Thread Hans Dedecker
is problem as it detects a tag is assigned based on the vendor-class/user-class and actually checks if the requested IP belongs to the correct dhcp-range; if not the client will be nacked to it can restart its DORA sequence. Signed-off-by: Daniele Lacamera <r...@danielinux.net> Signed-off-b

Re: [Dnsmasq-discuss] [PATCH] rfc2131: Fix range address assignment not honoring vendor option filters

2016-09-14 Thread Hans Dedecker
On Fri, Sep 9, 2016 at 10:55 PM, Simon Kelley <si...@thekelleys.org.uk> wrote: > On 05/09/16 15:35, Hans Dedecker wrote: >> Problem is visible when using multiple dhcp-ranges; one dhcp-range is a >> "catch-all" >> range without tags while the second dhcp-ran

[Dnsmasq-discuss] [PATCH v2] fix dns failover in strict mode when DNS server returns REFUSED

2017-06-26 Thread Hans Dedecker
-by: Hans Dedecker <dedec...@gmail.com> Signed-off-by: Mi Feng <bear@gmail.com> --- v1 -> v2: leave out OPT_ORDER check completely src/forward.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/forward.c b/src/forward.c index 4a3f831..f22556a 100644 --- a/src/forward.c +++

Re: [Dnsmasq-discuss] [PATCH] fix dns failover when dns server returns REFUSED

2017-06-26 Thread Hans Dedecker
On Sun, Jun 25, 2017 at 12:15 AM, Simon Kelley <si...@thekelleys.org.uk> wrote: > On 14/06/17 14:46, Hans Dedecker wrote: >> If a DNS server replies REFUSED for a given DNS query in strict order mode >> no failover to the next DNS server is triggered as the logic in reply_que

[Dnsmasq-discuss] [PATCH] fix dns failover when dns server returns REFUSED

2017-06-14 Thread Hans Dedecker
won't be triggered just as before. Signed-off-by: Hans Dedecker <dedec...@gmail.com> Signed-off-by: Mi Feng <bear@gmail.com> --- Fixes dns failover issue reported in LEDE (https://bugs.lede-project.org/index.php?do=details_id=841) src/forward.c | 2 +- 1 file changed, 1 ins

[Dnsmasq-discuss] [PATCH] Fix dns query retransmission when --strict-order active

2017-12-04 Thread Hans Dedecker
. Fix the problem by checking in strict-order mode if a next dns server is available in the dns server list before forwarding the query again. Signed-off-by: Hans Dedecker <dedec...@gmail.com> --- src/forward.c | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff