Ads and banners not only unnecessarily consume bandwidth, but also distract users, and can be exceedingly irritating at times. Few ads and banners keep rotating and fetching new contents, and keep consuming bandwidth in the background.

SafeSquid can be configured to either blank out these ads and banners, or replace them with a custom html page or an image. In this tutorial I will explain how you can replace ads and banners with a custom html page. This requires configuring 3 sections, viz. Templates, Profiles and URL redirecting.

The first thing to do is to design an html page, to replace the ads and banners. Since many ads and banners are displayed in a small window, the html page that you design to replace them, should be as small as possible.

Here is a sample : Read the rest of this entry »

Posted in Uncategorized | No Comments »

In an earlier HowTo ‘Deploying A Content Filtering Proxy Server To Distribute Controlled Internet Access With SafeSquid’, I had explained the procedure for installing Content Filtering Proxy – SafeSquid. In this HowTo, I will explain how you can secure your network from virus and other malware, by installing ClamAV and integrating it with SafeSquid, to scan all in-coming content for virus, and block all infected content at the HTTP Gateway, even before it enters your network.

Virus Security In SafeSquid

SafeSquid has built-in connectivity to various daemon based anti virus software like ClamAV, Sophos, Avast, F-Prot, NOD32 and Kaspersky. It also has a universal ICAP (Internet Content Adaptation Protocol) client that can be used to connect to ICAP based security software like Dr.Web ICAP, Kaspersky Antivirus for Proxy Server, Trend Micro InterScan Web Security and Symantec Scan Engine.

You can even use multiple anti virus software with SafeSquid to simultaneously scan in-coming content. This does not cause any significant latency, since SafeSquid has a multi-threaded architecture.

Installing ClamAV And Integrating With SafeSquid

Change directory to /usr/local/src: Read the rest of this entry »

Posted in Uncategorized | No Comments »

Administrators can use SafeSquid to granularly distribute bandwidth across the network, depending on user, group, website being visited, mime or file type being accessed, and time / date range. This is achieved by defining the desired situation, by creating a profile under the Profiles section, and then allocating a specific bandwidth (QoS) to that profile.

For example, suppose this is what we would like to achieve:

  1. Morning 1000 hrs to 1100 hrs is the busiest time on the net for the Finance Department, and we have to ensure that their bandwidth is not choked during this time. To achieve this, we would like to reduce the speed at which all other users are allowed to surf during this time, so that the bandwidth can reserved for the Finance Department.
  2. The log reports show that a lot of bandwidth is being consumend by users on personal email sites. We do not want to block these sites, but would like to reduce the speed at which these sites are made available.
  3. We would also like to reduce the speed at which audio and video files can be downloaded.

We will now define the above three situations under Profiles section in the SafeSquid Interface.

Example 1:

Open the SafeSquid Interface in the browser and go to Config => Profiles => Submit.
Click on Add to add a rule to define the first situation, and create a rule like this: Read the rest of this entry »

Posted in Uncategorized | No Comments »

If Your Ubuntu System has set to use DHCP, you will want to change it to a static IP address here is simple tip

open the /etc/network/interfaces file.

sudo vi /etc/network/interfaces

If you are using DHCP for your primary network card which is usually eth0, you will see the following lines

auto eth0
iface eth0 inet dhcp

As you can see, it’s using DHCP right now. We are going to change dhcp to static, and then there are a number of options that should add and here is the example and you can change these settings according to your network settings.

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1

Restart the neworking service using the following command

sudo /etc/init.d/networking restart

Thanks to Author, source here

Posted in Uncategorized | No Comments »

The basics for any network based on *nix hosts is the Transport Control Protocol/ Internet Protocol (TCP/IP) combination of three protocols. This combination consists of the Internet Protocol (IP),Transport Control Protocol (TCP), and Universal Datagram Protocol (UDP).

By Default most of the users configure their network card during the installation of Ubuntu. You can however, use the ifconfig command at the shell prompt or Ubuntu’s graphical network configuration tools, such as network-admin, to edit your system’s network device information or to add or remove network devices on your system

Configure Network Interface Using Command-Line

You can configure a network interface from the command line using the networking utilities. You configure your network client hosts with the command line by using commands to change your current settings or by editing a number of system files.

Configuring DHCP address for your network card

If you want to configure DHCP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card

sudo vi /etc/network/interfaces Read the rest of this entry »

Posted in Uncategorized | No Comments »