• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle




  • How are the alternatives any better? Download a DEB that executes arbitrary code, signed with some .asc that’s sitting in the same webserver? Download an EXE?

    Your comment is so rambley that I can’t understand whether you’re criticizing the distribution method or the packaging. Both of those are very different in terms of attack surface, if you’re talking about supply chain attacks.




  • I could be wrong here, but I think the common interpretation here is wrong. The risk is not that the wires overheat and cause a fire. The risk is that the card draws too much current from a single 12V power rail on your PSU, sustained for a long time, and that burns out the power rail on your PSU.

    I have a 6950 XT that I used with a 850W PSU that was connected incorrectly according to the diagram, with multiple connectors coming off a single rail. After about 6 months, one day my SSD stopped working, and after some tinkering, I realized that if I plugged it into a different 12V connector, it started working! I had burned out one of the 12V rails on my power supply, and I strongly suspect it was my incorrect wiring into my 6950 XT that caused it. (edit: I got a new PSU and never looked back)




  • I’m a huge Doom (1/2/3/2016) fan but I’m not sure how I feel about this. Eternal just seemed like more or the same so I never even bothered playing it. The Dark Ages is starting to feel a little too Anime and just outside the whole space-based Doom universe. This just doesn’t seem like Doom to me and the gameplay looks like more of the same basically from the trailer.







  • I don’t see anyone else actually telling you how to figure out if you’re being DoSed, so I’ll start:

    Check your logs. Look at what process is eating your CPU in htop and then look at the logs for that process. If it’s a web application, that means the error and access logs for it. If you see a flood of requests to a single URL, or some other suspicious pattern in the log, then you can try blocking the IPs associated with them temporarily and see if it alleviates the load. Repeat until the load goes down.

    If your application uses a database, check your database logs too. IIRC postgres logs queries that take longer than 5 seconds by default, which can make it easy to spot a slow query especially during a time of high load.

    I don’t think DNS amplification attacks over UDP are likely to be a problem as I think most cloud providers filter traffic with forged src addresses (correct me if I’m wrong). You can also try blocking all inbound UDP traffic if you suspect a UDP flood but this will likely break DNS lookups for you temporarily. (your machine should not have any open UDP ports in any case though if you’re just running Lemmy).

    If you want to go next level, you can use “perf” to generate a system-wide profile and flamegraph which will show you where you’re burning CPU cycles. This can be extremely useful for troubleshooting performance or optimizing applications. (you’ll find that even ipfilters takes CPU power, which is why most DDoS protection happens on dedicated hardware upstream)



  • GameGod@lemmy.catoArduino@lemmy.caHelp with circuit
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Can you upload some screenshots of the layers of your PCB? Edit: also, did you assembly your PCB yourself? What’s the state of your circuit? It’s hard to get a sense of whether you’ve hooked everything up correctly and what you’re expecting.

    Before I would even look at code, go back and try to do some basic diagnostics on your circuit using a multimeter or oscilloscope. Is your IC getting the correct voltage? Are all the pins correctly connected? Are you seeing any signals over the data lines?

    Are you trying to talk to it via I2C or SPI?