How can I use TCPDUMP to determine the top talker on my network?
tcpdump -tnn -c 20000 -i eth0 | awk -F “.” ‘{print $1″.”$2″.”$3″.”$4}’ | sort | uniq -c | sort -nr | awk ‘ $1 > 100 ‘ download in bash script top-talker.sh.txt-remove download and rename the file t-...
View ArticleHow to backup MySQL databases
rm -f /backup/mysql* ### System Setup ### BACKUP=/backup NOW=$(date +”%d-%m-%Y”) ### MySQL Setup ### MUSER=”mysqluser” MPASS=”password” MHOST=”localhost” MYSQL=”$(which mysql)” MYSQLDUMP=”$(which...
View ArticleManage Time in Ubuntu Through Command Line
Manage Time in Ubuntu Through Command Line Posted in configuration by hs on December 6, 2007 What if you would like to manage your computer’s time in Ubuntu? It’s easy if you are in a graphical desktop...
View ArticleLinux Tuning Parameters
KernelTo successfully run enterprise applications, such as a database server, on your Linux distribution, you may be required to update some of the default kernel parameter settings. For example, the...
View ArticleVI editor
Open vi filename Close/Quit/Quit without save :q = close the file, if you didnt modified anything :q! = close the file even u modified and dont want to save it : Save/ Save quit :wq = save and exit =...
View ArticleHow To Install and Configure Squid as Transparent Proxy Server under Linux...
Squid is a proxy server and web cache daemon. It has a wide variety of uses: caching web, filtering traffic, caching DNS and other computer network lookups for a group of people sharing network...
View ArticleTrying to drop a DDoS attack using TTL and Length in iptables
Considering that there is a fairly big amount of DDoS attacks going around and not so many free tools available to work against this on a server level everyone will try to get the best of what he has...
View ArticleHow to install MRTG under Linux
1. Introduction MRTG (Multi Router Traffic Grapher) is an application that allows us to observe the traffic of a network. It generates html pages with graphs which are refreshed according to our...
View Articlehow to Setup of VSFTPD with virtual users
If you are hosting several web sites, for security reason, you may want the webmasters to access their own files only. One of the good way is to give them FTP access by setup of VSFTPD virtual users...
View ArticleHow to Install & Configure Vsftpd on RHEL/CentOS/Ubuntu/Fedora with Chroot users
How to Install and Configure Vsftpd Ftp Server on RHEL 6/ CentOS 6.2/ Ubuntu 11.10/ Fedora /Debian. VSftpd (Very Secure FTP Daemon) is an FTP server for Linux distributions. Vsftpd is the default FTP...
View ArticleHow to configure Intervlan Routing Through Router
********************************* Requirements: Three switches 2960 One router One DNS server Six PCs Three subnets for each VLAN subnet mask:(11...
View ArticleHow To Reset Router’s Password
step1: go to roter’s CLI mode, and reload it Router#reload Proceed with reload? [confirm] step2: during reloading press Ctrl+break monitor: command “boot” aborted due...
View Article
More Pages to Explore .....