Article Title: full introduction to squid proxy service in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Proxy provides two services: first, allow users who cannot directly access the Internet to access the Internet,
I. basic configuration
Configure two NICs for the Squid Proxy Server
WAN: eth0: 10.10.10.200 gateway and DNS must be configured to allow Internet access
LAN: eth1: 172.161.254 do not need to configure gateway or DNS
Clinet: 172.16.1.2/24 gateway and DNS need to be configured
Squid (proxy) Port: 3128
System
Host Name
Release date:Updated on:
Affected Systems:Squid 3.xDescription:--------------------------------------------------------------------------------Bugtraq id: 66112CVE (CAN) ID: CVE-2014-0128
Squid is an efficient Web Cache and proxy program.
An error exists in the status management implementation of SSL-Bump in versions earlier than Squid 3.3.12 and 3.4.4, which
Article title: use Squid to implement proxy Internet access and billing. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
---- The shortage of IP addresses is a real problem facing the rapidly developing network. how can we solve this problem? Connecting a computer with o
First, Caching Agent OverviewApplication layer of Agent service software, squid mainly provides cache acceleration, application layer filtering control function1, the agency's working mechanismFirst case: There is a cache in the Squid serverWhen a client requests a Web page through a proxy, the specified proxy server c
:
Service squid start
Note:Squid can also run automatically when the system is started by enabling Squid in ntsysv or setup (system service menu. InAfter any changes are made to the configuration file, the currently running Squid process must be restarted. You can use the following command to complete the process:
Service s
After the CentOS networking, run yum to installDefault is SQUID3Yum Install SquidAfter the installation is complete, the default squid does not start, but the service already exists in the service and we can start or stop it by commandSerivce Squid Status//Determine if the service is running Serivce squid start//start squidservice
Introduction to the proxy server squid
Squid cache (squid for short) is a popular free software (GNU General Public License) proxy server and Web Cache Server. Squid has a wide range of uses, from cache-related requests as front c
Squid reverse proxy cdn build configuration
Because of the business needs of the company, you need to build a cdn node somewhere by yourself. You can build a node by using DNSpod smart resolution and squid combination.
Installation path:/usr/local/squid
1. Install squid
Dow
Squid is a very popular server software under a UNIX-like system, and its most important function is to establish a cache between the client and the service. So squid can be used as a reverse proxy, deploy multilevel caches or build CDNs, whatever the name is, essentially the same. Currently there is also a ported version of
:
# Vi src/mysql_auth.confMysqld_socket/tmp/mysql. sock#/Usr/ccs/bin/make#/Usr/ccs/bin/make installCreate a user database:# Cd scripts# Mysql-u root-p ******
Test MYSQL_AUTH
1. Add a test user# Mypasswd llzqq 123456Password record ADDED succesfully.
2. Verify the created user# Mysql_authLlzqq: 1234560 K
3. delete an existing user and use this command.# Mypasswd-d username
3. Add the MYSQL_AUTH authentication section in SQUID. CONF.
# Vi/etc/
Proxy server, there is no need to introduce, simply say the installation process. At the beginning of the hosting24 above, installation, how the installation has not been successful, replaced by Linode, half an hour on the deal, Guess hosting24 the agent made restrictions.
One, server description
A foreign VPS (recommended Linode), service-side squid
A company's internal PC, can access the external netwo
urlpath_regex cgi-bin? # The two rows have no specific tests and should be related to CGI requests.
# No_cache deny Query
ACL all SRC 0.0.0.0/0.0.0.0
ACL manager proto cache_object
ACL localhost SRC 127.0.0.1/255.255.255.255
ACL ssl_ports port 443 563
ACL safe_ports port 80 # HTTP
ACL safe_ports port 21 # ftp
ACL safe_ports port 443 563 # https, snews
ACL safe_ports port 70 # Gopher
ACL safe_ports port 210 # wais
ACL safe_ports port 1025-65535 # unre
The normal proxy method is a connection request that proxies the internal network user to the server on the Internet, and the client must specify a proxy server and send a connection request that would otherwise be sent directly to the server on the Internet to the proxy server for processing.The reverse proxy method r
Squid agent is divided into "forward proxy" and "reverse proxy".The "Forward proxy" is mainly used for proxy users to access the external network, to manage the user's access behavior and to save the bandwidth (the/data/cache directory holds the cache of user access, and whe
Tags: proxy server firewall squid
1. Traditional proxy
Traditional proxies can hide IP addresses mostly for the Internet.
In Linux, squid is not installed by default. Therefore, you must install the support for the Perl Language Pack in red hat.
The Squid
basic children 5Auth_param basic credentialsttl 2 hoursAcl password proxy_auth REQUIREDHttp_access allow passwordAuthenticate_ip_ttl 2 hoursHttp_access deny all
Iv. Client settings
Fill in the IP address and port of the SQUID server in the proxy server settings of the browser:IP address 192.168.0.1: 3218
Enter the IP address, port, user, and password of the SQUID
1. Squid Introduction
1. Introduction to cache servers
A cache server is a dedicated server used to store webpages, images, files, and other information accessed by users (memory and hard disk). This server not only allows users to get the information they want as quickly as possible, in addition, the data volume transmitted over the network is greatly reduced, and the cache server is often a proxy server.
Build Squid Proxy Server
Prepare the environment:
Client: 192.168.118.4
Squid Proxy Server: 192.168.118.3 (intranet IP) 1.1.1.1 (Internet IP)
Web server: 1.1.1.2
Goal: the client accesses the Web server through the Squid Proxy S
/var/cache/squid 100 16 256coredump_dir/usr/local/squid/var/cache/squiddns_nameservers 114.114.114.114 #dnsrefresh_pattern ^ftp:1440 20% 10080refresh_pattern ^gopher:1440 0% 1440refresh_pattern-i (/cgi-bin/|\?) 0 0% 0refre Sh_pattern. 0 20% 4320Finally, attach the configuration details:#acl all src 0.0.0.0/0.0.0.0 and http_access the Allow all option defines an access control list. For deta
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.