Oct 19 2010

Faster Way To Create New MySQL User

Only 3 simple steps :)

CREATE USER 'full_priv_username'@'%' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO 'full_priv_username'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;

Aug 11 2009

Hotmail Delivery Tips for Sender ID and SPF

Original Post: http://www.clickz.com/3627253

By Stefan Pollard, ClickZ, Oct 10, 2007

With authentication quickly gaining acceptance among both e-mail receivers, like ISPs, and senders, like marketers and publishers, now’s a good time to examine how changes at Hotmail might affect your use of Sender ID and SPF records. Read more …

Apr 03 2009

Syntax to block an IP address under Linux

iptables -A INPUT -s IP-ADDRESS -j DROP

Replace IP-ADDRESS with actual IP address. For example if you wish to block ip address 65.55.44.100 for whatever reason then type command as follows:

iptables -A INPUT -s 65.55.44.100 -j DROP

If you have IP tables firewall script, add above rule to your script.

If you just want to block access to one port from an ip 65.55.44.100 to port 25 then type command:

iptables -A INPUT -s 65.55.44.100 -p tcp --destination-port 25 -j DROP

The above rule will drop all packets coming from IP 65.55.44.100 to port mail server port 25.

Apr 03 2009

An IDIOT trying to hack wordpress

[Fri Apr 03 20:31:30 2009] [error] [client 71.205.176.113] client denied by server configuration: /home/yeo/public_html/blog
71.205.176.113 – - [03/Apr/2009:20:31:30 +0800] “POST /blog/alton4533734/wp-signup.php HTTP/1.1″ 403 233 “-” “curl/7.18.2 (i386-pc-win32) libcurl/7.18.2 zlib/1.2.3″
[Fri Apr 03 20:31:31 2009] [error] [client 71.205.176.113] client denied by server configuration: /home/yeo/public_html/blog
71.205.176.113 – - [03/Apr/2009:20:31:31 +0800] “GET /blog/calandra8457410/wp-signup.php HTTP/1.1″ 403 236 “-” “Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)”
[Fri Apr 03 20:31:31 2009] [error] [client 71.205.176.113] client denied by server configuration: /home/yeo/public_html/blog
71.205.176.113 – - [03/Apr/2009:20:31:31 +0800] “GET /blog/alton4533734/wp-signup.php HTTP/1.1″ 403 233 “-” “Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)”

Read more …