|
1 | 1 | #!/bin/bash |
2 | 2 |
|
3 | 3 | # Debian and Ubuntu Server Hardening Interactive Script |
4 | | -# Version: 0.80.5 | 2026-03-26 |
| 4 | +# Version: 0.80.6 | 2026-04-30 |
5 | 5 | # Changelog: |
| 6 | +# - v0.80.6: Fix Docker config, private Docker network to use a private ip range. |
6 | 7 | # - v0.80.5: Fixed a crash in timezone validation by checking for files (-f) instead of directories. |
7 | 8 | # Resolved unexpected set -e terminations during 'pretty hostname' assignment and SSH port detection. |
8 | | -# - v0.80.4: Warn and finish the script if Docker, Tailscale and Netbird fail to install properly. |
| 9 | +# - v0.80.4: Warn and finish the script if Docker, Tailscale and Netbird fail to install properly. |
9 | 10 | # - v0.80.3: Warn about password-less sudo and offer to generate password for the user if they choose to do so. |
10 | 11 | # Improve SSH service detection for Debian systems. |
11 | 12 | # - v0.80.2: Added an optional install of netbird (https://netbird.io/) as an alternative to tailscale. |
|
108 | 109 | set -euo pipefail |
109 | 110 |
|
110 | 111 | # --- Update Configuration --- |
111 | | -CURRENT_VERSION="0.80.5" |
| 112 | +CURRENT_VERSION="0.80.6" |
112 | 113 | SCRIPT_URL="https://raw.githubusercontent.com/buildplan/du_setup/refs/heads/main/du_setup.sh" |
113 | 114 | CHECKSUM_URL="${SCRIPT_URL}.sha256" |
114 | 115 |
|
@@ -272,7 +273,7 @@ print_header() { |
272 | 273 | printf '%s\n' "${CYAN}╔═════════════════════════════════════════════════════════════════╗${NC}" |
273 | 274 | printf '%s\n' "${CYAN}║ ║${NC}" |
274 | 275 | printf '%s\n' "${CYAN}║ DEBIAN/UBUNTU SERVER SETUP AND HARDENING SCRIPT ║${NC}" |
275 | | - printf '%s\n' "${CYAN}║ v0.80.5 | 2026-03-26 ║${NC}" |
| 276 | + printf '%s\n' "${CYAN}║ v0.80.6 | 2026-04-30 ║${NC}" |
276 | 277 | printf '%s\n' "${CYAN}║ ║${NC}" |
277 | 278 | printf '%s\n' "${CYAN}╚═════════════════════════════════════════════════════════════════╝${NC}" |
278 | 279 | printf '\n' |
@@ -4531,7 +4532,7 @@ install_docker() { |
4531 | 4532 | ], |
4532 | 4533 | "default-address-pools": [ |
4533 | 4534 | { |
4534 | | - "base": "172.80.0.0/16", |
| 4535 | + "base": "172.20.0.0/16", |
4535 | 4536 | "size": 24 |
4536 | 4537 | } |
4537 | 4538 | ], |
|
0 commit comments