GameGod

joined 1 year ago
[–] [email protected] 1 points 1 week ago

No, I don't think so.

[–] [email protected] 1 points 1 week ago (2 children)

Tinc has weird limitations and Wireguard completely obsoletes it. There's zero reasons to ever consider using Tinc when Wireguard exists.

[–] [email protected] 5 points 1 week ago* (last edited 1 week ago)

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.

[–] [email protected] 8 points 3 months ago (1 children)

I haven't tried it personally, but Mox looks like a nice modern mailserver. It might do what you want.

[–] [email protected] 23 points 7 months ago (4 children)

Every time I look at this, the value proposition makes no sense to me. The DIY V1 and V2 only have instructions for adding a single HDMI input port (??), and the V3 and V4 are like $350 CAD, which is way more expensive than buying a used KVM on eBay. What am I missing?

[–] [email protected] 1 points 1 year ago

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)