[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 +++

[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 changed, 16

[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 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] [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] 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: > > Files

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

2022-10-23 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On Fri, Oct 21, 2022 at 11:23:28PM +0200, Michael Traxler wrote: dnsmasq-2.87: When you disable the DNS-server via port=0 the /etc/hosts file is ignored and also the addn-hosts= is ignored. I've had the same feeling some time ago, with no resolution:

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 support for: > >

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: > > > On Mon, May 04, 2020 at

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

2022-10-23 Thread Geert Stappers via Dnsmasq-discuss
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 support for: > 1) Specifying allowlists on a per-client basis, based on their >associated Linux