Commit Graph

1336 Commits (d86b325dfe4d39b7bc523672bb22f1bdbd12265f)

Author SHA1 Message Date
Adam Warner 73aa43611f
Merge pull request #4700 from spmfox/4697-centos8-container-ftl-arch
2 years ago
Dan Schaper 71072b4beb
Stickler quoting
2 years ago
spmfox 9840148ba9
Update automated install/basic-install.sh
2 years ago
spmfox 2601162243 Changed ldd binary check from /bin/ls to /usr/bin/bash
2 years ago
MichaIng 2b124b1c69
Do not pass whole environment for PIHOLE_SKIP_OS_CHECK=true
2 years ago
yubiuser b33434d02a
Let uses know how long they need to wait (max)
2 years ago
Christian König c0a2ab7b77
Fix indention
2 years ago
Christian König 30ba79f6a0
Let users know what's going on
2 years ago
Christian König cd3c97f113
Exit installer if dpkg lock is held for more then 30 seconds
2 years ago
Adam Warner fe9031b26f
Merge pull request #4669 from pi-hole/master
2 years ago
Dan Schaper 8a5c7dec71
Ensure existing files are proper owner and mode.
2 years ago
Dan Schaper d45c9fc522
Final touch to install fix.
2 years ago
Dan Schaper c2384ecc6f
Change touch that would always fire to install.
2 years ago
Dan Schaper 2f38452565
Wrap touch calls with if/then guards for Buster docker.
2 years ago
Christian König c756bcb9d1
Add procps to dependencies
2 years ago
yubiuser c3c5342b48
Fix reviewer's comment
2 years ago
Christian König 7c60ee8df1 Remove pihole-FTL.conf man page
2 years ago
DL6ER e09dd56807
Remove RPM package sqlite as well
2 years ago
DL6ER 8cbffa179d
Replace remaining sqlite3 calls by calls to our embedded pihole-FTL sqlite3 engine and remove sqlite3 as dependency in the installer.
2 years ago
MichaIng c2080324b7
Install netcat-openbsd as dependency explicitly
2 years ago
DL6ER 5823f5e254
Use ss instead of lsof (#4518)
2 years ago
yubiuser c6a2a6f739
Install pihole-FTL.conf template on fresh installation (#4496)
2 years ago
yubiuser 0e359a6321
Set dnsmasq interface listening by default to local (#4509)
2 years ago
WaLLy3K 5bd7cc9c9d
Replace `which` with `command -v` (#4499)
2 years ago
DL6ER 886f0c7df3
Merge pull request #4485 from pi-hole/tweak/web_status
2 years ago
Matthew Nickson 71ed842dfd
Fixed path to 404 file when using custom.php (#4488)
2 years ago
Christian König 2a869419b4
Add netcat to dependencies
2 years ago
Chiller Dragon e485a7b9bb
Some shellchecks in basic-install.sh (#4088)
2 years ago
jbzdarkid bc8150adfa Clean up bash script formatting
2 years ago
MichaIng 996a2c74fa
Use a fixed list height for network interface selection
3 years ago
yubiuser ac4a975be5
Allow users to skip setting static IP adress (#4419)
3 years ago
yubiuser 996f8fff28
Recommend apt instead of apt-get if updating the package cache failed (#4421)
3 years ago
MichaIng 04f9e92bff
Fix PHP8.0 detection (#4383)
3 years ago
Adam Warner 99981b5e66 now that whiptail size is fixed, lose a couple of lines from the final whiptail output
3 years ago
yubiuser 9535e2fd6d
Merge pull request #4363 from xanoni/update-upstream-dns-capabilities
3 years ago
Adam Warner 0ea7344c30
add --no-rebase to the git pull command(s) to squelch hint message in newer versions of git (#4226)
3 years ago
Adam Warner 55dce14655
Add execution bit accidentally dropped in #4106 (#4368)
3 years ago
MichaIng c5828df198
Consequently use defined file path variables (#4105)
3 years ago
yubiuser 80560d4a4a
Do not export `DNS_FQDN_REQUIRED` and `DNS_BOGUS_PRIV` unconditionally (#4354)
3 years ago
yubiuser 2b74b47b4a
Remove netcat from dependencies (#4346)
3 years ago
yubiuser 109340033e
Do not account for refactor anymore (#4355)
3 years ago
xanoni 0f246b8df5
Update upstream DNS server capability descriptions
3 years ago
Adam Warner 5b03160295
Install script comment tweaks (#4361)
3 years ago
Christian König a9b9718ffa Do not let the user select if they want to blocking via IPv4 and/or IPv6
3 years ago
MichaIng fd050693a2 Remove obsolete DEB package name checks
3 years ago
yubiuser 841222fa21
Add to INSTALLER_DEPS (#4343)
3 years ago
Christian König a88a94c4f1 Export DNS_FQDN_REQUIRED and DNS_BOGUS_PRIV to setupVars.conf during installation
3 years ago
yubiuser 1c286c7bc4
Select proper PHP version on RPM based OS after INSTALLER_DEPS have been installed (#4325)
3 years ago
Adam Warner e393048488
Merge pull request #4229 from MichaIng/patch-3
3 years ago
Adam Warner 89e187947e
Merge pull request #4282 from pi-hole/new/RFC6761
3 years ago
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