LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-22-2011, 02:58 PM   #1
takayama
Member
 
Registered: Sep 2009
Posts: 97

Rep: Reputation: 0
Problems with squid


Have some problem getting a ruleset/acl to work.
Here is from one the log:


aclMatchAclList: checking centos_hosts
aclMatchAcl: checking 'acl centos_hosts src "/etc/squid/linuxmachines"'
aclMatchIp: '192.168.1.5' found
aclMatchAclList: checking yum
aclMatchAcl: checking 'acl yum dstdomain "/etc/squid/yum_acl"'
aclMatchDomainList: checking 'mirrors.fedoraproject.org'
aclMatchDomainList: 'mirrors.fedoraproject.org' NOT found


Here is the file called yum_acl. http://pastebin.com/QsF5EqmR

Any ideas?
 
Old 12-23-2011, 07:49 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
I don't get what this squid configuration is trying to do ?

At which part are you getting these error messages?
mention your distro and post your squid.conf with a little more detail about your problem
 
Old 12-23-2011, 10:47 AM   #3
takayama
Member
 
Registered: Sep 2009
Posts: 97

Original Poster
Rep: Reputation: 0
Ah, i didnt really describe my setup.
I have a bunch of centos installation that are using yum through a squid server. In this case its the machine 192.168.1.5 that needs to connect to mirrors.fedoraproject.org (this is a epel repository). As you see in the yum_acl posted on pastebin mirrors.fedoraproject.org is there, but it still wont work. The squid is running on a centos 5.6 machine.
 
Old 12-26-2011, 05:03 PM   #4
takayama
Member
 
Registered: Sep 2009
Posts: 97

Original Poster
Rep: Reputation: 0
ttt
 
Old 12-27-2011, 11:43 AM   #5
Angela147
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Rep: Reputation: Disabled
すべてのこんにちは。
私は、私たちの大学のプロキシ経由でインターネットに配信される、私たちの大学のキャンパスの電気通信研究所の研究員です。
私は何を必要として透過型プロキシ作り、ポート3128へのすべてのポート80の接続を転送するために当社独自の内部プロキシを設定することです。
私はtldp上とnixcraftから他の記事でしてきたとの直接接続について、彼らはすべての話ではなく、プロキシ接続にプロキシ。

これは私の現在のsquid.confの出力です:
hierarchy_stoplistのcgi - bin?
ACL QUERY urlpath_regexのcgi - bin\?
NO_CACHEはQUERYを否定する
hosts_file/ etc / hostsファイル
にrefresh_pattern^ ftp:144020パーセント10080
にrefresh_pattern^リス:14400パーセント1440
にrefresh_pattern。 020パーセント4320
aclのすべてのsrc0.0.0.0/0.0.0.0
ACL Managerのプロトタイプcache_object
ACLはlocalhost srcの127.0.0.1/255.255.255.255
ACL to_localhost DST127.0.0.0/ 8
ACLのパージ方法のPURGE
ACLのCONNECTメソッドはConnect
http_accessは、マネージャのローカルホストを許可する
http_accessはマネージャーを否定する
http_accessは、パージのlocalhostを許可する
http_accessは、パージを否定する
ACL LANのsrc192.168.7.0/255.255.255.0
http_accessは、localhostを許可する
http_accessは、許可するLAN
http_accessは、すべてを否定する
http_reply_accessはすべて許可する
icp_accessはすべて許可する
visible_hostname hng.av.it.pt
coredump_dirの/ var / spool/ squidの
httpd_accel_host仮想
httpd_accel_port80
上httpd_accel_with_proxy
上httpd_accel_uses_host_header
ACL LANのsrc192.168.1.1 192.168.2.0/24
http_accessは、localhostを許可する
http_accessは、許可するLAN


おかげで、ちょうどDONTもう何をすべきかを知っている
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid /var/log/squid/access.log problems fahadabdillahi Linux - Server 0 12-17-2010 01:10 AM
Problems with squid dellthinker Linux - Software 7 08-19-2009 04:03 PM
Squid problems billiejoex Linux - Software 1 01-13-2006 07:44 PM
Squid problems ... Pirahna Linux - Networking 3 12-06-2004 11:32 AM
Squid Problems Osiris123d Linux - Software 3 08-25-2004 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration