Using dnsmasq 2.90 + the patch to fix the infinite loop, it seems like
filtering is applied when calling e.g., "SetFilterA false" over dbus. In the
script below, the first lookup succeeds but subsequent lookups after the
initial application of the filter fail to return anything.
#!/bin/s
> https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=89aad014685161318318737dc0e350ee4dae982d
>
> should fix this.
Nice, ya seems to fix it for me. Thanks a lot for the quick fix!
-Clayton
signature.asc
Description: PGP signature
___
Dnsmasq-
On Mon, 19 Feb 2024 13:29:44 -0800 Clayton Craft wrote:
> The conditions to trigger this aren't well understood by me... it seems to
> happen when we use dnsmasq's dbus interface to toggle filtering ("set_filter A
> bool"). But I've had trouble reproducing
It seems like sometimes the rrlist given to rr_on_list can be a circular linked
list:
0xbbf57044 in rr_on_list (list=0xbbfe1990 , rr=5) at
util.c:120
120 while (list)
(gdb) p list
$1 = (struct rrlist *) 0xbbfe1990
(gdb) p list.next
$3 = (struct rrlis
On Thu, 23 Feb 2023 21:40:10 -0800 Clayton Craft wrote:
> On Fri, 10 Feb 2023 13:53:05 -0800 Clayton Craft
> wrote:
>
> Any chance this could get merged? Being able to set filters at runtime is very
> useful for multi-homed phones and other devices in cases where we need to
On Fri, 10 Feb 2023 13:53:05 -0800 Clayton Craft wrote:
> ---
> Fixes a typo in the SetFilter DBus-interface description
>
> dbus/DBus-interface | 8
> src/dbus.c | 14 ++
> 2 files changed, 22 insertions(+)
>
> diff --git a/dbus/DB
---
Fixes a typo in the SetFilter DBus-interface description
dbus/DBus-interface | 8
src/dbus.c | 14 ++
2 files changed, 22 insertions(+)
diff --git a/dbus/DBus-interface b/dbus/DBus-interface
index 59b41b1..00b4465 100644
--- a/dbus/DBus-interface
+++ b/dbus
On Mon, 23 Jan 2023 23:21:45 -0800 Clayton Craft wrote:
> On Mon, 23 Jan 2023 14:06:56 -0800 Clayton Craft
> wrote:
> > There doesn't appear to be a way to change the filter-A or filter-
> > parameters at runtime, after the config is loaded / cmdline params are
On Mon, 23 Jan 2023 14:06:56 -0800 Clayton Craft wrote:
> There doesn't appear to be a way to change the filter-A or filter-
> parameters at runtime, after the config is loaded / cmdline params are parsed.
> In some cases[1], I want to conditionally enable/disabling these option
rred connection changes and ends up "supporting" different IP versions,
and restarting dnsmasq each time (e.g. to rerun with --filter-A or whatever) is
not desirable.
Clayton Craft (1):
dbus: allow setting filter-A and filter- options
dbus/DBus-interface | 8
src/dbus.c
---
dbus/DBus-interface | 8
src/dbus.c | 14 ++
2 files changed, 22 insertions(+)
diff --git a/dbus/DBus-interface b/dbus/DBus-interface
index 59b41b1..0701971 100644
--- a/dbus/DBus-interface
+++ b/dbus/DBus-interface
@@ -44,6 +44,14 @@ SetFilterWin2KOption
-
11 matches
Mail list logo