Skip to main content

Posts

Showing posts from June, 2007
We are Being Watched! One thing you may have forgot is that Windows computers keeps files called index.dat. Unless you are a advanced user, like the advanced Nokia hacker, you cannot easily delete these files. These files are used by Windows Explorer as a database which runs as long as Windows is active. This file stores all of your search queries, web sites you visited, autocomplete, Internet Explorer history, cache, cookies, and recently opened files. These files remain even after a restart, and also after you clear any of your histories! These index.dat files can be use to recover what you opened, what you looked up, and what you typed into forms even if you think you have it erased. Why are these files there? Well, some people might say convenience and speed. But why does windows lock these files, and why is it so hard to delete them? Why are they hidden from the system? Everything is passed off as a feature to better help you live, but its true nature may be to invade your privac
Howto Deploy Ethernet MAC Address Filtering on CommGate 3.x Download Notepad++ from http://notepad-plus.sourceforge.net/uk/site.htm to edit the following text files from a Windows PC. You can then convert the text files into Windows and UNIX modes easily. Using Notepad++, create a text file and save it as rc.firewall.macaddr in /etc/rc.d directory. Add all the Ethernet MAC Addresses into file /etc/rc.d/rc.firewall.macaddr (one MAC Address per line) to filter it via the firewall rules in the following format; MACADDRS="\ 11:22:33:44:55:66 \ aa:bb:cc:dd:ee:ff \ 66:55:44:33:22:11" Note: Please change the MAC addresses with your own. Using WinSCP3 (downloadable from http://winscp.net/eng/download.php ), login to the CommGate 3.x system as user root and double-click on the following file /etc/rc.d/rc.firewall.local ( Note: Save a copy of the original file for backup purposes before you edit it as a precaution). Add the customize rule
How to setup an RSYNC Server on a CommGate Professional Server 3.x 1) Install the rsync daemon via apt-get by typing the following command on a CommGate system as user root; apt-get update apt-get install rsync 2) Create the rsync daemon configuration file so that we can start the xinetd service and the rsync daemon is automatically started. Edit the following files; vi /etc/rc.d/xinetd.d/rsync Add the following lines in the configuration file; # default: off # description: The rsync server is a good addition to # an ftp server, as it allows crc checksumming etc. service rsync { disable = no socket_type = stream wait = no user = root server = /usr/bin/rsync server_args = --daemon log_on_failure += USERID } 3) Configure the /etc/rsyncd.conf file as follow; ## This is the rsyncd configuration file to start the rsync ## daemon for remote
Shell script to restore your system settings after a Linux OS reinstall Reinstalling your operating system is never a fun or welcome task, but sometimes it's unavoidable. Restoring settings and downloaded applications after installing an operating system can take quite a bit of time, so after some research at linux.com, howtoforge.com and a lot of Googling, I've come up with a shell script to make things a bit easier. This technique does not take the place of a good external backup. I recommend backing up your important files to a place other than your computer, such as a NAS storage or DVD disc, because with a powerful enough shell script, you could accidentally wipe out hours of work in just a few seconds. When I installed CommGate Professional Server on my computer at home, I created a separate partition for the home directory which I used with Samba to share files in the network and keep all my data sync via rsync. If you do this, you can r