[–] -3 points 4 hours ago (1 child)

"I have long argued that the problem isn’t that people are plugging the sticks in, but that the computers trust them enough to run software off of them."

So a 14 year old statement basically fitting my comment.

Is it still the default for distros nowadays to be that trusting? I would have assumed things like USBGuard becoming standard long ago, but I'm not in the habit of often (re-)installing different distros just to check their defaults.

  • source
  • parent
  • context
  • [–] 8 points 5 hours ago (2 children)

    Was für eine sinnlose Überschrift. Aber wahrscheinlich muss man einfach die Klicks der ganzen dummen Schwurbler mitnehmen, die sich dann jetzt wochenlang auf den Artikel als angebliche Bestätigung, dass ihre Impfschäden real sind, beziehen können,

    Korrekte Überschrift: "BGH entscheidet: Wenn jemand wegen vermeintlicher Impfschäden klagen möchte, darf das nicht grundsätzlich wegen geringen der Aussichtschancen abgelehnt werden. Und bei einer bundesweiten, staatlich Impfkampagnen ist der Bund zuständig."

    Damit ist jetzt also höchstrichterlich klargestellt, gegen wen die vergeblichen Klagen zu richten sind...

  • source
  • [–] 2 points 5 hours ago

    Ist in Deutschland leider nicht möglich. Da zusätzliche geisteskranke Umweltverschmutzung und Lärm einen Tag im Jahr nunmal schon immer so gemacht wurden, kann man daran nichts ändern.

  • source
  • [–] -2 points 6 hours ago* (5 children)

    Just take any locked, hardened, disk-encrypted running Linux machine, plug in the prepared usb disk and voila...

    ...nothing should happen, because only people who have lost all control over their life leave their running pc unattended while also allowing unknown devices to be plugged in.

    That's "here I will unlock my pc and then leave the room for you"-level of stupid.

  • source
  • parent
  • context
  • [–] 5 points 9 hours ago*

    For a friend that asks you about installing Linux to their devices, you are already the "IT guy". But you can eliminate 95% of the work by picking a proper distro instead of having to help them with Microslop issues... and the other 5% by configuring it in a way to make maintenance easier for you.

  • source
  • parent
  • context
  • [–] 7 points 10 hours ago*

    Klar, ist es besser geworden.

    Der Durchschnittsdeutsche liest nicht mehr täglich von den Streitereien der völlig unfähigen Regierung, von den irrsinnigen Plänen, ihnen ihre Heizung aus dem Keller zu reißen, die Industrie zu zerstören, ihnen nicht funktionierende Elektroautos und Wärmepumpen aufzuzwingen und ihn aus Ideologiegründen arm zu machen.

    Ach, Moment... du hast die Realität gemeint? Nach der Wählen die meisten nicht...

  • source
  • parent
  • context
  • [–] 19 points 20 hours ago

    Die Begründung hat es in sich: Im Bescheid des Kultusministeriums findet sich ein Hinweis des Verfassungsschutzes, der Begriff „Profitmaximierung“ – von Poettinger verwendet – entstamme dem Kommunismus.

    Praktisch alle Geschäftsführer sind also Kommunisten. Ich glaube Bayern ist das was ganz großem auf der Spur.

  • source
  • [–] 14 points 21 hours ago* (last edited 10 hours ago) (4 children)

    Die Antwort ist ist eigentlich einfach.

    In jeder Krise gibt es diejenigen, die nach realen, differenzierten Lösungen suchen, und die, die einfach nur laut und schrill dumme, aber, wenn man nicht weiter darüber nachdenkt, schlüssige Parolen keifen. Letzteres kommt bei den Menschen gut an, weil sie da nicht denken oder hinterfragen müssen.

    Und Spanier sind da offensichtlich in guter Gesellschaft. Mehrheitlich etwas dümmlich und wunderbar manipulierbar. So wie die Menschen offenbar überall und zu sehr verschiedenen Zeiten.

  • source
  • [–] 9 points 23 hours ago (1 child)

    If the left is in power and there is a bad economy,

    Most countries have not seen "the left in power" for many decades, sometimes never, and it's basically just "if right-wing shit policies din't help, they were probably not extreme enough".

  • source
  • parent
  • context
  • [–] 4 points 23 hours ago*

    Probably because people were more scared when they started. Just like you still find a lot of information how to reduce write/read accesses to your SSD to not kill it quickly while in reality an average user nowadays wouldn't be able to kill an SSD even if he tried.

  • source
  • parent
  • context
  • [–] 9 points 1 day ago* (last edited 4 hours ago) (4 children)

    Trim can be handled by the system without a dedicated script, either as contunues trim (by just mounting it with the discard option) or periodically via already provided SystemD services and timers (both supported by btrfs). And I think the most common defaults would be doing it once a week or so.

    Scrubbing on the other hand once a week feels excessive to me. And I would definitely not look at the result only at the moment I start the next scrub. Also I like having such stuff happen in the background without noticing much, so again SystemD is your friend by providing you ways to do it on a timer while also limiting the amount of ressources used via slices and ways to only notify you on a failure.

    And then there is balancing which I really do very rarely. If you don't have the habit of littering your disk with dozens and dozens of snapshots until it's getting full, there is not much need.

    (And then there're the SMART self-tests I would definitely not skip... a simple short one daily doesn't hurt, a more extended full one once a week.)

    Long story short. Even if I wanted to do exactly what you plan, I would not put it into one script, because of different intervals (also to spread things out over time).

    Edit: And to keep this whole thing more constructive, here my setup for scrubbing as an example

    background.slice:
    [Slice]
    CPUQuote=20%
    IOReadBandwithMax=10M

    notification_mail@.sevice:
    [Unit] Description=Send Systemd Notification to eMail

    [Service]
    Type=oneshot
    ExecStart=/sbin/sh -c 'echo "Subject: Service %i failed\n\nService %i failed.\n$(systemctl status %i)" | /sbin/msmtp <mail.address>'

    monthly_scrub.service:
    [Unit]
    Description=Monthly BTRFS Scrub
    OnFailure=notification_mail@%i.service

    [Service]
    Slice=background.slice
    Type=simple
    ExecStart=/sbin/btrfs scrub start -RBd / >> /var/log/monthly_scrub.log

    monthly_scrub.timer;
    [Unit]
    Description=Monthly BTRFS scrub timer

    [Timer]
    OnCalendar=monthly
    RandomizedDelaySec=1day
    Persistent=true

    [Install]
    WantedBy=timers.target

  • source
  •  

    As this will -thanks to me being quite clueless- be a very open question I will start with the setup:

    One nginx server on an old Raspi getting ports 80 and 443 routed from the access point and serving several pages as well as some reverse proxies for other sevices.

    So a (very simplified) nginx server-block that looks like this:

    # serve stuff internally (without a hostname) via http
    server {
    	listen 80 default_server;
    	http2 on;
    	server_name _; 
    	location / {
    		proxy_pass http://localhost:5555/;
                    \# that's where all actual stuff is located
    	}
    }
    # reroute http traffic with hostname to https
    server {
    	listen 80;
    	http2 on;
    	server_name server_a.bla;
    	location / {
    		return 301 https://$host$request_uri;
    	}
    }
    server {
    	listen 443 ssl default_server;
    	http2 on;
    	server_name server_a.bla;
       	ssl_certificate     A_fullchain.pem;
        	ssl_certificate_key A_privkey.pem;
    	location / {
    		proxy_pass http://localhost:5555/;
    	}
    }
    #actual content here...
    server {
    	listen 5555;
    	http2 on;
        	root /srv/http;
    	location / {
            	index index.html;
       	} 
        	location = /page1 {
    		return 301 page1.html;
    	}
        	location = /page2 {
    		return 301 page2.html;
    	}
            #reverse proxy for an example webdav server 
    	location /dav/ {
    		proxy_pass        http://localhost:6666/;
    	}
    }
    

    Which works well.

    And intuitively it looked like putting Anubis into the chain should be simple. Just point the proxy_pass (and the required headers) in the "port 443"-section to Anubis and set it to pass along to localhost:5555 again.

    Which really worked just as expected... but only for server_a.bla, server_a.bla/page1 or server_a.bla/page2.

    server_a.bla/dav just hangs and hangs, to then time out, seemingly trying to open server_a.bla:6666/dav.

    So long story short...

    How does proxy_pass actually work that the first setup works, yet the second breaks? How does a call for localhost:6666 (already behind earlier proxy passes in both cases) somehow end up querying the hostname instead?

    And what do I need to configure -or what information/header do I need to pass on- to keep the internal communication intact?

    view more: next ›