Sie sind auf Seite 1von 16

LOKMANYA TILAK COLLEGE OF ENGINEERING

Sector-4, Koparkhairane, Navi Mumbai-400 709.


(2018-2019)
PROJECT TITLE

“Installation And Configuration Of Squid


Proxy Server ”
SUBMITTED BY

Sr.No Name Roll No.

1 Kunal Pandey 131

2 Nimish Koli 140

3 Prasad Tikare 147

UNDER THE GUIDANCE OF


Prof. Sanjivani Deokar

SUBMITTED TO
Department of COMPUTER ENGINEERING
LOKMANYA TILAK COLLEGE OF ENGINEERING
Courses accredited by
The Nation Board Of Accreditation (NBA)

PROJECT CERTIFICATE

This is to certify that the project entitled “Squid Server”

Sr.No Name Roll No.


1 Kunal Pandey 131
2 Nimish Koli 140
3 Prasad Tikare 147

Undertaken by
In the partial fulfilment of the requirement of University of Mumbai for the
Semester VII Examination, as Prescribed by Mumbai University. It is further
certified that above Students have completed all required phases of the Project.

Prof. Sanjivani Deokar Dr. Pravin Nikumbh


(Head of Department)
ACKNOWLEDGEMENT

I thank the people who were a part of this project in numerous ways, people who gave their
unending support right from the stage the project idea was conceived.The four things that go on to
make a successful endeavour are dedication, hard work, patience and correct guidance.I would like
to thank our Principal Dr.Vivek Yakkundi who as always been the source of inspiration.I would
like to thank our HOD Dr. Pravin Nikumbh for his support in academics.I am Thankful to Prof.
Sanjivani Deokar, Our subject coordinator for all the help she has rendered to ensure the successful
completion of the project.
I take opportunity to offer sincere thanks to Prof. Sanjivani Deokar who was very kind enough
to give us an idea and guide us throughout our project work.
I am thankful to all teaching staff who has shared their experiences and suggestion for
developing our project in better way.
Last but not the least, I would like to thank all our friends and family members for their
support, and all others who have coordinated to the completion of this project directly or indirectly.
ABSTRACT

“Squid Server” is a full-featured web proxy cache server application which provides proxy and
cache services for Hyper Text Transport Protocol (HTTP), File Transfer Protocol (FTP), and other
popular network protocols. Squid can implement caching and proxying of Secure Sockets Layer
(SSL) requests and caching of Domain Name
Server (DNS) lookups, and perform transparent caching. Squid also supports a wide variety of
caching protocols, such as Internet Cache Protocol (ICP), the Hyper Text Caching Protocol
(HTCP), the Cache Array Routing Protocol (CARP), and the Web Cache Coordination Protocol
(WCCP).

The Squid proxy cache server is an excellent solution to a variety of proxy and caching server
needs, and scales from the branch office to enterprise level networks while providing extensive,
granular access control mechanisms, and monitoring of critical parameters via the Simple Network
Management Protocol (SNMP). When selecting a computer system for use as a dedicated Squid
caching proxy server for
many users ensure it is configured with a large amount of physical memory as Squid maintains an
in-memory cache for increased performance.
INTRODUCTION
What is Squid??

Squid is a fully-featured HTTP/1.0 proxy which is almost (but not quite - were
getting there!) a fully-featured HTTP/1.1 proxy. Squid offers a rich access control,
authorization and logging environment to develop web proxy and content serving
applications. Squid offers a rich set of traffic optimization options, most of which are
enabled by default for simpler installation and high performance.

Where did Squid come from?

Squid is based on the Harvest Cache Daemon developed in the early 1990s. It was
one of two forks from the codebase after the Harvest project ran to completion. (The
other fork being what became NetappsNetcache.) The Squid project was funded by an
NSF grant (NCR-9796082) which covered research into caching technologies. The
ircache funding ran out a few years later and the Squid project continued through
volunteer donations and the occasional commercial investment. Squid is currently
being developed by a handful of individuals donating their time and effort to building
current and next generation content caching and delivery technologies. An ever-
growing number of companies use Squid to save on their internet web traffic,
improve performance, deliver faster browsing to their end-clients and provide static,
dynamic and streaming content to millions of internet users worldwide.

Who uses Squid today?

A good question! Many of you are using Squid without even knowing it! Some companies
have embedded Squid in their home or office firewall devices, others
use Squid in large-scale web proxy installations to speed up broadband and dialup
Department of Computer Engineering,MGMCET,Kamothe 1 Installation and
Configuration Of Squid Proxy Server internet access. Squid is being increasingly
used in content delivery architectures to deliver static and streaming video/audio to
internet users worldwide.

Why should I deploy Squid?

The developers of the HTTP protocol identified early on that there was going to be
exponential growth in content and, concerned with distribution mechanisms, added
powerful caching primitives. These primitives allow content developers and distributors
to hint to servers and end-user applications how content should be validated, revalidated
and cached. This had the effect of dramatically reducing the amount of bandwidth
required to serve content and improved user response times. Squid is
one of the projects which grew out of the initial content distribution and caching work
in the mid-90s. It has grown to include extra features such as powerful access control,
authorization, logging, content distribution/replication, traffic management and
shaping and more. It has many, many work-arounds, new and old, to deal with
incomplete and incorrect HTTP implementations

BENEFITS OF SQUID

Deploying SQUID on your enterprise network provides the following benefits:

• Use less bandwidth on your Internet connection when surfing the Web .
• Reduce the amount of time web pages take to load.
• Protect the hosts on your internal network by proxying their web traffic.
• Collect statistics about web traffic on your network.
• Prevent users from visiting inappropriate web sites at work or school Ensure
that only authorized users can surf the Internet
• Enhance your user’s privacy by filtering sensitive information from web requests.
Reduce the load on your own web server(s).
• Convert encrypted (HTTPS) requests on one side, to unencrypted (HTTP) requests
on the other.

FEATURES

SQUID proxy provides the following new features:

• Distributing the load over intercommunication hierarchies of proxy servers.


• Defining strict access control lists for all clients accessing the proxy and allowing
or denying access to specific web pages.
• It also can produce data about web usage patterns, for example:- statistics about
the most-visited web sites.
• Squid is not a generic proxy. It does also support the protocols FTP, Gopher, SSL
and WAIS, but it does not support other internet protocols, such as Real Audio,
news, or video conferencing. Because Squid only supports the UDP protocol to
provide communication between different caches, many other multimedia
programs are not supported.
INSTALLATION AND CONFIGURATION
Download the MSI from http://squid.diladele.com. Currently only 64 bit version is
provided.

After downloading, double click squid.msi. You have to be an administrator to be able to


install Squid on your computer.

After that simply, click “Next” button till the installation is finished. You can specify a
custom installation directory at the corresponding step (this is not recommended though).
When you click “Finish” the installation process is finished. You should see a squid
application appearing in the tray. This application allows you to start/stop the squid
service as well as change the squid configuration.

• During installation the MSI installer opened TCP port 3128 required to connect to your
Squid instance from another machines in your network. If for some reasons this does not
work or works not as expected please follow these steps to open required TCP ports.
• Type “Windows Firewall with Advanced Security” in the Start Search string on Windows 7
or 8 and press Enter. Click “Inbound Rules” and then “New Rule”.

Create an inbound rule to allow clients connect to the 3128 TCP port, the default port
where squid is running.
• The server side configuration is over. Now let’s configure the client side. For that you
have to specify the proxy in your browser, for example, for the Internet Explorer, go
to Tools (Alt + X ) / Internet Options and specify the IP address of the computer where
Squid is running. For example in our test lab the IP address is 192.168.0.16 (you can
identify this address by running the ipconfig /allcommand on the computer where Squid
is installed).
CONCLUSION

Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces
bandwidth and improves response times by caching and reusing frequently requested web
pages. Squid has extensive access controls and makes a great server accelerator. It runs on
most available operating systems, including Windows and is licensed under the GNU GPL.

• Making the most of your Internet Connection

Squid is used by hundreds of Internet Providers world-wide to provide their users with
the best possible web access. Squid optimises the data flow between client and server
to improve performance and caches frequently-used content to save bandwidth. Squid
can also route content requests to servers in a wide variety of ways to build cache
server hierarchies which optimise network throughput.

• Website Content Acceleration and Distribution


Thousands of web-sites around the Internet use Squid to drastically increase their
content delivery. Squid can reduce your server load and improve delivery speeds to
clients. Squid can also be used to deliver content from around the world - copying
only the content being used, rather than inefficiently copying everything. Finally,
Squids advanced content routing configuration allows you to build content clusters
to route and load balance requests via a variety of web servers.

References
[1] https://help.ubuntu.com/lts/serverguide/squid.html
[2] http://www.squid-cache.org/
[3] http://www.squid-cache.org/Intro/
[4] https://www.computersecuritystudent.com

Das könnte Ihnen auch gefallen