Commit Graph

1336 Commits (d86b325dfe4d39b7bc523672bb22f1bdbd12265f)

Author SHA1 Message Date
Christian König 839a70cc37 Add sudo to apt-get recommendation
3 years ago
DL6ER ff64d8cf4d
Use variable in user output, too
3 years ago
MichaIng e1dca46423 Hardcode whiptail dimensions to 20 rows and 70 chars width
3 years ago
DL6ER ea5a3bf0b2
Install RFC6761 config file
3 years ago
Adam Warner bdab701470
Remove dhcpcd5 dependency, however still help the user set the static IP if dhcpd5 is already installed (i.e on raspbian)
3 years ago
Adam Warner 1ecb9165ee
Remove weird global counter
3 years ago
Adam Warner 2ff3b95117
put FTL Install back to where it was
3 years ago
Adam Warner 3ad5097b12
Change initial install script order:
3 years ago
Adam Warner d68a2ffaf3
Install only minimal requiered package before performing os_check
3 years ago
Adam Warner 913dcead7f
move chmod/chown of macvendor.db to pihole-FTL.service
3 years ago
Adam Warner 1358209a9a
rename distro_check to package_manager_detect, as it is more in keeping with what the function actually does
3 years ago
DL6ER d0eb0d5037
Remove extra failure display when installation of logrotate file is skipped because the file already exists
3 years ago
Dan Schaper b1ea60484e
Guard for logrotate func non-zero return
3 years ago
Daniel fdca19e66d Support and test Debian Bullsye (11)
3 years ago
Adam Warner c120f8a8d8
Revert "Include lighttpd-mod-deflate since it is no longer provided by default in Bullsye"
3 years ago
Daniel 2b49988013
Include lighttpd-mod-deflate in the PIHOLE_WEB_DEPS list since it is no longer provided by default in Debian Bullseye
3 years ago
Dan Schaper 4f660966d0
Shellchecker
3 years ago
Dan Schaper 7df22cd8e0
Check for logroate script existing first.
3 years ago
MichaIng f3ceebbe06
Re-remove wget from dependencies
3 years ago
MichaIng 2ba350984f Enable PHP8 support for Debian/Ubuntu
3 years ago
DL6ER 74948ae5c1
The correct port separator is '#' not ':' in dnsmasq style. This should not have been changed in #4083 in the first place.
3 years ago
bcambl d5f13018a7 Merge branch 'release/v5.3' into fedora_33_support
3 years ago
jbzdarkid 8090071eff Update regex to disallow leading zeros
3 years ago
Joseph Blackman 89c80947df Improve regexes for ipv4 matching
3 years ago
jbzdarkid 20b6f9cceb Improve comments in basic-install.sh
3 years ago
bcambl c6810a0124 touch sysconfig network script when absent
3 years ago
Dan Schaper 3f8fedfb16
Revert "Further failsafe check for available APT packages"
3 years ago
Dan Schaper 523f650157
Use the 'Location:' header only.
3 years ago
DL6ER c5ed8f8bed
Merge pull request #3537 from MichaIng/patch-2
3 years ago
bcambl a5422dbdf6 fix release check for centos stream
3 years ago
Christian König 0d710fc9e3 Change wording in whiptail for adlist selection
3 years ago
Adam Warner eb86a5e3b0
Merge pull request #3937 from yubiuser/remove_malwaredomains
3 years ago
Dan Schaper 60fa93ab47
Add fallback for arch detection on i386/x86_64
3 years ago
Christian König b4102547ac Remove deprecated malwaredomains list
3 years ago
MichaIng eb5661b553 Further failsafe check for available APT packages
3 years ago
Adam Warner e47eb30a6e
Update automated install/basic-install.sh
3 years ago
Adam Warner 641951b3a0
add some meaningful outputSigned-off-by: Adam Warner <me@adamwarner.co.uk>
3 years ago
Adam Warner 61f13a334d
Don't delete an existing directory and clone our repo in its place. TODO: Something more robust
3 years ago
Christian König 0ecb8bf5e9 Add lsof to dependencies for non Debian OS
3 years ago
Adam Warner a8e97257d7
Ensure entries of `PIHOLE_DNS_10` and above are not deleted when removing PIHOLE_DNS_1 and PIHOLE_DNS_2
3 years ago
Christian König 065e5cb1fe Add DNSSEC to OpenDNS description
4 years ago
Adam Warner 541b53229c
Include secondary upstream DNS for Quad9+Filter+ECS
4 years ago
Grégory Sanchez e26472756f Merge branch 'development' into fix/unattended_install
4 years ago
Grégory Sanchez 6826d9f316 fix(basic-install): unattended install should finish without interaction
4 years ago
Adam Warner bd6ca0ad62
Merge pull request #3825 from yubiuser/tweak/cross
4 years ago
Viet Hung Nguyen ae4e41eaaa Re-run the script as root instead of piping to bash
4 years ago
Christian König 0ae020ef82 Change icon from cross to [i]# for root user check
4 years ago
DL6ER 83f2e2d85a
Merge pull request #3801 from pi-hole/new/armv4_armv5_armv8
4 years ago
DL6ER 01c9bbd3ca
Improve processor detection to use the new dedicated ARMv4T, ARMv5TE and ARMv8-A binaries we provide for FTL.
4 years ago
Adam Warner 59b0a6af6f
Remove references to privacy level 4 (no longer functional)
4 years ago
MichaIng 615b19c3d6
web server question enhancements (#3225)
4 years ago
Christian König e9796d5671 Remove traces of previous default adlists
4 years ago
Adam Warner d6c4f0696f
Merge pull request #3698 from yubiuser/remove/FreeSpaceCheck
4 years ago
DirkJanIT b88510d89a
Add CACHE_SIZE to setupVars (#3170)
4 years ago
Blayne Campbell 4d98e156b6
Merge pull request #3607 from cgzones/selinux
4 years ago
Adam Warner e02cf6fac5
further tweaks, plus a spelling mistake correction
4 years ago
Adam Warner 8e219cb799
Make output more meaningful in case of dig failure.
4 years ago
Christian König 65786ba5d6 Remove check for free disk space and associated variables
4 years ago
Adam Warner 42f55f5202
Merge pull request #3688 from pi-hole/tweak/os-check
4 years ago
Adam Warner 725f02f442
Merge pull request #3673 from yubiuser/fix/double_check_adlist_not_selected
4 years ago
Dan Schaper ebdb68a47a
display_warning fixes
4 years ago
Dan Schaper 623ce1fe18
Tabs and debug.sh
4 years ago
Dan Schaper 57e65dd5c0
Use fewer subshells and descriptive variables.
4 years ago
Adam Warner bb1a6243d6
Merge pull request #3669 from pi-hole/release/v5.1.2
4 years ago
Christian König 5c72ff75d9 Revert "fix #3336 by creating adlist file even if no list was selected by user"
4 years ago
DL6ER b5983a3fc1
Do not require first element to be a hex value at any costs. It may also be a : in the valid address ::1
4 years ago
DL6ER 319b8eef75
Merge pull request #3527 from MichaIng/patch-1
4 years ago
Adam Warner 48820d181c
Merge pull request #3620 from yubiuser/tweak/dig_supportedOS
4 years ago
Christian Göttsche 51daeaa6ab basic-install: document how to continue after SELinux check
4 years ago
Christian König 6fc7dc28a2 Count elements of array instead
4 years ago
Christian König b207ceeab2 Report and exit if dig supportedOS returns nothing
4 years ago
Christian König 8380112129 Resolve conflicts
4 years ago
Adam Warner 0ff32c3629
Use ns1.pi-hole.net to resolve versions.pi-hole.net so that we do not see DNS cookie issues
4 years ago
Dan Schaper 0a81d687e8
Update automated install/basic-install.sh
4 years ago
Christian König dfcdfd4b0a Remove empty line
4 years ago
Christian König ec9f490fcc Remove separate install function, move to installConfigs(), use pihole syntax
4 years ago
Christian König 331502e14c Add variable that got lost
4 years ago
Christian König 18c24d985f Create custom.list during install/update if it doesn't exist
4 years ago
Adam Warner ddb36c013d
it helps if the echo goes variable set goes in the right place
4 years ago
Adam Warner 98dc51869e
accidentally missed \\n
4 years ago
Adam Warner 510b646736
change up the verbiage with something that works (tested)
4 years ago
Adam Warner ea22774d16
Wrap entire function in the check for the ENVVAR
4 years ago
MichaIng 25b873cf7b Add default locations to PATH to assure that all basic commands are available
4 years ago
Adam Warner 643d2c0f3e
add missing port number validation section to valid_ip6
4 years ago
Adam Warner 533e5dddd0
clarify examples in case of unsupported OS
4 years ago
Adam Warner acfb092e4b
fix minor bug in 5.1
4 years ago
Adam Warner 3205606fc3
Also validate IPV6 in the `setdns` function
4 years ago
DL6ER 2c3aa9ab00
Merge pull request #3491 from pi-hole/fix_ip_address_section
4 years ago
DL6ER bf392d7a60
Merge pull request #3489 from pi-hole/ip_validation
4 years ago
Adam Warner bbfbf67fcf
further simplify the function, per @dl6er's suggestion
4 years ago
Adam Warner fe30ce10d3
simpler regex suggested by @MichaIng
4 years ago
Adam Warner 7ea6d7b92b
remove ; so IFS changes don't stick
4 years ago
Adam Warner 1ebf0785b6
move dnsutils/bind-utils to installed deps and only check OS is supported after installing installer deps
4 years ago
Adam Warner 95f4c632f7
expand valid_ip to allow for custom ports
4 years ago
Dan Schaper 4b59287683
Merge pull request #3441 from pi-hole/new/os_check
4 years ago
Adam Warner 9844a3288f
Same change as 03a8cff
4 years ago
jesterchen 7248d1a504 Ensure that adlistFile is created before chmodding
4 years ago
XhmikosR 7579ab178a Update links
4 years ago
Adam Warner 4f7bb7b811
Remove deprecated Disconnect lists from "defaults"
4 years ago
DL6ER b60ec8a48f
Merge pull request #3248 from MichaIng/patch-8
4 years ago
Adam Warner acf2879057
Address sticklr complaints
4 years ago
Adam Warner af1129fc28
Add a check at the top of the script to determine if the script is being run on a supported OS
4 years ago
Adam Warner 414ab53d9a
Use `toggle` instead of `select` to remove any hint of a doubt that the option already selected by default can be deselected
4 years ago
MichaIng 5c17e41cf1 Start pihole-FTL after network
4 years ago
pvogt09 3c6ea2612d fix #3336 by creating adlist file even if no list was selected by user
4 years ago
MichaIng 7d79cf5cce
Only check SELinux states if "getenforce" command exists
4 years ago
Adam Warner 9e96ff37de
Fix merge conflicts
4 years ago
Adam Warner 987ae3810d
binary, here, should be l_binary
4 years ago
DL6ER fdaf815f42
Merge pull request #3203 from MichaIng/patch-1
4 years ago
DL6ER 988b1ff02f
Merge pull request #3204 from MichaIng/patch-3
4 years ago
Dan Schaper df13b9c32a
Merge pull request #3283 from pi-hole/tweak/remove_firewall_config
4 years ago
DL6ER f4965d8493
Merge pull request #3135 from pvogt09/development
4 years ago
DL6ER c0cf8dba87
Merge pull request #3226 from MichaIng/patch-6
4 years ago
DL6ER a9136d752a
Merge pull request #3246 from pvogt09/fix/user_exists
4 years ago
MichaIng d7bac21149 Dot not add pihole user to web server group
4 years ago
MichaIng dc6c53b6a3 Revert using hardcoded php-intl meta package
4 years ago
MichaIng 86d4c9b1e0 Failsafe checks for available APT package
4 years ago
pvogt09 462457fe7f
Merge branch 'development' into development
4 years ago
Adam Warner 94a4f844a8
Remove deprecated list
4 years ago
Adam Warner d18a8b1b8a
Merge pull request #3205 from MichaIng/patch-5
4 years ago
Adam Warner a37dba2c81
remove configureFirewall function, the call to it, and related tests
4 years ago
Adam Warner e6dcccc7bd Revert "- Added 2 new DNS entries for the new Cloudflare DNS for families, which comes in 2 flavors (#3276)"
4 years ago
Mohammed Swillam 7e1a8c1ceb
- Added 2 new DNS entries for the new Cloudflare DNS for families, which comes in 2 flavors (#3276)
4 years ago
DL6ER 982c1b0059
Merge branch 'release/v5.0' into development
4 years ago
pvogt09 40ac3e7eb7 remove pihole group during uninstall
4 years ago
pvogt09 a993b8b34d fixes #3217 by checking for existing pihole group
4 years ago
Antoine Tenart 16f664cdb4 basic_install: remove remaining references to hosts-file.net
4 years ago
Adam Warner dc35709a1b
Remove hosts-file.net from default lists
4 years ago
Adam Warner 4994da5170
Update automated install/basic-install.sh
4 years ago
Adam Warner 175d32c5f6
Set nameservers to be that which have been chosen by the user in the whiptail
4 years ago
Adam Warner 1481cc583f
Don't set nameserver in dhcpcd.conf
4 years ago
Adam Warner dbc54b3063
remove resolvconf dep
4 years ago
MichaIng bb936f4fdb
Reduce apt-get install verbosity
4 years ago
XhmikosR 7b8611ced0
Assorted typo fixes. (#3126)
4 years ago
msamendinger d16b472592 Remove wget from PIHOLE_DEPS
4 years ago
Adam Warner 6104d81622
Safeguard against colour output in grep commandadd -i to grep to make search for "Location" case-insensitive
4 years ago
Adam Warner 7be019ff52
No need to determine the latest tag, we can just go direct
4 years ago
DL6ER 75633f0950
Install php-intl and trust the system to install the right extension. We've seen reports that just installing php5-intl or php7-intl isn't sufficient and that we need the meta package as well.
4 years ago
Adam Warner 1072078e26
Change to use API instead of the Location Header
4 years ago
pvogt09 b0f1333657 Move permission change behind git reset (like in update_repo()) and remove whitespace at end of line
4 years ago
Adam Warner 0a70bbd255
Merge pull request #3120 from canihavesomecoffee/patch-1
4 years ago
Willem c91d9cc0b6 Update Cameleon blacklist url to use https
4 years ago
DL6ER cfa909a93d
Add package php-intl for AdminLTE#1130.
4 years ago
Adam Warner e0fde41d87
Merge pull request #3066 from pi-hole/centos8_support
4 years ago
bcambl ec8f4050d0 Update installer to support CentOS 8
4 years ago
bcambl 60c51886e0 remove unused debian deps (apt-utils debconf)
4 years ago
bcambl cbb1461010 add stdout horizontal rule to install_dependent_packages()
4 years ago
bcambl 07cc5b501c replace debconf-apt-progress with apt-get in install_dependent_packages()
4 years ago
bcambl ebb1a730c1 remove unused fedora/centos dependency: dialog
4 years ago
MichaIng 9dff55b212 Installer | Remove "dialog" from Debian/Ubuntu installer deps
4 years ago
Adam Warner d1bce7e685
Merge pull request #2995 from pi-hole/tweak/NoFurtherThanLatestTag
4 years ago
Adam Warner 7c2bbf840a
Merge pull request #2993 from MichaIng/patch-3
5 years ago
MichaIng 85673b8273
Print name of chosen upstream DNS as well
5 years ago
Adam Warner 583ea4d17a
Merge branch 'development' into development
5 years ago
Adam Warner edcdf9f619
Merge pull request #3003 from pi-hole/fix/tbd
5 years ago
Adam Warner 12817c09bb
(Squashed commits)
5 years ago
Adam Warner 4840bdb031
add a double space to the beginning of some outputs
5 years ago
Adam Warner a85e7a2a43
Merge pull request #2999 from pi-hole:fix/api_utf8_encoding
5 years ago
DL6ER 61d233f069
Merge pull request #2964 from bcambl/selinux_enforcing
5 years ago
DL6ER d457d40e0b
Add php-xml package as new dependency.
5 years ago
Adam Warner 6571a63ffa
Add --tags to descibe command
5 years ago
Adam Warner a7e81c8ea0
remove extra space
5 years ago
Adam Warner 73d9abae3e
And finally, we please stickler
5 years ago
Adam Warner c8b9e42649
Please Codefactor.
5 years ago
Adam Warner 62c00ae1d8
pushd/popd instead of juggling with a variable
5 years ago
MichaIng ea67c828cd
Minor installer output enhancements
5 years ago
Adam Hill 3fbb0ac8dd
Adding docker+arm detection & FTL download
5 years ago
Adam Warner 71903eb27f
Add in checks to reset cloned repo to the lastest available release
5 years ago
bcambl 612d408034 replace echo with printf in install_dependent_packages()
5 years ago
bcambl a86f578139 replace echo with printf in checkSelinux()
5 years ago
bcambl 81ca78e7f4 exit installer if SELinux is enforcing
5 years ago
bcambl fc0899b2ad fix fedora dependency check/install stdout
5 years ago
DL6ER 149fb0c216
Do not install a blank regex file.
5 years ago
Adam Warner 61a40c1b43
merge devel into 4.3.2 And Resolve merge conflicts
5 years ago
DL6ER f582344b9a
"No default index.lighttpd.html file found... not backing up" is not an error.
5 years ago
Dan Schaper 4cfe463dfa
Add back dropped binary call.
5 years ago
Dan Schaper 03c65dd0e9
Convert hardcoded /usr/local/bin to variable
5 years ago
DL6ER 1820c2c598
Merge branch 'development' into new/whitelist-regex-support
5 years ago
Mcat12 febdbceab1
Fix error when getting latest FTL tag
5 years ago
David Haguenauer 34727c00c6
Drop indirection from install_dependent_packages
5 years ago
Mcat12 b107ae2ab9
Use the filtered IPv6 OpenDNS servers
5 years ago
Mcat12 da398c3d9c
Print an error message if the FTL release metadata download fails
5 years ago
Mcat12 4e0ad52001
Fix ShellCheck issue by refactoring a bit
5 years ago
Mcat12 c9829dd3e4
Fix pihole -up showing FTL update when network is down
5 years ago
B. Olausson ab1ea5a366
This change fixes issue #145 "stty: standard input: Inappropriate ioctl for device ".It checks if a real terminal exist, if not it sets the screen size to a fixed value. This helps to avoid nasty and unnecessary logs when running "pihole -up" via e.g. cron.
5 years ago
bcambl 10de7f649b
add chkconfig to INSTALLER_DEPS (CentOS/Fedora)
5 years ago
Mcat12 71d5b42726
Remove the ZeusTracker blocklist from the defaults
5 years ago
DL6ER 4371c9ba03
Ensure proper permissions are set for gravity.db after creation.
5 years ago
B. Olausson ecd6817aaf
This change fixes issue #145 "stty: standard input: Inappropriate ioctl for device ".It checks if a real terminal exist, if not it sets the screen size to a fixed value. This helps to avoid nasty and unnecessary logs when running "pihole -up" via e.g. cron.
5 years ago
Mark Drobnak 3420439f31
Merge pull request #2820 from pi-hole/fix/ftl-update-no-network
5 years ago
Mcat12 38ff343134
Print an error message if the FTL release metadata download fails
5 years ago
Mcat12 c3ec2e68ad
Remove the ZeusTracker blocklist from the defaults
5 years ago
Mcat12 c156af020c
Use suggested array creation to fix linter error
5 years ago
Mark Drobnak fa8751f9ad
Fix error when checking if IP address is valid
5 years ago
bcambl ec850dc820 add chkconfig to INSTALLER_DEPS (CentOS/Fedora)
5 years ago
Mcat12 37e7cd5211
Fix ShellCheck issue by refactoring a bit
5 years ago
Mcat12 91a2d052a7
Fix pihole -up showing FTL update when network is down
5 years ago
Mcat12 c8987e20c2
Use the filtered IPv6 OpenDNS servers
5 years ago
Dan Schaper 7de6bbca61
Merge branch 'development' into release/v4.3
5 years ago
David Haguenauer be3a21ae07 Put quotes at ends of strings
5 years ago