Dominik
|
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
|
ee8f9899dd
|
Add NTP settings category to the API and create all threads in detached mode
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-06 07:21:37 +02:00 |
|
DL6ER
|
f088b79e8f
|
Exit synchronization early if no trimmed time offest average is avalable, print progress only when printing to the CLI, and increase delay between successive NTP requests to 0.5 seconds
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-06 06:13:52 +02:00 |
|
DL6ER
|
2269caeb9a
|
Make NTP sync thread cancelable
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-04 23:56:11 +02:00 |
|
DL6ER
|
a872c03091
|
Fix formating error
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-04 23:48:44 +02:00 |
|
DL6ER
|
3971e67849
|
Add NTP background synchronization
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-04 23:32:07 +02:00 |
|
DL6ER
|
12758da50b
|
Use David L. Mills' clock adjustment algorithm (RFC 5905) for gradual clock adjustments if the deviation is small
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-04 17:53:53 +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
|
10e4c732f2
|
Use trimmed mean to compute time offset to exclude outliers where packets traveled unusual paths
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-04 13:15:38 +02:00 |
|
DL6ER
|
7c0d7e87e8
|
Add debug.ntp flag
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-04 07:55:06 +02:00 |
|
DL6ER
|
d8469bd9b9
|
Merge branch 'development-v6' into new/ntp
|
2024-06-04 07:04:31 +02:00 |
|
Dominik
|
a72440292c
|
Merge pull request #1987 from pi-hole/tweak/cert_no_tls
Skip certificate domain check when TLS is not actually used
|
2024-06-03 22:48:39 +02:00 |
|
Dominik
|
a564e329f4
|
Merge pull request #1990 from pi-hole/fix/long_dns_names
Fix possible heap-corruption bug
|
2024-06-03 22:39:36 +02:00 |
|
DL6ER
|
af0468eb36
|
Fix very long DNS names (>64 bytes) potentially crashing the internal name resolving mechanism, the new limit is 256 bytes with proper boundary checking
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-03 13:29:06 +02:00 |
|
Dominik
|
b20d80f740
|
Merge pull request #1989 from pi-hole/fix/regex_diagnosis
Fix incorrect unification of regex warnings
|
2024-06-03 13:08:22 +02:00 |
|
DL6ER
|
189979284f
|
Store correct database ID when issuing a warning
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-03 11:46:39 +02:00 |
|
DL6ER
|
f2c14cce25
|
Fix incorrect unification of regex warnings
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-03 09:48:13 +02:00 |
|
Dominik
|
d3437814cc
|
Merge pull request #1986 from pi-hole/fix/retry_truncated
Internal name resolution over UDP with fallback to TCP
|
2024-06-02 21:14:53 +02:00 |
|
Dominik
|
9f8c4c202d
|
Merge pull request #1981 from pi-hole/new/timezone
Print human-readable timezone information
|
2024-06-02 20:14:25 +02:00 |
|
DL6ER
|
5b9df02372
|
Add missing newlines in dnsmasq config
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-02 20:07:41 +02:00 |
|
DL6ER
|
d3439593a1
|
Default to resolve internal PTRs using UDP, fall back to TCP for individual queries on UDP truncation (commonly seen in conjunction with DNSSEC)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-02 19:55:28 +02:00 |
|
DL6ER
|
58c59a0aef
|
Skip certificate domain check when TLS is not actually used even if a certificate is available
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-02 11:56:53 +02:00 |
|
DL6ER
|
14ea246f9a
|
Always include timezone in human-readable timestamps
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-02 10:19:26 +02:00 |
|
DL6ER
|
f8990e769a
|
Average over up to eight successive NTP queries to reduce total time error during synchronization
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-02 07:31:55 +02:00 |
|
DL6ER
|
79c966e2e6
|
Reduce code duplication
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-02 07:24:05 +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 |
|
yubiuser
|
d66db4550e
|
Merge pull request #1984 from pi-hole/dependabot-github_actions-development-v6-github_action-dependencies-da46cecb9c
Bump eps1lon/actions-label-merge-conflict from 3.0.1 to 3.0.2 in the github_action-dependencies group
|
2024-06-01 13:04:27 +02:00 |
|
dependabot[bot]
|
4be0ff6082
|
Bump eps1lon/actions-label-merge-conflict
Bumps the github_action-dependencies group with 1 update: [eps1lon/actions-label-merge-conflict](https://github.com/eps1lon/actions-label-merge-conflict).
Updates `eps1lon/actions-label-merge-conflict` from 3.0.1 to 3.0.2
- [Release notes](https://github.com/eps1lon/actions-label-merge-conflict/releases)
- [Changelog](https://github.com/eps1lon/actions-label-merge-conflict/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eps1lon/actions-label-merge-conflict/compare/v3.0.1...v3.0.2)
---
updated-dependencies:
- dependency-name: eps1lon/actions-label-merge-conflict
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github_action-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-06-01 10:35:49 +00: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
|
aac9968eb0
|
Merge branch 'development-v6' into new/timezone
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-06-01 06:38:38 +02:00 |
|
Dominik
|
f4b9ca2583
|
Merge pull request #1980 from pi-hole/new/dhcp_ignoreUnknownClients
Add option to ignore unknown DHCP clients
|
2024-06-01 06:24:14 +02:00 |
|
Dominik
|
021c0a138b
|
Merge pull request #1983 from pi-hole/fix/macvendor_db
Fix macvendor script
|
2024-05-31 19:34:22 +02:00 |
|
DL6ER
|
7db4483c82
|
Update macvendor script
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-05-31 13:20:12 +02:00 |
|
DL6ER
|
306710e74a
|
Add timezone information where this is appropriate. We do not include this in the log files to not needlessly change for format. Open for discussion
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-05-30 19:53:53 +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 |
|
DL6ER
|
1a5e7f6bf8
|
Add new dhcp.ignoreUnknownClients option
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-05-30 12:26:40 +02:00 |
|
Dominik
|
7ff016f21c
|
Merge pull request #1737 from pi-hole/new/migrate_dnsmasq_conf
Read config files from new location
|
2024-05-30 07:03:23 +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
|
51de04c18c
|
Fix include paths
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-05-29 20:24:09 +02:00 |
|
DL6ER
|
19715ead9a
|
Add help description of new optional ptr IP [tcp] flag
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-05-29 20:06:50 +02:00 |
|
Dominik
|
60b1a75335
|
Merge pull request #1979 from pi-hole/tweak/env_reset
Reset config values after env forcing
|
2024-05-29 19:57:48 +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 |
|
Dominik
|
23d94763a5
|
Merge pull request #1962 from pi-hole/new/clang
Add Clang compiler support and update project to C17 standard
|
2024-05-29 19:19:26 +02:00 |
|
DL6ER
|
980cc84fcd
|
Reset special debug.all in a similar way
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-05-29 19:09:44 +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 |
|