Commit Graph
706 Commits
Author SHA1 Message Date
DL6ER 3f7d317b8a Check capabilities only when user requested updating time time
Build, Test, Deploy / smoke-tests (push) Has been cancelled
Codespell / spell-check (push) Has been cancelled
Check for merge conflicts / merge-conflict (push) Has been cancelled
API validation / Node (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-386, , linux/386) (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-amd64, , linux/amd64) (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-amd64-clang, clang, linux/amd64) (push) Has been cancelled
Build, Test, Deploy / gha (pihole-FTL-riscv64, , linux/riscv64) (push) Has been cancelled
Build, Test, Deploy / self-hosted (pihole-FTL-arm64, linux/arm64/v8) (push) Has been cancelled
Build, Test, Deploy / self-hosted (pihole-FTL-armv6, linux/arm/v6) (push) Has been cancelled
Build, Test, Deploy / self-hosted (pihole-FTL-armv7, linux/arm/v7) (push) Has been cancelled
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-27 18:42:56 +02:00
DL6ER 8e63dd99f9 Adjust tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-27 17:35:56 +02:00
DL6ER ab52ea063c Merge branch 'development-v6' into new/ntp
Build, Test, Deploy / smoke-tests (push) Waiting to run
Build, Test, Deploy / gha (pihole-FTL-386, , linux/386) (push) Blocked by required conditions
Build, Test, Deploy / gha (pihole-FTL-amd64, , linux/amd64) (push) Blocked by required conditions
Build, Test, Deploy / gha (pihole-FTL-amd64-clang, clang, linux/amd64) (push) Blocked by required conditions
Build, Test, Deploy / gha (pihole-FTL-riscv64, , linux/riscv64) (push) Blocked by required conditions
Build, Test, Deploy / self-hosted (pihole-FTL-arm64, linux/arm64/v8) (push) Blocked by required conditions
Build, Test, Deploy / self-hosted (pihole-FTL-armv6, linux/arm/v6) (push) Blocked by required conditions
Build, Test, Deploy / self-hosted (pihole-FTL-armv7, linux/arm/v7) (push) Blocked by required conditions
Codespell / spell-check (push) Waiting to run
Check for merge conflicts / merge-conflict (push) Waiting to run
API validation / Node (push) Waiting to run
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-25 15:13:37 +02:00
DL6ER 09a1f6fe5e Adjust CI tests due to modified NTP error message text
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-13 07:35:47 +02:00
DL6ER 791e3a8097 Add RTC synchronization
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-07 20:01:04 +02:00
DominikandRD WebDesign 08f2e37d9f Apply suggestions from code review
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
2024-06-06 08:54:31 +02:00
DL6ER d923904291 Tweak config option description
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-06 07:36:38 +02:00
DL6ER 3971e67849 Add NTP background synchronization
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-04 23:32:07 +02:00
DL6ER de45ba840a Add CAP_SYS_TIME to required capabilities to set the system time without being root
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-04 13:17:09 +02:00
DL6ER 7c0d7e87e8 Add debug.ntp flag
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-04 07:55:06 +02:00
DL6ER 3d2fd6d6a2 Add new misc.readOnly config option to force the configuration to be read-only. It can only be modified through the config file but neither the API nor the CLI as long as read-only mode is enabled
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-02 12:27:20 +02:00
DL6ER daa26ae9cb Implement time updating via optional --update flag and switch to unsigned 64 bit and double computations as mandated by RFC 5905 (page 28)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-02 07:17:52 +02:00
DL6ER d406327ae4 Synchronize pihole.toml and config.c
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-01 10:53:57 +02:00
DL6ER 391f7d0914 Merge branch 'development-v6' into new/ntp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-01 06:39:25 +02:00
DL6ER 1f6d9c115e Explicitly chown PID and remove old PORT file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-30 19:25:18 +02:00
DL6ER 96da0d4f94 Synchronize test/pihole.toml with the many config file changes that have been made in between and add a test ensuring they remain in sync in the future
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-30 19:16:30 +02:00
Dominik 47c7de6c93 Merge pull request #1976 from pi-hole/fix/resolver
Improve internal DNS resolver
2024-05-30 06:29:46 +02:00
DL6ER 86d683340a Merge branch 'development-v6' into fix/resolver 2024-05-29 19:39:33 +02:00
DL6ER 63c4be6340 Merge branch 'development-v6' into new/ntp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-29 19:37:11 +02:00
DL6ER c6e776d936 Merge branch 'development-v6' into tweak/env_reset 2024-05-29 19:20:24 +02:00
DL6ER 7bfe4dc26e Reset config options previously forced by env vars but not any longer
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-29 18:29:24 +02:00
DL6ER 3de9e12f70 Change magic comment put next to config options which are forced through the environment
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-28 21:32:04 +02:00
DL6ER 5a539a9d5c Add NTP-server/client implementation
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-28 20:07:47 +02:00
DL6ER 5db4ade057 Use TCP queries for internal name resolution to avoid truncated replies
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-26 21:22:29 +02:00
DL6ER 782178c6c1 Run tests with attached debugger
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-22 20:37:55 +02:00
DL6ER e10d2a52e1 Clang-built binaries are expected to be dynamic
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-21 19:58:19 +02:00
DL6ER 5cc5b377f1 Update tests, remove duplicated test
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-05-10 13:22:55 +02:00
DL6ER 49a5a0c60c Provide human-readable message about the session status when authenticating
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-25 21:14:05 +02:00
DL6ER f2a7662e95 Be more verbose in which tables are imported during teleporter importing
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-04-02 21:59:45 +02:00
Dominik f7cd4fb406 Merge pull request #1919 from pi-hole/tweak/cJSON_threadsafe
Ensure thread-safety for cJSON engine
2024-03-30 06:49:52 +01:00
DL6ER 549bc164ea Slightly simplify the CI tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-28 18:55:46 +01:00
DL6ER bc46302717 Merge branch 'development-v6' into HEAD
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-28 09:50:50 +01:00
DL6ER 05867e20f2 Ensure cJSON is used in a thread-safe manner and add CI tests ensuring this. Also ensure every JSON parsing is doing error checking and reduce some code duplication. No functional change.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-24 08:55:12 +01:00
DL6ER 9c7384e3a4 Add new dhcp.logging option
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-24 08:35:33 +01:00
Dominik 0d2fcd09ef Merge pull request #1872 from pi-hole/tweak/DBexport
Remove config option database.DBexport
2024-03-17 20:34:36 +01:00
DL6ER 66653ae0d5 Merge branch 'development-v6' into fix/overTimeGraphs 2024-03-16 09:05:00 +01:00
DL6ER 33d5472825 Remove obsoleted config option from test/pihole.toml
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-16 08:34:23 +01:00
DL6ER 74eba5f605 Remove config option database.DBexport. Its implementation was broken by design as its value was always overwritten by the condition (database.maxDBdays > 0). Replace it with exactly this condition and document the behavior in the config file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-16 08:34:19 +01:00
Dominik 1bb74b3025 Merge pull request #1773 from pi-hole/new/validator
Add additional config validation
2024-03-12 20:29:06 +01:00
DL6ER aa7deb968e Add CI tests for deep config validation
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-03-11 21:01:11 +01:00
Dominik 4b2a4be94c Merge pull request #1868 from pi-hole/new/useWAL
Make WAL mode for pihole-FTL.db optional
2024-03-04 19:40:29 +01:00
DL6ER e3c4dcf215 Restructure API response from /history/clients and /history/database/clients to allow for sparse data.
Add new config option webserver.api.client_history_global_max controling if the activities chart should sort and show the *global* (integrated over 24 hours) or the `local` (measured individually in each time slot) most active clients
Allow setting webserver.api.maxClients to 0 to always return all clients in /api/history/clients

Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-16 17:15:20 +01:00
DL6ER 750db7ecda Merge branch 'development-v6' into tweak/allow_adlist_dups
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-13 21:06:43 +01:00
DL6ER 2c7c19c1ae Update expected dnsmasq warnings
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-13 17:07:17 +01:00
DL6ER fbd7aa7761 Check for UNKNOWN status and replies during CI testing
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-13 10:38:30 +01:00
DL6ER 8b3c39015d Add RFC 8482 filtering (Providing Minimal-Sized Responses to DNS Queries That Have QTYPE=ANY) by default
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-13 09:51:53 +01:00
DL6ER 7a919cbf59 Allow narrowing down the (ad)list type using the (optional) query parameter ?type={allow,block}
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-13 08:42:08 +01:00
DL6ER e3e839880e Merge branch 'development-v6' into update/dnsmasq 2024-02-13 07:12:16 +01:00
Dominik 9e3ccd917d Merge pull request #1797 from pi-hole/new/multi_revServer
Add support for multiple reverse servers
2024-02-11 06:52:31 +01:00
Dominik 54262aeba2 Merge pull request #1878 from pi-hole/fix/debug_api_description
Fix debug.api config options description.
2024-02-10 20:56:25 +01:00