Dan Schaper
4bb71ae046
IPtables tests.
...
mock commands for iptables check.
Test setting IPTables ruleset.
Test setting IPTables ruleset.
Test for already configured IPTables rules.
Test for addition of iptables rules.
Can only mock so deep in the commands.
8 years ago
Dan Schaper
679b098aa7
No firewall enabled test.
8 years ago
Dan Schaper
e0e88fdb52
Start IPTables test, get baseline for commands in the container. See
...
what we have to mock to start testing.
8 years ago
Dan Schaper
8bba3a257c
Merge branch 'tweak/firewall_tests' into tweak/firewall_warning
8 years ago
Dan Schaper
8529c1287f
Full test suite for firewallD configuration.
8 years ago
Dan Schaper
9c7f7756b4
Revert second test.
8 years ago
Dan Schaper
f1cfb16bf9
Test firewallD enabled and disabled.
8 years ago
Dan Schaper
95796e1978
Only expect text output, not the leader `:::`
8 years ago
Dan Schaper
968b981ecb
Try mocking whiptail
8 years ago
Dan Schaper
3aeb378b56
Fix moved incorrect blocks.
8 years ago
Dan Schaper
28bafe7427
Rename test for firewallD, running state.
8 years ago
Dan Schaper
1317b67657
Attempt at modifying firewall rules for testing.
8 years ago
Dan Schaper
3f462c771f
Merge pull request #1166 from pi-hole/tweak/momentOfClarity
...
Transparency in `sudo` refire.
8 years ago
Dan Schaper
31aa42c35e
Transparency in `sudo` refire.
8 years ago
Dan Schaper
f7a17248b7
Warn with whiptail if `firewall-cmd` is running.
8 years ago
DL6ER
b60e6310bf
Merge pull request #1164 from pi-hole/tweak/slience_rm
...
Silence rm warning if no DHCP server is used
8 years ago
DL6ER
6a89c6bf3b
Silence rm warning if no DHCP server is used
8 years ago
Dan Schaper
b3b7aae7d7
Merge pull request #1160 from pi-hole/logSizeToDebugLog
...
Log size to debug log
8 years ago
Promofaux
fe8c365d17
codacy never lies
8 years ago
Promofaux
9acc3aac01
pipe `du -h` output to awk to ensure we only get the file size, and not the filename too. Yeah that's right Dom, pipe.
8 years ago
Promofaux
1ad23a065e
switch out `wc -l` with `grep -c ^`
8 years ago
Promofaux
de102fde5c
Add line count and size check for pihole.log
8 years ago
Adam Warner
77554fbd13
Merge pull request #1145 from pi-hole/cleanup/more_shellcheck
...
Cleanup/more shellcheck
8 years ago
Mcat12
6863bff7c5
Merge pull request #1156 from pi-hole/tweak/whiptail_dns
...
DNS whiptail from radio to menu
8 years ago
Dan Schaper
eaf6938c35
DNS whiptail from radio to menu
8 years ago
Mcat12
34ad2157dd
Merge pull request #1155 from pi-hole/tweak/root_first
...
Move distribution check to function.
8 years ago
Dan Schaper
0635309f23
Move distribution check to function.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
DL6ER
2661ef53a2
Merge pull request #1152 from jwiebalk/patch-2
...
Correct path for automated installer
8 years ago
John Wiebalk
eddca8f127
Correct path for automated installer
...
basic-install.sh is in the `automated install` dir instead of `automated_installer`
8 years ago
Dan Schaper
cef0211c00
Merge pull request #1151 from pi-hole/fix/CIDR
...
Include CIDR notation for IPv4 non-natural blocks.
8 years ago
Dan Schaper
86052540d9
Add back CIDR notation for non-natural blocks. Includes multi-address
...
configs.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
DL6ER
930cb15e2c
Merge pull request #1150 from pi-hole/tweak/DHCPdomain
...
Be able to disable the DHCP domain name
8 years ago
DL6ER
8bb9dd460b
Be able to disable the DHCP domain name
8 years ago
Mcat12
8a3c78ca0a
Merge pull request #1148 from pi-hole/fix/installer_array
...
Fedora dependency installer fix
8 years ago
Dan Schaper
62a5e36afd
Remove firewall configuration from update portion of script.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
Dan Schaper
00b28f0aed
IPTables Whiptal option to install.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
Dan Schaper
7c94aa9f07
Merge branches 'development' and 'fix/installer_array' of https://github.com/pi-hole/pi-hole into fix/installer_array
8 years ago
Dan Schaper
ec8c40b69b
Fix array declaration for Fedora package management.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
Mcat12
2981f3cbd1
Merge pull request #1147 from pi-hole/uncommentLine391
...
Uncomment gravity.sh line 391
8 years ago
Promofaux
c2e1819098
This should not have been commented out. It's stopping any changes we make to the default lists getting out.
8 years ago
Mcat12
63d02df0bc
Merge pull request #1130 from pi-hole/new/logrotate
...
Use logrotate for pihole.log
8 years ago
Mcat12
f579fd3895
Merge pull request #1143 from pi-hole/fix/ignore_down
...
Only ignore DOWN interfaces, `tun` interfaces are UNKNOWN.
8 years ago
Dan Schaper
34df34ba27
Actually rm the Pi-hole scripts.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
Dan Schaper
2689b37c35
Combine multiple calls to interface length code.
...
&& ||
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
Dan Schaper
9b6427144f
|| && conversion.
...
Fedora deps array.
Use full name of `source`
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
Dan Schaper
9212eea8bd
Only ignore DOWN interfaces, `tun` interfaces are UNKNOWN.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
8 years ago
Mcat12
6de5d6dd0a
Merge pull request #1113 from trick77/multi-if-fix
...
Bugfix if multiple interfaces are present
8 years ago
DL6ER
08f08fea61
Merge pull request #1135 from pi-hole/new/multipleDNSservers
...
Allow multiple DNS servers
8 years ago
DL6ER
1ed2a8637f
Removed debug echo's
8 years ago
Mcat12
d8bcbdadd6
Merge pull request #1133 from pi-hole/fix/gravity_collapse
...
Make sure to read all lines of adlists file
8 years ago