bushvin
2
25
bushvin

@pathfinder.social

Metalhead, self-proclaimed Open Source adept and beard aficionado with a knack for technology.
Notorious lurker. He/Him

bushvin 64 points 3 years ago

I wouldn’t recommend using anti-virus software. It usually creates a lot more overhead, plus it usually mimics existing solutions already in linux. The only viruses I have ever caught using an anti-virus software on Linux are the test viruses to see if all is working fine.

Anyway, here’s my 20+ enterprise experience recommendations with Linux :

  • enable secure boot: will disable launching non-signed kernel modules (prevent root kits)
  • enable firewall: and only allow ports you really need.
  • SELinux: it is getting better, and it will prevent processes to access resources out of their scope. It can be problematic if you don’t know it (and it is complex to understand). But if it doesn’t hinder you, don’t touch it. I do not know AppArmor, but it is supposed to be similar.
  • disable root over ssh: or only allow ssh keys, or disable ssh altogether if you do not need it.
  • avoid using root: make sure you have a personal account set up with sudo rights to root WITH password.
  • only use trusted software: package managers like apt and rpm tend to have built in functionality to check the state and status of your installed software. Use trusted software repositories only. Often recommended by the distro maintainers. Stay away from use this script scripts unless you can read them and determine if they’re the real thing.

Adhering to these principles will get you a long way!

edit: added section about software sources courtesy of @dragnucs@lemmy.ml

path: 0 2135101, hotness: undefined, score: 64, children: 18
bushvin 26 points 3 years ago

Poor thing, it got broken in the mail! Hope you got insurance...

/s

path: 0 2430966, hotness: undefined, score: 26, children: 1
bushvin 12 points 3 years ago path: 0 1857755, hotness: undefined, score: 12, children: 0
bushvin 9 points 3 years ago

Technically they didn’t name the cow… Soooo…

path: 0 2416583, hotness: undefined, score: 9, children: 1
bushvin 8 points 3 years ago path: 0 1198030, hotness: undefined, score: 8, children: 1
bushvin 6 points 3 years ago

Originally this campaign started off as a DnD 5e campaign, but due to WotC’s kneejerk I had a look at pf2e rules and was completely blown away by its cohesiveness and completeness.

But… Tyranny Of Dragons, where the heroes need to battle the cult of the dragon in order to stop them to summon Tiamat. We’re almost half way and having a blast!

path: 0 479507, hotness: undefined, score: 6, children: 0
bushvin 4 points 3 years ago path: 0 2161333 2166151, hotness: undefined, score: 4, children: 0
bushvin 4 points 3 years ago

Look into restic, it doesn’t do exactly what you want, but it’s a very powerful backup server and standalone tool

edit typo

path: 0 2164856, hotness: undefined, score: 4, children: 4
bushvin 3 points 3 years ago

Thanks for that link, I was actually looking for that!

path: 0 1420533 1420866, hotness: undefined, score: 3, children: 1
bushvin 2 points 3 years ago

ebtables and iptables can be very complex. And I failed my 1st RHCE exam because of them. But once you learn, you will never unlearn, as they are quite beautifully crafted. You just need to get into the mindset of the people who wrote the tools…

Look into firewalld It has a rather simplified cli interface: firewall-cmd

The manpages will tell you a lot.

firewall-cmd —add-service=ssh Will open the ports for your ssh daemon until you reload your firewall or reboot your system firewall-cmd —permanent —add-service=ssh Will open the ssh ports until you remove them

firewall-cmd —list-all Will show you the current firewall config

path: 0 2135101 2139540 2146121, hotness: undefined, score: 2, children: 3
bushvin 2 points 3 years ago

Yes, usually you configure your endpoint firewall to block incoming traffic, while allowing all outgoing.

Unless you’re in a very secure zone, like DMZ’s.

path: 0 2135101 2139540 2146491, hotness: undefined, score: 2, children: 0
bushvin 2 points 3 years ago

A very good point I forgot! Only use trusted software repositories!

path: 0 2132034 2146425, hotness: undefined, score: 2, children: 0
bushvin 2 points 3 years ago

I see that both UFW and firewalld are recommended... is it basically OK whichever I choose?

Yes. Whichever works for you should be fine. In the end you should be able to manage it

path: 0 2135101 2139540 2165827 2166017 2190145, hotness: undefined, score: 2, children: 1
bushvin 2 points 3 years ago

The main one everybody uses at least from my knowledge and from what I've used over the last 13 years is UFW. That is what you want to use.

I could easily say that for firewalld… 😃

Ufw is typically available/pre-installed with Debian based systems (Debian, Ubuntu, zzz), while Firewalld is typically available on Red Hat Enterprise Linux and derivates (Fedora, CentOS, Rocky, …)

But it boils down to what you prefer, really.

path: 0 2135101 2139540 2165827 2166017 2190280 2190281, hotness: undefined, score: 2, children: 1
bushvin 2 points 3 years ago

Security is a process, not a solution.

Well put!

path: 0 2133465 2133994 2190535, hotness: undefined, score: 2, children: 0
bushvin 2 points 3 years ago

It’s a trap!

path: 0 2293621 2294446 2317622, hotness: undefined, score: 2, children: 0
bushvin 1 point 3 years ago

Thank you for your answer.

path: 0 2452519 2488984, hotness: undefined, score: 1, children: 0
bushvin 1 point 3 years ago

Dumb, dumber an dumbest?

path: 0 2796732, hotness: undefined, score: 1, children: 0
bushvin 1 point 3 years ago

I wasn’t aware one would be able to run a docker instance of fvtt… Today I am less stupid!

On a sidenote, would I be able to use fvtt just for pf2e charactersheets? My group plays offline, and I am really struggling getting a decent character sheet and manager thereof…

path: 0 93460 2215596, hotness: undefined, score: 1, children: 1
bushvin 1 point 3 years ago

Actually, 0. I drove into the charging stall, and it displayed 0.

path: 0 2827787, hotness: undefined, score: 1, children: 0

thanks for using Leebra!

go to feed...