]> git.ipfire.org Git - zone-sync.git/log
zone-sync.git
3 days agomain: Add a --secure flag instead of letting users choose the transport master
Michael Tremer [Mon, 11 May 2026 17:03:14 +0000 (17:03 +0000)] 
main: Add a --secure flag instead of letting users choose the transport

This sounds simpler than handling the more complicated logic.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Configure the TLS transport
Michael Tremer [Mon, 11 May 2026 16:50:03 +0000 (16:50 +0000)] 
main: Configure the TLS transport

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Include zone name in log messages after transfer
Michael Tremer [Mon, 11 May 2026 16:09:35 +0000 (16:09 +0000)] 
main: Include zone name in log messages after transfer

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Don't go crazy on the debug log level
Michael Tremer [Mon, 11 May 2026 16:01:01 +0000 (16:01 +0000)] 
main: Don't go crazy on the debug log level

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Enable debug logging only when requested
Michael Tremer [Mon, 11 May 2026 15:59:28 +0000 (15:59 +0000)] 
main: Enable debug logging only when requested

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Fix the logger from crashing
Michael Tremer [Mon, 11 May 2026 15:59:08 +0000 (15:59 +0000)] 
main: Fix the logger from crashing

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Choose the correct port to connect to
Michael Tremer [Mon, 11 May 2026 15:43:17 +0000 (15:43 +0000)] 
main: Choose the correct port to connect to

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Allow the user to choose the transport type
Michael Tremer [Mon, 11 May 2026 15:26:55 +0000 (15:26 +0000)] 
main: Allow the user to choose the transport type

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Correctly pass error code if the CLI parsing fails
Michael Tremer [Mon, 11 May 2026 15:20:30 +0000 (15:20 +0000)] 
main: Correctly pass error code if the CLI parsing fails

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Create the source address struct once at startup
Michael Tremer [Mon, 11 May 2026 15:19:19 +0000 (15:19 +0000)] 
main: Create the source address struct once at startup

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Take and resolve the primary IP address
Michael Tremer [Mon, 11 May 2026 15:16:22 +0000 (15:16 +0000)] 
main: Take and resolve the primary IP address

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Add a convenience function to parse dns_name_t from string
Michael Tremer [Mon, 11 May 2026 14:44:26 +0000 (14:44 +0000)] 
main: Add a convenience function to parse dns_name_t from string

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Re-use the same cleanup handler on error
Michael Tremer [Mon, 11 May 2026 14:17:19 +0000 (14:17 +0000)] 
main: Re-use the same cleanup handler on error

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Add a counter to terminate the event loop
Michael Tremer [Mon, 11 May 2026 14:14:08 +0000 (14:14 +0000)] 
main: Add a counter to terminate the event loop

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Build out fetching zone data
Michael Tremer [Mon, 11 May 2026 14:05:57 +0000 (14:05 +0000)] 
main: Build out fetching zone data

This is just about working, but needs a lot more to be robust.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Setup logging from the libraries
Michael Tremer [Mon, 11 May 2026 12:40:10 +0000 (12:40 +0000)] 
main: Setup logging from the libraries

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Make the context static
Michael Tremer [Mon, 11 May 2026 11:58:55 +0000 (11:58 +0000)] 
main: Make the context static

The BIND API does not allow us to carry around a custom pointer which
prevents us from passing the context dynamically.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
3 days agomain: Add a path where to store the zones
Michael Tremer [Mon, 11 May 2026 10:57:18 +0000 (10:57 +0000)] 
main: Add a path where to store the zones

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agomain: Store and process all zones
Michael Tremer [Mon, 11 May 2026 09:23:53 +0000 (09:23 +0000)] 
main: Store and process all zones

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agomain: Create a new network manager
Michael Tremer [Mon, 11 May 2026 09:13:28 +0000 (09:13 +0000)] 
main: Create a new network manager

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agomain: Create an event loop and launch it
Michael Tremer [Mon, 11 May 2026 09:02:47 +0000 (09:02 +0000)] 
main: Create an event loop and launch it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agomain: Create a basic logger
Michael Tremer [Mon, 11 May 2026 09:02:28 +0000 (09:02 +0000)] 
main: Create a basic logger

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agomain: Allocate a memory context
Michael Tremer [Mon, 11 May 2026 08:44:42 +0000 (08:44 +0000)] 
main: Allocate a memory context

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agoconfigure: Link against libdns and libisc
Michael Tremer [Mon, 11 May 2026 08:30:53 +0000 (08:30 +0000)] 
configure: Link against libdns and libisc

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agomain: Add a very basic command line parser
Michael Tremer [Sun, 10 May 2026 11:34:57 +0000 (11:34 +0000)] 
main: Add a very basic command line parser

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
4 days agoInitial commit
Michael Tremer [Sun, 10 May 2026 11:22:09 +0000 (11:22 +0000)] 
Initial commit

This creates some basic tooling with autotools.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>