Know the service running in a port – Linux

In our previous article we explained the steps for windows. Here you can find the steps to identify the service running in a port on linux . Here we used commands “fuser” and “PS”. I am using apache2 web server  on port 80. Replace your port number with 80 (my example with port 80 )
Run [...]

[ More ] April 21st, 2010 | 2 Comments | Posted in Security, Servers |

keytool IUI to manage SSL Certificate in Glassfish Web Server

To setup SSL in different java based web servers like Apache, Tomcat, Glassfish, we generally use the keytool command line to create certificate, generate CSR etc…,  which is a bit complicated and confusing if you are not well versed with the keytool command line, We can make our life much more easier, by using Keytool [...]

[ More ] April 8th, 2010 | No Comments | Posted in Networking, Servers |

Syslog server installation / configuration – Debian

Here is the step by step Installation procedure of a Syslog Server.  Here I Used Debian platform.  If you are in a different platform please check your file names and path.

[ More ] April 6th, 2010 | No Comments | Posted in Networking, Servers |

Use AWK to print column’s from file

In many times, we all may required an output of specific column in a file, for example we want to know the users in the system, for this we need to open passwd file in /etc folder and view, but the file is having so much of information, it is time consuming  to takeout user [...]

[ More ] April 1st, 2010 | No Comments | Posted in Misc |

Debian lenny Colorful Bash prompt and file names

Fancy bash and ls color is helpful feature in linux. Once we install Debian lenny, the bash prompt and ls result will show in normal ( black and white ). so i planed to make some changes in the profile file. This will helpful for Linux server administrators.

To change in to a colorful prompt do [...]

[ More ] March 25th, 2010 | 1 Comment | Posted in Misc |

“alias” use it for a good reason

In Linux we all work with lots of log files, like mail, squid, application etc…., all these files located in its own folder, for example, if we want to look for squid access log to monitor the site access, generally we do tail -f /var/log/squid/access.log, this involves lots of typing, we can make this simple [...]

[ More ] March 24th, 2010 | No Comments | Posted in Misc |

Printing command from history without executing

We all know that, BASH stores the commands we entered in the terminal to .bash_history, we can see those commands using history command. Commands in the history can be executed by ! followed by the number,  !5 (5th command in the history will get executed). But what if we only need to print the command, [...]

[ More ] March 22nd, 2010 | No Comments | Posted in Misc |

Listing only active configuration from filename using grep

Imagine a situation that  you want to see only the active configuration of squid.conf which is having 3532 line, to see the configuration you have to navigate through whole file from top to bottom, use this command to make your life easier.

[ More ] March 20th, 2010 | No Comments | Posted in Misc |

Matriux – Open Source Security Distribution

We are extremely happy to announce the much awaited Matriux Open Source Security Distribution released at Club Hack 2009. Now it is available for download from www.matriux.com
The Matriux is a phenomenon that was waiting to happen. It is a fully featured security distribution consisting of a bunch of powerful, open source and free tools that [...]

[ More ] January 8th, 2010 | 2 Comments | Posted in Security, Softwares |