282 lines
4.6 KiB
HTML
282 lines
4.6 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Software -Server/Proxy Network</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.60"><LINK
|
|
REL="HOME"
|
|
TITLE="Securing and Optimizing Linux"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Software -Networking"
|
|
HREF="soft-net.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Installed files"
|
|
HREF="chap27sec226.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Linux Squid Proxy Server"
|
|
HREF="chap28sec227.html"></HEAD
|
|
><BODY
|
|
CLASS="chapter"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Securing and Optimizing Linux: RedHat Edition -A Hands on Guide</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="chap27sec226.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="chap28sec227.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="chapter"
|
|
><H1
|
|
><A
|
|
NAME="pr6sserprnt"
|
|
>Chapter 28. Software -Server/Proxy Network</A
|
|
></H1
|
|
><DIV
|
|
CLASS="TOC"
|
|
><DL
|
|
><DT
|
|
><B
|
|
>Table of Contents</B
|
|
></DT
|
|
><DT
|
|
>28.1. <A
|
|
HREF="chap28sec227.html"
|
|
>Linux Squid Proxy Server</A
|
|
></DT
|
|
><DT
|
|
>28.2. <A
|
|
HREF="chap28sec228.html"
|
|
>Configure and Optimize</A
|
|
></DT
|
|
><DT
|
|
>28.3. <A
|
|
HREF="gnumaloc.html"
|
|
>Improve performance Using GNU malloc library</A
|
|
></DT
|
|
><DT
|
|
>28.4. <A
|
|
HREF="chap28sec229.html"
|
|
>Compile and Optimize</A
|
|
></DT
|
|
><DT
|
|
>28.5. <A
|
|
HREF="chap28sec230.html"
|
|
>Configurations</A
|
|
></DT
|
|
><DT
|
|
>28.6. <A
|
|
HREF="chap28sec231.html"
|
|
>Configure the <TT
|
|
CLASS="filename"
|
|
>/etc/squid/squid.conf</TT
|
|
> file -in <TT
|
|
CLASS="literal"
|
|
>httpd-accelerator mode</TT
|
|
></A
|
|
></DT
|
|
><DT
|
|
>28.7. <A
|
|
HREF="chap28sec232.html"
|
|
>Configure of the <TT
|
|
CLASS="filename"
|
|
>/etc/squid/squid.conf</TT
|
|
> file -/proxy-caching mode</A
|
|
></DT
|
|
><DT
|
|
>28.8. <A
|
|
HREF="chap28sec233.html"
|
|
>Configure the <TT
|
|
CLASS="filename"
|
|
>/etc/rc.d/init.d/squid</TT
|
|
> script file -/all configurations</A
|
|
></DT
|
|
><DT
|
|
>28.9. <A
|
|
HREF="chap28sec234.html"
|
|
>Configure the <TT
|
|
CLASS="filename"
|
|
>/etc/logrotate.d/squid</TT
|
|
> file</A
|
|
></DT
|
|
><DT
|
|
>28.10. <A
|
|
HREF="chap28sec235.html"
|
|
>Optimizing Squid</A
|
|
></DT
|
|
><DT
|
|
>28.11. <A
|
|
HREF="chap28sec236.html"
|
|
>Netscape Proxies Configuration</A
|
|
></DT
|
|
><DT
|
|
>28.12. <A
|
|
HREF="chap28sec237.html"
|
|
>Installed files</A
|
|
></DT
|
|
></DL
|
|
></DIV
|
|
><DIV
|
|
CLASS="highlights"
|
|
><A
|
|
NAME="AEN17875"
|
|
></A
|
|
><P
|
|
> Proxy-servers, with their capability to save bandwidth, improve security, and increase web-surfing speed are becoming more popular than ever. At this time only a few proxy-server programs are available. These proxy-servers have two main drawbacks:
|
|
<P
|
|
></P
|
|
><TABLE
|
|
BORDER="0"
|
|
><TBODY
|
|
><TR
|
|
><TD
|
|
> They are commercial.
|
|
</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
> They don't support <SPAN
|
|
CLASS="acronym"
|
|
>ICP</SPAN
|
|
>, <EM
|
|
><SPAN
|
|
CLASS="acronym"
|
|
>ICP</SPAN
|
|
> is used to exchange hints about the existence of URLs in neighbor caches</EM
|
|
> .
|
|
</TD
|
|
></TR
|
|
></TBODY
|
|
></TABLE
|
|
><P
|
|
></P
|
|
>
|
|
Squid is the best choice for a proxy-cache server since it is robust, free, and can use <SPAN
|
|
CLASS="acronym"
|
|
>ICP</SPAN
|
|
> features.
|
|
</P
|
|
><P
|
|
> Derived from the <TT
|
|
CLASS="literal"
|
|
>cached</TT
|
|
> software from the <SPAN
|
|
CLASS="acronym"
|
|
>ARPA</SPAN
|
|
>-funded Harvest research project, developed at the National Laboratory for Applied Network Research and funded by the National Science Foundation, Squid
|
|
offers high-performance caching of web clients, and also supports <SPAN
|
|
CLASS="acronym"
|
|
>FTP</SPAN
|
|
>, Gopher, and <SPAN
|
|
CLASS="acronym"
|
|
>HTTP</SPAN
|
|
> data objects. It stores hot objects in <SPAN
|
|
CLASS="acronym"
|
|
>RAM</SPAN
|
|
>, maintains a robust database of objects on disk, has
|
|
a complex access control mechanism, and supports the <SPAN
|
|
CLASS="acronym"
|
|
>SSL</SPAN
|
|
> protocol for proxying secure connections. In addition, it can be hierarchically linked to other Squid-based proxy servers for streamlined caching of pages.
|
|
</P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="chap27sec226.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="chap28sec227.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Installed files</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="soft-net.html"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Linux Squid Proxy Server</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |