diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index ea1e664..07e0a38 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -13,12 +13,12 @@ "state": { "type": "markdown", "state": { - "file": "2025/Coldbrew Deluxe Experiment.md", + "file": "2024/freebsd-notes.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "Coldbrew Deluxe Experiment" + "title": "freebsd-notes" } }, { @@ -107,7 +107,7 @@ "state": { "type": "search", "state": { - "query": "cold", + "query": "freebsd", "matchingCase": false, "explainSearch": false, "collapseAll": false, @@ -128,7 +128,8 @@ "title": "Bookmarks" } } - ] + ], + "currentTab": 1 } ], "direction": "horizontal", @@ -224,8 +225,11 @@ }, "active": "25b930ea2a609828", "lastOpenFiles": [ - "2025/Backups on macOS.md", + "2025/FreeBSD notable changes.md", + "2025/FreeBSD.md", + "2025/FreeBSD 14.2-RELEASE on a Scaleway Dedibox server (Online.net) with root on ZFS.md", "2025/Coldbrew Deluxe Experiment.md", + "2025/Backups on macOS.md", "2025/macOS 15 Sequoia Tips and Tricks.md", "2021/A dark therapy experiment with blue light blocking glasses for m.md", "2022/Cold brew coffee.md", @@ -233,7 +237,6 @@ "2025/zpool-disk-failure-2025-10.md", "2024/freebsd-notes.md", "2025/afscheidsbericht-nero.md", - "2025/FreeBSD.md", "2025/NAS-disk-error.png", "2025/Recepten Eliza - Oct 2025.md", "2021/ZFS cheatsheet.md", @@ -249,8 +252,6 @@ "2025/review-niora-aug-2025-draft.md", "2025/macOS automount network share.md", "2025/macOS autodetect USB.md", - "2021/Sate babi.md", - "2025/Todoist + gcal timeblocking-daytheming.md", "2025/freepik-randy-37-jaar-ecard-202507221949326aqr.png", "2025/images/Screenshot 2025-01-02 at 21.36.20.png", "2025/Signaleringsplan jerry jacobs bipolair 1 versie 5 FINAL (18-03-2025).pdf", diff --git a/2024/freebsd-notes.md b/2024/freebsd-notes.md index 1ce282a..2132755 100644 --- a/2024/freebsd-notes.md +++ b/2024/freebsd-notes.md @@ -159,6 +159,11 @@ Mar 25 07:45:29 pineapple sshd[87808]: Disconnecting invalid user oracle 118.161 Mar 25 07:45:44 pineapple sshd[88058]: Invalid user sFTPUser from 118.161.193.40 port 54598 ``` +The default settings are semi-okay but the configuration file is located at `/usr/local/etc/sshguard.conf` + +But important is to lock IPs out for 1d instead of 120sec. Set `BLOCK_TIME=86400` (which is in seconds). Also set cumalitive attack counter threshold to 10 with `THRESHOLD=10`. + + See also https://forums.freebsd.org/threads/howto-set-up-and-configure-security-sshguard-pf.39196/ **Reverse shell**