Security

Smooth procedure to upgrade Drupal 4.7.0 beta 5 to beta 6

I have just received the urgent security notification regarding to Drupal all versions. If you are using Drupal, please upgrade immediately! According to the announcement, the latest version are as follows.

  • Drupal 4.6.6
  • Drupal 4.5.8
  • Drupal 4.7.0-beta6

I upgraded howforge.com to beta 6 in last minute. Though, even it is just bugs fix version, there are lots of change from beta 5 to beta 6. Anyway, it is very easy to upgrade. Below is my instruction.

How to enable NAT in iptables

In my previous post regarding OpenVPN, I assumed that the machine is already running iptables as a gateway. If the machine is just a standalone server, you have to enable NAT gateway in iptables. In order to do that, modify /etc/sysconfig/iptables to follow below sample.

*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A POSTROUTING -o eth0 -j MASQUERADE
COMMIT
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -i tun+ -j ACCEPT
-A INPUT -i tap+ -j ACCEPT  

How to install OpenVPN on Fedora Core 2

Once you have a server and want to work like you sit in front of the console, you are looking for VPN. I have set many VPN on Linux servers. There are so many solutions and standards. Anyway, most of them rely on the standard and UDP protocol. UDP is good for tunneling but might not work correctly behide NAT and firewall. Usually, all networks allow to access web through web proxy. The web protocol, HTTP, relies on TCP protocol. OpenVPN is a VPN solution which supports both UDP and TCP at the same time. Cool! You can even establish VPN connection through HTTP proxy.

BitTorrent Client: The Big Three and their consortium

As of today, everyone knows what BitTorrent is with no doubt. To download/upload via BitTorrent, you need a kind of BitTorrent client. Lots of BitTorrent client has been developed during two years ago. BTQueue is one of them. Anyway, it seems The Big Three are sharing the biggest part of BitTorrent client in the wild.

  1. uTorrent 1.5
  2. BitComet 0.63

How to debug HTTP

Have you ever want to know what exactly happens during view a web page? If you are a web programmer, system programmer, or even hacker, you must have ever seen something being transmitted out of your machine and their responses. I am talking about the basic part to debug a web application. Basically, there are 2 basic choices to request a web page; GET and POST. Then data in your machine are encoded and sent to the web server via these request and get response, the web page, back. However, today technology is not as easy as I stated earlier. There are something about headers, cookies, content-type, and many more. You might get strange behavior due to incorrectly set cookie or assign wrong content-type. In this situation, you will be so happy if you know what are sent and received during the session. It is very useful information for all of us.

Register NOD32 in Thailand

I have been noticed about expiry of NOD32 on tomorrow! This is an urgent issue for me since I will be always attacked by Brontok.B whenever I attached my laptop to university’s network. Though, expiration only caused my laptop to have out-date virus signature, but it still recognizes Brontok.B. I am not sure there is not other virus or worm attempting to attack my laptop anyway.

As of today, it is very near the expiration time so I went out to purchase a new one. Luckily, it is very cheap, says 249 THB, about 6.5 USD. Actually, NOD32 is the cheapest anti-virus software in Thailand. Now it is in my hand. To use this new license, I have to register it first. Follow me.