Commit Graph

267 Commits (master)

Author SHA1 Message Date
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
Mcat12 4763969c8f
Move processWildcards to query.sh
6 years ago
Mcat12 0f4968d75c
Merge remote-tracking branch 'origin/development' into new/regex-lists
6 years ago
Mcat12 3077c22e4f
Change help strings from wildcard to regex blacklist
6 years ago
DL6ER a7c73036f0
pihole -t: Warn user if Pi-hole's logging is disabled
6 years ago
Rob Gill 2255d05664
Remove scanlist(), now in query.sh
6 years ago
Rob Gill b1207949ac
Call query.sh to replace queryFunc()
6 years ago
Rob Gill 40bc390c3b
Admin Console -> "Web Interface"
6 years ago
RamSet 2f24e5ceb7 Minor correction for double instance of the word "found".
6 years ago
Adam Warner e49a9096a5
accidentally a 'shift'
6 years ago
Adam Warner 33148ba832
Add help text to pihole command to document new flag
6 years ago
Adam Warner bca23dd896
Allow passing of --check-only to update script.
6 years ago
Adam Warner 310d33b8ee
Merge dev > FTLDNS fix merge conflicts
6 years ago
Razvan Radu 7361d5d3ea Update pihole lolcahost probe for DNS status
6 years ago
Adam Warner 0b87f489d5
Look for pihole-FTL, not dnsmasq!
6 years ago
DL6ER 7ed45d26c2
Remove " " at some places where they shouldn't be
6 years ago
DL6ER e8ec0dc701
Use pihole-FTL resolver in pihole and gravity
6 years ago
DL6ER d7dde06552
Add "pihole logging off noflush" command
6 years ago
DL6ER 05d015169c
Check for local version and branches every 10 minutes, check for remote versions only once a day
6 years ago
Jacob Salmela 9631519eb1
Merge pull request #1752 from pi-hole/new/bashupdatechecker
7 years ago
DL6ER 6ca47dc3b3
Add bash / cron based update checker for Pi-hole
7 years ago
Mcat12 8dba2a88e2 Move FTL re-parsing call after dnsmasq restart
7 years ago
DL6ER b9ae01d819
Send SIGHUP to pihole-FTL when restarting/reloading dnsmasq
7 years ago
WaLLy3K 645d8e0ebd Fix issue where wildcarding didn't restart dnsmasq
7 years ago
WaLLy3K 80c40e6050 Prevent full stop being interpreted as regex
7 years ago
WaLLy3K 3b300a4d6a Fix query option handling
7 years ago
WaLLy3K 664d0ea023 Correctly retrieve IPv4/6 addresses for tailFunc()
7 years ago
Adam Warner a0bd517380 Merge pull request #1694 from pi-hole/fix/qf-opt
7 years ago
WaLLy3K 56990618e9 Prevent Block Page issue
7 years ago
WaLLy3K 54a85d3a63 Fix invalid option case
7 years ago
WaLLy3K c2d3e99ddd Slow query fix & queryFunc optimisation
7 years ago
WaLLy3K 4d39ab9753 Allow force-reload to be used when restarting DNS
7 years ago
WaLLy3K 56b8c4bfdb Merge branch 'development' into tweak/gravity
7 years ago
WaLLy3K 15a5f425bf Replace nc with psuedo-device
7 years ago
WaLLy3K 3125d24ded Replace superseded netstat command
7 years ago
WaLLy3K cc4ada99d8 Use SIGHUP instead of force-reload
7 years ago
Adam Warner 18b41adbf6 Merge branch 'development' into tweak/gravity
7 years ago
WaLLy3K e0eb5eb2b1 Fix queryFunc if adlists URLs have been removed (#1618)
7 years ago
WaLLy3K a2825be819 Add dnsmasq "force-reload" option
7 years ago
Adam Warner f2e9d585f7
* Add helptext for `pihole checkout ftl`
7 years ago
WaLLy3K 3a50b91722 User-friendly queryFunc() output (#1483)
7 years ago
WaLLy3K 3631d1349e Prevent Web Admin from printing restartdns colour codes (#1575)
7 years ago
WaLLy3K 209fbf82c4 Colourise tailFunc (#1550)
7 years ago
Adam Warner 536585b846 Colourise Core Output Text (#1471)
7 years ago
DL6ER e4cc5b3847
Disable black.list on "pihole disable"
7 years ago
WaLLy3K 6823a62644 Add tricorderFunc back as usable function (#1515)
7 years ago
WaLLy3K 2b8a8b03a8 Roll back merge #1417 (#1494)
7 years ago
DL6ER d913534793 Move wildcards file if blocking is disabled (#1495)
7 years ago
WaLLy3K 2f2825f15e Tricorder: Insecure Opt-out
7 years ago
WaLLy3K a620a5c430 Formatting consistency
7 years ago
WaLLy3K 1f3db8b602 Confirm Tricorder is online
7 years ago
DL6ER 4e2c6a7b8e
Fix logrotation: manual flushing should be done twice, but automated rotation at midnight should only be done *once*!
7 years ago
WaLLy3K 075f00cecd Merge branch 'development' into tc-insecure-optout
7 years ago