Block a particular
#service iptables start
#iptables -I INPUT -s 10.1.24.4 -j DROP
This command will simply drop any packet coming from the address 10.1.24.4
To list the chains:
#iptables -L -n
To make persist :
#service iptables status
#iptables-save (copy output)
#emacs /etc/sysconfig/iptables (paste output)
#service iptables restart
make sure iptables service start on default.
Friday, April 17, 2009
Subscribe to:
Posts (Atom)
Optimize Query Performance in MySQL Databases
Optimize Query Performance in MySQL Databases In this we learn step by step to Optimize Query Performance in MySQL Databases and cover below...
-
Change Views DEFINER without ALTER VIEW: UPDATE `mysql`.`proc` p SET definer = ‘root@localhost’ WHERE definer=’root@foobar’ AND db=’w...
-
If you accidentally created a file with a - in the beginning then you want to remove it, you have to do : rm ./-thefile
-
The Unix top command is designed to help users determine which processes are running and which applications are using more memory or process...