Easter Eggs in OpenOffice

Several years ago I really love to find and test easter eggs embedded in Microsoft Windows applications. The easter eggs are so interesting to me. But when I switched to open source operating system, I am no longer find the easter eggs in open source applications.

Fortunately today I found several easter eggs embedded in OpenOffice applications (Writer and Calc). I’ve tested all the mentioned easter eggs in OpenOffice 3.2.x and they are working.

Here is the link if you want to know more.

OSSIM : Nagios3 Warnings

Recently I’ve successfully update my OSSIM machine from version 2.1.x to version 2.2.x. It took several times to finish the update process.

After restarting the machine, I found out several warning messages from Apache depicted in the following figure :

The warnings were caused by the conflict between several nagios-apache configuration files. In my case there are two configuration files (apache2.conf and nagios3.conf) soft-linked to the same configuration file :

The solution is just delete the “apache2.conf” file.

RPM Spec File for Suricata 0.8.x

Several days ago, Suricata version 0.8.1 was released. One of the change in this release is that the LibHTP is included with the Suricata package.

To ease the Suricata installation, I am developing an RPM spec file for openSUSE 11.1. It was based on the work of Josh at SecureMind and several openSUSE packagers.

Here is the files included in the RPM :


You can download the spec file here.

Refresh Your DNS Cache

Several days ago, when I pinged google.com, I saw the following :

$ ping pop.gmail.com
PING pop.gmail.com ( 56(84) bytes of data.
64 bytes from hit-adult.opendns.com ( icmp_seq=1 ttl=51 time=832 ms
64 bytes from hit-adult.opendns.com ( icmp_seq=2 ttl=51 time=936 ms

That couldn’t be right. So I investigated what cause this problem. Finally I found out that my DNS cache was messy, so I cleared it by issuing the following command :

# /etc/init.d/nscd restart
Shutting down Name Service Cache Daemon                               done
Starting Name Service Cache Daemon                                    done

I did a ping again :

$ ping pop.gmail.com
PING gmail-pop.l.google.com ( 56(84) bytes of data.
64 bytes from wa-in-f109.google.com ( icmp_seq=1 ttl=236 time=1354 ms
64 bytes from wa-in-f109.google.com ( icmp_seq=2 ttl=236 time=980 ms

Now it was right.

Cleaning up the Temp Files

Recently I noticed that my /tmp folder is messy. There are so many files and directories that are no longer needed.

I am afraid to remove them by hand, so instead I ask my system to do it by itself automatically.

Here are the steps I took to set my system to clean up the temp files automatically :

  • Start the YaST Control Center
  • Select System
  • Select /etc/sysconfig Editor
  • In the left pane, go to System, Cron
  • Expand the Cron menu by clicking on the “+” symbol
  • And change the following field according to my preferences :
    • CLEAR_TMP_DIRS_AT_BOOTUP : yes (default :no)
    • TMP_DIRS_TO_CLEAR : /tmp (default : /tmp)
    • MAX_DAYS_IN_TMP : 2 (default : 0)
    • LONG_TMP_DIRS_TO_CLEAR : /var/tmp (default:)
    • MAX_DAYS_IN_LONG_TMP : 30 (default: 0)
  • After I am done, I click “Finish“.
  • Reboot the machine to know the effect.

Here is the editor screenshot :


Now my /tmp folder is not messy anymore. :D

Have You Check Your 3G Modem Network Type?

If you got the following error message when you’re connecting to the Internet using 3G modem, you might want to check the 3G modem configuration first before you buy a new 3G modem.

# wvdial -C /etc/wvdial-modem.conf
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
--> No Carrier!  Trying again.
--> Sending: ATDT*99#
--> Waiting for carrier.

Continue reading