当前位置>主页 > 期刊在线 > 电子工程 >

电子工程2020年3期

CentOS 7 中 Squid 代理服务器的配置与实现
刘春,景建强,邵国强,孙涛,张丽华
(大庆师范学院,黑龙江 大庆 163712)

摘  要:Squid 代理服务器是下载速度快、缩短延时并缓存 Internet 数据的软件,可以通过正向代理、反向代理实现加快内部浏览互联网速度,提高网络的安全性。文章首先分析代理工作原理,提出正向代理、透明代理和反向代理三种类型的应用机制,然后详细阐述了 ACL 访问控制特性来灵活地控制用户访问时间、站点等,最后通过实验实现了 Squid 服务器的代理 机制应用。


关键词:代理缓存服务器;正向代理;反向代理;ACL 访问控制



中图分类号:TP316.81         文献标识码:A         文章编号:2096-4706(2020)03-0038-04


Configuration and Implementation of Squid Proxy Server in CentOS 7

LIU Chun,JING Jianqiang,SHAO Guoqiang,SUN Tao,ZHANG Lihua

(Daqing Normal University,Daqing 163712,China)

Abstract:Squid proxy server is a software with fast download speed,short delay time and cache Internet data,which can speedup the internal browsing speed and improve the network security through forward proxy and reverse proxy. This paper first analyzes the working principle of the agent,and puts forward three types of application mechanisms:forward agent,transparent agent and reverse agent. Then it elaborates the ACL access control characteristics to flexibly control user access time,site and other restrictions. Finally,itrealizes the application of Squid server’s agent mechanism through experiments.

Keywords:proxy cache server;forward proxy;reverse proxy;ACL access control


基金项目:教育部科技发展中心高校产学研创新基金项目(2018A01010);黑龙江省教育科学“十三五”规划 2019 年度重点课题(GJB1319002)


参考文献:

[1] 粟毅 .Linux 系统下 Web 网站服务器反向代理设计与实现 [J]. 信息与电脑(理论版),2018(18):75-77.

[2] 康志辉 . 基于反向代理的资源服务器重定向技术研究 [J].西安文理学院学报(自然科学版),2017,20(1):88-91.

[3] 孙莉娜 .RHEL5 中 Squid 代理服务器的配置与实现 [J].网络安全技术与应用,2014(4):50+53.

[4] 薛建,王信堂,曲守宁 . 使用 LVS 和 Squid 构建代理服务器集群系统 [J]. 计算机系统应用,2012,21(11):29-33.

[5] 李莉,杨柯,赵磊 . 基于 Linux 的 Squid 代理系统的研究和实现 [J]. 信息安全与通信保密,2012(10):72-74.


作者简介:

刘春(1970.03-),女,汉族,山东齐河人,网络工程系主任,教授,硕士研究生,工学硕士,主要研究方向:云计算、网络工程、软件工程;

通讯作者 : 

景建强(1998.10-),男,汉族,吉林长春人,本科,主要研究方向:容器云、网络工程。