Flux rss

Installing an easy HTTP proxy-cache (polipo)

Published by jak58, last update on Friday October 31, 2008 08:29:18 AM by jak58

Installing an easy HTTP proxy-cache (polipo)




Intro


Installing an HTTP proxy cache on your computer can bring several advantages:
It allows sharing of the Internet connection.
The cache will display pages faster, even if you do not share your connection.
It allows to optional filtering utility.

Polipo is an efficient and lightweight HTTP proxy cache.

Quick Installation


sudo apt-get install polipo


Then just configure the software (web browser ...etc) to use localhost:8123 as proxy.

Note that polipo is accessible only from your machine , thus reducing security constraints, however there is more room for modifications or any alternative configurations.

Among the options are:
Setting the memory and disk cache
Automatic filtering of HTTP headers such as user-agent, http-referer.
URL filter.

Allowing hosts on the LAN to connect


If your LAN is 192.168.0.0/24 and your proxy server 192.168.0.1, edit the following file /etc/polipo/config and add the lines:
proxyAddress = "192.168.0.1"
allowedClients = 127.0.0.1, 192.168.0.0/24


Then type sudo /etc/init.d/polipo restart to take into account the new configuration.

Changing the port


To change the port on which Polipo listen, add the following proxyPort parameter to: /etc/polipo/config
proxyPort = 3128
Remember to sudo /etc/init.d/polipo restart to apply changes

Use a proxy server parent


If you want Polipo sends its own requests to another proxy, add the following parameter:
parentProxy = "squid.example.org: 3128"

Using an alternative DNS server


For enhanced performance, Polipo makes its own DNS resolutions without the use of the operating system.
It uses the DNS registered directly in /etc/resolv.conf.

But you can request that Polipo use other DNS servers (e.g. to use OpenDNS). Simply add the following parameter:
dnsNameServer = 208.67.222.222, 208.67.220.220

Disabling IPv6


If you are not using IPv6, add this parameter:

dnsQueryIPv6 = no

More info


The main problem with polipo is its tendency to retain pages to much and this can cause problems for sites where you’ll have to login (Kioskea.net)

Learn more: Installing an HTTP proxy server (Squid)
[Ubuntu]Installing an HTTP proxy server (Squid) Installing an HTTP proxy server (Squid) 1.Installing the proxy 2.Configuring the proxy 2.1.Naming the proxy 2.2 Choosing the Port 2.3.Choosing the interface 2.4. Setting access rights and priorities 2.5. Authorizing access to group 2.6.... en.kioskea.net/faq/sujet-804-ubuntu-installing-an-http-proxy-server-squid
Network equipment - Proxy servers A proxy server is a machine which acts as an intermediary between the computers of a local area network (sometimes using protocols other than TCP/IP) and the Internet Most of the time the proxy server is used for the web, and when it is, it's an HTTP... en.kioskea.net/lan/proxy.php3
Disabling the DNS cache of Mozilla Firefox Disabling the DNS cache of Mozilla Firefox The Firefox web browser contains its own DNS cache independent of your operating system. For most users, it is quite convenient, it allows a faster web browsing as it doesn't have to request for... en.kioskea.net/faq/sujet-555-disabling-the-dns-cache-of-mozilla-firefox
[Debian] Debian GNU/Linux 4.0 AMD64 - Installing Skype[Debian] Debian GNU/Linux 4.0 AMD64 - Installing Skype Downloading Skype Installation Configuring Skype Downloading Skype mkdir /home/lami20j/src cd /home/lami20j/src wget http://www.skype.com/go/getskype-linux... en.kioskea.net/faq/sujet-808-debian-debian-gnu-linux-4-0-amd64-installing-skype
Install flashplayer under DebianInstall flashplayer under Debian To install the plugin flashplayer on a Debian, add the repository : deb http://www.backports.org/debian etch main contrib-backports in your sources.list. To perform this, open a console and log in as... en.kioskea.net/faq/sujet-860-install-flashplayer-under-debian
Download Windows XP SP3Download Windows XP SP3 Windows XP SP3 has a special installation package for IT professionals that is available through the official link of Microsoft http://www.microsoft.com/... Step 1: Click on the "Download" button on the page and... en.kioskea.net/faq/sujet-513-download-windows-xp-sp3
Can’t install redhat 8.0Hello, I am struck at installing redhat 8.0, when the screen comes on which media to install redhat from I don’t get options to install from DVD-ROM, the option I get NFS image, HTTP,FTP, and HARDDISK. I change bios to boot from DVD-ROM, and DVD-ROM... en.kioskea.net/forum/affich-13963-cana-t-install-redhat-8-0
OCS error Invalid command 'PerlSetEnv'Hello, I have just finished installing OCS Inventory Agent for Linux Server on Redhat Enterprise 4 but now my httpd service wont start, it is giving me the error below: Starting httpd: Syntax error on line 16 of /etc/httpd/conf.d/ocsinventory.conf:... en.kioskea.net/forum/affich-190-ocs-error-invalid-command-perlsetenv
Router configuration does not accept pwdHello, I have a Linksys WRT54G router. i followed the instructions to install product software on the main PC. after the setup completed, i tried accessing the configuration tools at http://192.168.1.1/. however, the router does not accept the default... en.kioskea.net/forum/affich-10557-router-configuration-does-not-accept-pwd
Download AnalogX ProxyAnalogX Proxy is a waiter very light proxy (238 KB), who allows all machines of your network to have the access to Internet thanks to a machine exchange. It understands protocols HTTP (webs), HTTPS (secure Web), POP3 (accept from the mail), SMTP (Send... en.kioskea.net/telecharger/telecharger-163-analogx-proxy
Download CCleanerCCleaner is a freeware cleaning tool to ensure privacy by deleting unused and temporary files from your system /!\ Do not install yahoo toolbar. It cleans Windows components such as: Temporary files Cookies, cache, URL history of Internet... en.kioskea.net/telecharger/telecharger-33-ccleaner
Download Multi InstallBy creating a CD or CDRom, you would definitely like to add it a menu for its launching and a better browse. Muti Install is program moved forward for the creation of menu of kickoff for CD / DVD. He allows so to create numerous programs from the... en.kioskea.net/telecharger/telecharger-755-multi-install
Internet - HTTP Since 1990 HTTP protocol (HyperText Transfer Protocol) has been the most widely used protocol on the Internet. Version 0.9 was only intended to transfer data over the Internet (in particular Web pages written in HTML. Version 1.0 of the protocol... en.kioskea.net/internet/http.php3
Installing a network adapter The purpose of this article is to set up a network to enable data exchanges between computers, resource sharing and network games. Is it therefore necessary to install a network card in each computer that may be part of the local area network. The... en.kioskea.net/configuration-reseau/installation-carte-reseau.php3
Intranet - Installing a DNS A DNS (domain name server) is a server that links names to the IP addresses of computers on a network. In order to set up such a server, it is necessary to install bind and named. They can be downloaded as RPM files (for Mandrake they are bind... en.kioskea.net/intranet/resdns.php3