• 1 Post
  • 261 Comments
Joined 2 years ago
cake
Cake day: June 1st, 2023

help-circle
  • Why do you prefer Discord? What do I miss?

    I’ve had a discussion with someone about this. Apparently, there are people that enjoy the social contact. Some seem to like sitting in a Discord chat all day long and answering the same questions over and over again. Others like to “just ask” someone instead of looking for a solution themselves.

    That there’s no clear structure of all the solutions provided via Discord and thus people have to ask the same things, nor a proper way of backing everything up in case Discord goes rogue seems to be blissfully ignored.

    It’s probably part of the same phenomenon that, nowadays, people seem unable to write or read a few lines of documentation and instead create/watch 20 minutes on YouTube.


  • At least in Germany you vote for parties. These parties then create coalitions which water down most of the reasons why they were elected in the first place.

    The guy in the EU council is supposed to be the highest leader of each country. In Germany that’s the Chancellor. Which is elected by those parties/coalitions. You as a normal person have no say in who it’s going to be.

    Same for the EU commission. You have no real influence on who’s going.

    Then those parties/coalitions create lists of candidates for becoming MEPs. You vote for those lists. There’s no way to vote for specific people to go to the EU parliament. And those lists are basically suggestions as people can be crossed out or exchanged on those lists even after the elections are over.


  • Nobody voted for the people sitting in lovely Brussels and making decisions that impact all member countries in all their different situations. It was good when it was still the EEC and meant to improve trading between member countries. And trading only. How we ended up with this monster of EU trying to dictate things like you can’t sell cucumbers which are curved more than X degrees, or banning incandescent and halogen light bulbs, and stuff like that… I don’t know. But I don’t like it.












  • mbirth@lemmy.mltoSelfhosted@lemmy.worldSelf hosted place check-ins
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    16 days ago

    If you like to checkin manually to places, there’s PrivateSquare which will query places around you from Foursquare (so, 4sq will still see whereabout you are), but store the actual checkin in a local database.

    If you want some automated tracking, I’m mostly happy with OwnTracks which logs to my DaWarIch instance. (I’ve previously used Traccar and php-owntracks-recorder.)

    While I don’t see any battery usage from OwnTracks, my only gripe is that it can’t increase the amount of points logged when it detects movement because of Apple iOS limitations.

    (For iOS, there’s also Geory which will log into a local database and CAN increase the logging by spawning a Live Activity. It gives me the most accurate logs so far. But they have to be exported manually to be stored elsewhere and the author wants to keep the app simple and doesn’t want to implement logging to external systems.)



  • In the Traefik static configuration (usually traefik.yml), add this to load the CrowdSec plugin:

    experimental:
      plugins:
        crowdsec-bouncer-traefik-plugin:
          moduleName: "github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin"
          version: "v1.4.2"
    

    (The name for the plugin is defined here as crowdsec-bouncer-traefik-plugin.)

    Then, in your dynamic configuration, add this (I’ve used a separate file dynamic_conf/050-plugin-crowdsec-bouncer.yml):

    http:
      middlewares:
        crowdsec-bouncer:
          plugin:
            crowdsec-bouncer-traefik-plugin:
              CrowdsecLapiKey: "...YOUR CROWDSEC LAPI KEY HERE..."
              Enabled: true
    

    (The name for this new middleware defined here is crowdsec-bouncer. It uses the crowdsec-bouncer-traefik-plugin defined in the previous step. Make sure these names match.)

    You can get the LAPI key by registering a new bouncer in CrowdSec.

    And, finally, make sure all incoming traffic routes through the bouncer plugin. You can do this individually, or in general via the static config:

    entryPoints:
    
      websecure:
        address: :443
        http:
          middlewares:
            - crowdsec-bouncer@file
            - secure-headers@file
    

    The middlewares are processed top to bottom.

    Any change to the static configuration requires a restart of Traefik to become active.



  • I had fail2ban running for several years before switching to CrowdSec late last year. They both work in a similar fashion and watch your logfiles for break in attempts. With the small difference that CrowdSec also lets you use blocklists from the “crowd” to block malicious actors before they even get to try their luck on your machine(s).

    I’m using CrowdSec with Traefik and nftables. But there are some bouncer plugins for nginx and OpnSense, too.

    I just followed their example configurations for Docker, Docker Compose and then started tinkering with the config until everything worked as desired.