Commit Graph

374 Commits

Author SHA1 Message Date
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
Johnny S. Lee via Dnsmasq-discuss e6c4c29417 Fix FTBFS on BSD platforms.
Bug introduced in fc664d114d6e11ced4912b746f18d543f662066b

Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-04 17:28:30 +01:00
Adam Warner 86f7f2a2dd Merge pull request #1293 from pi-hole/new/force_ip46
Deprecate REPLY_ADDR4/6 in favor of more fine-grained setting
2022-02-03 18:16:22 +00:00
DL6ER 5a8a063848 Merge branch 'development' into update/dnsmasq 2022-02-03 16:25:21 +01:00
DL6ER ed73b76241 Merge pull request #1285 from pi-hole/new/database_reply_replytime_dnssec
Keep Query Log details across FTL restart
2022-02-02 06:10:34 +01:00
yubiuser 7afefbf7b1 Update test/test_suite.bats 2022-02-01 21:46:32 +01:00
DL6ER 23776e6c08 Add tests for LOCAL_IPV4/6 and BLOCK_IPV4/6
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-01 14:17:35 +01:00
DL6ER a20d833bab Tests: Add maxloagage test
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-01 09:47:46 +01:00
DL6ER 279a300f2d Merge pull request #1289 from pi-hole/tweak/build-scripts
Tidy Up CI scripts - untangle from variables named after CircleCI
2022-01-23 17:11:09 +01:00
Adam Warner c0cf8de918 Rename CI variables to remove CIRCLE references, as we no longer use Circle CI. Also remove circle config.
Tweak build script to accept a `test` argument, and also to accept the existing arguments at any position

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-01-23 15:04:20 +00:00
DL6ER b7904f1147 Test: Add CLI regex-test extension tests
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-01-22 13:48:12 +01:00
DL6ER ae5247a453 Merge pull request #1284 from pi-hole/tweak/upstream_pie_others
Add others section to upstream servers pie chart
2022-01-21 04:47:43 +01:00