Mcat12
|
d06decad80
|
Send client name and IP through telnet as well
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
|
2018-06-06 18:00:55 -04:00 |
|
Mcat12
|
2ed2115f54
|
Only send client names (and IP for socket connection) in getClientNames
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
|
2018-06-03 16:03:25 -04:00 |
|
Mark Drobnak
|
d99cc39c45
|
Merge pull request #296 from pi-hole/tweak/limit-regex-eval-logging
Limit Regex Logging
|
2018-06-02 10:16:50 -04:00 |
|
DL6ER
|
c699c41bc1
|
Always print timing when in debug mode
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-06-02 12:02:30 +02:00 |
|
DL6ER
|
dbfa382bc5
|
Reduce regex evaluation warning to be shown only if evaluation took longer than 10.0 milliseconds
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-06-02 11:11:39 +02:00 |
|
DL6ER
|
7bc686baef
|
Merge pull request #295 from pi-hole/feature/recompile-regex-API
Recompile Regex API Command
|
2018-06-02 11:10:28 +02:00 |
|
Mcat12
|
a925e04602
|
Only log regex evaluation times if they are over 100ms
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
|
2018-06-02 01:07:57 -04:00 |
|
Mcat12
|
ffd282ab0b
|
Add >recompile-regex API command
Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
|
2018-06-02 00:53:50 -04:00 |
|
Mark Drobnak
|
85ca69dbfc
|
Merge pull request #294 from pi-hole/new/reresolve_via_API
Add new ">reresolve" API endpoint
|
2018-05-31 09:36:13 -04:00 |
|
DL6ER
|
b4f86d53b4
|
Add new ">reresolve" API endpoint that triggeres PTR queries for all clients FTLDNS is aware of. This may come in handy if hostnames have been changed and you want FTL to acknowledge that already now instead of waiting until the next routinely re-resolving happens (at the end of GC, typically once an hour)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-31 11:40:36 +02:00 |
|
Mark Drobnak
|
8d13d26b90
|
Merge pull request #289 from pi-hole/new/IP-NODATA-AAAA-blocking
New blocking mode: IP-NODATA-AAAA
|
2018-05-27 11:27:31 -04:00 |
|
Mcat12
|
5937391020
|
Merge branch 'development' into new/IP-NODATA-AAAA-blocking
# Conflicts:
# FTL.h
|
2018-05-27 11:17:30 -04:00 |
|
Mark Drobnak
|
dd599764a6
|
Merge pull request #288 from pi-hole/new/regex-lists
Add support for regex filters from file
|
2018-05-27 10:52:39 -04:00 |
|
DL6ER
|
9d62af3428
|
Set deallocated pointers to NULL as good practice measure
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-27 11:58:23 +02:00 |
|
DL6ER
|
77e85ad144
|
Re-parse regex.list on receive of SIGHUP and use possibly changed blocking mode for regex blocked domains
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-27 11:40:40 +02:00 |
|
DL6ER
|
79e63dd63e
|
Merge branch 'development' into new/regex-lists
|
2018-05-27 10:37:15 +02:00 |
|
DL6ER
|
fcfd16c51b
|
Merge pull request #292 from pi-hole/tweak/makefile-pie
Change `-Wl,-pie` to `-pie`
|
2018-05-27 09:16:27 +02:00 |
|
Mark Drobnak
|
a662c6dadd
|
Change -Wl,-pie to -pie
Signed-off-by: Mark Drobnak <newtoncat12@yahoo.com>
|
2018-05-26 17:38:12 -04:00 |
|
DL6ER
|
d52482168a
|
Switch to compiling on GNU-C11 standard. According to https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/C-Dialect-Options.html#C-Dialect-Options this dialect will become standard in a future gcc.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-26 23:12:12 +02:00 |
|
DL6ER
|
fc0eb0c6d2
|
Switch to compiling on GNU-C11 standard. According to https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/C-Dialect-Options.html#C-Dialect-Options this dialect will become standard in a future gcc.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-26 23:01:08 +02:00 |
|
DL6ER
|
d3e9365f53
|
Remove obsolete readGravityFiles() funtion
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-26 19:24:34 +02:00 |
|
DL6ER
|
a5f31c2d67
|
Pass has_IPv4/6 as bool (and not bool*) to add_blocked_domain_cache()
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-26 12:08:28 +02:00 |
|
DL6ER
|
556993ca5a
|
Replace while() continue; by if() continue; for the sake of readability (there really is no need for a while() loop being used here)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-26 12:01:44 +02:00 |
|
Mark Drobnak
|
94d25c5883
|
Merge branch 'development' into new/regex-lists
|
2018-05-25 18:18:09 -04:00 |
|
Mark Drobnak
|
edd0894a0f
|
Merge pull request #291 from pi-hole/tweak/stats/dns_queries_all_types
Add dns_queries_all_types field to ">stats"
|
2018-05-25 18:01:24 -04:00 |
|
DL6ER
|
218e599dd1
|
Add dns_queries_all_types field to ">stats". While dns_queries is the number of entires in the query log (only A and AAAA queries), the new counter also takes PTR, SOA, etc. into account.
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-25 09:22:07 +02:00 |
|
DL6ER
|
a1cb443ce6
|
Add blocking mode IP-NODATA-AAAA
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-20 12:54:08 +02:00 |
|
DL6ER
|
9b5eb62263
|
Don't set regex status for domains read from database as we don't add them to the resolvers cache here (performance reasons)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-19 17:40:34 +02:00 |
|
DL6ER
|
7e31c8e797
|
Remove debug print statement
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-19 17:27:44 +02:00 |
|
DL6ER
|
7a1d037709
|
Remove obsolete variables
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-19 17:25:54 +02:00 |
|
DL6ER
|
b6dd8ec47f
|
Implement reading regex from file
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-19 17:21:56 +02:00 |
|
DL6ER
|
a783798575
|
Simplify cache handling routines (remove all code duplication) + ensure that regex blocked entries follow the user defined blocking mode (previously, they always returned NXDOMAIN)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-19 16:58:41 +02:00 |
|
DL6ER
|
db7dbda9da
|
Use status == QUERY_WILDCARD to identify regex blocked queries
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-19 16:37:25 +02:00 |
|
DL6ER
|
79fb026278
|
Improve blocking regex implementation (block both A and AAAA requests, not only A)
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-19 16:32:52 +02:00 |
|
DL6ER
|
decef2e5fd
|
Remove special support for old type of wildcard lists as dnsmasq config file
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-19 14:46:21 +02:00 |
|
DL6ER
|
d69887256f
|
Merge pull request #282 from pi-hole/new/reread_BLOCKINGMODE_on_SIGHUP
Improve BLOCKINGMODE config setting
|
2018-05-14 23:42:09 +02:00 |
|
DL6ER
|
325ba2df83
|
Merge pull request #283 from pi-hole/fix/listsparser_negative_count
Fix negative display of read domains
|
2018-05-14 22:50:54 +02:00 |
|
DL6ER
|
167f8c2793
|
Fix negative display of read domains
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-13 17:54:55 +02:00 |
|
DL6ER
|
fd57e9f601
|
Add new BLOCKINGMODE "NULL" responding with "0.0.0.0" and "::" to A and AAAA queries, respectively
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-13 12:16:26 +02:00 |
|
DL6ER
|
50e4f57f08
|
Re-parse BLOCKINGMODE on receive of SIGHUP for being able to change it without a full restart of pihole-FTL
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-13 12:04:42 +02:00 |
|
DL6ER
|
4e478dbf81
|
Make parse_FTLconf() static as we use it only in one c file
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-13 11:45:44 +02:00 |
|
DL6ER
|
0da3046566
|
Outsource BLOCKINGMODE determination into its won function get_blocking_mode()
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-13 11:44:33 +02:00 |
|
DL6ER
|
df800f124a
|
Merge pull request #278 from pi-hole/new/SIGSEGV_backtrace
Include backtrace on SIGSEGV
|
2018-05-13 01:29:34 +02:00 |
|
Mark Drobnak
|
99ad8924ee
|
Merge pull request #276 from pi-hole/ftldns/remove_old_debug_options
Remove undocumented, old, and unused debug commands
|
2018-05-12 15:36:48 -04:00 |
|
DL6ER
|
5c38d32c60
|
Merge branch 'development' into ftldns/remove_old_debug_options
Signed-off-by: DL6ER <dl6er@dl6er.de>
Conflicts:
args.c
|
2018-05-12 16:49:06 +02:00 |
|
DL6ER
|
d5e57f0cef
|
Merge pull request #281 from pi-hole/revert-274-no-initial-forking
Revert "No forking"
|
2018-05-12 16:24:29 +02:00 |
|
DL6ER
|
df9d119810
|
Merge pull request #277 from pi-hole/fix/wildcard_warning
Suppress wrong warning
|
2018-05-12 15:58:12 +02:00 |
|
DL6ER
|
f28cc2b8fb
|
Remove obsolete test singularity function
Signed-off-by: DL6ER <dl6er@dl6er.de>
|
2018-05-12 14:47:00 +02:00 |
|
DL6ER
|
599e27b324
|
Revert "No forking"
|
2018-05-12 14:39:44 +02:00 |
|
DL6ER
|
24b98093e8
|
Merge branch 'development' into ftldns/remove_old_debug_options
Signed-off-by: DL6ER <dl6er@dl6er.de>
Conflicts:
args.c
|
2018-05-12 13:38:36 +02:00 |
|