Commit Graph

267 Commits (master)

Author SHA1 Message Date
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
WaLLy3K b9f2ba0717 Wording changes and bug fix
7 years ago
Adam Warner bc8a5916d8
fix merge conflicts
7 years ago
WaLLy3K da9ff0cc66 Tricorder: Insecure Opt-out
7 years ago
WaLLy3K 39b74ebfd4 Show help for "pihole checkout --help"
7 years ago
WaLLy3K 4eb7d2868c Fix "pihole disable --help" and "pihole -l --help"
7 years ago
WaLLy3K b721ed49ab Update Help Output (#1467)
7 years ago
DL6ER 7abf349730
Use `echo "ABC" | pihole tricorder` to upload to Pi-hole's medical tricorder. Uses SSL if available.
7 years ago
WaLLy3K c35c7b2cea Wrap in double brackets
7 years ago
WaLLy3K 58353e2839 Update queryFunc() to search Whitelist
7 years ago
WaLLy3K 3081c151bd Perform EXACT searches on HOSTS lists correctly
7 years ago
WaLLy3K a0603ad3b7 Update queryFunc()
7 years ago
Anthony Giorgio fd584dd03b Formatting cleanup.
7 years ago
Mcat12 c4b43f92ce Fix help text bug
7 years ago
Dan Schaper b8f1eadb7f
Shift off `checkout` from being passed to script from `pihole`
7 years ago
DL6ER 8a14a63d5d
Pi-hole checkout feature
7 years ago
DL6ER dce3e50a00
Check for existence of wildcard blocking list before trying to acces it
7 years ago
Dan Schaper 17b0db6515
Fix for calling -w without -a.
7 years ago
Dan Schaper 83b0600863
Carriage return or newline based webcalls.
7 years ago
Dan Schaper 38961fb31b
Help text clarification and addition of the automated debuggin flag.
7 years ago
Dan Schaper ba5bbf3523
Modify `pihole` for `-d -a` arguments.
7 years ago
Jacob Salmela 7a1a2dec67
update license to EUPL on core files
7 years ago
Markus Napp 19e30b829a Add wildcard description to help text, improve other help texts
7 years ago
Jacob Salmela 51acdfa633
remove pihole -s flag
7 years ago
DL6ER 2935275227
Merge branch 'development' into wildcardblacklisting
7 years ago
Adam Warner 12bec1df68 Merge pull request #1048 from pi-hole/tweak/simplify_webpage.sh
7 years ago
DL6ER 2b778695b1
Implement querying ad lists support for wildcards (what hell of a bash experience)
7 years ago
DL6ER 40798da6b1 Add blacklisting wildcard support
7 years ago
DL6ER d0cd39a25f Added space behind :53 to only match port 53
7 years ago
DL6ER 1e627c7e8f Make webpage.sh fully library style
7 years ago
DL6ER 9170488b0a Test if DNS service is listening on local port 53
7 years ago
DL6ER c674a175ee
Make grep case insensitive
7 years ago
Promofaux 906a1753be specifically comment out gravity.list addn-host
7 years ago
Adam Warner bebb569c43 Merge pull request #964 from pi-hole/queryadsonlyexactmatches
8 years ago
Mcat12 74e33bb1a0 Merge pull request #973 from pi-hole/taillog
8 years ago
Mcat12 b591df55b0 Tell user how to exit tail command
8 years ago
Mcat12 b9e0e88fe9 Update pihole
8 years ago
DL6ER 5120d9ec33 Add tail option
8 years ago
DL6ER c0886cb5c6 pihole -q <domain> is partial matching (as before), pihole -q <domain> -exact is exact matching (new behavior)
8 years ago
DL6ER 294df8690c Do only one grep on each of the lists and count the number of non-empty lines in the result. Improves speed by factor of 2x
8 years ago
DL6ER fb72ac9904 Show only exact matches for pihole -q
8 years ago
DL6ER 74cb79252c Only looking for blocking entries (do not scan whitelist.txt)
8 years ago
DL6ER 6cd3c93472 Also query white- and blacklist
8 years ago
DL6ER eb63e75379 No need for pipe here
8 years ago
Dan Schaper 2ec4acfe52
Begin fixing exit values.
8 years ago
Mcat12 3ba7d7640f Merge pull request #933 from DL6ER/delayedreactivation
8 years ago
DL6ER 7bf0985a57 Extended help text of main pihole command
8 years ago
DL6ER f50cbe74cb Changed -web (webpage) to -a (admin)
8 years ago
DL6ER 291ca0874a Fixed two more typos
8 years ago
DL6ER 96f2aa1803 fixed typo
8 years ago
DL6ER c6857501aa Removed check for availability of nohup
8 years ago
DL6ER 3aba1607b2 Removed debug echos
8 years ago
DL6ER f667298b64 Added possiblity for delayed reactivation of blocking
8 years ago
DL6ER db278d81e4 Added webpage.sh
8 years ago
Dan Schaper 1d64ad1ccd Stash all changed files, clean directory and pull updates.
8 years ago
Dan Schaper dfb4ac0365 Keep .yml's from going to user local repos.
8 years ago
Dan Schaper 0ef8832b04 whitespace
8 years ago
Dan Schaper e42a037b7d Grep -i instead of cat.
8 years ago
Dan Schaper fe18d69b65 Grep should start at the beginning of line to make sure it doesn't fire on `#` beginning lines.
8 years ago
Adam Warner f36e4ba336 Cherry picking 3f049fa79, conflict fix
8 years ago
Adam Warner c47c5e466f consistency
8 years ago
Promofaux 1d21b0da9a enable or disable logging from pihole command
8 years ago
Adam Warner 469ff45f01 create list.sh. Combines whitelist and blacklist scripts in an effort to reduce code duplication.
8 years ago
Promofaux 8ee98f0a4a remove a space
8 years ago
Promofaux 82e78fb651 Add output to `pihole disable` and `pihole enable`
8 years ago
Promofaux d0826b2c33 Merge branch 'development' of https://github.com/airencracken/pi-hole into airencracken-dev
8 years ago
Marcus Hildum 640398ced4 Consistency
8 years ago
Marcus Hildum 5ebfa5ecf7 heredoc for helpfunc in pihole
8 years ago
tuplink e199f6db87 spelling updates
8 years ago
tuplink c83dd3ccd7 change spacing
8 years ago
tuplink 78fbafa1cd test out new status logic
8 years ago
Tommy Huff 685b775b68 rework status if statments
8 years ago
Tommy Huff 9056a5a7b6 fix spelling / replace tabs with spaces in help
8 years ago
Tommy Huff 3ca3eaa62c change restartdnsmasq to restartdns
8 years ago
Tommy Huff aaee895b2b add pihole status web option to return 1 or 0 for easy use with php
8 years ago
Tommy Huff 7d7e17b351 add toggle to enable or disable pi-hole
8 years ago
Adam Warner b66f23cfd0 account for new update script
8 years ago
Adam Warner ce46c4dec4 remove prematurely added code
8 years ago
Adam Warner 77e8be09a1 handle passing arguments to version script
8 years ago
Adam Warner 29ad2496b6 don't output "elevating with sudo" in pihole script, just do it.
8 years ago
Promofaux a43577fa26 add reconfigure flag to -r command
8 years ago
Promofaux 090fbd04af Remove ${SUDO} usages and root checks from scripts called by `pihole` command as they should not be called directly.
8 years ago
Promofaux 461de48625 function declarations as per basic-install.sh
8 years ago
Promofaux 9352ba6e4a about time we exit 0'd
8 years ago
Promofaux 5e883239f9 remove calls for ${SUDO} as per basic-install.sh.
8 years ago
Promofaux 5ea08a2120 add -r to reconfigure pihole (basically runs basic-install.sh from /etc/.pihole)
8 years ago
Promofaux 1a83988e26 Add check at the beginning of update script to check for existence of local repos. If not, redirect user to run install command again.
8 years ago
Promofaux ec0c68621c add blank line after Current version display
8 years ago
Promofaux d58f7c6ec9 Remove references to dashboard update Script
8 years ago
Promofaux d124c2c12e Expand to check web admin versions
8 years ago
Promofaux 0229f70761 Make updatePiholeFunc a bit smarter. Only run update if version is not the latest.
8 years ago
Promofaux dde9281139 Only pull master branch, the rest aren't needed!
8 years ago
Promofaux 4ec01769cb Appease Jacob.
8 years ago
Promofaux 19b656132d Make the output of pihole -q a bit clearer. Bye Bye nifty one-liner!
8 years ago
Promofaux 01a9534729 Merge branch 'development' into UpdateMethod
8 years ago
Promofaux d938f73207 Fix line endings
8 years ago
Promofaux 344e63c2dc Add undocumented argument to install script ("pihole") which allows the pihole command to run the update script without prompting the user. Useful for update automation
8 years ago
Promofaux 681144b2a3 Change the switched for updateDashboard and updatePihole(was updateMain)
8 years ago
Adam Warner 77135ca3c7 Actually pass through the argument to the function
8 years ago
Adam Warner 29b548f07c Add queryfunc
8 years ago
Dan Schaper af666e2209 Escape space in updateMainFunc
8 years ago