Commit Graph

219 Commits (4abd8196aeab15ddc9be6d69662944c3f361f6c9)

Author SHA1 Message Date
Adam Warner bb1a6243d6
Merge pull request #3669 from pi-hole/release/v5.1.2
4 years ago
Dan Schaper 548ad6375d
Merge pull request #3524 from pi-hole/fix/status_checking
4 years ago
DL6ER 6ee6eea1fb
Use pkill instead of the somewhat fragile combination of kill + pidof. This solves some issues especially when there are many TCP workers floating around.
4 years ago
DL6ER 94cd7f59d4
Make verbose output the default.
4 years ago
DL6ER 6009e86947
Fix pihole status to not rely on a TCP port test. The current test can fail even when there is no error i case the max. number of TCP workers is reached.
4 years ago
Thomas L. Kjeldsen 852f6b95f5 Prevent "pihole disable $timeout" from messing up future state changes
4 years ago
Dan Schaper c76435883b
Merge pull request #3360 from dnicolson/fix-github-capitalisation
4 years ago
Dave Nicolson ab753e88a2 Fix GitHub capitalisation
4 years ago
Adam Warner 9e96ff37de
Fix merge conflicts
4 years ago
yubiuser d27a565d39 Apply suggestions from code review
4 years ago
Christian König de42669bb7 fix typo in pihole help
4 years ago
Christian König 3095fd4dd6 add restart [options] to cli help
4 years ago
XhmikosR 7b8611ced0
Assorted typo fixes. (#3126)
4 years ago
DL6ER f10a151469
Fix pihole -t sed instructions.
4 years ago
DL6ER a809624356
Update blocked strings for pihole -t.
4 years ago
DL6ER 69a909fc4c
On modification of lists, we should send real-time signal 0 instead of SIGHUP. This also preserves the DNS cache of not-blocked domains.
4 years ago
chrunchyjesus 476975540a
make some shebangs comply to posix standard
5 years ago
John Crisp 4f21f67775
Update pihole
5 years ago
Adam Warner 61a40c1b43
merge devel into 4.3.2 And Resolve merge conflicts
5 years ago
Adam Warner 79b8dac0fa
Remove readonly attribute of the PI_HOLE_BIN_DIR declaration in pihole
5 years ago
Dan Schaper 03c65dd0e9
Convert hardcoded /usr/local/bin to variable
5 years ago
DL6ER aef7892de6
Add missing hyphens.
5 years ago
DL6ER 251c9fee98
Simplify restarting code for "pihole restartdns". This fixes #2869.
5 years ago
DL6ER 6e2e825a5f
Rename options "pihole --whiteregex" to "pihole --white-regex" for the sake of readability. The same applied for "whitewild" -> "white-wild"
5 years ago
DL6ER 6f58d58cae
Add --whitewild to help texts and man pages.
5 years ago
DL6ER 40d0caa70b
Add undocumented --whitewild option that does the same --wild does for the whitelist.
5 years ago
DL6ER 96031214c6
Add support for whitelist regex filter management via CLI.
5 years ago
DL6ER 4947350ca5
Add arpflush to help and bash autocompletion
5 years ago
DL6ER c3023fe681
Add new "pihole arpflush" command to flush both the ARP cache as well as the network table in pihole-FTL.db
5 years ago
DL6ER d7ee44960e
Remove moving around of the gravity and blacklist files as we do not use them any longer
5 years ago
DL6ER 6594a0a6e7
Fix detection of blocked query in pihole -t
5 years ago
DL6ER a4ba8d4b8f
Prevent double disabling/enabling by checking BLOCKING_ENABLED value in setupVars.conf
5 years ago
Ludovic Rousseau d5fbe1b629 Do not ask admin password just for help documentation
5 years ago
Mcat12 3f59b51be1
Fix restartDNS returning code 1 even when it worked
6 years ago
jeremysherriff d986da63a5 Pass gravity exit code back to caller to allow for cron error handling
6 years ago
Mark Drobnak c976bbcfd2
Fix checkout error due to readonly variable
6 years ago
DL6ER f20e4ddf3b
Change message for unknown state to something more useful
6 years ago
DL6ER 40656641b6
Merge branch 'development' into tweak/reload_on_enable_disable
6 years ago
DL6ER 0ebd68f17f
Review comments
6 years ago
DL6ER 337cc5ca18
BLOCKING -> BLOCKING_ENABLED
6 years ago
DL6ER 4e4d6b5d1f
Adjust "pihole status" command
6 years ago
DL6ER b011adc453
Use new setupVars BLOCKING variable to determine which file to update via gravity
6 years ago
DL6ER d8abc1d266
Storing BLOCKING=true/false in setupVars.conf
6 years ago
WaLLy3K d163e38380
Ensure regex-blocked lines are red
6 years ago
DL6ER 20b946eae5
Instead of changing the dnsmasq configuration, we replace gravity.list and black.list by empty files for disabling. When pihole-FTL receives SIGHUP, it will clear its cache and reload all configured lists. If the files are empty, blocking will be disabled as no content to be blocked will be imported.
6 years ago
DL6ER c00357663b
Reload pihole-FTL instead of restart the entire service on "pihole enable/disable"
6 years ago
WaLLy3K a1bf9fad98
Fix colour tail for use with new blocking methods
6 years ago
Dan Schaper dbc82cfb6a
Merge pull request #2236 from pi-hole/new/regex-lists
6 years ago
Mcat12 941a766aa3
Replace -wild and -regex with --wild and --regex
6 years ago
Mcat12 c5bb404d6a
Emulate wildcard blacklisting via -wild and move regex to -regex
6 years ago