Incessant tinkerer since the 70’s. Staunch privacy advocate. SelfHoster. Musician of mediocre talent. https://soundcloud.com/hood-poet-608190196

  • 6 Posts
  • 35 Comments
Joined 2 months ago
cake
Cake day: March 24th, 2025

help-circle


  • I’ll probably get boo’d but NetData covers just about everything I could want to monitor, and then some. If you don’t want to hook up to the mother ship, you can use the /v3 switch in the url on your homarr dash, or equal like:

    https://netdata.mycoolserver.duckdns.org/v3

    Also, as has been mentioned, ntopng is pretty awesome as well.






  • As you probably know the crowdsec bouncer doesn’t directly parse logs or do checks like F2B filters. It queries the crowdsec LAPI for decisions and applies them. The “allowed” or “whitelisted” IP logic is handled at the Security Engine or LAPI level, not by the bouncer itself.

    You can whitelist an ip in /etc/crowdsec/whitelists.yaml or even whitelist decisions in the whitelist.yaml as such:

    name: private-ips
    description: Whitelist local and private IPs
    whitelist:
      reason: "Allow local and private IPs"
      ip:
        - "127.0.0.1"
        - "192.168.1.0/24"
      cidr:
        - "10.0.0.0/8"
    

    Then issue sudo systemctl reload crowdsec. Kind of the same concept as F2B’s ignoreip option. If you are using Tailscale to administer the server, then it’s easier to whitelist. IIRC, you can use cscli decisions add --type whitelist --ip 192.168.1.100 --duration 1y but it doesn’t add them to the whitelist.yaml. Instead it keeps them in crowdsec’s database managed by LAPI. To undo: cscli decisions delete --ip 192.168.1.100 --type whitelist

    https://docs.crowdsec.net/u/getting_started/post_installation/whitelists/







  • I use Readeck for ‘read it later’ type articles, things of interest. The downside of Readeck is that there is no one-click-easy way to back up your database if you want to move it to another server. You can, however go to /volume1/docker/readeck/ and download all the db files there manually which will allow you to move to another server. Make sure to grab the config.toml in the same directory. It has a Firefox extension as with most of these apps in it’s genre. Probably has a chrome extension but I avoid chrome.

    I use Karakeep (Hoarder) for stuff I’ve looked up to try to solve issues, such as pages from Grok where I have inquired about certain problems I may have been having.




  • May have to chown /var/lib/radicale/collections as well:

    ls -ld /var/lib/radicale/collections

    If the directory doesn’t exist, create it:

    sudo mkdir -p /var/lib/radicale/collections
    sudo chown radicale:radicale /var/lib/radicale/collections
    
    sudo chown radicale:radicale /var/lib/radicale/collections
    sudo chmod 750 /var/lib/radicale/collections
    
    

    At least that’s what my notes say.






  • These are the Watchtower logs so far. https://pastes.io/watchtower

    I didn’t see anything remarkable other than the error for Netdata but I got that fixed:

    NFO[30906] Found new netdata/netdata:latest image (6376ffeda44a) 
    INFO[30940] Stopping /NETDATA (a18a3e3409f3) with SIGTERM 
    INFO[30942] Creating /NETDATA                            
    ERRO[30942] Error response from daemon: the container-wide MAC address must match the endpoint-specific MAC address for the main network, or be left empty