DL6ER
|
f64ce8fed1
|
Only try to adjust upstream counters if this query has been forwarded
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-14 18:55:46 +02:00 |
|
DL6ER
|
7b7f950cce
|
CMake: print comment when appending sha256sum to pihole-FTL
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-13 21:47:45 +02:00 |
|
DL6ER
|
8f4d8622ae
|
Finish lookup table implementation
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-12 22:21:11 +02:00 |
|
DL6ER
|
33645777e9
|
Add basic lookup table implementation and create new SHM objects for them. Also simplify code by changing index counters to unsigned types.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-12 22:01:57 +02:00 |
|
DL6ER
|
69117f6353
|
Print computed SHA256 checksum to console during build
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-12 11:13:11 +02:00 |
|
DL6ER
|
e608dfc573
|
Implement cache hashing
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-12 11:09:14 +02:00 |
|
DL6ER
|
842b234174
|
Implement client hashing
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-12 11:03:21 +02:00 |
|
Dominik
|
8504bb9bf2
|
Merge pull request #2075 from pi-hole/update/rapidoc
Update rapidoc and highlight
|
2024-10-12 10:23:28 +02:00 |
|
Dominik
|
7ea73f5353
|
Merge pull request #2082 from pi-hole/fix/ubuntu_24_04_1
Fix compilation support on Ubuntu 24.04.1 LTS
|
2024-10-11 11:40:19 +02:00 |
|
DL6ER
|
c43a81c703
|
Fix compilation support on Ubuntu 24.04.1 LTS
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-11 10:27:51 +02:00 |
|
Dominik
|
629911ec4c
|
Merge pull request #2081 from pi-hole/tweak/vector_safety
Do not try to access vector items if (re)allocation failed
|
2024-10-11 08:42:37 +02:00 |
|
Dominik
|
e7f85ada37
|
Merge pull request #2080 from pi-hole/tweak/database_debug_msg
Print size of database / count of removed rows only in debug mode
|
2024-10-10 21:16:17 +02:00 |
|
DL6ER
|
c4b5b80570
|
Print size of database / count of removed rows only in debug mode
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-10 19:56:52 +02:00 |
|
DL6ER
|
f5811116db
|
Do not try to access vector items if (re)allocation failed
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-10 15:28:37 +02:00 |
|
Dominik
|
e558f7985f
|
Merge pull request #2076 from pi-hole/tweak/qps
Improve QPS calculation
|
2024-10-05 18:06:26 +02:00 |
|
DL6ER
|
7e12e40840
|
Reset the following timestamp slot to avoid possible race-collisions (GC thread is not aligned to wall clock)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-03 19:22:58 +02:00 |
|
DL6ER
|
7ec1478018
|
Adaptively adjust GC sleeping time (if necessary)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-02 22:15:08 +02:00 |
|
DL6ER
|
59b9f0143a
|
Outsource counter resetting into a dedicated function periodically run by the GC thread to make the average computation independet from external trigger sources. This solves the problem of artificially high QPS values when no queries are processed by FTL.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-10-02 22:08:15 +02:00 |
|
yubiuser
|
6fb223ebf3
|
Update rapidoc
Signed-off-by: yubiuser <github@yubiuser.dev>
|
2024-10-01 20:03:33 +02:00 |
|
yubiuser
|
4144408074
|
Update highlight
Signed-off-by: yubiuser <github@yubiuser.dev>
|
2024-10-01 20:03:20 +02:00 |
|
Dominik
|
6c0c875476
|
Merge pull request #2072 from pi-hole/new/verify
Verify FTL binary integrity
|
2024-10-01 06:56:21 +02:00 |
|
Dominik
|
dec2c8a700
|
Review comment extending documentation
Co-authored-by: yubiuser <github@yubiuser.dev>
Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
|
2024-09-30 21:34:16 +02:00 |
|
DL6ER
|
8d1394d00e
|
Simplify text
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-30 19:37:04 +02:00 |
|
DL6ER
|
450964edef
|
Remove sha256 --skip-end feature as discussed during PR review process
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-29 10:41:45 +02:00 |
|
Dominik
|
d749dffb62
|
Merge pull request #2073 from pi-hole/fix/piholePTR
Restart FTL to enforce flushing the cache when dns.piholePTR is changed
|
2024-09-27 10:07:32 +02:00 |
|
Dominik
|
a52eb0c817
|
Merge pull request #2074 from pi-hole/fix/query_log_blocked_cached
Fix incorrect page count on some Query Log shortcuts
|
2024-09-26 20:12:37 +02:00 |
|
DL6ER
|
e62e58619e
|
Do not take the not-filtered shortcut if one of the magic upstream={blocklist,cache} is selected. This is currently broken as detection of ongoing filtering is through variable bindung to the SQL string. However, these two special upstreams work by using the IN operator which does not support binding to a prepared statement.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-26 19:25:04 +02:00 |
|
DL6ER
|
c2a2df8a77
|
Restart FTL to enforce flushing the cache when dns.piholePTR is changed
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-26 18:51:05 +02:00 |
|
DL6ER
|
cdba28e0c5
|
Add verification CI test
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-26 11:57:53 +02:00 |
|
DL6ER
|
3ca04acd75
|
Add message table entry on binary verification failure
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-26 11:43:22 +02:00 |
|
DL6ER
|
bb93467442
|
Add new binary integrity verification function
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-26 11:02:39 +02:00 |
|
Dominik
|
cb8e8b0647
|
Merge pull request #2071 from pi-hole/tweak/api_regex_count
Disentangle info/ftl database domain numbers
|
2024-09-25 07:03:11 -04:00 |
|
DL6ER
|
92e259021e
|
Disentangle info/ftl : ftl.database.domains from newly added ftl.database.regex
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-25 10:05:50 +02:00 |
|
Dominik
|
361e0ce5bb
|
Merge pull request #2067 from pi-hole/tweak/db_counter_update
Tweak DB counter update
|
2024-09-25 03:29:20 -04:00 |
|
Dominik
|
001db4953b
|
Merge pull request #2070 from pi-hole/fix/civetweb_lua_issue
Fix Civetweb Lua error reporting issue
|
2024-09-24 00:13:00 -04:00 |
|
DL6ER
|
9de2bbdad4
|
Make the CI test a bit more complex so we actually get some stack traceback
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 22:55:33 +02:00 |
|
DL6ER
|
31d0684912
|
Add CI test for proper Lua backtrace generation
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 22:37:01 +02:00 |
|
DL6ER
|
ddbce6392e
|
Add new Lua patch
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 21:50:51 +02:00 |
|
DL6ER
|
0ff00e1c83
|
Add bundled script loading into luaL_openlibs to make them available globally (also in the webserver)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 21:42:21 +02:00 |
|
DL6ER
|
dce844b599
|
Properly generate traceback in lua_error_handler() avoiding the first line showing the manual call to debug.traceback() itself
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 20:36:02 +02:00 |
|
DL6ER
|
59cfeb4ed5
|
Add new Lua patch
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 13:26:24 +02:00 |
|
DL6ER
|
835933f850
|
Increase LUA_IDSIZE so that long script filenames as well as long script lines fit into the error logging buffer
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 13:25:34 +02:00 |
|
DL6ER
|
3a5f5450fd
|
Print to user *and* log to log file
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 13:24:27 +02:00 |
|
DL6ER
|
221389b060
|
Print error to user
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 13:18:54 +02:00 |
|
DL6ER
|
bdf0d91f8a
|
Abort early on Lua errors
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 13:07:33 +02:00 |
|
DL6ER
|
8c92b20e5a
|
Fix lua error handling issue present in current CivetWeb code
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-23 12:32:45 +02:00 |
|
yubiuser
|
23e614cc86
|
Merge pull request #2044 from pi-hole/pretty/bats
Prettify BATS output
|
2024-09-20 13:15:13 +02:00 |
|
yubiuser
|
c83da0b68e
|
Update base image and remove purposely added failing test
Signed-off-by: yubiuser <github@yubiuser.dev>
|
2024-09-20 09:16:37 +02:00 |
|
yubiuser
|
75f11f3f4f
|
Prettify BATS output
Signed-off-by: yubiuser <github@yubiuser.dev>
|
2024-09-19 13:45:49 +02:00 |
|
DL6ER
|
4048081418
|
Reset global counters after update
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2024-09-18 18:16:56 +02:00 |
|