Commit Graph

4590 Commits

Author SHA1 Message Date
DL6ER e938e27c2e
Merge pull request #1527 from pi-hole/new/regex_multiple_query_types
Extend regex extension ;querytype=...
2023-02-01 21:36:47 +01:00
DL6ER f493af3e43
Update dnsmasq version to 2.89rc1
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-27 16:38:24 +01:00
DL6ER 49e1c74455
New syntax: querytype=A accepts now also a list (like querytype=A,AAAA,MX). You can use the exclamation mark as before for inversion (querytype=!A) matches everything BUT type A queries. This has now been extended to be able to invert a list, too (like (querytype=!A,AAAA matches everything BUT A and AAAA queries)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-26 20:11:55 +01:00
Dominik Derigs 1b62122a8c
Add --no-ident option.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-26 20:11:55 +01:00
DL6ER 8b9e6c6c7e
Print regex type hints only in debug mode
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-26 20:11:55 +01:00
Adam Warner 70461445b9
Merge pull request #1524 from pi-hole/master
sync: master to development
2023-01-15 20:06:57 +00:00
Adam Warner 47128aafd1
Merge pull request #1523 from pi-hole/development
v5.20.1
2023-01-15 19:57:00 +00:00
Adam Warner 110691ad4b
Merge pull request #1515 from pi-hole/action_close_stale_pr
Add action to close stale PR
2023-01-15 17:44:19 +00:00
DL6ER ffa4d338f1
Allow selection of multiple query types in regex extension, like "abcabc;querytype=HTTPS,SVCB"
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-15 13:20:21 +01:00
Simon Kelley 33c04059f4
Fix bug which can break the invariants on the order of a hash chain.
If there are multiple cache records with the same name but different
F_REVERSE and/or F_IMMORTAL flags, the code added in fe9a134b could
concievable break the REVERSE-FORWARD-IMMORTAL order invariant.

Reproducing this is damn near impossible, but it is responsible
for rare and otherwise inexplicable reversion between 2.87 and 2.88
which manifests itself as a cache internal error. All observed
cases have depended on DNSSEC being enabled, but the bug could in
theory manifest itself without DNSSEC

Thanks to Timo van Roermund for reporting the bug and huge
efforts to isolate it.

Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-15 07:54:55 +01:00
Simon Kelley 45a760b3f8
Fix cosmetic big in dump_cache_entry()
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-15 07:54:51 +01:00
Simon Kelley 21cec0c01d
Log all cache internal errors.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-15 07:54:47 +01:00
Simon Kelley 3b103ae8aa
If we hit a cache internal error, log the entry we failed to remove.
This is code which should never run, but if it does,
we now log information useful for debugging.

Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-01-15 07:54:40 +01:00
DL6ER 4e0face988
Merge pull request #1521 from pi-hole/dependabot-github_actions-development-benoitchantre-setup-ssh-authentication-action-1.0.1
Bump benoitchantre/setup-ssh-authentication-action from 1.0.0 to 1.0.1
2023-01-14 21:07:32 +01:00
dependabot[bot] 6333d4c2cd
Bump benoitchantre/setup-ssh-authentication-action from 1.0.0 to 1.0.1
Bumps [benoitchantre/setup-ssh-authentication-action](https://github.com/benoitchantre/setup-ssh-authentication-action) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/benoitchantre/setup-ssh-authentication-action/releases)
- [Changelog](https://github.com/benoitchantre/setup-ssh-authentication-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/benoitchantre/setup-ssh-authentication-action/compare/1.0.0...1.0.1)

---
updated-dependencies:
- dependency-name: benoitchantre/setup-ssh-authentication-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-14 10:00:49 +00:00
DL6ER c4f38c7ce7
Merge pull request #1520 from pi-hole/colors
Remove gray color in help output
2023-01-09 19:41:36 +01:00
Christian König 6bb3927e7a
Remove gray color in help output
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-01-08 22:20:36 +01:00
Adam Warner d4ea54bc54
Merge pull request #1517 from pi-hole/dependabot-github_actions-development-actions-download-artifact-3.0.2
Bump actions/download-artifact from 3.0.1 to 3.0.2
2023-01-07 13:45:24 +00:00
dependabot[bot] 031c137a3b
Bump actions/download-artifact from 3.0.1 to 3.0.2
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 13:41:14 +00:00
Adam Warner 348a864a4d
Merge pull request #1516 from pi-hole/dependabot-github_actions-development-actions-upload-artifact-3.1.2
Bump actions/upload-artifact from 3.1.1 to 3.1.2
2023-01-07 13:40:31 +00:00
dependabot[bot] 9144f4b821
Bump actions/upload-artifact from 3.1.1 to 3.1.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.1...v3.1.2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 13:35:23 +00:00
Adam Warner ac969d8524
Don't run the `Transfer Builds to Pi-hole Server...` step for dependabot PRs 2023-01-07 13:35:22 +00:00
Adam Warner 435a9174d7
Merge pull request #1518 from pi-hole/dependabot-github_actions-development-actions-checkout-3.3.0
Bump actions/checkout from 3.2.0 to 3.3.0
2023-01-07 13:20:25 +00:00
dependabot[bot] 2f67c59fbe
Bump actions/checkout from 3.2.0 to 3.3.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 13:15:38 +00:00
Adam Warner 3a6f7e14ca
Don't run the `Transfer Builds to Pi-hole Server...` step for dependabot PRs 2023-01-07 13:10:43 +00:00
RD WebDesign 9e0972eed2
More detailed comments
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-06 18:52:26 -03:00
RD WebDesign c049faf60a
Add action to close stale PR
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-12-30 17:34:30 -03:00
DL6ER af4378d46f
Merge pull request #1506 from pi-hole/sync_back
Use github cli to sync master back to development
2022-12-27 18:20:33 +01:00
DL6ER 80f8c6388b
Merge pull request #1507 from pi-hole/dependabot-github_actions-development-actions-checkout-3.2.0
Bump actions/checkout from 3.1.0 to 3.2.0
2022-12-27 18:17:28 +01:00
DL6ER 928fe8218e
Merge pull request #1514 from pi-hole/fix/query_store_message
Always store time we start saving to the database
2022-12-27 18:16:21 +01:00
DL6ER f0b133b285
Always store time we start to save to the database (not only in debug mode). This avoids errorneous timing reports in case of errors.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-12-27 07:31:39 +01:00
DL6ER 4d4e10b6b6
Merge pull request #1513 from pi-hole/dependabot-github_actions-development-actions-stale-7.0.0
Bump actions/stale from 6.0.1 to 7.0.0
2022-12-24 18:49:24 +01:00
dependabot[bot] fbdb2e65c9
Bump actions/stale from 6.0.1 to 7.0.0
Bumps [actions/stale](https://github.com/actions/stale) from 6.0.1 to 7.0.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6.0.1...v7.0.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-24 10:01:21 +00:00
DL6ER 5ffac1a03e
Merge pull request #1504 from pi-hole/merge_conflict
Add merge conflict workflow
2022-12-23 12:19:30 +01:00
Christian König df399e3014
Be honest
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-12-22 22:20:11 +01:00
DL6ER d5b9518994
Merge pull request #1511 from pi-hole/master
sync: master to development
2022-12-21 22:09:35 +01:00
Adam Warner cba74934b4
Merge pull request #1509 from pi-hole/development
Pi-hole FTL v5.20
2022-12-21 21:06:00 +00:00
DL6ER 529fbb8e52
Merge pull request #1510 from pi-hole/update/dnsmasq
Update embedded dnsmasq to v2.88
2022-12-21 20:52:10 +01:00
DL6ER e51864d47a
Update embedded dnsmasq to v2.88
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-12-21 20:38:57 +01:00
Simon Kelley db98d0b495
Add posix-timezone and tzdb-timezone DHCPv6 options.
They are already in place for DHCPv4.
2022-12-21 20:38:43 +01:00
dependabot[bot] 61047520d1
Bump actions/checkout from 3.1.0 to 3.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-17 10:01:11 +00:00
Christian König bda6721135
Use github cli to sync master back to development
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-12-14 21:54:28 +01:00
Christian König b2dadba5af
Add merge conflict workflow
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-12-13 22:41:29 +01:00
DL6ER ffea21e6b7
Merge pull request #1501 from pi-hole/new/colorful_cli
Improve -vv and --help
2022-12-11 11:33:37 +01:00
DL6ER bf0bbd9092
Review comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-12-10 13:57:21 +01:00
DL6ER 66af13b283
Merge pull request #1502 from pi-hole/fix/dnsmasq-test-segfault
Exit immediately after running dnsmasq-test
2022-12-10 11:40:01 +01:00
DL6ER 9459298052
Merge pull request #1498 from pi-hole/fix/DNSSEC_warning
Fix incorrect DNSSEC-related warning during history import
2022-12-10 11:39:53 +01:00
DL6ER f6e8d7fff6
Exit immediately after running dnsmasq-test
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-12-09 16:45:50 +01:00
DL6ER 3f1be06814
Fix logic for status code parsing
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-12-09 16:43:43 +01:00
DL6ER 92d7d314f9
Modify text slightly to prevent codespell from misinterpreting a control sequence as spellchecking error
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-12-09 11:49:49 +01:00