Commit Graph

247 Commits (0be987239e3c5c6f88033844dc77c285bc73d185)

Author SHA1 Message Date
DL6ER d631cd8b04
Security enhancement for the "never forward non-FQDNs" feature. This should prevent all local queries from being forwarded (will show up as blocked by regex) as well as any hostname without a domain (for example one word searches from the address bar in browsers). This fixes #3303
4 years ago
Sebastian Gmeiner 8041bbf443 read REV_SERVER_CIDR from environment
4 years ago
Adam Warner 3205606fc3
Also validate IPV6 in the `setdns` function
4 years ago
Dan Schaper 3aaf9d89b3
Merge pull request #3260 from pi-hole/new/rev-server
4 years ago
DL6ER 9bf0f2a161
Reduce handholding when trying to foresee the intentions of the user. The code does now preserve legacy behavior and users can open up the subnet manually if they like.
4 years ago
Adam Warner 011fa8c6ea
fix sticklr complaint
4 years ago
Adam Warner 0320d85028
Additionally source the install script in webpage.sh to validate IP entered on `pihole -a setdns`
4 years ago
DL6ER 2b1bc6a46e
Replace possible "\#" by "#". This fixes AdminLTE#1427
4 years ago
DL6ER 6160eb6894
This regex is too complex for bash's own replacement. Add ignore for the shellcheck rule.
4 years ago
DL6ER 318ca75269
Merge branch 'development' into new/rev-server
4 years ago
Frank Riley 9d04c517e6 Reload the lists, which will cause the cached privacy level to be updated.
4 years ago
DL6ER b421e422c2
Merge pull request #3351 from marank/development
4 years ago
Adam Warner be25b4d9c4
Merge pull request #3352 from pi-hole/merge-master-dev
4 years ago
DL6ER a9c66c7b45
Implement pihole -a theme option
4 years ago
Matthias Rank 2b9898e9ca Fixed indentation
4 years ago
Matthias Rank 0add5eb291 Added support for CNAME record add/remvoe
4 years ago
DL6ER 78469ee58d
Merge pull request #3255 from pi-hole/tweak/emailregex
4 years ago
Adam Warner 369288cc48
Update advanced/Scripts/webpage.sh
4 years ago
DL6ER 989bbad37e
Remove pihole -a hostrecord
4 years ago
DL6ER 093054a1eb
Automatically convert legacy IP range to Class C network
4 years ago
DL6ER 4130af0aab
Retain rev-server settings when the feature gets disabled.
4 years ago
DL6ER 90a5a13197
Convert CONDITIONAL_FORWARDING to REV_SERVER settings. Try to detect intended CIDR range automatically.
4 years ago
Adam Warner 26f71e4dbe
accidentally a space
4 years ago
Adam Warner b6ac1585ec
add regex attribution
4 years ago
Adam Warner a9b19df4ec
expand email validation regex to catch more valid emails see comments on PR #3254
4 years ago
M4x 2de5362adc
Sanitize email address in case of security issues (#3254)
4 years ago
Adam Warner 7d19ee1b25
validate blocklist URL before adding to the database (#3237)
4 years ago
DL6ER 277179f150 Remove 19036 trust anchor, now expired: https://www.icann.org/resources/pages/ksk-rollover
4 years ago
DL6ER 5c6dd3f6f4
Merge pull request #2978 from Mograine/patch-1
5 years ago
Mograine c809c34024 Add user feedback
5 years ago
Mograine b93628acb3 Merge branch 'development' of https://github.com/Mograine/pi-hole into patch-1
5 years ago
DL6ER 7f7b9d089c
Merge pull request #2965 from pi-hole/tweak/BackendChangesForAdlistComments
5 years ago
Mograine 193ff38ab3 Allow more precise deletion by passing ip as parameter
5 years ago
Pierre Ghiot f9d16c2b15 Update webpage.sh
5 years ago
John Krull c6f9fe3af2 Fix spelling of the word "permitting"
5 years ago
Adam Warner 5bac1ad58b
backend changes to allow comment when adding new adlist
5 years ago
Adam Warner 61a40c1b43
merge devel into 4.3.2 And Resolve merge conflicts
5 years ago
DL6ER 1f36ec48e3
Add use-application-dns.net = NXDOMAIN in ProcessDNSSettings rather than in the template so we can ensure that it will survive config-renewals.
5 years ago
DL6ER d8eee47ca4
Add dhcp-ignore-names option when enabling DHCP service. We currently remove anything that starts with "dhcp-" to have a clean configuration and removed these lines without noticing when enabling the DHCP server.
5 years ago
Dan Schaper 03c65dd0e9
Convert hardcoded /usr/local/bin to variable
5 years ago
snapsl 20a839fef5 fixed local declaration before assignment
5 years ago
snapsl b2d8c4374b tweaked code style of webpage.sh
5 years ago
DL6ER 5ff9052200
Review comments
5 years ago
DL6ER 3d3fc2947e
Review comments
5 years ago
DL6ER 8382f4d727
Rename table to domain_audit and simplify subroutine addAudit().
5 years ago
DL6ER 0405aaa3da
Review comments and fixing stickler complaints.
5 years ago
DL6ER 2fb4256f84
Rename table to "auditlist"
5 years ago
DL6ER 82476138c1
Instead of calling sqlite3 multiple times within a loop, we use the ability to add multiple rows within one INSERT clause. This is supported since sqlite3 3.7.11 (2012-03-20) and should be available on all systems.
5 years ago
DL6ER 5293beeb77
Update audit script to store domains in new database table.
5 years ago
DL6ER 1fe3507bc5
Adlists table was renamed to Adlist. Adapt further places in the code to match the new name.
5 years ago
DL6ER c5df104a66
Add dhcp-ignore-names option when enabling DHCP service. We currently remove anything that starts with "dhcp-" to have a clean configuration and removed these lines without noticing when enabling the DHCP server.
5 years ago
Dan Schaper 7de6bbca61
Merge branch 'development' into release/v4.3
5 years ago
Mcat12 8e1bf6e3d4
Merge branch 'development' into new/gravitydb
5 years ago
pvogt09 8a92fb24c4 Incorporates changes requested by @Mcat12
5 years ago
pvogt09 5c575e73c7 Adds world readable attribute to files created by Pi-hole to circumvent #2724
5 years ago
DL6ER efeba594ae
Add support for manipulating adlists from the CLI
5 years ago
Mark Drobnak d2c7c426de
Fix teleporter backup file extension
5 years ago
Mcat12 1cad069050
Add privacy level 4 to all privacy level code
6 years ago
Dan Schaper 9f672593bc
Update advanced/Scripts/webpage.sh
6 years ago
DL6ER a285ae65fb
Backend changes for DHCPv4 rapid commit support
6 years ago
Dan Schaper a986f53134
Merge pull request #2436 from pi-hole/fix/password-read-error
6 years ago
Dan Schaper 72829be281
Remove shellcheck overrides
6 years ago
Adam Warner 3d4fea6510
Move -r to before the -p
6 years ago
WaLLy3K 180d29c7b3
Prevent BASH from expanding Web Password
6 years ago
Mcat12 7c6eecc9c8
Ignore shellcheck warning
6 years ago
Mcat12 e4cbf5023a
Fix error when reading in new password
6 years ago
Mark Drobnak cedc39bf09
Merge pull request #2426 from mrmajik45/master
6 years ago
mrmajik45 8684356b44
read without -r will mangle backslashes.
6 years ago
Mcat12 f141b9f778
Add support for privacy level 4
6 years ago
DL6ER 94e4ed6644
Add facility to add multiple audit list entries at once and to nuke audit list
6 years ago
Dan Schaper b54e32f0ca
Space/Tab webpage.sh
6 years ago
Mcat12 d21298c156
Add back conditional forwarding to webpage.sh
6 years ago
Mark Drobnak ab45360808
Merge pull request #1954 from ryanknapper/adlist.lists
6 years ago
DL6ER 2ef76d5e31
Remove LOCAL_DNS_PORT support
6 years ago
DL6ER ce35509a40
Change command to "pihole -a localdnsport X"
6 years ago
DL6ER 24b8b4e904
Add backend changes for supporting a local recursive DNS server
6 years ago
DL6ER 6086614274
Add "-l, privacylevel" description to "pihole -a"
6 years ago
DL6ER 4941e0f8ad
Backend changes needed to be able to set the privacy level
6 years ago
Ryan Knapper 5ecfc58e5f
Require exact match
6 years ago
Mark Drobnak 7265935cd4
Merge pull request #1915 from ryanknapper/development
6 years ago
Ryan Knapper f2b3752f3d
lan to local
6 years ago
Ryan Knapper 36945a67d0
Prevent redundant entries in to adlists.list
6 years ago
DL6ER 52cc8e2fcf
Use "lan" as fallback TLD for DHCP generated domains
6 years ago
ryanknapper 607664c860
Update webpage.sh
6 years ago
DL6ER 793bdd9743
No need for cat | sed here as we source setupVars.conf, so we can use interface="${PIHOLE_INTERFACE}"
6 years ago
DL6ER 9d50f52bb2
Add fallback interface for DNS listening behavior in case PIHOLE_INTERFACE is not set in setupVars.conf
6 years ago
DL6ER cfca367eef Quickly verified in dnsmasq's source code: It has to be "trust-anchor" (with "-")
7 years ago
DL6ER 8a243c5872 Insert also old trust anchor
7 years ago
DL6ER b30b3f3aeb Update DNSSEC trust anchor
7 years ago
WaLLy3K 2dc1851892
Allow passwords with spaces
7 years ago
WaLLy3K bd33018660 Shellcheck OR validation
7 years ago
Mcat12 67a5594909 Allow emails which include `-h` in them
7 years ago
DL6ER ee2169dd13
Merge branch 'development' into tweak/gravity
7 years ago
WaLLy3K 28063aa7f7 Add administrative contact address functionality
7 years ago
WaLLy3K 34ae4844fa Merge branch 'development' into tweak/gravity
7 years ago
DL6ER c9d4995900
Update to comply with current development code
7 years ago
DL6ER 279e809aaf
Use `poweroff` instead of `halt`
7 years ago
DL6ER 0d037e96fb
Merge branch 'development' into gedetil-development
7 years ago
WaLLy3K 7cac207c00 Merge branch 'development' into tweak/gravity
7 years ago
Adam Warner 18b41adbf6 Merge branch 'development' into tweak/gravity
7 years ago