Just some helper scripts
Find a file
2025-10-22 20:43:17 +02:00
00-header Add 00-header 2025-10-18 21:10:09 +02:00
f2b-status.sh minor changes 2025-10-22 20:43:17 +02:00
forgejo_latest_lts.sh Add forgejo_latest_lts.sh 2025-10-18 20:53:47 +02:00
LICENSE Initial commit 2025-10-18 20:51:01 +02:00
README.md Update README.md 2025-10-18 21:21:57 +02:00
tmux.conf Initial Add tmux.conf 2025-10-18 21:20:05 +02:00

HelperScripts

Some - maybe - useful helper, scripts, configs etc.

forgejo_latest_lts.sh

Get the latest Forgejo LTS Release Version

f2b-status.sh

Prints status of fail2ban blocked IP's per jail. Banned since and banned until date. Needs sqlite3 and bc package installed. Example output:

# f2b-status
Fail2Ban Status:
docker-console (7 banned IPs)
    197.199.224.52 (2025-10-18 19:51:59 -> 2025-10-18 20:51:59)
    62.3.56.187 (2025-10-18 19:55:35 -> 2025-10-18 20:55:35)
    103.176.78.240 (2025-10-18 19:57:00 -> 2025-10-18 20:57:00)
    46.101.222.112 (2025-10-18 20:12:36 -> 2025-10-18 21:12:36)
    78.128.112.74 (2025-10-18 20:22:31 -> 2025-10-18 21:22:31)
    203.146.127.165 (2025-10-18 20:26:26 -> 2025-10-18 21:26:26)
    139.19.117.131 (2025-10-18 20:54:15 -> 2025-10-18 21:54:15)
sshd-22 (5 banned IPs)
    165.154.112.12 (2025-10-18 20:44:11 -> 2025-10-18 20:54:11)
    103.186.0.155 (2025-10-18 20:46:32 -> 2025-10-18 20:56:32)
    115.190.73.63 (2025-10-18 20:50:19 -> 2025-10-18 21:00:19)
    103.194.243.187 (2025-10-18 20:53:20 -> 2025-10-18 21:03:20)
    121.73.168.113 (2025-10-18 20:54:05 -> 2025-10-18 21:04:05)

00-header (update-motd.d script)

MOTD Message with some useful infos. Needs figlet and lolcat installed. Example output:

                                             _
 ___ ___ _ ___ _____ _ _ _ _  __ _ _ __  ___/ |
(_-</ -_) '_\ V / -_) '_| ' \/ _` | '  \/ -_) |
/__/\___|_|  \_/\___|_| |_||_\__,_|_|_|_\___|_|
=== Server-Infos ===
OS: Debian GNU/Linux 12 (bookworm)
Uptime: up 19 hours, 56 minutes
Load: 1.01
Disk: 5%
Memory: 995Mi/23Gi
=====================

tmuc.conf

TMUX Profile - copy to ~/.tmux.conf