Articles of 乌贼

URL中“SQUIDINTERNAL”string的用途是什么?

我已经看到string“SQUIDINTERNAL”出现在使用Squidcachingvideo的大量脚本示例中,但是没有一个解释了为什么他们使用了在域上附加的“SQUIDINTERNAL”string,例如: http://video-srv.youtube.com.SQUIDINTERNAL/ ://video-srv.youtube http://video-srv.youtube.com.SQUIDINTERNAL/ 使用它的目的是什么? 这是一个脚本示例: http : //wiki.squid-cache.org/Features/StoreUrlRewrite/RewriteScript

鱿鱼与ntlm身份validation运行缓慢

我们似乎有一个问题在我们的Windows系统上运行鱿鱼。 我们正在使用NTLM对我们的活动目录上的用户进行身份validation,但对于通过WAN访问的用户来说,似乎并不“缓慢”。 与服务器在同一子网上的用户似乎没有问题。 我们认为这是一个authentication问题,因为当我们把它关掉的时候开始好多了。 这是设置身份validation的configuration部分 – #Authentication Params auth_param ntlm program c:/squid/libexec/mswin_ntlm_auth.exe auth_param ntlm children 50 # Programs to get the groups out for the user external_acl_type win_domain_group ttl=120 %LOGIN c:/squid/libexec/mswin_check_lm_group.exe -G external_acl_type win_local_group ttl=120 %LOGIN c:/squid/libexec/mswin_check_lm_group.exe 任何人有任何想法可能会发生什么? 看起来我们在2.7版本 干杯卢克

使用squid进行简单的代理validation

我试图configuration鱿鱼要求authentication。 我有鱿鱼工作没有身份validation,比我 htpasswd -c /etc/squid3/passwd foo 在此之后,我已经取代了 http_access allow all 同 acl foo proxy_auth REQUIRED http_access allow foo http_access deny all 并补充说 auth_param basic program /usr/lib/squid3/ncsa_auth /etc/squid3/passwd auth_param basic credentialsttl 30 minutes auth_param basic casesensitive on 到/etc/squid3/squid.conf 。 现在,当我service squid3 restart ,我得到 stop: Unknown instance: squid3 start/running, process 12256 当我运行ps aux我找不到运行squid的进程,服务器无法连接。 为什么这不起作用? UPDATE squid3 -d […]

configuration鱿鱼在一个界面上下载大文件,并在另一个界面上做任何事情

我有两个互联网连接,一个具有较高的下载速度,但浏览速度慢。 另一个浏览速度快,但下载速度慢。 我尝试在squid中设置一个acl来pipe理这个,但是一切仍然只通过一个接口被路由。 这是我添加到我的squid.conf: acl downloads url_regex -i *\.(iso|exe|rar|zip|gz|img|deb) tcp_outgoing_address 192.168.1.107 downloads tcp_outgoing_address 10.0.0.19 我的浏览器被configuration为使用鱿鱼,它正在工作,但它只是路由stream量超过10.0.0.19。 我也试过: tcp_outgoing_address 10.0.0.19 !downloads

Squid客户端清除工具

我一直在使用清除工具即。 squidclient -m PURGE http://www.mysite.com/ 上面的命令将清除那个确切的链接,但是它将在caching中保留下面的所有内容。 (eghttp://www.mysite.com/page1) 我想知道有没有办法清除该url下的每个文件? 感谢提前露丝

反向代理与鱿鱼

我试图设置一个反向代理,以便我可以在我的networking上有多个Web服务器。 我目前有2个服务器: 10.0.0.45 – New Server Webserver/Squid Proxy 10.0.0.40 – Old Server Webserver 我能够使新服务器(10.0.0.45)上的端口1234上的所有stream量都在旧服务器(10.0.0.40)上发送到80。 但即时通讯现在有问题时,试图转发域名。 我想要这样转发: *.arcath.net -> 10.0.0.40 londinium.arcath.net -> 10.0.0.45 support.ed-itsolutions.com -> 10.0.0.40 我不太烦,如果我不得不手动添加所有的子域而不是*。 任何人都可以给我一个configuration的例子来做到这一点? 我的squid.conf看起来像这样: http_port 1234 defaultsite=10.0.0.45:80 cache_peer 10.0.0.40 parent 80 0 no-query originserver name=whitefall cache_peer_domain whitefall www.arcath.net blog.arcath.net .arcath.net cache_peer 10.0.0.45 parent 80 0 no-query originserver name=londinium cache_peer_domain londinium londinium.arcath.net […]

通过互联网访问Squid代理

我最近完成了在美国VPS上安装Squid,并且在本地工作正常(我通过设置http_proxyvariables和使用lynx来validation)。 我想通过互联网(作为anonymizer)访问这个代理,以便我可以看到一些广告在我的网站上显示美国stream量。 我已经设置了身份validation,所以滥用是没有问题的。 但是,我无法通过互联网访问代理。 我在squid.conf中设置了以下规则 允许所有的http_access 这是不可能做我想要的东西,或者我失去了一些东西? 端口3128在防火墙中是打开的,所以不是问题。 Squid在0.0.0.0上运行 谢谢Prateek

如何设置Squid的带宽上限

有没有办法设置一个较高的带宽限制,以便在任何时候Squid服务的总带宽不会超过上限? 温暖的问候 Supratik

鱿鱼率限制

我想限制从单个IP获得的请求的数量,使用squid(假设我必须使用squid出于政治原因),阻止那些在一段时间内请求过多的请求。 我正在考虑写一个简短的Perl脚本和一个external_acl_type,有一个延迟池,但我不确定哪些参数可以传递给帮助函数。 就像是: external_acl_type rate_limit / usr / bin / squid-access-control dst 但我不确定这是否会起作用?

鱿鱼日志HTTPS没有SSL碰撞

为了logging目的,我实现了一个透明的squid3代理。 我不会进行SSL冲突/ HTTPS解密,因为这太多了,无法在每个客户端上安装证书。 但是,我想logging传递给鱿鱼的CONNECT URL数据。 由于某种原因,它甚至不会loggingHTTPS请求上的根域,当这些域名一定是鱿鱼的时候。 有没有办法做到这一点? 我的/squid.conf : http_port 192.168.15.225:3128 http_port 127.0.0.1:3128 intercept icp_port 0 dns_v4_first off pid_filename /var/run/squid/squid.pid cache_effective_user squid cache_effective_group proxy error_default_language en icon_directory /usr/local/etc/squid/icons visible_hostname localhost cache_mgr admin@localhost logformat squid %ts.%03tu %tr %>a %>eui %>Hs %<st %rm %ru %un %<A %mt access_log /var/squid/logs/access.mac.log squid cache_log /var/squid/logs/cache.log cache_store_log none netdb_filename /var/squid/logs/netdb.state pinger_enable […]