Skip to content

Commit be77b5c

Browse files
committed
daily
1 parent 20d78ce commit be77b5c

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

debian-setup/debian-image-normalize.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@ test -f /etc/aliases && rm /etc/aliases
144144
test -d /var/spool/exim4 && rm -rf /var/spool/exim4
145145
# Texinfo config
146146
test -d /etc/texmf && rm -r /etc/texmf
147+
# Cloud-init files
148+
# UpCloud data source: http://169.254.169.254/metadata/v1.json
149+
test -f /etc/ssh/sshd_config.d/50-cloud-init.conf && rm /etc/ssh/sshd_config.d/50-cloud-init.conf
150+
test -f /etc/sudoers.d/90-cloud-init-users && rm /etc/sudoers.d/90-cloud-init-users
151+
# /etc/network/interfaces is empty
152+
#/etc/network/interfaces.d/50-cloud-init
153+
test -f /var/log/cloud-init.log && rm /var/log/cloud-init.log
154+
test -d /var/tmp/cloud-init && rm -r /var/tmp/cloud-init
147155

148156
Info "Do dist-upgrade finally"
149157

security/fail2ban-conf/jail.local

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
# @TODO vallumd - central firewall
44

55
[DEFAULT]
6-
# localhost own IP
7-
# proxy Googlebot PayPal IPN
8-
ignoreip = 127.0.0.0/8 @@IP@@ 88.151.99.143 66.249.64.0/19 173.0.80.0/22
9-
35.158.136.0/24 52.57.254.0/24 54.240.128.0/18 64.252.86.0/23 64.252.88.0/23 205.251.192.0/19 216.137.32.0/19
6+
# localhost own IP Googlebot PayPal IPN
7+
ignoreip = 127.0.0.0/8 @@IP@@ 66.249.64.0/19 173.0.80.0/22
8+
35.158.136.0/24 52.57.254.0/24 54.240.128.0/18 64.252.86.0/23 64.252.88.0/23 64.252.126.0/24 205.251.192.0/19 216.137.32.0/19
109
# Amazon CloudFront
1110
# wget -qO- "https://ip-ranges.amazonaws.com/ip-ranges.json"|jq -r '.prefixes[] | select(.service == "CLOUDFRONT").ip_prefix'|sortip
1211

0 commit comments

Comments
 (0)