山内です。 試してないことは断っておいて _o_ > うちうみと申します。 > > やりたいこと: > 【通常時】 > クライアント > | > port8080 > ↓ > Proxy > | > port3128 > ↓ > 上位proxy > > 【特定URLのリクエストがあった時のみ】 > クライアント > | > http://xx.yy.zz > ↓ > Proxy > | > port18080 > ↓ > 特定proxy > ↓ > xx.yy.zz > > cache_peerだとか、cache_peer_domainあたりをイジれば > いいのかな〜と考えましたが、「特定URL」と「特定ポート」 ソース(2.3.STABLE4)に付いていた squid.conf を見ると、 # # proxy icp # # hostname type port port options # # -------------------- -------- ----- ----- ----------- # cache_peer parent.foo.net parent 3128 3130 [proxy-only] # cache_peer sib1.foo.net sibling 3128 3130 [proxy-only] # cache_peer sib2.foo.net sibling 3128 3130 [proxy-only] #EXAMPLE: # cache_peer parent cache.foo.org 3128 3130 # neighbor_type_domain cache.foo.org sibling .com .net # neighbor_type_domain cache.foo.org sibling .au .de という部分があるので、 cache_peer 上位proxy parent 3128 8080 default cache_peer 特定proxy parent 3128 18080 neighbor_type_domain 特定proxy parent xx.yy.zz みたいな感じでできそうな気もするのですがどうでしょう? -- 山内 朋浩 handy _at_ nid.co.jp
References:
- [linux-users:79017] squidで特定URLのみ特定ポートで特定サーバにフォワードTsuyoshi Uchiumi
- Prev by Subject: [linux-users:79026] Re: netatalk におけるumask
- Next by Subject: [linux-users:79028] Re: telnetd を組み込むには?
- Previous by thread: [linux-users:79017] squidで特定URLのみ特定ポートで特定サーバにフォワード
- Next by thread: [linux-users:79025] rtl8139 probrem.
- Indexes:[Main][Thread]