Re: [Dnsmasq-discuss] dnsmasq hangs after a certain time

2021-11-04 Thread Geert Stappers via Dnsmasq-discuss
ompile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 > no-Lua TFTP conntrack ipset auth cryptohash DNSSEC loop-detect inotify > dumpfile Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsma

Re: [Dnsmasq-discuss] dnsmasq and VPN client updates resolv.conf with multiple nameservers

2021-11-04 Thread Geert Stappers via Dnsmasq-discuss
h NXDOMAIN. > FWIW I still use --strict-order. My guess it that reloading dnsmasq after VPN open / close cloud help. Please expriment with it and report back. > Best Regards, > Johannes > Groeten Geert Stappers -- Silence is hard to parse _

Re: [Dnsmasq-discuss] dnsmasq and VPN client updates resolv.conf with multiple nameservers

2021-11-04 Thread Geert Stappers via Dnsmasq-discuss
On Thu, Nov 04, 2021 at 10:00:03AM +0100, Johannes Stezenbach wrote: > On Thu, Nov 04, 2021 at 07:46:18AM +0100, Geert Stappers via Dnsmasq-discuss > wrote: > > On Wed, Nov 03, 2021 at 11:45:15PM +0100, Johannes Stezenbach wrote: > > > > > > I've tried cu

Re: [Dnsmasq-discuss] custom TFTP port

2021-12-09 Thread Geert Stappers via Dnsmasq-discuss
of command line args/config. > If there's some other way to accomplish the same, please let me know > as I was not able to find it. 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] tftp hook for "not found"

2021-12-02 Thread Geert Stappers via Dnsmasq-discuss
d one destroyed, or a TFTP file transfer completes, the executable specified by this option is run. The arguments to the process are "add", "old" or "del", the MAC address of the host (or DUID for IPv6) , the IP address, and the hostname, if kn

Re: [Dnsmasq-discuss] NetworkManager plugin not forwarding queries

2021-12-14 Thread Geert Stappers via Dnsmasq-discuss
; > Any help greatly appreciated. Make a drawing of what you have build. Then test again and follow the DNS request both in the drawing and in the computer. I think there will be mismatches in it, like the DNS request ending up in another place was where it should show up in the drawi

Re: [Dnsmasq-discuss] dnsmasq on large scale network

2021-12-08 Thread Geert Stappers via Dnsmasq-discuss
> Make sure you use no-ping for good performance. Ping code does just one > at a time, which makes it quite slow if enabled. I would try dhcp-server > or kea, it seems you have big enough network. I would avoid single points of failure. Groeten Geert Stappers -- Silence is hard to par

Re: [Dnsmasq-discuss] [PATCH] Offered IPv4 DHCP address ping fix

2021-12-08 Thread Geert Stappers via Dnsmasq-discuss
r even in situation, when not yet all > leases are used. > From 18e49004782549068450cded3c12ff65e44a4308 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= > Date: Wed, 8 Dec 2021 00:11:46 +0100 > Subject: [PATCH 2/2] Simplify ICMP ping from dhcp Should

Re: [Dnsmasq-discuss] feature: dictionary order import of addn-hosts dirs?

2021-07-20 Thread Geert Stappers via Dnsmasq-discuss
les in dictionary order" Visit the mailinglist archive and come back with the URL of the (meanwhile outdated??) patch. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk ht

Re: [Dnsmasq-discuss] CS ART - dnsmasq bugs

2021-07-21 Thread Geert Stappers via Dnsmasq-discuss
her test version after fixing build of dbus |builds? I tried building a test package for Fedora [1], but I would have |to backport dbus fixes. No recent test release works with dbus enabled, |which is required on Fedora. Regards Geert Stappers [1] https://copr.fedorainfracloud.o

Re: [Dnsmasq-discuss] Change in behaviour of --server

2021-07-22 Thread Geert Stappers via Dnsmasq-discuss
build of dbus > builds? I tried building a test package for Fedora [1], but I would > have to backport dbus fixes. No recent test release works with dbus > enabled, which is required on Fedora. > > Thanks! Tag 2.86test6 has been announced[2], does it build for Fedora?[3] &

Re: [Dnsmasq-discuss] localise-queries on ipv6 server does not work with ipv4-only hosts

2021-07-16 Thread Geert Stappers via Dnsmasq-discuss
ay when it is not > clear which IPv4 subnet the client is in. > > My advice: There is no advantage in reaching a DNS server internally > over IPv6 in a dual-stack network. Ensure your clients query dnsmasq > over IPv4 and your problem is solved in both the simplest and also most > re

Re: [Dnsmasq-discuss] localise-queries on ipv6 server does not work with ipv4-only hosts

2021-07-16 Thread Geert Stappers via Dnsmasq-discuss
On Fri, Jul 16, 2021 at 08:38:26AM +0200, f...@gmx.de wrote: > Geert Stappers wrote: > > On Fri, Jul 16, 2021 at 02:22:05AM +0200, f...@gmx.de wrote: > > } Hello, > > } > > } i have a multi-homed ipv4 ONLY device "Alice". By each subnet it sho

Re: [Dnsmasq-discuss] Query on Force-Renew support on dnsmasq

2021-07-14 Thread Geert Stappers via Dnsmasq-discuss
q? If Yes, How can I achieve this? Please advise. https://datatracker.ietf.org/doc/html/rfc2131 Dynamic Host Configuration Protocol > Thank you in advance, You are welcome, I do love to create awareness about http://www.catb.org/~esr/faqs/smart-questions.html &g

Re: [Dnsmasq-discuss] Regarding: (Dnsmasq-discuss) localise-queries on ipv6 server does not work with ipv4-only hosts

2021-07-17 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Jul 17, 2021 at 02:15:53PM +0200, john doe wrote: > On 7/17/2021 1:52 PM, Kevin Darbyshire-Bryant wrote: > > On 17 Jul 2021, at 01:32, f...@gmx.de wrote: > > > Am 16.07.2021 um 13:42 schrieb Geert Stappers: > > > > ... > > > All your

Re: [Dnsmasq-discuss] Dnsmasq replying with refuse without forwarding request to upstream server.

2021-07-23 Thread Geert Stappers via Dnsmasq-discuss
d log file | |Maybe it reveals something of interest. | |Best, |Dominik In other words: Go beyond "it doesn't work for me" by providing actual information. 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] Change in behaviour of --server

2021-07-24 Thread Geert Stappers via Dnsmasq-discuss
On Thu, Jul 22, 2021 at 08:57:13PM +0200, Geert Stappers via Dnsmasq-discuss wrote: > On Fri, Jul 09, 2021 at 02:10:23PM +0200, Petr Menšík wrote: > > On 7/6/21 10:23 PM, Simon Kelley wrote: > > > On 06/07/2021 12:14, Kevin Darbyshire-Bryant wrote: > > >> An e

Re: [Dnsmasq-discuss] localise-queries on ipv6 server does not work with ipv4-only hosts

2021-07-25 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Jul 25, 2021 at 12:36:25AM +0200, f...@gmx.de wrote: > > > Yes, it does not sound hard, but it is not available. This is a request > > for a new feature. > > Is this the right place? Yes, this mailinglist is the right place to describe feature requests for dns

Re: [Dnsmasq-discuss] localise-queries on ipv6 server does not work with ipv4-only hosts

2021-07-15 Thread Geert Stappers via Dnsmasq-discuss
l > ips and always the same name. > > "localise-queries" is enabled. > > > This works fine as long as i'm asking dnsmasq by ipv4, only the correct > 1 ipv4 record is returned. > > If i ask dnsmasq BY ipv6, ALL A recorrd are returned (there is no ) >

Re: [Dnsmasq-discuss] SEGV on dnsmasq 2.81

2022-03-07 Thread Geert Stappers via Dnsmasq-discuss
; > > Is it a known failure/bug? > Could you please help? We, being projectlead Simon Kelley and us, released newer versions of Dnsmasq. Please try to reproduce the crash with a recent version. Section "Get Code" at https://dnsmasq.org has link to tarballs to downl

Re: [Dnsmasq-discuss] Does dnsmasq support cname within same domain?

2022-03-04 Thread Geert Stappers via Dnsmasq-discuss
ems of this type by defining: > - hostnames and IP addresses in /etc/hosts > - hostnames and MAC addresses in /etc/ethers > > so the hostnames exist all the time. Yes providing (configuring) hostnames plus IP-address makes it possible to answer to A queries. Groeten Geert Stappers

Re: [Dnsmasq-discuss] DNS Upstream routing

2022-03-07 Thread Geert Stappers via Dnsmasq-discuss
ist and it's archive. > Many thanks, ? > Bon 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] Problem with no-resolv and no IP

2022-03-06 Thread Geert Stappers via Dnsmasq-discuss
list. > > > > > > Thank you, > > > Alkis Georgopoulos It is because I respect an "alkisg" that I known from iPXE project, that I do a "reply to all". (No, I don't known if Alkis Georgopoulos and "alkisg" are the same person) Otherwise

Re: [Dnsmasq-discuss] dnsmasq consuming more memory

2022-03-11 Thread Geert Stappers via Dnsmasq-discuss
anon-rss:0kB, > file-rss:0kB, shmem-rss:0kB > systemd[1]: dnsmasq_vrf@swns.service: Unit entered failed state. > systemd[1]: dnsmasq_vrf@swns.service: Failed with result 'signal'. > > > Thanks, You are welcome. > Shashi Groeten Geert Stappers -- Silence is hard to

Re: [Dnsmasq-discuss] Query on Privacy warning when connecting Ipad over wifi network

2022-02-28 Thread Geert Stappers via Dnsmasq-discuss
x this? > I could see many reports about this, but couldn't get the actual reason > behind this and the solution. Consider it a culture thing and know how hard it is to explain (and change) culture. > Regards > Gokul Groeten Geert Stappers -- Silence is hard to parse _

Re: [Dnsmasq-discuss] Does dnsmasq support cname within same domain?

2022-03-01 Thread Geert Stappers via Dnsmasq-discuss
On Tue, Mar 01, 2022 at 09:21:58AM -0800, Frank Liu wrote: > On Tue, Mar 1, 2022 at 3:37 AM Geert Stappers via Dnsmasq-discuss wrote: > > On Tue, Mar 01, 2022 at 01:01:51AM -0800, Frank Liu wrote: > > > Hi, > > > > > > I am running dnsmasq

Re: [Dnsmasq-discuss] Does dnsmasq support cname within same domain?

2022-03-01 Thread Geert Stappers via Dnsmasq-discuss
n't make a difference. Please name those different versions. > Is this a known issue/limitation? What is the actual question? Please, pretty please, consult http://www.catb.org/~esr/faqs/smart-questions.html before my "what is the pro

Re: [Dnsmasq-discuss] dnsmasq stable bug report

2022-03-28 Thread Geert Stappers via Dnsmasq-discuss
? How is dnsmasq started? ( command line options ) What does the start upon system boot? ( "init system" ) 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] editing resolv.conf blocks dnsmasq, but not right away

2022-03-31 Thread Geert Stappers via Dnsmasq-discuss
ation. So my fear is > I've made a clueless error and just don't know enough to recognize > it. Any ideas? dig @[ISP ip redacted] dnsmasq.org > Cheers > Edward 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] Extend server to accept hostnames for upstream resolver

2022-04-04 Thread Geert Stappers via Dnsmasq-discuss
= 0; >char *scope_id; > + int addr_type = 0; > +#ifdef HAVE_RESOLVESERVER > + int ecode = 0; > + struct addrinfo *hostinfo, hints = { 0 }; > +#endif > As long time direct reader of the mailinglist, can I tell that the ML archive has entries where dnsmasq pro

Re: [Dnsmasq-discuss] Allow wildcard matching for TLD given a fixed 2nd level domain

2022-02-04 Thread Geert Stappers via Dnsmasq-discuss
n.com > baddomain.net > baddomain.org > baddomain.info > etc > > Is there an alternative syntax I could use to match all the TLD? Try address=/baddomain.*/# > If not could this be considered for the next release? > > Thanks > > ____

Re: [Dnsmasq-discuss] Questions about /etc/hosts

2022-02-10 Thread Geert Stappers via Dnsmasq-discuss
ilures or delays during boot, > it is safe to be removed :) That :) should be pronounanced as "it remains your decission" Desktop esprimo has hostname esprimo. Most likely is esprimo a DHCP client. Esprimo could be (re)booted when there is no DNS and no DHCP s

Re: [Dnsmasq-discuss] CNAMEs

2022-02-06 Thread Geert Stappers via Dnsmasq-discuss
t; Answering that as } Could I please get some help with what I call "the CNAME problem"? In manual pages are square brackets used to indicate what is optional. Optional meaning "can left out" so --cname=,[,][,] becomes --cname=, and that matches } } cname=thecname.

Re: [Dnsmasq-discuss] Feature request = block-conf

2022-02-05 Thread Geert Stappers via Dnsmasq-discuss
s:^:address=/:" -e "s:$:/#:" > > > The sed stuff might not be necessary: a decent compression algo should hide > the repeated information pretty successfully itself. > > > That solves you problem, and is more generally useful: It's also pretty >

Re: [Dnsmasq-discuss] Make HighLoad constant value configurable from config.h

2022-04-08 Thread Geert Stappers via Dnsmasq-discuss
m = NULL; > int count, max = (int)(0.6 * (((float)PING_CACHE_TIME)/ >((float)PING_WAIT))); > ``` > > 0.6 should be configurable via compile-time constants, not hard-coded That should be expressed as a patch. Groeten Geert S

Re: [Dnsmasq-discuss] Make HighLoad constant value configurable from config.h

2022-04-08 Thread Geert Stappers via Dnsmasq-discuss
On Fri, Apr 08, 2022 at 05:55:44PM +0300, Серж ИвановЪ wrote: > пт, 8 апр. 2022 г. в 17:46, Geert Stappers : > > On Fri, Apr 08, 2022 at 04:34:11PM +0300, Серж ИвановЪ wrote: > > > I am talking about this part of code in src/dhcp.c > > > ``` > > > struct

Re: [Dnsmasq-discuss] DNSSEC validation

2022-04-12 Thread Geert Stappers via Dnsmasq-discuss
y attached patch which remedies my problem and I > believe implements DNSSEC as it was intended. > > Thanks, Chris. > Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.

Re: [Dnsmasq-discuss] Whitelist again, git bisect

2022-04-11 Thread Geert Stappers via Dnsmasq-discuss
; > Thank you very much, in advance! Yes, we are looking forward you reporting back. Groeten Geert Stappers P.S. @József your system clock is some hours ahead, please adjust it. -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-dis

Re: [Dnsmasq-discuss] Whitelist magic

2022-04-11 Thread Geert Stappers via Dnsmasq-discuss
s this about # The special server address '#' means, "use the standard servers", so --server=/google.com/1.2.3.4 --server=/www.google.com/# will send queries for google.com and its subdomains to 1.2.3.4, except www.google.com (and its subdomains) whi

Re: [Dnsmasq-discuss] Extend server to accept hostnames for upstream resolver

2022-04-07 Thread Geert Stappers via Dnsmasq-discuss
tainer) environment that started this request / idea. I imagine that gethostbyname() name resolving also reads /etc/hosts, so more "environment" can benefit from this new feature. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq

Re: [Dnsmasq-discuss] Extend server to accept hostnames for upstream resolver

2022-04-08 Thread Geert Stappers via Dnsmasq-discuss
On Thu, Apr 07, 2022 at 05:27:31PM +0200, Geert Stappers via Dnsmasq-discuss wrote: > On Thu, Apr 07, 2022 at 12:24:15PM +0100, Simon Kelley wrote: > > This seems like a sensible idea, but it does need a clear warning in the > > documentation that it will only work if the dnsmasq

Re: [Dnsmasq-discuss] [PATCH] DNSSEC Validation (super-simplified version)

2022-04-15 Thread Geert Stappers via Dnsmasq-discuss
; > Once again, please see previous for reasoning behind the patch. Please add the reason to the proposed patch. > Thanks, Chris. > Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thek

Re: [Dnsmasq-discuss] [PATCH] Log upstream port for dnssec-retry

2022-04-15 Thread Geert Stappers via Dnsmasq-discuss
dr, > + (forward->flags & FREC_DNSKEY_QUERY) ? > "dnssec-retry[DNSKEY]" : "dnssec-retry[DS]", 0); I see more changes as commit message says. > #endif > > srv->queries++; > -- 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] dnsmasq 2.86 seems to stop reading from one of its dns sockets after a period of time under load

2022-04-24 Thread Geert Stappers via Dnsmasq-discuss
ab, vlan:0) > [57338.311331] br-lan: received packet on wl0 with own address as source > address (addr:0c:cb:85:f7:e5:ab, vlan:0) > [57399.986991] br-lan: received packet on wl1 with own address as source > address (addr:0c:cb:85:f7:e5:aa, vlan:0) > [57545.345542] br-lan: received p

Re: [Dnsmasq-discuss] Permutation depends on order of entries in /etc/hosts

2022-04-24 Thread Geert Stappers via Dnsmasq-discuss
> ``` > the answers are not permutated. Please test with these four cases: ``` 10.0.2.1 gateway.lan son.lan 10.0.2.2 gateway.lan ``` ``` 10.0.2.2 gateway.lan 10.0.2.1 gateway.lan son.lan ``` ``` 10.0.2.1 son.lan gateway.lan 10.0.2.2 gateway.lan ``` ``` 10.0.2.2 gateway.lan 10.0.2.1 son.lan gateway.

[Dnsmasq-discuss] [PATCH] server option needs a server

2022-04-08 Thread Geert Stappers via Dnsmasq-discuss
When using option '--server', is an upstream server mandatory. Expressing that by removing the [ ] that suggests that is optional. At the spanish translation is only a [ removed. Signed-off-by: Geert Stappers --- man/dnsmasq.8| 2 +- man/es/dnsmasq.8 | 2 +- man/fr/dnsmasq.8 | 2 +- 3

Re: [Dnsmasq-discuss] Make HighLoad constant value configurable from config.h

2022-04-10 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Apr 10, 2022 at 02:54:38PM +0300, Серж ИвановЪ wrote: > пт, 8 апр. 2022 г. в 17:55, Серж ИвановЪ : > > пт, 8 апр. 2022 г. в 17:46, Geert Stappers : > >> On Fri, Apr 08, 2022 at 04:34:11PM +0300, Серж ИвановЪ wrote: > >> > I am talking about t

Re: [Dnsmasq-discuss] DHCP server not assigning IP to RTMU86

2022-05-15 Thread Geert Stappers via Dnsmasq-discuss
On Sun, May 15, 2022 at 01:10:40AM +0200, Kamil via Dnsmasq-discuss wrote: > On Sat, May 14, 2022 at 11:27:34AM +0200, Geert Stappers via Dnsmasq-discuss > wrote: > > On Sat, May 14, 2022 at 02:53:51AM +0200, Kamil via Dnsmasq-discuss wrote: ... > > > 1. I plug one devic

Re: [Dnsmasq-discuss] Script dnsmasq's IP generation

2022-05-16 Thread Geert Stappers via Dnsmasq-discuss
t that you are struggling with two networks. In case the good advice Petr didn't solve your original problem, try to describe your problem better (or just in other words). Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing

Re: [Dnsmasq-discuss] static-y IP management

2022-05-17 Thread Geert Stappers via Dnsmasq-discuss
it would save steps and less chance of > my file and the server's file being out of sync. > > I am creating a little cluster thing and documenting how to build it. > If dnsmasq has a simple way of doing something, it will make my docs > of the process easier. https://en.wikipedi

[Dnsmasq-discuss] pick up the patches

2022-05-17 Thread Geert Stappers via Dnsmasq-discuss
eah ..." Also: Few days ago wkitty42 saying something like "reflection attack" I know wkitty42 is a smart guy, so I should read about "reflection attack" so I can reply to that message to avoid "nobody cares" Groeten Geert Stappers (now playing: "Pick up t

Re: [Dnsmasq-discuss] [PATCH] Fix parsing of IPv6 addresses with peer from netlink

2022-05-18 Thread Geert Stappers via Dnsmasq-discuss
p;& !addrp) addrp = value It is the "&& !addrp" that makes me feel uncomfortable. Would + if (conditionLOCAL) + addrp = value + else if (conditionADDRESS) addrp = value do? Groeten Geert Stappers

[Dnsmasq-discuss] [PATCH 1/2] server option needs a server

2022-05-30 Thread 'Geert Stappers via Dnsmasq-discuss
From: Geert Stappers When using option '--server', is an upstream server mandatory. Expressing that by removing the [ ] that suggests that is optional. At the spanish translation is only a [ removed. Signed-off-by: Geert Stappers --- man/dnsmasq.8| 2 +- man/es/dnsmasq.8 | 2 +- man/fr

[Dnsmasq-discuss] [PATCH] --local was syntactically sugar on top of --server

2022-05-30 Thread 'Geert Stappers via Dnsmasq-discuss
From: Geert Stappers Manual page was unaware that --local became a separate option. Now matches the --server and --local section with what in option.c is: $ grep -e '{ "server"' -e '{ "local"' src/option.c { "server", 1, 0, 'S' }, { "local", 1

[Dnsmasq-discuss] [PATCH 2/2] --local was syntactically sugar on top of --server

2022-05-30 Thread 'Geert Stappers via Dnsmasq-discuss
From: Geert Stappers Manual page was unaware that --local became a separate option. Now matches the --server and --local section with what in option.c is: $ grep -e '{ "server"' -e '{ "local"' src/option.c { "server", 1, 0, 'S' }, { "local", 1

Re: [Dnsmasq-discuss] DNS only on LAN: what's not working?

2022-05-22 Thread Geert Stappers via Dnsmasq-discuss
dns=none > > /etc/systemd/resolved.conf > DNS=192.168.178.9 > DNSStubListener=no > > /etc/resolv.conf -> /run/systemd/resolve/stub-resolv.conf > nameserver 192.168.178.9 > nameserver 192.168.178.9 > nameserver 192.168.178.1 > search localhost > > NM config fo

Re: [Dnsmasq-discuss] DHCP server not assigning IP to RTMU86

2022-05-14 Thread Geert Stappers via Dnsmasq-discuss
On Sat, May 14, 2022 at 02:53:51AM +0200, Kamil via Dnsmasq-discuss wrote: > > On 11/05/2022 12:41, Kamil via Dnsmasq-discuss wrote: > > > Hi! > > > I've configured Dnsmasq with the following config: > > > > > > interface=eth0 > > > bind-interfaces > > > dhcp-option=3,192.168.6.1 > > >

Re: [Dnsmasq-discuss] DHCP server not assigning IP to RTMU86

2022-05-23 Thread Geert Stappers via Dnsmasq-discuss
hat it's not the case of "time". > 3) Also I've left RTMU86 for a little bit longer and as you can see it > retries several times. > 4) eth0 has static IP configured for all this time. In /etc/dhcpcd.conf I > have: > | interface eth0 > | static ip_address=192.168.6.1/24 >

Re: [Dnsmasq-discuss] dnsmasq 2.86 seems to stop reading from one of its dns sockets after a period of time under load

2022-05-18 Thread Geert Stappers via Dnsmasq-discuss
ors. After reading https://en.wikipedia.org/wiki/Reflection_attack I fail to see why this particular kind attack could be in play. Which authentication does dnsmasq with what? Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss mailing l

Re: [Dnsmasq-discuss] DHCP server not assigning IP to RTMU86

2022-05-18 Thread Geert Stappers via Dnsmasq-discuss
On Tue, May 17, 2022 at 11:16:28AM +0200, Kamil via Dnsmasq-discuss wrote: > On Mon, May 16, 2022 at 04:56:25PM +0100, Simon Kelley wrote: > > On 15/05/2022 15:40, Kamil via Dnsmasq-discuss wrote: > > > On Sun, May 15, 2022 at 07:21:47AM +0200, Geert Stappers via > >

Re: [Dnsmasq-discuss] dhcp leases file not consulted after restart?

2022-05-12 Thread Geert Stappers via Dnsmasq-discuss
://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q2/016358.html to get an idea how other people recieve what your email client is transmitting. > Rance No hard feelings 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] free() after use

2022-06-22 Thread Geert Stappers via Dnsmasq-discuss
Because GCC 12.1 did report: cache.c: In function ‘cache_make_stat’: cache.c:1683:30: warning: pointer used after ‘free’ [-Wuse-after-free] 1683 | p = new + (p - buff); | ~~~^~~ cache.c:1682:17: note: call to ‘free’ here 1682 |

[Dnsmasq-discuss] cache.c:1683:30: warning: pointer used after ‘free’

2022-06-22 Thread Geert Stappers via Dnsmasq-discuss
ies, failed_queries); 1689 } Patch is work in progress. 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] free() after use

2022-07-07 Thread Geert Stappers via Dnsmasq-discuss
On Wed, Jun 22, 2022 at 11:05:57AM +0200, Geert Stappers via Dnsmasq-discuss wrote: > Because GCC 12.1 did report: > cache.c: In function ‘cache_make_stat’: > cache.c:1683:30: warning: pointer used after ‘free’ [-Wuse-after-free] >1683 | p = new

Re: [Dnsmasq-discuss] Possible to reuse Cache over restats?

2022-06-30 Thread Geert Stappers via Dnsmasq-discuss
On Thu, Jun 30, 2022 at 12:32:20PM +, Tobias Hochgürtel wrote: > From: Donald Muller, Date: Thursday, 30. June 2022 at 02:48 > > Geert Stappers, Sent: Wednesday, June 29, 2022 6:14:30 PM > > > On Wed, Jun 29, 2022 at 08:25:18PM +, Dominik Derigs wrote: > > > &g

Re: [Dnsmasq-discuss] Possible to reuse Cache over restats?

2022-06-29 Thread Geert Stappers via Dnsmasq-discuss
forward destionation, or whatever else may > be happening. We can surely give some assistance here, if you want. Here already some assistance: * Tell us which version of dnsmasq is being used * Reread the manual page and in particular --log-queries

Re: [Dnsmasq-discuss] DHCP Proxy and UEFI HTTP boot

2022-06-08 Thread Geert Stappers via Dnsmasq-discuss
for booting UEFI HTTP Clients and makes no sense > to set. > > Anybody a hint for me whats wrong in my configuration? It is incomplete. > Or is the combination DHCP Proxy and UEFI HTTP boot not RFC like? > > THx in advance Yeah, the answer was send in advance. Now

Re: [Dnsmasq-discuss] DHCP server not assigning IP to RTMU86

2022-06-10 Thread Geert Stappers via Dnsmasq-discuss
lients that seem to work with some DHCP servers and likely not with the dnsmasq DHCP server. So I hope that more information about this case will be shared. 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] DHCP Proxy and UEFI HTTP boot

2022-06-08 Thread Geert Stappers via Dnsmasq-discuss
On Wed, Jun 08, 2022 at 12:22:50PM +0200, Michael via Dnsmasq-discuss wrote: > Am 08.06.2022 10:31, schrieb Geert Stappers via Dnsmasq-discuss: > > On Tue, Jun 07, 2022 at 11:35:26AM +0200, Michael via Dnsmasq-discuss wrote: > > > > > Hi dnsmasq-discuss Groupmembers, >

Re: [Dnsmasq-discuss] ddns from dhcp hostname

2022-06-07 Thread Geert Stappers via Dnsmasq-discuss
its dns > > > > I thought it did, but I can't find anything in the docs about it. > > > > Yes. -- we need more info if you need help! > So tell more, like * What is the server? * What is the client? * How are those connected? * What do you expect to happen?

Re: [Dnsmasq-discuss] DHCP Proxy and UEFI HTTP boot

2022-06-12 Thread Geert Stappers via Dnsmasq-discuss
On Thu, Jun 09, 2022 at 07:13:37AM +0200, Michael via Dnsmasq-discuss wrote: > Am 08.06.2022 22:16, schrieb Geert Stappers via Dnsmasq-discuss: > > On Wed, Jun 08, 2022 at 12:22:50PM +0200, Michael via Dnsmasq-discuss wrote: > > > Am 08.06.2022 10:31, schrieb Geert Stappers v

Re: [Dnsmasq-discuss] Possible to reuse Cache over restarts?

2022-07-16 Thread Geert Stappers via Dnsmasq-discuss
On Thu, Jun 30, 2022 at 08:01:36PM +0200, Petr Menšík wrote: > On 30. 06. 22 14:32, Tobias Hochgürtel wrote: > > Geert Stappers wrote: > >   * Tell us which version of dnsmasq is being used > >   * Reread the manual page and in particular --log-queries option > &g

[Dnsmasq-discuss] patchwork

2022-07-17 Thread Geert Stappers via Dnsmasq-discuss
Previous-Subject: Re: [Dnsmasq-discuss] [PATCH] Create temporary leases for DHCPOFFER actions In-Reply-To: On Fri, Jul 15, 2022 at 10:54:28PM +0200, Petr Menšík wrote: > On 7/13/22 19:20, Geert Stappers via Dnsmasq-discuss wrote: > > On Fri, Jul 08, 2022 at 10:26:35PM +0200, Petr Men

Re: [Dnsmasq-discuss] Create temporary leases for DHCPOFFER actions, setup.sh

2022-07-13 Thread Geert Stappers via Dnsmasq-discuss
Idea: putting the `setup.sh` into the contrib directory Regards Geert Stappers What follows is the script -- #!/bin/sh : ${BRIDGE:=virbr1} NS=dhcp-test INSTANCES=${1:-16} WAIT=${2:-80} ip netns add $NS ip -netns $NS link set lo up # Make sure old addresses are forgotten rm -f /var/

Re: [Dnsmasq-discuss] [PATCH 3/6] Create temporary leases on DISCOVER message

2022-07-13 Thread Geert Stappers via Dnsmasq-discuss
0); |warning: 1 line adds whitespace errors. "repaired" in my public git repo. More about that git repository in another email. 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] RFC8520 (MUD) support in DHCP

2022-07-13 Thread Geert Stappers via Dnsmasq-discuss
maintain them for a while. The git repo is at https://git.sr.ht/~stappers/dnsmasqmlpc over there you will find `git clone` URLs. Groeten Geert Stappers [1] https://www.mail-archive.com/dnsmasq-discuss@lists.thekelleys.org.uk/msg12326.html [2] https://www.mail-archive.com/dnsmasq

Re: [Dnsmasq-discuss] [PATCH] Create temporary leases for DHCPOFFER actions

2022-07-13 Thread Geert Stappers via Dnsmasq-discuss
. Example given: https://git.sr.ht/~stappers/dnsmasqmlpc/log/y22w27 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] Fix --server=/#/...... which was lost in 2.86

2022-07-23 Thread Geert Stappers via Dnsmasq-discuss
s forwarding loop */ > +#define SERV_DO_DNSSEC 32768 /* Validate DNSSEC when using this server > */ > +#define SERV_GOT_TCP65536 /* Got some data from the TCP connection > */ Why the reshuffle? What about SERV_DEFAULT 65536 and avoiding the reshuffle? Regards Geert Sta

Re: [Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lost in 2.86

2022-07-23 Thread Geert Stappers via Dnsmasq-discuss
ged, 30 insertions(+), 21 deletions(-) Qoute from a few days ago on this mailing list please could you supply a suitable commit message which describes clearly what the patch does That quote in context at https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q3/016485.html Groe

Re: [Dnsmasq-discuss] [PATCH] Log upstream port for dnssec-retry

2022-04-17 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Apr 17, 2022 at 12:51:42PM +0200, Dominik Derigs wrote: > On Fri, 2022-04-15 at 10:17 +0200, Geert Stappers wrote: > > 2022-04-10, Dominik Derigs wrote: } } } Subject: [PATCH] Also log upstream port for dnssec-retry } } there should be more text abou

Re: [Dnsmasq-discuss] address option doesn't work correctly if the target domain is a cname

2022-04-17 Thread Geert Stappers via Dnsmasq-discuss
.0.0.1/35410 > query[] api.ott.kinopoisk.ru from 127.0.0.1 > Sat Apr 16 19:13:37 2022 daemon.info dnsmasq[1]: 459 127.0.0.1/35410 cached > api.ott.kinopoisk.ru is > Sat Apr 16 19:13:37 2022 daemon.info dnsmasq[1]: 459 127.0.0.1/35410 cached > ott-api-produc

Re: [Dnsmasq-discuss] What does this reply to 'host' mean?

2022-10-16 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Oct 16, 2022 at 01:34:26PM +0100, Chris Green wrote: > I have been moving some domains around on my hosting provider and for > one I'm getting the following rather strange response to a 'host' > command:- > > chris$ host www.jacquibennett.com > www.jacquibennett.com is an alias

[Dnsmasq-discuss] [PATCH] Removed empty last lines

2022-10-22 Thread Geert Stappers via Dnsmasq-discuss
Files src/domain-match.c and src/metrics.c had empty last lines. Now has the last line of those files more than just white space. Signed-of-by: Geert Stappers --- src/domain-match.c | 1 - src/metrics.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/domain-match.c b/src/domain

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-10-22 Thread Geert Stappers via Dnsmasq-discuss
re? :-) Or an incomplete configuration file. So remove the 'port=0' (or comment it out) and check if the host with MAC-address gets the IP-address of trb. And report back. Groeten Geert Stappers -- Silence is hard to parse ___ Dnsmasq-discuss

Re: [Dnsmasq-discuss] Dnsmasq 2.85 stopped resolving dns zones.

2022-10-22 Thread Geert Stappers via Dnsmasq-discuss
nsmasq[314051]: no servers found in > /run/dnsmasq/resolv.conf, will retry Did the retry happen? > Oct 18 12:33:02 dnsmasq[314051]: read /etc/hosts - 2 addresses > Oct 18 12:33:22 dnsmasq[314051]: query[A] google.com from 127.0.0.1 > Oct 18 12:33:22 dnsmasq[314051]: config error is R

Re: [Dnsmasq-discuss] [PATCH] Removed empty last lines

2022-10-22 Thread Geert Stappers via Dnsmasq-discuss
On Sat, Oct 22, 2022 at 09:26:53PM +0200, Geert Stappers wrote: > Files src/domain-match.c and src/metrics.c had empty last lines. > Now has the last line of those files more than just white space. > > Signed-of-by: Geert Stappers > --- > src/domain-match.c | 1 - > s

Re: [Dnsmasq-discuss] [PATCH] dnsmasq unit tests!

2022-10-23 Thread Geert Stappers via Dnsmasq-discuss
On Thu, May 21, 2020 at 04:32:01PM +0200, Geert Stappers wrote: > On Thu, May 14, 2020 at 09:08:09PM +0200, Petr Menšík wrote: > > My previous message is waiting for moderation, since my patch is a big one. > > > > On 5/12/20 10:51 PM, Geert Stappers wrote: > > >

Re: [Dnsmasq-discuss] [PATCH] Connection track mark based DNS query filtering.

2022-10-23 Thread Geert Stappers via Dnsmasq-discuss
g about that due my archive my only point of view. What where other responses? 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 2/6] Removed trailing white spaces

2022-10-23 Thread 'Geert Stappers via Dnsmasq-discuss
From: Geert Stappers This was done by sed --in-place -e 's/[\t ]*$//' src/*.c src/*.h However, this is an **empty** commit, The diff would be too big for the mailinglist. The commit hash is needed for in .git-blame-ignore-revs ___ Dnsmasq-discuss

[Dnsmasq-discuss] [PATCH 5/6] Better description of Coding Style

2022-10-23 Thread 'Geert Stappers via Dnsmasq-discuss
From: Geert Stappers And the CS needs more tuning. --- .clang-format | 7 ++- CodingStyle | 7 +++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index 75d465b..ada50d2 100644 --- a/.clang-format +++ b/.clang-format @@ -1,3 +1,8

[Dnsmasq-discuss] [PATCH 3/6] Tell `git blame` which commits to ignore

2022-10-23 Thread 'Geert Stappers via Dnsmasq-discuss
From: Geert Stappers new file: .git-blame-ignore-revs That file has commit-hash of commit to ignore and information on how to activate it. --- .git-blame-ignore-revs | 9 + 1 file changed, 9 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs

[Dnsmasq-discuss] Coding Style

2022-10-23 Thread Geert Stappers via Dnsmasq-discuss
In-Reply-To: <20221022202018.cxxx2lag6dxqg...@gpm.stappers.nl> Previous-Subject: Re: [Dnsmasq-discuss] [PATCH] Removed empty last lines On Sat, Oct 22, 2022 at 10:20:18PM +0200, Geert Stappers via Dnsmasq-discuss wrote: > On Sat, Oct 22, 2022 at 09:26:53PM +0200, Geert Stappers wrote:

Re: [Dnsmasq-discuss] Reserved IP Addresses for Specific DHCP Clients without a Connection to the Subnet

2022-10-29 Thread Geert Stappers via Dnsmasq-discuss
esses will be moved > away from the dnsmasq server. Is it allowed to have many shared-network > directives in the config? > > shared-network=enp2s0,172.18.0.0 > shared-network=enp2s0,172.18.1.0 > shared-network=enp2s0,172.18.2.0 > < … > > shared-network=enp2s0,172.18.12

Re: [Dnsmasq-discuss] [PATCH] Offer alternative DHCPv6 address if requested is taken

2022-10-27 Thread Geert Stappers via Dnsmasq-discuss
; > https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q3/015640.html > > It has subject: [PATCH] DHCPv6 - network booting 'address in use' > > It was neither refused or merged, so I like it to be reviewed. > FWIW the patches from 2022-10-21 retransmi

[Dnsmasq-discuss] [PATCH 4/6] Created file .clang-format

2022-10-23 Thread 'Geert Stappers via Dnsmasq-discuss
From: Geert Stappers I did clang-format --assume-filename=.c --style=GNU --dump-config and redirected that to .clang-format. For coding style I should have pick a better match from webpage https://clang.llvm.org/docs/ClangFormatStyleOptions.html Item that complies with dnsmasq coding style

[Dnsmasq-discuss] [PATCH 1/6] new file: CodingStyle

2022-10-23 Thread 'Geert Stappers via Dnsmasq-discuss
From: Geert Stappers Documents how to indent. (further codingstyle will be machine readable) --- CodingStyle | 8 1 file changed, 8 insertions(+) create mode 100644 CodingStyle diff --git a/CodingStyle b/CodingStyle new file mode 100644 index 000..5457dd8 --- /dev/null +++ b

[Dnsmasq-discuss] [PATCH 6/6] Extended Makefile with format target

2022-10-23 Thread 'Geert Stappers via Dnsmasq-discuss
From: Geert Stappers For keeping the source code in shape, you do: make format or just make fmt File CodingStyle has `make fmt` documented for being closer to the "Go-lang" and/or the "Rust" world. --- CodingStyle | 7 +++ Makefile| 9 + 2 files ch

Re: [Dnsmasq-discuss] [PATCH] Connection track mark based DNS query filtering.

2022-10-23 Thread Geert Stappers via Dnsmasq-discuss
On Sun, Oct 23, 2022 at 10:15:47AM +0200, Geert Stappers via Dnsmasq-discuss wrote: > On Fri, Jan 22, 2021 at 09:34:53PM +0100, Etan Kissling wrote: > > This extends query filtering support beyond what is currently possible > > with the `--ipset` configuration option, by adding sup

[Dnsmasq-discuss] picking up patches

2022-10-17 Thread Geert Stappers via Dnsmasq-discuss
e fairly soon. > I'm working through a backlog of patches from before 2.87, and once they are > done in week or so, 2.88 will go into the release sausage-grinder. Subject: picking up patches for getting attention on the backlog of patches. > Cheers, > Simon. Gro

[Dnsmasq-discuss] Picking up the patches

2022-09-17 Thread Geert Stappers via Dnsmasq-discuss
is message, picking up patches. Groeten Geert Stappers [1] http://www.catb.org/jargon/html/Y/yak-shaving.html -- Silence is hard to parse ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailma

<    2   3   4   5   6   7   8   >