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

Nexus 5 Android 5.0.1 Review: Is It Worth Installing?

Last month, after a lengthy stint as a developer preview, the Android 5.0 Lollipop operating system started rolling out to owners of Google’s Nexus smartphones and tablets. The update, as expected, delivered numerous changes to Android including the company’s all new Material Design, improved notifications, a changed lock screen, and more. Read more

Leaked videos, screenshots reveal an HTC One running Android Lollipop

No, you won’t get this gift in time for Christmas, but perhaps seeing an HTC One running Lollipop may make the wait slightly less painful. A batch of videos and screenshots show HTC’s flagship with the newest build of Android, though of course it’s merged with the Sense 6.0 user interface (the HTC One currently runs Sense 5.0). We got a small hint of how Lollipop looks on the One in November, but this leak lays out what the entire operating system makeover looks in clearer detail. Read more

The winning Linux kernel live patch: All of the above

Life's choices often amount to one of two options: Linux or Windows? Android or iOS? Kgraft or Kpatch? That last pair consists of the two major contenders for the technology Linux could use for live kernel patches. Now a winner is in, and it amounts to all of the above. According to a post on the official Linux kernel developer's mailing list, a kernel patching system that works with both Kgraft and Kpatch and uses "core functionality abstracted out of [those] already existing implementations" has been proposed as an addition to the Linux 3.20 kernel. Read more

UNIX Industry Banks on Linux Strategies

Struggling UNIX server makers are strengthening their Linux strategy in line with the open-source application environment. The move is aimed at maintaining remaining customers, since users are increasingly abandoning UNIX servers. However, it is receiving a lukewarm response from the market. According to industry sources on Dec. 22, server vendors such as IBM and HP are concentrating on the development of products so that the Linux operating system and related applications can be used as UNIX servers. Read more