Linux

Rule-based DoS attacks prevention shell script

Dette scriptet er ikke testet samt DoS bør hindres på kernel nivå! A simple rule-based DoS attack-prevention shell script. However, the proposed shell script is not a perfect tool for preventing DoS attacks, but a powerful tool for alleviating DoS attacks overheads of the Linux servers significantly.

Read More
Linux

Getting modelines for x.org

Getting modelines can be done by calculating them yourself or using a online calculator like this one. But still, you have to get all this information about your monitor. You wonder, why can’t the monitor itself just supply them? Well, it can. You can get it by using the EDID information.

Read More
Security

Kernel Panic Reboot

By default after a kernel panic Linux just sits there and waits for a user to hit the restart button. That can be a bad thing if it’s a remote server.

Read More
Scripting

Mounting ISO Files

ISO images are files containing the data of a CD (almost bit per bit). They can be mounted, using the loopback device. ISO images can only be mounted read-only (use mkisofs to create images). Kernel Requirements To mount ISO images you need the following in your kernel(as module or builtin): loop-back filesystem support (under Device […]

Read More