Language Selection

English French German Italian Portuguese Spanish

Grsecurity Patched Kernel Install Script For Redhat based Pentium 4 servers

Filed under
Howtos

After a lil work getting the config right for s hosting/shell server I finally came up with the script that will patch, compile, and install the gresecurity patched kernel. You just run the shell script and it will download the kernel and patch, patch the kernel, download the config, and then compile and install.

The config I got made up is for Pentium4/Xeon/Celeron based servers. It includes all necessary option for an average pentium based server with single processor. The grsecurity level is set to low along with proc restrictions where users can see only their processes, I find the proc restrictions more of a convenience then actual security procedure because shell users do not have to go through all the processes to find theirs nor do they have to do ps -u so it is a pretty handy feature.

All xtables, iptables, and such are enabled. Lots of generic options are selected but nothing that is not needed by at least some machines.

I have ran this script successfully on a fedora and 2 centos servers and it done just fine. As far as stricter security options and pax goes a lot of them do not work well with your typical hosting server. The way it is now it is very secure and protected against local exploits while stoill being totaly functional and not over restrictive.

To get instructions on running this go here

http://www.evolution-security.com/modules.php?name=News&file=article&sid=298

Nobody should have any problems what so ever if you are running a pentium 4 based single cpu server with 512mb-2gb ram. Let me know if anyone has any problems or needs any help.

I figured quite a few people could find this handy, not just beginners but for busy admins who do not have the time to do all this and sit and watch it. It is nothing but a simple sh script, there is no shellcode or any other code involved.

More in Tux Machines

Linux 4.17 RC6

  • Linux 4.17-rc6
    Things continue to be fairly calm. There's a couple of commits in here that aren't "trivial few-liners", but most of it really is pretty small. And in fact, a quarter of the full patch for the week is tooling - and the bulk of that is the testing subdirectory. In fact, drivers are in the minority here, because another 30% is arch updates (arm, s390, x86), and we even have more lines of filesystem fixes than we have driver fixes (admittedly mostly due to a few of the more-than-a-few-liner patches being to filesystems: afs and btrfs). We do have a few driver fixes (all over - hwmon, usb, sound, acpi, gpu), but it's all really small. So nothing special to report. Go read the shortlog, pull the changes, build, and test. It should all be good and pretty stable by this point. Linus
  • Linux 4.17-rc6 Kernel Released As Another "Fairly Calm" Release
    Linux 4.17 is up to its sixth weekly release candidate ahead of the official release expected by mid-June.

KDE Plasma 5.13 Looks Like an Awesome Update

The KDE Plasma 5.13 release is shaping up to be something rather special indeed. Currently in development, KDE Plasma 5.13 serves as the next major release of the leading Qt/Qml desktop environment. The update features a stack of improvements, refinements and some innovative new functionality. In this post we roundup the best KDE Plasma 5.13 features and changes, plus give you all the details on how to upgrade to Plasma 5.13 in Kubuntu and KDE Neon once it is released on June 12, 2018. Read more Also: First week of coding phase, GSoC'18

Today in Techrights

Introduction To VPS Or Virtual Private Server

VPS or Virtual Private Server is a virtual machine that’s hosted somewhere in the world. A VPS provider divides a physical computer into multiple virtual computers and one can buy and access those virtual machines as a service. Each virtual machine runs its own operating system so you can perform […] Read
more