DL6ER
08cddba200
There should be no echo here
2017-01-28 21:49:31 +01:00
DL6ER
1bf43b0425
Improved regex: Remove all leading points from domain (.....xyz => .xyz). Return not only a part, but fill validated domain
2017-01-28 21:48:19 +01:00
DL6ER
85b3fef08d
Use perl instead of grep?
2017-01-28 00:39:10 +01:00
DL6ER
15037fa888
Typo
2017-01-28 00:17:32 +01:00
DL6ER
d595fef18f
Fix regex
2017-01-28 00:15:06 +01:00
Dan Schaper
be5fa22b6f
Merge pull request #1174 from pi-hole/tweak/logrotate_insecure_directory
...
Improve logrotate support
2017-01-27 11:18:06 -08:00
Dan Schaper
a5c6bbeee7
Merge pull request #1173 from pi-hole/tweak/domainfilter
...
Improve CLI domain filter
2017-01-27 11:16:18 -08:00
DL6ER
094a645e60
Merge pull request #1176 from pi-hole/tweak/remove-pihole-s
...
remove pihole -s flag
2017-01-27 17:20:12 +01:00
Jacob Salmela
51acdfa633
remove pihole -s flag
2017-01-27 10:12:51 -06:00
DL6ER
2c16a75ef1
Use stat to get owner of /var/log
2017-01-27 14:28:59 +01:00
DL6ER
6fd7e0311c
Install customized version of logrotate script
2017-01-27 14:16:24 +01:00
DL6ER
1bcf2dd0fc
Tweak CLI domain filter
2017-01-27 00:45:57 +01:00
DL6ER
9a3cf949cf
Merge pull request #1149 from pi-hole/tweak/firewall_warning
...
Add warning to firewall configuration
2017-01-27 00:03:41 +01:00
Dan Schaper
cec214f900
User decline to install shouldn't be an error return.
2017-01-26 14:38:02 -08:00
Jacob Salmela
dad669d68b
Merge pull request #1172 from pi-hole/tweak/readme-youtube
...
Put new video into README
2017-01-25 21:30:12 -06:00
jacobsalmela
561f40d97e
replace youtube links with new explainer video
2017-01-25 20:19:06 -06:00
Dan Schaper
0bbe0aed83
Last of the IPTables tests, new test rig is operating.
2017-01-24 20:09:10 -08:00
Dan Schaper
b16f797317
firewall-cmd --state
returns 0 on 'running' non 0 on 'not running',
...
so check retval and not text returned.
FirewallD conversion to multicall
IPTables test
2017-01-24 19:57:31 -08:00
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.
2017-01-24 13:42:51 -08:00
Dan Schaper
679b098aa7
No firewall enabled test.
2017-01-24 12:04:45 -08:00
Dan Schaper
e0e88fdb52
Start IPTables test, get baseline for commands in the container. See
...
what we have to mock to start testing.
2017-01-24 11:58:22 -08:00
Dan Schaper
8bba3a257c
Merge branch 'tweak/firewall_tests' into tweak/firewall_warning
2017-01-24 11:51:41 -08:00
Dan Schaper
8529c1287f
Full test suite for firewallD configuration.
2017-01-24 11:03:37 -08:00
Dan Schaper
9c7f7756b4
Revert second test.
2017-01-23 19:03:00 -08:00
Dan Schaper
f1cfb16bf9
Test firewallD enabled and disabled.
2017-01-23 18:59:48 -08:00
Dan Schaper
95796e1978
Only expect text output, not the leader :::
2017-01-23 18:52:05 -08:00
Dan Schaper
968b981ecb
Try mocking whiptail
2017-01-23 18:47:52 -08:00
Dan Schaper
3aeb378b56
Fix moved incorrect blocks.
2017-01-23 18:21:50 -08:00
Dan Schaper
28bafe7427
Rename test for firewallD, running state.
2017-01-23 18:14:40 -08:00
Dan Schaper
1317b67657
Attempt at modifying firewall rules for testing.
2017-01-23 18:13:18 -08:00
Dan Schaper
3f462c771f
Merge pull request #1166 from pi-hole/tweak/momentOfClarity
...
Transparency in `sudo` refire.
2017-01-23 16:41:21 -08:00
Dan Schaper
31aa42c35e
Transparency in sudo
refire.
2017-01-23 14:28:56 -08:00
Dan Schaper
f7a17248b7
Warn with whiptail if firewall-cmd
is running.
2017-01-23 14:19:51 -08:00
DL6ER
b60e6310bf
Merge pull request #1164 from pi-hole/tweak/slience_rm
...
Silence rm warning if no DHCP server is used
2017-01-23 16:25:50 +01:00
DL6ER
6a89c6bf3b
Silence rm warning if no DHCP server is used
2017-01-23 15:06:36 +01:00
Dan Schaper
b3b7aae7d7
Merge pull request #1160 from pi-hole/logSizeToDebugLog
...
Log size to debug log
2017-01-22 13:13:33 -08:00
Promofaux
fe8c365d17
codacy never lies
2017-01-22 20:53:30 +00:00
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.
2017-01-22 20:44:07 +00:00
Promofaux
1ad23a065e
switch out wc -l
with grep -c ^
2017-01-22 20:38:46 +00:00
Promofaux
de102fde5c
Add line count and size check for pihole.log
2017-01-22 20:38:09 +00:00
Adam Warner
77554fbd13
Merge pull request #1145 from pi-hole/cleanup/more_shellcheck
...
Cleanup/more shellcheck
2017-01-22 13:31:09 +00:00
Mcat12
6863bff7c5
Merge pull request #1156 from pi-hole/tweak/whiptail_dns
...
DNS whiptail from radio to menu
2017-01-21 19:54:16 -05:00
Dan Schaper
eaf6938c35
DNS whiptail from radio to menu
2017-01-21 16:14:05 -08:00
Mcat12
34ad2157dd
Merge pull request #1155 from pi-hole/tweak/root_first
...
Move distribution check to function.
2017-01-21 17:59:30 -05:00
Dan Schaper
0635309f23
Move distribution check to function.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2017-01-21 12:34:47 -08:00
DL6ER
2661ef53a2
Merge pull request #1152 from jwiebalk/patch-2
...
Correct path for automated installer
2017-01-20 10:35:31 +01:00
John Wiebalk
eddca8f127
Correct path for automated installer
...
basic-install.sh is in the `automated install` dir instead of `automated_installer`
2017-01-19 21:40:52 -05:00
Dan Schaper
cef0211c00
Merge pull request #1151 from pi-hole/fix/CIDR
...
Include CIDR notation for IPv4 non-natural blocks.
2017-01-19 14:02:28 -08:00
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>
2017-01-19 13:50:42 -08:00
DL6ER
930cb15e2c
Merge pull request #1150 from pi-hole/tweak/DHCPdomain
...
Be able to disable the DHCP domain name
2017-01-18 14:23:30 +01:00