July 2012
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

July 2012
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Forcing HTTP traffic over HTTPS using Apache

Forcing HTTP traffic over HTTPS using Apache

I recently was required to redirect all traffic for a domain over an HTTPS connection. Using the Apache’s .htaccess files and the RewriteEngine, this task is trivial.

Insert this block of code into your .htaccess file at the root of your domain. This will redirect at HTTP traffic […]

Email on shutdown and restart (Linux)

 

The ability to know when a system shutdown (gracefully) and when it came back up can be invaluable to a System Administrator. The tips below will send out an email when a Linux system is gracefully shutdown and again when the system has restarted. This means for a single reboot the Administrator will receive […]

Send Email on Root Login

Send Email on Root Login

Since root should not have direct log in access via SSH and we have set up our user to use sudo, root should get logged into very rarely. In an effort to alert the System Administrator when someone logs into root, I have set up my system to send out […]

Multiple IP Addresses on the same physical connection (Linux)

 

There are times when a server can be allocated more than one IP Address even though it contains only one physical network card. To associate these IP addresses with the server some manipulation of networking settings will need to be performed. The steps outlined in this walk-through are for RedHat based systems. This tutorial […]

Namebench: cross-platform DNS benchmarking tool

I am talking about Namebench. This is cross platform tool written in Python that makes it possible to easily select the fastest DNS available in your area as well as to run benchmark tests directed to DNS entries.

All what you need to have to start using namebench is Python and Tk library, e.g. if […]

Increase port range available for applications

Increase port range available for applications

 

By default an average Linux distribution allows applications to use the following TCP port range for outgoing connections: 32,786-65,536. That’s why your system can handle up to 28,232 TCP sessions at time. Notice, this is more than enough if your Linux system is installed on the laptop or […]

How to disable directory browsing in apache/httpd?

How to disable directory browsing in apache/httpd?

 

How can I disable building of directory index in apache/httpd? In other words, how to prevent users from seeing the contents of published directories?

 

Actually you are totally right that you wish to disable this feature. One of the “must do’s” on setting a secure apache […]

Grub Fallback: Boot good kernel if new one crashes

Grub Fallback: Boot good kernel if new one crashes

t’s hard to believe but I didn’t know about Grub fallbackfeature. So every time when I needed to reboot remote server into a new kernel I had to test it on local server to make sure it won’t panic on remote unit. And if kernel panic […]

Load balancing method

Loadbalancer terminology

Acronym Terminology

Load Balancer An IP based traffic manager for clusters

VIP : The Virtual IP address that a cluster is contactable on (Virtual Server) RIP : The Real IP address of a back-end server in the cluster (Real Server) GW : The Default Gateway […]

Best SSH Commands / Tricks

Best SSH Commands / Tricks

 

OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate […]