Monday, July 9, 2012

Check if your system is infected with Alureon/ DNS Changer

Its 9th of July i.e. Malware Monday when there’s a risk that thousands of PC worldwide (including India) may lose their internet connection due to a virus called Alureon or DNS Changer Bot. Alureon is a malware designed to redirect the traffic to fake websites in order to steal user information such as financial transaction info or personal stuff like usernames, passwords e.t.c.
Alureon will also change the DNS of a system and redirect it to another server without any warning due to which that system won’t be able to access internet.
To check if your computer is infected or not; the DNS Changer Working Group created a list of websites which will tell you whether your PC is safe or not. One of such websites is Click on the website and it will tell you the status of your PC. If its GREEN your PC is safe but if its RED, your PC is possibly infected and you may lose your internet connection.

Saturday, June 4, 2011

Log File Path Names And Cache Directories

cache_dir Type Maxobjsize Directory-Name Mbytes Level-1 Level2
cache_dir ufs /usr/local/squid/cache 100 16 256

Maxobjsize refers to the max object size this storedir supports. It is used to initially choose the storedir to dump the object. -1 means 'any size'.

'Directory' is a top-level directory where cache swap files will be stored. If you want to use an entire disk for caching, then this can be the mount-point directory. The directory must exist and be writable by the Squid process. Squid will NOT create any directory.

'Mbytes' is the amount of disk space (MB) to use under this directory.

'Level-1' is the number of first-level subdirectories, which will be created under the 'Directory'.

'Level-2' is the number of second-level subdirectories, which will be created under each first-level directory. To create swap directory use /usr/local/squid/bin/squid –z option.

cache_access_log Directory-path/filename
cache_access_log /usr/local/squid/logs/access.log

This tag is used to specify the path of the access.log file, which logs the client request activity.

cache_log Directory-path/filename
cache_log /usr/local/squid/logs/cache.log

This tag is used to set the path of the Cache logging file.

cache_store_log Directory-path/filename
cache_store_log /usr/local/squid/logs/store.log

This tag is used to specify the location of the store.log, the file that logs the activities of the storage manager.

cache_ swap _log Directory-path/filename
cache_ swap _log /usr/local/squid/logs/ swap.log

This tag specifies the location for the cache "swap.log." This log file holds the metadata of objects saved on disk. It is used to rebuild the cache during startup. Normally this file resides in the first 'cache_dir' directory, but you may specify an alternate pathname here. Note, you must give a full filename, not just a directory. Since this is the index for the whole object list you CANNOT periodically rotate it.

If you have more than one 'cache_dir', these swap logs will have names such as:


The numbered extension (which is added automatically) corresponds to the order of the 'cache_dir' lines in this configuration file.

Customize Squid Error Messages

To customize the Squid errors you need to edit the Squid error template files.

On Ubuntu they are located in “/usr/share/squid/errors/English” (replace English with your specific Language).

Using the Squid error message you receive in your browser search in the the above directory until you find it.

I wanted to change the error message returned when a connection is refused or fails. This is located in the file ERR_ACCESS_DENIED file in the above mentioned directory

Opening this fiile in vi (as root or using sudo) and change the text.


Cpuz - CPU-Z is a freeware system profiler (system monitor) application for Microsoft Windows that detects the central processing unit, RAM, motherboard chipset, and other hardware features of a modern personal computer, and presents the information in one window.

Link : Downlaod

What is inSSIDer

inSSIDer is FREE, open-source Wi-Fi scanning software.

Link :