diff --git a/README.md b/README.md index dfe294b..10efdb8 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ ----- -**Version:** v0.80.5 +**Version:** v0.80.6 -**Last Updated:** 2026-03-26 +**Last Updated:** 2026-04-30 **Compatible With:** @@ -88,12 +88,12 @@ sha256sum du_setup.sh Compare the output hash to the one below. They must match exactly. -`f6c7047a052fc795612dadc6e72871dc756c30c87698a302fc7c46c1e3582bda` +`00cdf04cf4603c26241b64a86d8fe349e58e5b7e649227356627eae77dc038f5` Or echo the hash to check, it should output: `du_setup.sh: OK` ```bash -echo f6c7047a052fc795612dadc6e72871dc756c30c87698a302fc7c46c1e3582bda du_setup.sh | sha256sum --check +echo 00cdf04cf4603c26241b64a86d8fe349e58e5b7e649227356627eae77dc038f5 du_setup.sh | sha256sum --check ``` ### 3. Run the Script diff --git a/du_setup.sh b/du_setup.sh index cadae60..6320af5 100644 --- a/du_setup.sh +++ b/du_setup.sh @@ -1,11 +1,12 @@ #!/bin/bash # Debian and Ubuntu Server Hardening Interactive Script -# Version: 0.80.5 | 2026-03-26 +# Version: 0.80.6 | 2026-04-30 # Changelog: +# - v0.80.6: Fix Docker config, private Docker network to use a private ip range. # - v0.80.5: Fixed a crash in timezone validation by checking for files (-f) instead of directories. # Resolved unexpected set -e terminations during 'pretty hostname' assignment and SSH port detection. -# - v0.80.4: Warn and finish the script if Docker, Tailscale and Netbird fail to install properly. +# - v0.80.4: Warn and finish the script if Docker, Tailscale and Netbird fail to install properly. # - v0.80.3: Warn about password-less sudo and offer to generate password for the user if they choose to do so. # Improve SSH service detection for Debian systems. # - v0.80.2: Added an optional install of netbird (https://netbird.io/) as an alternative to tailscale. @@ -108,7 +109,7 @@ set -euo pipefail # --- Update Configuration --- -CURRENT_VERSION="0.80.5" +CURRENT_VERSION="0.80.6" SCRIPT_URL="https://raw.githubusercontent.com/buildplan/du_setup/refs/heads/main/du_setup.sh" CHECKSUM_URL="${SCRIPT_URL}.sha256" @@ -272,7 +273,7 @@ print_header() { printf '%s\n' "${CYAN}╔═════════════════════════════════════════════════════════════════╗${NC}" printf '%s\n' "${CYAN}║ ║${NC}" printf '%s\n' "${CYAN}║ DEBIAN/UBUNTU SERVER SETUP AND HARDENING SCRIPT ║${NC}" - printf '%s\n' "${CYAN}║ v0.80.5 | 2026-03-26 ║${NC}" + printf '%s\n' "${CYAN}║ v0.80.6 | 2026-04-30 ║${NC}" printf '%s\n' "${CYAN}║ ║${NC}" printf '%s\n' "${CYAN}╚═════════════════════════════════════════════════════════════════╝${NC}" printf '\n' @@ -4531,7 +4532,7 @@ install_docker() { ], "default-address-pools": [ { - "base": "172.80.0.0/16", + "base": "172.20.0.0/16", "size": 24 } ], diff --git a/du_setup.sh.sha256 b/du_setup.sh.sha256 index fe51f32..ad3b5fc 100644 --- a/du_setup.sh.sha256 +++ b/du_setup.sh.sha256 @@ -1 +1 @@ -f6c7047a052fc795612dadc6e72871dc756c30c87698a302fc7c46c1e3582bda du_setup.sh +00cdf04cf4603c26241b64a86d8fe349e58e5b7e649227356627eae77dc038f5 du_setup.sh