Re: [Dnsmasq-discuss] patches

2024-09-17 Thread Geert Stappers
On Sat, Aug 17, 2024 at 06:38:52PM +, Dan Schaper wrote: > From Geert Stappers, Date 8/17/2024 11:05:25 AM > > On Sat, Jul 27, 2024 at 11:25:04AM +0200, Dominik Derigs wrote: > > > Hey Simon, > > > > > > another patch ... > > > > IMNSHO shou

Re: [Dnsmasq-discuss] [PATCH] Static analysis minor issue fixes

2024-09-09 Thread Geert Stappers
On Thu, Jun 06, 2024 at 01:59:23PM +0200, Geert Stappers wrote: > On Sat, Jun 01, 2024 at 12:36:49AM +0200, Petr Menšík wrote: > > Hi! > > > > As part of our review of dnsmasq code, our code scanning tools revealed few > > warnings. Some of them are valid, although it

Re: [Dnsmasq-discuss] dnsmasq in docker container at 9:10

2024-09-08 Thread Geert Stappers
t; > > [image: Screenshot 2024-09-05 at 09.42.38.png] > https://smirnov.la/Screenshot%202024-09-05%20at%2009.42.38.png > > > > I'm using these params > https://github.com/dockur/dnsmasq/blob/master/entry.sh#L14 > plus "fast-dns-retry". Also tried adding &

Re: [Dnsmasq-discuss] Patch for IANA KSK 2024

2024-09-05 Thread Geert Stappers
ot-anchors/root-anchors.xml >^^It > That feedback converted in a patch. In the mailinglist archive at https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q3/017720.html and also at https://lists.sr.ht/~stappers/dnsmasqmlpc/patches/54886 Groeten Geert Stappers -- Sil

[Dnsmasq-discuss] [PATCH] trust-anchors.conf: nitpicking

2024-09-05 Thread Geert Stappers
Some minor changes in comment lines Reported-by: Gary R. Schmidt --- trust-anchors.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trust-anchors.conf b/trust-anchors.conf index 1a7de74..e8bacf4 100644 --- a/trust-anchors.conf +++ b/trust-anchors.conf @@ -1,7 +1,7 @@

[Dnsmasq-discuss] [PATCH] Add IANA Root TA 2024.

2024-09-05 Thread Geert Stappers
From: Loganaden Velvindron Signed-off-by: Loganaden Velvindron Signed-off-by: Jaykishan Mutkawoa --- trust-anchors.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trust-anchors.conf b/trust-anchors.conf index 2a1e2a0..1a7de74 100644 --- a/trust-anchors.conf +++ b/t

Re: [Dnsmasq-discuss] dnsmasq in docker container, why and what

2024-08-25 Thread Geert Stappers
dnsmasq community and for a future version of you in your current situation which has to start an email thread with "There is some evidence on the Internet that dnsmasq doesn't play well with docker". Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] IPv6 resolve local only

2024-08-18 Thread Geert Stappers
::250:56ff:feb5:ee27/64 scope link proto kernel_ll >valid_lft forever preferred_lft forever > > I guess it is most likely be down to the setup on the clients (openSUSE). The 'UP' and 'LOWER_UP' in '' says that the interface is up. > But as I pl

Re: [Dnsmasq-discuss] all-servers option not working for dnssec-query queries

2024-08-18 Thread Geert Stappers
ze all configured backend servers, so the query succeeds > instead of fails like it does now. For what it is worth: My gut feeling says the problem description is incomplete. > This is our dnsmasq.conf: > > all-servers > clear-on-reload > bind-interfaces >

Re: [Dnsmasq-discuss] Example for connmark based filtering

2024-08-18 Thread Geert Stappers
thanks Idea for a better "Many thanks": Share with the mailinglist archive feedback on the file contrib/conntrack/README like a "Works for me" or even an addition as "Here a patch that documents my working use case". Groeten Geert Stappers -- Sile

[Dnsmasq-discuss] patches

2024-08-17 Thread Geert Stappers
On Sat, Jul 27, 2024 at 11:25:04AM +0200, Dominik Derigs via Dnsmasq-discuss wrote: > Hey Simon, > > another patch ... IMNSHO should we, this mailinglist, help Simon where we can. Insteadof just pushing work towards Simon. Groeten Geert Stappers P.S. I understand that Domini

Re: [Dnsmasq-discuss] [PATCH] A segmentation fault occurred in dnsmasq

2024-08-17 Thread Geert Stappers
ts as DHCPv4 did. > Please try to understand https://cbea.ms/git-commit/ Groeten Geert Stappers https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q3/017649.html (increase patch survival chance) https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2023q3/017238.html

Re: [Dnsmasq-discuss] [PATCH] Fix syscall param, sendmsg(msg.msg_control) pointing to uninitialised bytes

2024-08-17 Thread Geert Stappers
izeof(struct in_addr))]; > #endif > char control6[CMSG_SPACE(sizeof(struct in6_pktinfo))]; > - } control_u; > + } control_u = { 0 }; > >iov[0].iov_base = packet; >iov[0].iov_len = len; > -- > 2.34.1 > Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Monthly Posting

2024-07-21 Thread Geert Stappers
FreeBSD, the file is /usr/local/etc/dnsmasq.conf ) (but see the --conf-file and --conf-dir options.) The format of this file con- sists of one option per line, exactly as the long options detailed in the OPTIONS section but without the leading "--". Lines sta

[Dnsmasq-discuss] Picking up the patches

2024-07-17 Thread Geert Stappers
t; + * happen as pheader should be strictly within header after current > ansp */ > + if (!CHECK_LEN(header, ansp, plen, hlen)) > +return plen; >/* must use memmove, may overlap */ >memmove(ansp, pheader, hlen); >header->arcount = htons(1); >

Re: [Dnsmasq-discuss] Experimental python binding

2024-07-11 Thread Geert Stappers
e data seamlessly. This is useful for creating scripting interfaces to C/C++ libraries, or for connecting C/C++ code with other software components written in different programming languages. https://www.swig.org/ Groeten Geert Stappers -- S

Re: [Dnsmasq-discuss] Blocking DHCPv6 requests from a specific client

2024-07-08 Thread Geert Stappers
ource > DE:AD:BE:EF:00:11 -j DROP s/DROP/REJECT/ to get more as just silence when the limit kicks in. And triple check the -m, all three. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] making the internet work since 1999

2024-07-02 Thread Geert Stappers
Hello, For your information: FLOSS weekly had an interview with Simon Kelley, the creator of dnsmasq: https://hackaday.com/2024/03/27/floss-weekly-episode-776-dnsmasq-making-the-internet-work-since-1999/ Enjoy Groeten Geert Stappers -- Silence is hard to parse

Re: [Dnsmasq-discuss] How do you add a nameserver from the command line?

2024-06-30 Thread Geert Stappers
rver IP to dnsmasq via the command line and does not provide > any example of how to do so. > I can't find an example of how to do so anywhere on the net... > Advice: Elaborate on the original problem. Groeten Geert Stappers -- Silence is hard to parse

Re: [Dnsmasq-discuss] [PATCH] Add support for --dhcp-allowed-srvids option.

2024-06-17 Thread Geert Stappers
Hello Marek, Hello Dnsmasq Mailinglist, On Mon, Jun 17, 2024 at 09:31:44PM +0200, Geert Stappers wrote: > From: Marek Skrobacki via Dnsmasq-discuss > > > If the DHCP server is running inside a container or behind a load > balancer, the DHCPREQUEST arriving at dnsmasq for proc

Re: [Dnsmasq-discuss] Picking up the patches

2024-06-17 Thread Geert Stappers
On Fri, May 17, 2024 at 11:00:17PM +0200, Geert Stappers wrote: > On Wed, Apr 17, 2024 at 09:40:17PM +0200, Geert Stappers wrote: > > Hi, > > > > Another 17th of month, another attempt > > to prevent that patches fall through the cracks. :-) > > At https://

[Dnsmasq-discuss] [PATCH] Add support for --dhcp-allowed-srvids option.

2024-06-17 Thread Geert Stappers
From: Marek Skrobacki via Dnsmasq-discuss If the DHCP server is running inside a container or behind a load balancer, the DHCPREQUEST arriving at dnsmasq for processing may have a Server ID (option 54) configured with an IP address that is not assigned to the local interface. In this case, dnsma

Re: [Dnsmasq-discuss] [PATCH] Static analysis minor issue fixes

2024-06-06 Thread Geert Stappers
e Coverity scan. 3 > small changes attached. Most likely another reminder is needed. Upon "retransmit", please CC ~stappers/dnsmasqm...@lists.sr.ht Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss

Re: [Dnsmasq-discuss] How to create /etc/resolv.conf after removing systemd-resolved?

2024-06-04 Thread Geert Stappers
s no /etc/resolv.conf > at all which, as I said, upsets some things. I want the local dnsmasq > just to provide DNS cacheing in the system where it is running and > nothing more, the 'upstream' DNS is provided by whatever > /run/NetworkManager/no-stub-resolv.conf points at

Re: [Dnsmasq-discuss] Picking up the patches

2024-05-17 Thread Geert Stappers
On Wed, Apr 17, 2024 at 09:40:17PM +0200, Geert Stappers wrote: > Hi, > > Another 17th of month, another attempt > to prevent that patches fall through the cracks. > > > At https://lists.sr.ht/~stappers/dnsmasqmlpc/patches > is 1 pending patch, "Quieten DHCPv6 log w

[Dnsmasq-discuss] [PATCH] Update DNS records after pruning DHCP leases

2024-05-17 Thread Geert Stappers
From: Erik Karlsson Not doing so can result in a use after free since the name for DHCP derived DNS records is represented as a pointer into the DHCP lease table. Update will only happen when necessary since lease_update_dns tests internally on dns_dirty and the force argument is zero. Signed-of

Re: [Dnsmasq-discuss] [PATCH 0/1] Proposal for adding long option support (rfc3396)

2024-05-17 Thread Geert Stappers
borate, make it possible to reproduce those tests. > Looking forward to get feedback on this proposal. Here **not** the project lead, just someone acknowledging the patch has been seen. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsma

Re: [Dnsmasq-discuss] Scripting with lua

2024-05-14 Thread Geert Stappers
-+ | add | old | add | old | del | +=+=+=+=+=+=+ mac_address | y | y | y | y | y | client_address | y | y | | | | Either IPv4 addr or ?IPv6? address client_id | | | * | * | * | derived from MAC addr. Not always present lease_expires | | | y | y | y | time_remaining | | | y | y | | If present, always '3600.0' ip_address | | | y | y | y | hostname| | | y | y | y | domain | | | y | y | y | interface | | | y | y | | data_missing| | | y | y | | if present, always '1.0' | | | | | | +-+-+-+-+-+-+ --]] > Many thanks, > Phil Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] Ensure resize_packet() does not overflow header

2024-05-13 Thread Geert Stappers
original packet. This should never > + * happen as pheader should be strictly within header after current > ansp */ > + if (!CHECK_LEN(header, ansp, plen, hlen)) > + return plen; >/* must use memmove, may overlap */ >memmove(ansp, pheader, hlen); &

Re: [Dnsmasq-discuss] [PATCH] Update DNS records after pruning DHCP leases

2024-05-03 Thread Geert Stappers
mon->doing_ra) > -- > 2.43.2 > Looks good to me. For preventing that the patch falls through the cracks, send the patch to email address '~stappers/dnsmasqm...@lists.sr.ht' to get it at https://lists.sr.ht/~stappers/dnsmasqmlpc/p

Re: [Dnsmasq-discuss] DNS forwarding steered based on source interface?

2024-04-18 Thread Geert Stappers
On Fri, Apr 19, 2024 at 06:20:03AM +0200, Geert Stappers wrote: > On Thu, Apr 18, 2024 at 10:07:04PM -0400, Christopher Hill wrote: > > Hi, > > > > I have a question regarding if upstream DNS forwarding can be based on the > > source interface? Reading the manual I d

Re: [Dnsmasq-discuss] DNS forwarding steered based on source interface?

2024-04-18 Thread Geert Stappers
10.0.2.1 via tun 2. > > I have considered running two instances (one bound to eth1 and another > to eth2) but that duplicates setup and makes local queries across VLANs more > complicated. Read the dnsmasq manual and reread the dnsmasq manual. Groeten Geert Stappers -- Silence is har

[Dnsmasq-discuss] [PATCH] Fix dependency in make install target

2024-04-17 Thread Geert Stappers
From: Olaf Hering The make target 'install-common' expects results from the target 'all'. A 'make -j install' may fail because both targets are brought up-to-todate in parallel. As a result the final binary will not exist at the time 'install-common' runs, because 'all' is not yet done. Adjust t

[Dnsmasq-discuss] Picking up the patches

2024-04-17 Thread Geert Stappers
some patches haven't yet reached the "mailinglist patch collector". Such as "Fix dependency in make install target". See email 2024-03-17. Most likely more patches were missed / are missing please resend them with Cc: ~stappers/dnsmasqm...@lists.sr.ht Groeten Geert Stapper

Re: [Dnsmasq-discuss] dnsmasq & DDNS

2024-04-01 Thread Geert Stappers
at original poster & I think that DDNS is, are two different Dynamic Domain Name Servers. > If I'm wrong and dnsmasq can be configured as a DDNS client and my google > foo has been poo - can anyone give me a pointer to where I might find more > information. > > Thanks folks

Re: [Dnsmasq-discuss] Enquiry about default server

2024-03-29 Thread Geert Stappers
gitlab.com/8.8.8.8 combination. The second line is NOT needed. The > address=/#/0.0.0.0 is another configuration I don't get. So I think there are two problems. One how to use # character for server. The other one original poster having a hard time configuring dnsmasq for their

Re: [Dnsmasq-discuss] RFC 2136 DNS Update?

2024-03-27 Thread Geert Stappers
records accurately on the lan. I think DNS Update could resolve this > problem. And even documented in RFC 1925. > Any thoughts on reconsidering support for this protocol in dnsmasq? Try to express were the complexity should be. > Or other solutions? > >

Re: [Dnsmasq-discuss] [PATCH] Fix potential memory leak

2024-03-25 Thread Geert Stappers
pipermail/dnsmasq-discuss/2024q1/017464.html and https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q1/017473.html Patches being ignored happened before and most likely will happen again. Hence my experiment with dnsmasqmlpc, dnsmasq mailing list patch col

Re: [Dnsmasq-discuss] [PATCH] Fix potential memory leak

2024-03-18 Thread Geert Stappers
On Sun, Mar 17, 2024 at 01:09:36PM -0400, Brian Haley wrote: > Nak. Acknowledge -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discus

Re: [Dnsmasq-discuss] [PATCH v1] Fix dependency in make install target

2024-03-17 Thread Geert Stappers
Hello Olaf, (Mailinglist in the Cc:) On Tue, Oct 17, 2023 at 10:59:29PM +0200, Geert Stappers wrote: > On Mon, Oct 16, 2023 at 12:02:53PM +0200, Olaf Hering wrote: > > The make target 'install-common' expects results from the target 'all'. > > A 'make -j in

[Dnsmasq-discuss] [PATCH] Quieten DHCPv6 log when in static mode.

2024-03-17 Thread Geert Stappers
From: Ian Dall When a DHCP range has a mode of "static" then the pool of dynamically allocated address is configured to be of zero size. DHCPv6 will still respond with statically defined addresses. In these cirumstances, not allocating an address is expected behaviour and not an error, so allow "

[Dnsmasq-discuss] [PATCH] Fix potential memory leak

2024-03-17 Thread Geert Stappers
From: Brian Haley When a new IPv6 address is being added to a dhcp_config struct, if there is anything invalid regarding the prefix it looks like there is a potential memory leak. ret_err_free() should be used to free it. Signed-off-by: Brian Haley --- src/option.c | 2 +- 1 file changed, 1 in

Re: [Dnsmasq-discuss] [PATCH] Quieten DHCPv6 log when in static mode.

2024-03-16 Thread Geert Stappers
On Tue, Mar 05, 2024 at 07:29:55PM +1030, Ian Dall wrote: > On Mon, 2024-03-04 at 07:13 +0100, Geert Stappers wrote: > > On Mon, Mar 04, 2024 at 03:53:23PM +1030, Ian Dall wrote: > > > When a DHCP range has a mode of "static" then the pool of dynamically > > >

Re: [Dnsmasq-discuss] [PATCH] Fix potential memory leak

2024-03-16 Thread Geert Stappers
On Sat, Mar 02, 2024 at 05:03:01PM +0100, Geert Stappers wrote: > On Fri, Mar 01, 2024 at 04:43:20PM -0500, Brian Haley wrote: > > When a new IPv6 address is being added to a dhcp_config > > struct, if there is anything invalid regarding the prefix > > it looks like there

Re: [Dnsmasq-discuss] Multicast Netlink Crash on gVisor Kernel

2024-03-16 Thread Geert Stappers
e, as it appears to be gVisor compatibility > limitation. Advice: Do a follow-up which aims for much more common interest. Like explaining how cool gVisor is and where to find more information about it. Groeten Geert Stappers -- Silence is hard to parse _

Re: [Dnsmasq-discuss] [PATCH] Quieten DHCPv6 log when in static mode.

2024-03-03 Thread Geert Stappers
"DHCPADVERTISE", NULL, _("no addresses available")); > + else > + log6_packet(state, state->lease_allocate ? "DHCPREPLY" : > "DHCPADVERTISE", NULL, _("no addresses available")); > break;

Re: [Dnsmasq-discuss] Tests completed

2024-03-03 Thread Geert Stappers
l. > > sorry test again > > Have difficulties to get dnsmasq list mails throught spamfilter > Hey Knud, Now we are both stupid. You with your stupid tests and I with this stupid email. I suggest that you consider your tests completed. Groeten Geert S

Re: [Dnsmasq-discuss] [PATCH] Fix potential memory leak

2024-03-02 Thread Geert Stappers
truct is being linked into > the existing addr6 list in the dhcp_config before the > validity check, it is best to defer this insertion > until later so an invalid entry is not present, since > the CONFIG_ADDR6 flag might not have been set yet. That is worth its own commit. Groeten Gee

Re: [Dnsmasq-discuss] DHCPv6 Not Working on Linux 6.6.13

2024-03-02 Thread Geert Stappers
google > for clues for weeks now to little avail. If you need any more info I can > provide it. No, I don't need more information about this. Possible solution to "the problem" would need a well elaborated Wish is ., however I get > Thanks, Don't than

Re: [Dnsmasq-discuss] dhcp-script and netbooting a Rpi

2024-02-26 Thread Geert Stappers
; > I suspect the problem is with the client not DHCPREQUEST and so the > server doesn't ACK and thus I guess an IP hasn't actually be > allocated, thus no "add" event has happened which calls the script. > if this is the case, can we add an "offer" action? > Advice: Verify the setup with another device as a RPi. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Fwd: no-ping

2024-02-19 Thread Geert Stappers
ts and runs fine. Yes, that makes sense. Allow project leader Simon some time to respond. And do know that it is OK to do follow-up messages on this. > Best regards, > Martin Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Both IPv6 router + separate dnsmasq server do router advertisements - results in two IPv6 routes for clients

2024-02-13 Thread Geert Stappers
: is there a way to stop dnsmasq from sending > router advertisements while at the same still providing the ra-names > functionality? Consider to share information on the various attempts. Regards Geert Stappers Not willing to answer yes-no-questions -- Silence is hard to parse ___

Re: [Dnsmasq-discuss] Don't set up inotify watch on resolv.conf if --port=0

2024-02-05 Thread Geert Stappers
On Mon, Feb 05, 2024 at 08:47:54PM +0200, Heikki Linnakangas wrote: > > If dnsmasq is used in DHCP-only mode, i.e. --port==0, resolv.conf is > not used for anything. No need to set up inotify watch on it in that > case. > --- > src/inotify.c | 2 +- > src/dnsmasq.c | 4 ++-- > 2 files changed, 3

Re: [Dnsmasq-discuss] [PATCH] Easier custom lua version

2024-02-03 Thread Geert Stappers
A)` > nettle_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_DNSSEC > $(PKG_CONFIG) --cflags 'nettle hogweed' \ > HAVE_CRYPTOHASH > $(PKG_CONFIG) --cflags nettle \ > HAVE_NE

Re: [Dnsmasq-discuss] [PATCH] Minor typo fix in the man page

2024-01-17 Thread Geert Stappers
On Thu, Oct 19, 2023 at 11:07:16PM +0200, Geert Stappers wrote: > The manual page had "list or RR-types", > changed it into "list of RR-types". > > Reported-by: Justin > --- > man/dnsmasq.8 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [Dnsmasq-discuss] Restrict nameserver interfaces but not dhcp ones

2024-01-05 Thread Geert Stappers
On Fri, Jan 05, 2024 at 09:58:19AM +0100, Luigi Baldoni wrote: > On 4 January 2024, Geert Stappers wrote: > > On Thu, Jan 04, 2024 at 08:08:46PM +0100, Luigi Baldoni wrote: > > > > > > I'm trying to get rid of a second (kea) dhcp server and > > > hopef

Re: [Dnsmasq-discuss] Restrict nameserver interfaces but not dhcp ones

2024-01-04 Thread Geert Stappers
se bind is listening on eth0, but have > the dhcp server listen on both interfaces (and more). What has already been tried? Advice: Tell in the reply more about the network, such as which IP-addresses are on the network interfaces. Groeten Geert Stappers --

Re: [Dnsmasq-discuss] small typo in dnsmasq.conf.example

2023-12-17 Thread Geert Stappers
gt; # "bert" another name, bertrand > #cname=bertand,bert > > > It seems that the example has a typo, i.e., it has "bertand" instead of > "bertrand", It should say: > > #cname=bertrand,bert > Applied in commit cd4db8246e by Simon with text: T

Re: [Dnsmasq-discuss] FOSDEM 2024

2023-12-17 Thread Geert Stappers
le/track/dns/ > > Cheers, > Petr Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Upgrade to [x]ubuntu 23.10 means dnsmasg can't read /run/NetworkManager

2023-12-15 Thread Geert Stappers
n the desired configuration with what is actual desired. Visit https://xyproblem.info for _why_ explaining more. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Occasional "communications error", how to diagnose?

2023-12-14 Thread Geert Stappers
y it always is (three users are all me). > > What I don't understand is that there's nothing at all in the logs about the > failure/timeout. Imagination is more important as knowledge--Albert Einstein The sympthoms are that client request doesn't reach the server, he

Re: [Dnsmasq-discuss] Caching of NS and SOA records

2023-12-07 Thread Geert Stappers
uot;. > Cheers, > Evandro Menezes Groeten Geert Stappers Doesn't know if cache hit ratio is reported to CHAOS. -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] dnsmasq page fault

2023-11-10 Thread Geert Stappers
;a=commitdiff;h=416390f9962e455769aa8ab6df0e105cae07ae55;hp=24804b7431f6ace109e91876aef859a751bf3147 > It occurs a page fault in dnsmasc.c line 1050 (initialisation of > daemon->tcp_pipes with -1). Oops. > Regards, > Hartmut Thanks for reporting. Groeten Geert Stapper

Re: [Dnsmasq-discuss] Confused about simple subdomain authoritative server

2023-11-06 Thread Geert Stappers
gt; > REFUSED: > > > > i think no-resolv might cause that... > > no-resolv tells dnsmasq not to read /etc/resolv.conf but use servers > specified in dnsmasq.conf, in this case 8.8.4.4 and 8.8.8.8 > > it could cause trou

Re: [Dnsmasq-discuss] Having dnsmasq coexist with other dhcp server

2023-10-23 Thread Geert Stappers
ption. Other idea: network name spaces I haven't played with network ns. I can't tell if it solves the "problem" of OP. But it is what I expect from name spaces. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-dis

[Dnsmasq-discuss] [PATCH] Minor typo fix in the man page

2023-10-19 Thread Geert Stappers
The manual page had "list or RR-types", changed it into "list of RR-types". Reported-by: Justin --- man/dnsmasq.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/dnsmasq.8 b/man/dnsmasq.8 index 30429df..d131bbe 100644 --- a/man/dnsmasq.8 +++ b/man/dnsmasq.8 @@ -390,7 +390

Re: [Dnsmasq-discuss] [PATCH] Add a flag to customise MAX_PROCS

2023-10-17 Thread Geert Stappers
https://git-send-email.io/ > Kind regards, > Damian Sawicki Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] d/rules: Install D-Bus policy in /usr instead of /etc

2023-10-17 Thread Geert Stappers
44 debian/dbus.conf > $1/usr/share/dbus-1/system.d/dnsmasq.conf > endef > > clean: I have an idea to save that patch. It is probably thursday when I have time to "materialize" the idea. Groeten Geert Stappers -- Silence is hard to parse _

Re: [Dnsmasq-discuss] [PATCH v1] Fix dependency in make install target

2023-10-17 Thread Geert Stappers
$(INSTALL) -d $(DESTDIR)$(MANDIR)/man8 > $(INSTALL) -m 644 $(MAN)/dnsmasq.8 $(DESTDIR)$(MANDIR)/man8 > I have an idea to save that patch. It is probably thursday when I have time to "materialize" the idea. Groeten Geert Stappers -- Silence is hard to parse __

Re: [Dnsmasq-discuss] Memory leak for SRV records with TTL=0 in v2.88

2023-10-06 Thread Geert Stappers
On Thu, Oct 05, 2023 at 05:56:41PM +0200, Damian Sawicki via Dnsmasq-discuss wrote: > Hello dnsmasq experts, > > There seems to be a memory leak in v2.88. The reproduction steps are > as follows: insert an SRV record with TTL=0 in an upstream DNS server > and query dnsmasq for this record. I inse

Re: [Dnsmasq-discuss] [PATCH] Fix DHCPv6 options memory leaks

2023-10-01 Thread Geert Stappers
tch at line 11 |Patch failed at 0001 Fix DHCPv6 options memory leaks |hint: Use 'git am --show-current-patch=diff' to see the failed patch |When you have resolved this problem, run "git am --continue". |If you prefer to skip this patch, run "git am --skip" instead. |T

Re: [Dnsmasq-discuss] my config, just do

2023-09-27 Thread Geert Stappers
On Mon, Sep 25, 2023 at 04:53:19PM -0700, Wink Saville wrote: > On Mon, Sep 25, 2023 at 12:33 PM Geert Stappers wrote: > > On Fri, Sep 22, 2023 at 05:27:28PM -0700, Wink Saville wrote: > > > > > > Also, I wonder if maybe there should be multiple dnsmasq.conf > > &g

[Dnsmasq-discuss] my config

2023-09-25 Thread Geert Stappers
Previous-Subject: Re: [Dnsmasq-discuss] wip: Add tag: usage in dhcp-option In-Reply-To: On Fri, Sep 22, 2023 at 05:27:28PM -0700, Wink Saville wrote: > On Fri, Sep 22, 2023 at 1:06 PM Geert Stappers wrote: > > On Thu, Sep 21, 2023 at 11:00:59PM -0700, Wink Saville wrote: > > &

Re: [Dnsmasq-discuss] IPv6 addresses are (almost) immediately deprecated

2023-09-22 Thread Geert Stappers
On Fri, Sep 22, 2023 at 09:48:04PM +0100, Graham Leggett wrote: > On 22 Sep 2023, at 20:27, Geert Stappers wrote: > > On Fri, Sep 22, 2023, Graham Leggett wrote: > >> I have a dnsmasq config on a development machine that looks like this: > >> > >> dhcp-ra

Re: [Dnsmasq-discuss] wip: Add tag: usage in dhcp-option

2023-09-22 Thread Geert Stappers
On Thu, Sep 21, 2023 at 11:00:59PM -0700, Wink Saville wrote: > On Thu, Sep 21, 2023 at 10:47 PM Geert Stappers wrote: > > On Wed, Sep 20, 2023 at 09:14:13PM -0700, Wink Saville wrote: > > > --- a/man/dnsmasq.8 > > > +++ b/man/dnsmasq.8 > > > @@ -1317,6

Re: [Dnsmasq-discuss] IPv6 addresses are (almost) immediately deprecated

2023-09-22 Thread Geert Stappers
er it correctly configured until proven otherwise. > Regards, > Graham Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] [PATCH] wip: Add tag: usage in dhcp-option

2023-09-21 Thread Geert Stappers
These are The work in progress patch has been seen. At least by me. I think I have seen simular content in the existing man page. I hope the next version integrates with what is already there. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Questions about strict-order

2023-09-21 Thread Geert Stappers
On Tue, Sep 19, 2023 at 12:53:32PM +, Ercolino De Spiacico wrote: > About strict-order > > As I'm reading online this prefers one server over the others and > skips to the second in order of preference only if the first is to > fail. Qouting dnsmasq manual page: -o, --strict-order

Re: [Dnsmasq-discuss] [PATCH] wip: Add tag: usage in dhcp-option

2023-09-20 Thread Geert Stappers
On Tue, Sep 19, 2023 at 01:41:51PM -0700, Wink Saville wrote: > --- a/man/dnsmasq.8 > +++ b/man/dnsmasq.8 > @@ -1324,7 +1352,6 @@ netmask, broadcast, router, DNS server, domainname > and hostname. Thus, for DHCPv > .B --dhcp-option = option:router > will result in no router option being sent, rat

Re: [Dnsmasq-discuss] dnsmasq: /#/ and error "config error is REFUSED (EDE: not ready)“

2023-09-15 Thread Geert Stappers
On Tue, Sep 12, 2023 at 09:15:04PM +0200, Yann ILAS wrote: > Le mar. 12 sept. 2023 à 18:56, Geert Stappers a écrit : > > On Mon, Sep 11, 2023 at 01:58:07PM +0200, Yann ILAS wrote: > > > Hi ! > > > > Hello, > > > > > > > I get an issue with ve

Re: [Dnsmasq-discuss] dnsmasq: /#/ and error "config error is REFUSED (EDE: not ready)“

2023-09-12 Thread Geert Stappers
.96.0.10 > cache-size=500 > And with listen-address=127.0.0.1 bind-interfaces server=9.9.9.9 server=/svc.cluster.local/10.96.0.10 cache-size=500 ? (Yes, that are two changes!) Groeten Geert Stappers -- Silence is hard to parse ___

Re: [Dnsmasq-discuss] multiple dhcp-options with the same tag documentation

2023-09-09 Thread Geert Stappers
ybe it should be documented? I can't tell. I didn't get what the options were, what the tags was. Neither what did define the tag. Please describe the original problem. Also share the default Luci configuration file and the modified Luci configuration file with the assumed solution. G

Re: [Dnsmasq-discuss] config error is REFUSED (EDE: not ready) since v2.86

2023-09-06 Thread Geert Stappers
x.x.x.x is the ip address. The IP-address of what? > In the log we can see that it's referencing the domain as: > for domain # > config error is REFUSED (EDE:not ready)" I haven't tried yet to reproduce the error. I don't understand what the > --server=/#/

Re: [Dnsmasq-discuss] Blockdata SIGSEGV on master

2023-09-04 Thread Geert Stappers
ctually gets > cached, but Facebook obliges every once in a while. Is it worth a next release? Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] Corrupted query causing FORMERR?

2023-08-19 Thread Geert Stappers
n be reproduced elsewhere. > so it looks like some issue with the caching part of dnsmasq. Consider to tell more about the cache usage. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] [PATCH] Minor typo fix in the man page

2023-08-17 Thread Geert Stappers
a retransmit - Forwarded message from Geert Stappers - Date: Wed, 17 May 2023 19:51:34 +0200 From: Geert Stappers To: Dnsmasq Mailinglist Subject: [Dnsmasq-discuss] [PATCH] Minor typo fix in the man page X-Mailer: git-send-email 2.30.2 The manual page had "list or RR-types"

Re: [Dnsmasq-discuss] dnsmasq offers IPv4-address from different pool

2023-08-09 Thread Geert Stappers
of times, where client will release the > previously acquired IP address on the current vlan and then try to acquire > the IP address on the current vlan. > > > Looking for your help to root cause the issue. A few days ago there was the Mo

Re: [Dnsmasq-discuss] dhcp-script: environment var DNSMASQ_INTERFACE not always set

2023-08-07 Thread Geert Stappers
gt; OPTIND='1' > PATH='/usr/sbin:/usr/bin:/sbin:/bin' > PPID='19337' > PS1='\w \$ ' > PS2='> ' > PS4='+ ' > PWD='/' > SHLVL='1' > TERM='linux' > USER_DHCPSCRIPT='/etc/dhcp-scr

Re: [Dnsmasq-discuss] dnsmasq is offering ip from different pool

2023-08-04 Thread Geert Stappers
On Fri, Aug 04, 2023 at 02:20:05PM +0530, shashikumar Shashi wrote: > On Fri, Aug 4, 2023 at 1:20 PM Geert Stappers wrote: > > On Fri, Aug 04, 2023 at 11:54:15AM +0530, shashikumar Shashi wrote: > > > Hi, > > > > > > Observing that dnsmasq (version 2.8

Re: [Dnsmasq-discuss] dnsmasq is offering ip from different pool

2023-08-04 Thread Geert Stappers
smasq offers IP from the > vlan19 pool (the correct pool) even if vlan99 is DOWN. > Has anyone come across such an issue? Could be. Most likely they tried a more recent version. Groeten Geert Stappers -- Silence is hard to parse ___ Dn

Re: [Dnsmasq-discuss] Syntax for multiple listen addresses

2023-07-17 Thread Geert Stappers
ddress=192.168.1.2,127.0.0.1 > > or is it:- > listen-address=192.168.1.2 > listen-address=127.0.0.1 > > Or will either work? > sudo ss -plut | grep domain Groeten Geert Stappers -- Silence is hard to parse ___

Re: [Dnsmasq-discuss] [PATCH] TCP client timeout setting

2023-07-17 Thread Geert Stappers
{ "dns-tcp-timeout", 1, 0, LOPT_TCP_TIMEOUT }, > { "clear-on-reload", 0, 0, LOPT_RELOAD }, > { "dhcp-ignore-names", 2, 0, LOPT_NO_NAMES }, > { "enable-tftp", 2, 0, LOPT_TFTP }, > @@ -3391,7 +3393,12 @@ static int one_opt(int option

Re: [Dnsmasq-discuss] [PATCH] TCP client timeout setting

2023-07-17 Thread Geert Stappers
dns0_config(struct dns_header *header, size_t plen, unsigned > char *limit, > union mysockaddr *source, time_t now, int *cacheable); > diff --git a/src/forward.c b/src/forward.c > index f323fee..37696c8 100644 > --- a/src/forward.c > +++ b/src/forwa

Re: [Dnsmasq-discuss] [PATCH] TCP client timeout setting

2023-07-17 Thread Geert Stappers
gt; [3] https://bugzilla.redhat.com/show_bug.cgi?id=2160466#c13 > > > > On 19. 05. 23 13:40, Petr Menšík wrote: > > > When analysing report [1] for non-responding queries over TCP, I > > > have found forwarded TCP connections have quite high timeout. If for > > > whatever reason the forwarder currently set as a last used forwarder > > > is dropping packets without reject, the TCP will timeout for about > > > 120 seconds on my system. That is way too much, I think any TCP > > > clients will give up far before that. This is just quick workaround > > > to improve the situation, not final fix. > > > > > > ... > > > > > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=2160466 > > > Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

[Dnsmasq-discuss] pick up the patches

2023-06-17 Thread Geert Stappers
Hi, Which patches got dropped (a.k.a. did not get a proper review)? My list, by heart: * DNS CHAOS patch by a new contributor Any other patches that shouldn't be ignored? That question is the reason for this email: Raise again attention for a patch. Groeten Geert Stappers (Reque

Re: [Dnsmasq-discuss] [PATCH] expose the stale and unanswered metrics through CHAOS records

2023-06-07 Thread Geert Stappers
-2248,6 +2248,7 @@ Do not respond to class CHAOS and type TXT in domain bind queries. Without this option being set, the cache statistics are also available in the DNS as answers to queries of class CHAOS and type TXT in domain bind. The domain names are cachesize.bind, insertions.bind, evic

Re: [Dnsmasq-discuss] dhcp-lease-max is only for DHCPv4?

2023-06-06 Thread Geert Stappers
On Tue, May 23, 2023 at 03:43:46PM +0800, Linyih Teng wrote: > Geert Stappers 於 2023年5月23日 週二 下午1:59寫道: > > On Tue, May 23, 2023 at 12:05:08AM +0100, Simon Kelley wrote: > > > On 22/05/2023 12:18, Linyih Teng wrote: > > > > In the manual page is written:

Re: [Dnsmasq-discuss] Add an option to enable pxe without pxe-prompt or pxe-service?

2023-05-27 Thread Geert Stappers
le it? It feels wrong that changing `dhcp-range=,` into `dhcp-range=,proxy` implies opening port 4011. > I'm not sure a --enable-pxe option makes much sense for proxy mode, Idea: When you are beyond the doubt about it, make an improvement on the dnsmasq manual page. Groeten Geert

Re: [Dnsmasq-discuss] dhcp-lease-max is only for DHCPv4?

2023-05-22 Thread Geert Stappers
he number > of DHCP leases, since leases can expire to be deleted by the client. > > Are you saying that the number of simultaneous DHCP leases increases without > bound, or that the 513th client gets a lease? Have you checked the number of > leases in the dnsmasq.leases fil

Re: [Dnsmasq-discuss] dhcp-lease-max is only for DHCPv4?

2023-05-22 Thread Geert Stappers
of DHCPv6? > > > Best Regards, > Lin Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

  1   2   3   4   5   6   7   8   >