Month: December 2009

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 a computer system or network that is designed to block unauthorized access while permitting authorized communications –Wikipedia.orgA IPtables firewall contains tables which in tern contains rules to block or unblock a perticular communication.A table can be a1.Filter table — Used to filter packets.2.NAT(Network Adress Translator) table — Used for NATing of source and destination ip address(Used for sharing internet)3.Mangale table — Its a combination of Filter and NAT tables4.RAW table — Used to for marking packets not to track. 1.Filter table : This is the default table which contaions three chains.a.INPUT Chain : To apply a rule on packets which are coming into the system.b.FORWARD Chain : For packets being routed through the systemc.OUTPUT Chain : For packets locally generated which are going out from the system.2.NAT table : This table is having three chains.a.PREROUTING Chain : For altering the packets as soon as they come in to the systemb.OUTPUT Chain : For packets locally generated which are going out from the system.c.POSTROUTING Chain : For altering the packets which are about to go...

Read More

Job Portal On Linuxnix.com — http://jobs.linuxnix.com

Some days back I faced a strange situation.. which i felt very much bad on my self. I have a word with one of the Orkut user who is in search of a Linux admin job. He scraped me “if any openings please inform me..” I got little bit angry and without second though I given him a bad reply 🙁 which is very much my fault. Then he replied me saying that i have said in some Orkut forums that “please ping me if you are in need of a job” which i did and forgot. So today...

Read More

BASH_History_Capabalities

Though this is a basic topic known to many of you, But I want to share so that some one will get new things.BASH(Broune Again Shell) is the default shell in Linux, which will act as a communicator between Kernel and user. Its having so many capabilities such asa.Short cutsb.Command chainingc.HistoryAs I mention we will see all about BASH shell history capabilities here. And I have divided this BASH capabilities in to three parts like basics, medium and advanced.Basic capabilities of BASH History:1.To see all the commands what we executed the previously#history2.To check the history size of your system#echo $HISTSIZE3.To check where is your history file, which stores all your the previous commands#echo $HISTFILE4.To browse history.Just press up/down arrow to browse history5.To see all the commands which have particular word#history  | grep stringExample:#history | grep cdMedium capabilities of Bash history:6.Some times browsing history is very tedious job and some times we are executing some big big commands so there is a capability in Bash to over come this ie search-i-reverse. For doing this press ctrl+r and type a string in the previous command which you want to execute. Lets see it with an exampleroot@krishna-laptop:~#(reverse-i-search)`se’: service winbind restartif you see above I just pressed ctrl+r and then started to type se, it is showing service winbind restart command, so I no need to type entire command and I have to...

Read More

Over 16,000 readers, Get fresh content from “The Linux juggernaut”

Email Subscribe

ABOUT ME..!

My photo
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.