IPBlock – Graphical IP Blocker August 11th, 2009
iplist allows users with no or basic knowledge of iptables to filter (e.g. to block) network traffic
based on (automatically updated) lists. These lists have various formats and are sorted by different categories (e.g. countries, adware, corporations).
Â
IPBlock Features
- to protect your privacy while sharing with others
- to ban unwanted clients from servers
- to block whole countries or networks
- to block spam- and ad-servers
ipblock is part of the iplist package which can be downloaded from here
Download ipblock using the following command
wget http://puzzle.dl.sourceforge.net/sourceforge/iplist/iplist_0.14-0feisty1_i386.deb
Prerequisites
iplist requires a 2.6.14 kernel or later with the option CONFIG_NETFILTER_XT_TARGET_NFQUEUE enabled (module or build-in). On a standard Debian installation (Etch) the additional packages libnetfilter-queue1 and libnfnetlink1 are needed.
sudo aptitude install libnetfilter-queue1 libnfnetlink1 sun-java6-jre
If you are installing gusty install this package libnfnetlink0 (gutsy) instead of libnfnetlink1
Now we have .deb package we need to install this using the following comamnd
sudo dpkg -i iplist_0.14-0feisty1_i386.deb
This will install all the required packages for ipblock.
After the installation if you want to open ipblock go to Applications -> Internet -> ipblock.Once it opens you should see similar to the following screen

Lists Tab
The default choice for lists is similar to peerguardian.
- level1.gz – Anti-P2P organizations and known government addresses
- ads-trackers-and-bad-pr0n.gz – Advertising and data tracker servers
- spyware.gz – Malicious spyware and adware servers
- edu.gz – Educational institutions and universities
- bogon.gz – Spoofed IP-addresses
Custom p2p or dat lists can easily be added. Note that lists can optionally be compressed with gzip.These lists are maintained here
Settings Tab
All options can be configured in this tab. Auto-updating lists is important and the default choice of 2 days is reasonable. Using out-of-date lists is not recommended.
To ignore specific network traffic like HTTP or EMAIL (pop3) use the ignored ports section.

source here
rinetd redirects TCP connections from one IP address and port to another, with basic IP-based access control.rinetd is a single-process server which handles any number of connections to the address/port pairs specified in the file /etc/rinetd.conf. Since rinetd runs as a single process using nonblocking I/O, it is able to redirect a large number of connections without a severe impact on the machine. This makes it practical to run services on machines inside an IP masquerading firewall.
Â
Install rinetd in Ubuntu
sudo aptitude install rinetd Read the rest of this entry »
lanmap – Network discovery tool that produces nice 2d images August 11th, 2009
Lanmap Listens to all available traffic on the interface of your choice, figures out who’s talking to who, how much, using which protocols.
Â
This information is then put into a nice human-readable 2d image (various formats are available) which can be used to understand a network’s topology.
Install lanmap in Ubuntu
sudo aptitude install lanmap
This will complete the installation
Using lanmap
lanmap syntax Read the rest of this entry »
Request Tracker(RT) ticketing system for your Support Group August 11th, 2009
RT is an enterprise-grade ticketing system which enables a group of people to intelligently and efficiently manage tasks, issues, and requests submitted by a community of users.
Â
Request Tracker Features
RT is your organization’s focal point for tracking tasks, issues, knowledge, and collaboration.
It’s easy to submit, assign, prioritize, search, escalate, and report on issues.
RT keeps track of each ticket’s full history and metadata to help your organization better retain knowledge and analyze trends.
RT can track multiple projects for multiple teams within a single installation.
RT tracks critical system metadata, including time spent per action, due dates, and estimated time to completion.
It’s easy to record private comments that are not available to end-users.
RT’s web interface comes complete with an intuitive “iterative†search interface that allows end users to construct
complex queries by pointing and clicking within their web browsers
.
Users can save and edit queries later, using their browser’s “bookmarks†feature.
Install Request Tracker in Ubuntu
First you need to make sure you have enabled Universe Source list in /etc/apt/sources.list file
Now you need to install the following packages
sudo apt-get install request-tracker3.4 rt3.4-apache2 rt3.4-clients apache2-doc postfix postgresql postgresql-doc-7.4
lynx
This will start the installation it also installs the Additional services required for Request-Tracker, such as Apache2
- Web Server, Postfix – Email Server (for sending emails), & PostgreSql-7.4 – Database to Store the RT information.
At the time of installation it will prompt for your postfix configuration.In the “Postfix Configurationâ€:
I choose “Internet Siteâ€, because I preffer to have the system send emails without being dependant on a different mail
server.The logic behind that is because if the email Server goes down, the Ticket-Server should not follow.
Postfix is now set up with a default configuration. If you need to make changes, edit /etc/postfix/main.cf as needed.After modifying main.cf you need to reload the postfix using the following command.
sudo /etc/init.d/postfix reload
You will also see this: Configuring postgresql-common
Obsolete major version 7.4
The PostgreSQL version 7.4 is obsolete, but you still have the server and/or client package installed. Please
install the latest packages (postgresql-8.1 and postgresql-client-8.1) and upgrade your existing clusters with
pg_upgradecluster (see manpage).
Please be aware that the installation of postgresql………………
The old server and client………………
just click OK, as RT3.4 is certified with 7.4.
Configuring Request Tracker
Request Tracker configuration file located at /etc/request-tracker3.4/RT_SiteConfig.pm
You need to take backup before doing any changes to your config file using the following command
sudo cp /etc/request-tracker3.4/RT_SiteConfig.pm /etc/request-tracker3.4/RT_SiteConfig.pm.orig
Edit the configuration file using the following command
sudo vim /etc/request-tracker3.4/RT_SiteConfig.pm
Customize using the directions in the file and add this to the end of the file but before the “1;†…
Set($DatabaseHost , ‘localhost’);
Set($DatabaseRTHost , ‘localhost’);
If you want to see the sample configuration file check here
Create the user for the RT database
Enter the following commands
sudo su postgres
psql -d template1
CREATE USER rtuser WITH PASSWORD ‘wibble’ CREATEDB NOCREATEUSER; \q
exit
Setup Postgresql permissions
You need to take backup of postgresql config file using the following command
sudo cp /etc/postgresql/7.4/main/pg_hba.conf /etc/postgresql/7.4/main/pg_hba.conf.orig
Edit the file using the following command
sudo vi /etc/postgresql/7.4/main/pg_hba.conf
at the bottom of the file along with the other similar lines – but above existing entries.
###according to install.debian for request-tracker
host template1 rtuser 127.0.0.1 255.255.255.255 password
local template1 rtuser password
host rtdb rtuser 127.0.0.1 255.255.255.255 password
local rtdb rtuser password
save and exit the file
Now you need to do the following change
You need to take backup of postgresql config file using the following command
sudo cp /etc/postgresql/7.4/main/postgresql.conf /etc/postgresql/7.4/main/postgresql.conf.orig
Edit the file using the following command
sudo vi /etc/postgresql/7.4/main/postgresql.conf
change
#tcpip_socket = false
to
tcpip_socket = true
save and exit the file
Now you need to restart the postgresql database using the following command
sudo /etc/init.d/postgresql-7.4 restart
Create RT DataBase
Now you need to create RT Database using the following command
sudo /usr/sbin/rt-setup-database-3.4 –action init –dba rtuser –prompt-for-dba-password
#enter password at the prompt, we set it to wibble in the example above
Configuring Apache
You need to take backup of apache config file using the following command
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/default.orig
Edit the configuration file
sudo vi /etc/apache2/sites-available/default
Add the following line to the VirtualHost section of Apache from which you wish to serve RT
Include “/etc/request-tracker3.4/apache2-modperl2.confâ€
save and exit the file
If you want to see the sample apache config file check here
Enable Apache2 RewriteEngine
sudo cd /etc/apache2/mods-enabled/
sudo ln -s ../mods-available/rewrite.load .
Restart Apache web server
using the following command
sudo /etc/init.d/apache2 force-reload
Testing Web Interface
Now you need to point your browser to http://yourserverip/rt/
You should see similar to the following screen

In the above screen promted for username and password use
Username :- root
Password :- password
Once you logged in you should see the following screen

First thing you need to change the password via the Configuration menu
If you want more documentation about how to use RT check here
I have tested this in Ubuntu 6.10 (Edgy Eft) and it was working fine without any problem.
source here
Streaming Media Server in Ubuntu GNU/Linux Using Gnump3d August 11th, 2009
The GNU MP3/Media Streamer is a simple application which makes it possible to navigate through your audio and video collection via a browser, and stream playlists across a network.GNUMP3d is a streaming server for MP3s, OGG vorbis files, movies and other media formats.The software supports browsing, searching, and streaming all via your browser with support for MP3, OGG Vorbis, WMA and many other types of audio files.
Â
If you have a large music collection then streaming it across a LAN, or the internet, is a logical thing to do with it.Now we will have a look at gnump3d.
Gnump3d features
- Small, stable, portable, self-contained, and secure.
- Simple to install, configure, and use.
- Portable across different varieties of Unix, the GNU Operating System, and Microsoft Windows
platforms.
Install Gnump3d in Ubuntu
sudo apt-get install gnump3d
This will install all the required p Read the rest of this entry »

