Here is a small perl script to check if your site is under DDOS attack. I use this script to check our web server for certain attacks.
#!/usr/bin/perl
%ip_add=();
@list=`netstat -an |grep :80 |grep EST |awk ‘{print \$5}’ |awk -F: ‘{print \$1}’`;
foreach $line(@list) {
chomp($line);
$ip_add{$line}++;
}
$total=0;
foreach $line2(keys (%ip)) {
$total+=$ip{$line2};
print “$line2=$ip{$line2}\n”;
}
print “total=$total\n”;
— After you get a cheap web hosting deal, you should first go to the hosting product site to learn about it. Unlike others, bluehost as well as hostgator come with their own set of directions. —
Like this blog? Why not buy me a cup of coffee?
Filed under:
Perl, Scripting
DenyHosts is a script intended to be run by Linux system administrators to help thwart SSH server attacks (also known as dictionary based attacks and brute force attacks).
If you’ve ever looked at your ssh log (/var/log/secure on Redhat etc…) you may be alarmed to see how many hackers attempted to gain access to your server. Hopefully, none of them were successful (but then again, how would you know?). Wouldn’t it be better to automatically prevent that attacker from continuing to gain entry into your system?
DenyHosts also monitors the incoming connections into your server (mainly SSH, FTP, POP and anything with a login/password and logfile). It automatically blocks source IP’s by adding entries to /et/hosts.deny.
Download DenyHosts.
Like this blog? Why not buy me a cup of coffee?
iTALC - Intelligent Teaching And Learning with Computers. iTalc is an open source software use to monitor, view and control computers on your network or computer laboratory.
I know it is a tedious job to check the works of your students specially during laboratory, You have to go and check their computers individually just to see their progress, But with iTalc you don’t have to roam around the lab to check them, you can just sit and see what your students are doing and can also easily check the sites they are trying to access. What’s best with this software its free and run perfectly with Ubuntu.
For a complete tutorial click here.
Developers site.
Here’s a screenshot.

Like this blog? Why not buy me a cup of coffee?