Commit Graph

385 Commits

Author SHA1 Message Date
DL6ER 3e32d96e32
Update expected dnsmasq warnings
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-13 17:17:31 +01:00
DL6ER 45c342af05
Force-update embedded dnsmasq version. We are loosing the individual dnsmasq history of the ~ last year, however, given the multitude of merge conflicts and the fact that this code will soon(ish) be replaced by development-v6 (where the history is 100% intact), this isn't much of an issue
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-09 20:48:59 +01:00
DL6ER 0a90f07d68
Update changed indentation of known DNSMASQ warning
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-02-08 18:11:37 +01:00
DL6ER c33643408a
Apply Pi-hole specific patches
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-18 10:25:40 +02:00
MichaIng 017e086c1c
Add RISC-V 64-bit support and builds
Signed-off-by: MichaIng <micha@dietpi.com>
2023-03-20 20:03:19 +01:00
DL6ER ae9b291082
Set abp_domains = 1 during the CI tests.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-26 07:19:48 +01:00
DL6ER 75cd6913ee
Do not use a new option but instead automatically detect if ABP-style domains are present in the database. This ensures that this addition comes at no extra costs to any installs using pure HOSTS-style adlists.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-15 21:19:31 +01:00
DL6ER 8794b1684d
Add ABP format blocking support for gravity. Note that the option needs to be switched on by setting GRAVITY_ABP_STYLE=true in pihole-FTL.conf to avoid running this computationally expensive task on the vast majority of user databases only fed from properly formatted HOSTS lists. Gravity can enable the setting when it detects ABP format automatically.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-15 19:48:19 +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
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
DL6ER 8cacd8f5ec
Adds colors (if available) to verbose version output and completely revamp the help function
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-12-09 10:42:20 +01:00
DL6ER 6b6c069b22
Remove downloading step of inspect.lua from the testing suite - the script is now embedded into FTL
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-11-20 12:57:46 +01:00
DL6ER 80b1d3edba
Run tests for all x86_* architectures
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-11-13 18:20:27 +01:00
DL6ER 57352c9e7c
Add building the full binary in the x86_64 container
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-11-13 10:44:56 +01:00
DL6ER eec622c687
Add shortcut to compile an all-options build of dnsmasq inside FTL. Note that this does not include ubus as it is an OpenWRT-native thing that cannot be setup easily on any other distro.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-11-10 20:36:25 +01:00
DL6ER 66ba5cfc43
Tests: Use dnssec.works instead of verteiltesysteme.net
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-11-09 19:38:45 +01:00
DL6ER 94be8de5b6
Merge pull request #1467 from pi-hole/update/ftl-build
Update included crypto library (nettle)
2022-11-06 15:04:01 +01:00
DL6ER 1429f9a25b
Do not check disk usage during tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-11-06 08:45:37 +01:00
DL6ER a0909894c4
Adjust tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-11-03 20:51:54 +01:00
DL6ER df0eeec53e
Tests: Domain auditing, there are some non-approved domains after the tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-10-01 13:47:27 +02:00
Christian König 597e98e773
Don't create FTL.port
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-09-21 12:06:14 +02:00
DL6ER 4cd68092fe
Merge pull request #1409 from pi-hole/tweak/white_regex_id
Store domainlist IDs for blocked/permitted queries
2022-09-11 22:12:33 +02:00
DL6ER 0f520269d8
Merge pull request #1415 from pi-hole/adlist_message_table
Add warning about inaccessible adlists to message table (Pi-hole diagnosis)
2022-09-08 13:42:30 +02:00
DL6ER 84085bebcd
Tests: CNAME inspection: NODATA CNAME targets are blocked
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-09-05 20:07:19 +02:00
Christian König 94a28040fa
Update gravity.db.sql
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-31 23:51:29 +02:00
DL6ER 15942b17ce
Store domainlist IDs for blocked/permitted queries
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-19 19:44:11 +02:00
DL6ER ea537ddac3
Update expected binary information for cross-compiled armv6hf binary
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-30 18:08:03 +01:00
DL6ER cf97933ca2
Tests: dig should now support SVCB and HTTPS directly
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-30 18:08:03 +01:00
DL6ER dbd2cb722c
Tests: Explicityl disable DNSSEC for zone ftl.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-30 18:08:02 +01:00
DL6ER d79abd3000
Adjustments for upgrade to PowerDNS v4.6
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-30 18:08:02 +01:00
DL6ER bfd9c02e89
Buster correctly builds ARMv5T binaries (Stretch still built for ARMv4 instead)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-30 18:08:02 +01:00
DL6ER 5d8f44d094
The official Raspberry Pi toolchain does not support Buster
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-30 18:08:02 +01:00
DL6ER 9545dda5b2
The armv4t builder has to stay on stretch as Buster discontinued armv4t support
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-30 18:08:02 +01:00
DL6ER 56b0124d64
Update binary classification after ftl-build container upgrade to Debian Buster
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-30 18:08:01 +01:00
DL6ER dcc2e5d5a3
Change default log file path to /var/log/pihole/FTL.log
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-03 18:36:39 +02:00
DL6ER 17b0a59fc6
Also include IPv4+v6 addresses in >interfaces
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-06-17 11:14:36 +02:00
DL6ER 5aa601fdb9
Add test for new API endpoint
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-06-16 23:04:21 +02:00
Dan Schaper 8b1938b004
Remove nc verbosity.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2022-06-07 14:41:36 -07:00
DL6ER b0d9244eba
Only consider routes which are UP and whose destinations are a gateway. If multiple match, ensure we're reporting the one with minimum metric value.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-06-07 07:52:34 +02:00
DL6ER 4b6bafe53a
Add test
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-06-06 23:13:27 +02:00
Christian König 9b452f54fe
logs from /var/log/ -> /var/log/pihole/
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-05-12 22:06:05 +02:00
DL6ER 613014e81a
Merge branch 'development' into new/query_special_domain
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-04-24 09:26:46 +02:00
yubiuser b56fe067b7
Merge pull request #1329 from pi-hole/tests/struct_sizes
Check struct sizes on the CI instead of during compile-time
2022-04-24 09:23:15 +02:00
DL6ER 7acd0f31e4
Add QUERY_SPECIAL_DOMAIN as new query status
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-04-24 09:10:38 +02:00
Adam Warner 671a438c4d
Fix some spellings, ignore others
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-04-22 18:26:31 +01:00
DL6ER 1b15885c0f
Check struct sizes on the CI (in code) instead of during compile time (using the preprocessor)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-04-18 10:39:43 +02:00
DL6ER a24e187486
Add individual reply counters as well as their sum to the API + ensure we subtract from the previous reply counter when setting a new status
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-03-26 13:22:51 +01:00
Christian König 1e880d3c80
penny-pitchy
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-12 13:21:05 +01:00
Christian König 7417a83a10
Rename upstream blocklist to blocked
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-12 10:08:23 +01:00
DL6ER 3f472e971b
Merge branch 'development' into update/dnsmasq 2022-02-05 09:53:45 +01:00