Security

How To set Auto Logout for Linux users

What is this auto logout? Ans : Auto logout is a concept to force user to logout from the remote server. If the open session to remote server is idle for a given time. This is a security measure Linux administrators follow for terminating idel sessions to remote servers. Why actually we require auto logout?(…)

Hardening SSH Server In The DMZ(De Militarised Zone)

Its good to harden your box which is in DMZ. What is DMZ? Ans : DMZ is a De Militarised Zone where we will be keeping our servers, so that they can be access by out side people. Let me explain more about this DMZ. Who are not familiarise(And this activity is most of the(…)

How To Reduce Delay/slow SSH Logins and connections

Recently we have installed a new RHEL5.4 machine. Its located just few kilometers from our office. But when I have observed at the time of logging, the shell prompt is taking considerable time to appear(though connection is taking a fraction of second, after entering the password its taking more time). So we did some tweeking(…)

How To : FTPS Server Configuration in Linux

 How to implement FTPS server in Linux I astonish all the time when I see the FTP package name. vsftpd which abbreviated to Very Secure File Transfer Demon(vsftpd). But when we see the security prospective of this package there is no much security included with this package. I mean when you login to server the(…)

Heartbeat Clustering in Linux

Its long time back I have learnt Heartbeat clustering around March-2008, but still this point I never implemented for production servers. This is my first attempt to do it and I am successful in implementing it for two node fail-over Cluster. Clustering is very complex and very advanced topic which I cannot deal with in(…)

Troubleshooting Squid Reverse Proxy Server

Reverse Proxy Implementation Step1 : Check Squid is running or not #ps –ef | grep squid This command should give you Five internal dns server running process Two squid demon(squid –D) One unlinked process. If all the mentions process are running fine means, it indicates that your Squid server is running fine. ps -ef |(…)

Configuration of SQUID Reverse Proxy

Recently my boss assigned me to work on SQUID reverse proxy. I thought it’s an easy task and started working on it. But when days started going on, I realised that it’s not going to happen in a night. And at last I found the solution some two days back. This post is about How(…)

IPTables In Linux Explained

IPtables (Netfilter) :IPtables is the default firewall for Linux. Its a vast subject which can not be covered in one post. I will try to give as much info as possible at the same time not to make it complex. Lets start with basics. What is a firewall?Ans : A firewall is a part of(…)

How To Use IPtables to Block ICMP (Internet Control Message Protocol) Requests?

How to use IPtables to block ICMP (Internet Control Message Protocol) requests? Ans : To do this we have understand why we require this thing should be done. When Hackers try to hack in to any machine first thing they will do is a basic ping test. Code :#ping target-machine If this is succeed they(…)

SNORT(IDS/IPS) Configuration and Implemenation

Lets start how to install SNORT which is An Intrusion detection system (IDS) and an Intrusion Prevention System (IPS). We tested installation of SNORT on RHEL5. Step1 : Download following packageslibpcap-1.0.0.tar.gzpcre-8.00.tar.gzlibnet-1.0.2a.tar.gz (This is optional package if you want SMB popup alerts on window’s machines.)snort-2.8.5.1.tar.gzacid-0.9.6b23.tar.gz Note : Don’t try to install SNORT through rpm packages, try(…)