Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

-----

**Version:** v0.80.5
**Version:** v0.80.6

**Last Updated:** 2026-03-26
**Last Updated:** 2026-04-30

**Compatible With:**

Expand Down Expand Up @@ -88,12 +88,12 @@

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

Check warning

Code scanning / Markdownlint (reported by Codacy)

Expected: 80; Actual: 101 Warning

Expected: 80; Actual: 101
Comment thread
buildplan marked this conversation as resolved.
Dismissed
```

### 3. Run the Script
Expand Down
11 changes: 6 additions & 5 deletions du_setup.sh
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -4531,7 +4532,7 @@ install_docker() {
],
"default-address-pools": [
{
"base": "172.80.0.0/16",
"base": "172.20.0.0/16",
"size": 24
}
],
Expand Down
2 changes: 1 addition & 1 deletion du_setup.sh.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f6c7047a052fc795612dadc6e72871dc756c30c87698a302fc7c46c1e3582bda du_setup.sh
00cdf04cf4603c26241b64a86d8fe349e58e5b7e649227356627eae77dc038f5 du_setup.sh
Loading