News for hackers. Stuff that matters.
Re:Ask HN: What Linux setup/hardening guide do you use? by bediger4000 on Thursday September 08, 2022 @12:56PM (#32768294)
I use Arch, btw. But I run the linux-hardened kernel, doing pacman -Syu once a week.

I also run endlessh on TCP port 22, and a fake HTTP server as a community service.

Re:Ask HN: What Linux setup/hardening guide do you use? by ramtatatam on Sunday September 11, 2022 @09:53AM (#32799646)
I'm running my mail server on Arch Linux since 2011 (so since Arch was in its quite early days) and I applied principles outlined within CISSP. Particularly I was focusing on reducing plane of attack to absolute minimum, ensuring I know exactly what each config option results in and keeping my server up to date. This has served me well and let me go through more than a decade.

I see some posters saying it's not good practice to run Arch, but I think distro alone is not an answer to your security concerns.

Re:Ask HN: What Linux setup/hardening guide do you use? by casual-dev on Thursday September 08, 2022 @02:57PM (#32770328)
Im curious: Why are you running a fake HTTP server? To slow down bots for a while or does it serve a higher purpose?
Re:Ask HN: What Linux setup/hardening guide do you use? by bediger4000 on Thursday September 08, 2022 @11:25PM (#32774949)
Slow down bots, and to see what garbage they're sending. I keep track of POST data and HTTP headers.

I'm on CenturyLink fiber, they are apparently so incompetent they can't take my money for a static IP address, so whoever is doing HTTP requests is blindly trolling CenturyLink residential IPv4 blocks. Nobody doing this is up to anything legit.

Re:Ask HN: What Linux setup/hardening guide do you use? by freeqaz on Thursday September 08, 2022 @01:59PM (#32769303)
I was running this on my laptop for a while but it doesn't support hibernation which sucks :(
Re:Ask HN: What Linux setup/hardening guide do you use? by bediger4000 on Thursday September 08, 2022 @02:02PM (#32769352)
Try linux-zen. I run it on Dell laptops, and it seems to support hibernation. Unless I'm not calling it the right thing.
Re:Ask HN: What Linux setup/hardening guide do you use? by forgotpwd16 on Thursday September 08, 2022 @03:10PM (#32770532)
Why aren't linux-hardened's options the default and patches, if any, upstreamed?