精華區beta NetSecurity 關於我們 聯絡資訊
TWNIC Proxy Cache Server 正式開放 TWNIC 即日起提供 http 之 Proxy Cache 服務,如果您想加 快對國外之連線,歡迎使用本 Proxy Cache Server. 以下是本 Proxy Cache Server 基本介紹: 採用 Squid Cached 1.1.beta19(Harvest Cached 後續版), Port 3128 ,磁碟機容量約為 2G. 因為 Beta 版,仍在測試階段,如有發現任何異常現象,請速通知 系統管理者.如果您對此系統目前運作狀況有興趣的話,可以使用Cache Manager瞭解一下或參考設定檔(squid.conf) 如何設定 Proxy ? Netscape: Options -> Network Preferences... -> Proxies (3.0 only) 選擇 Manual Proxy Configuration 並按下 View 在 FTP/Gopher/HTTP Proxy: 中填上 www.twnic.net 在相對的 Port: 填上 3128, 建議在 No Proxy for: 填上 twnic.net,edu.tw (或 tw 若您只想對 tw 的站做直接 access) Internet Explorer: The Internet -> properties -> Advanced -> 選擇 Use Proxy Server 在 Proxy Server: 填上 www.twnic.net:3128 在 Bypass proxy on: 填上 twnic.net Internet Explorer 3.0(中文): 檢視 -> 選項 -> 連線 在 透過 Proxy 伺服器連線到 Internet 上打勾並按下 設定值 按鈕 分別在 HTTP/FTP/Gopher 的 Proxy 位址 填上 www.twnic.net 並在 連接埠 中填上 3128 在 開頭是下列位址不使用 Proxy 中填上 *.twnic.net 打勾 近端(intranet)位址不使用 proxy 伺服器 即可 Unix: (Mosaic, Lynx...) 適合 sh, bash, ksh, zsh ftp_proxy="http://www.twnic.net:3128/" gopher_proxy="http://www.twnic.net:3128/" http_proxy="http://www.twnic.net:3128/" no_proxy="twnic.net" export ftp_proxy gopher_proxy http_proxy no_proxy 適合 csh, tcsh setenv ftp_proxy "http://www.twnic.net:3128/" setenv gopher_proxy "http://www.twnic.net:3128/" setenv http_proxy "http://www.twnic.net:3128/" setenv no_proxy "twnic.net" 以下是國內其他使用 Harvest/Squid Cached 之 Server 一覽表: 地 區 Hostname TCP Port Cache Size 開 放  台北 www.twnic.net 3128 2000 MB Yes  台北 spring.edu.tw 80 800 MB Yes 台北台大 w3.ntu.edu.tw 3128 2048 MB Yes 台北台大 proxy.ee.ntu.edu.tw 3128 3000 MB Yes 台北台大 www.phys.ntu.edu.tw 80 600 MB Yes 台北台大 pluto.csie.ntu.edu.tw 80 300 MB Yes 台北師大 www.math.ntnu.edu.tw 3128 1000 MB Yes 台北師大 hp715.math.ntnu.edu.tw 8080 100 MB Yes 台北淡江 proxy.tku.edu.tw 3128 1740 MB Yes 台北世新 maltese.gc.wcjc.edu.tw 8080 不詳 Yes 台北建中 www.ck.tp.edu.tw 8080 不詳 Yes 台北蘆洲 proxy.lcjh.tpc.edu.tw 8080 100 MB Yes 省環保處 www.twdep.gov.tw 3128 500 MB Yes 中 研 院 physbbs.iams.sinica.edu.tw 3128 200 MB No 中 研 院 proxy.ihp.sinica.edu.tw 3128 2000 MB No 中華電信 proxy.tl.gov.tw 8080 不詳 No 中壢中央 www.ncu.edu.tw 3128 1000 MB Yes 中壢中央 runn.ncu.edu.tw 3128 100 MB Yes 中壢中央 proxy.csie.ncu.edu.tw 80 1000 MB Yes 中壢中央 ds65.csie.ncu.edu.tw 3128 1024 MB Yes 中壢中央 dbgem.csie.ncu.edu.tw 80 900 MB Yes 中壢中央 axp2.csie.ncu.edu.tw 3128 200 MB Yes 中壢中央 dufu.math.ncu.edu.tw 3128 200 MB No 中壢萬能 proxy.vit.edu.tw 8080 500 MB Yes 新竹交大 proxy.nctu.edu.tw 80 2700 MB Yes 新竹交大 proxy.cis.nctu.edu.tw 80 1200 MB Yes 新竹交大 proxy.csie.nctu.edu.tw 3128 不詳 Yes 新竹交大 saturn.csie.nctu.edu.tw 3128 1000 MB Yes 新竹交大 venus.csie.nctu.edu.tw 3128 1000 MB Yes 新竹交大 mobile.cm.nctu.edu.tw 8080 不詳 Yes 新竹交大 hp-demo.nctu.edu.tw 3128 900 MB No 新竹清華 proxy.life.nthu.edu.tw 3128 500 MB Yes 新竹中華 proxy.chpi.edu.tw 3128 1000 MB Yes 新竹工研院 lumina.ccl.itri.org.tw 3128 300 MB Yes 台中中興 www.nchu.edu.tw 3128 200 MB Yes 台中逢甲 proxy.cc.fcu.edu.tw 8080 2000 MB Yes 台中靜宜 www.lib.pu.edu.tw 8080 300 MB Yes 嘉義中正 proxy.ccu.edu.tw 3128 4000 MB Yes 嘉義中正 laputa.ccu.edu.tw 80 240 MB Yes 嘉義中正 www.ccunix.ccu.edu.tw 80 160 MB Yes 嘉義中正 math.ccu.edu.tw 80 64 MB Yes 台南成大 libsun1.lib.ncku.edu.tw 3128 100 MB Yes 高雄中山 proxy.nsysu.edu.tw 3128 3072 MB Yes 高雄高苑 proxy.kyit.edu.tw 3128 不詳 Yes 高雄輔英 proxy.fy.edu.tw 3128 不詳 Yes WowNet proxy.wownet.net 8080 2048 MB Yes WowNet vhost.wownet.net 3128 500 MB Yes WowNet proxy.tpe.wownet.net 3128 500 MB Yes WowNet proxy.txg.wownet.net 3128 不詳 No ISL proxy.isl.net.tw 8080 1300 MB Yes MUD www.mud.com.tw 80 1000 MB Yes LinkEase linux486.tp.silkera.net 8000 800 MB Yes Easy-Cafe proxy.easy-cafe.com.tw 3128 500 MB Yes Datatec proxy.datatec.com.tw 8000 500 MB Yes Jaeger proxy.jaeger.com.tw 8080 200 MB Yes BluesTown proxy.bluestown.com.tw 8080 不詳 Yes ThreeWell proxy.threewell.com.tw 80 不詳 Yes CableNet www.cablenet.com.tw 3128 不詳 Yes View www.view.com.tw 3128 不詳 Yes Solution proxy.solution.com.tw 3128 1024 MB No Enlighting adp.enlighting.com.tw 8080 600 MB No Trinova www.trinova.com.tw 8080 150 MB No ArchTek proxy.archtek.com.tw 3128 100 MB No OneWay proxy.oneway.com.tw 3128 不詳 No 928 proxy.928.com.tw 3128 不詳 No humanix proxy.humanix.com.tw 3128 不詳 No HiNet proxy.hinet.net 80 1500 MB No Kramer www.kramer.com.tw 不詳 不詳 不詳 FB dns.fb.com.tw 不詳 不詳 不詳 Harvest/Squid Cached 是美國政府大力支持下之研究計畫.除本身具 proxy cache 功能 外,它的 neighbor query 功能亦減少了不少遠距傳輸之流量,在資訊高速公路塞車的台 灣來說,相當有幫助.當然,neighbor hit 之功能能否發揮要視各主機的 cache 容量, 保留時間與使用者取用各資源之頻率而定.以下是本伺服器觀察數日以來 Hit Rate 較高 之主機,適合當 Neighbor . Hostname Port Hostname Port www.twnic.net 3128 spring.edu.tw 80 w3.ntu.edu.tw 3128 proxy.tku.edu.tw 3128 www.ncu.edu.tw 3128 proxy.csie.ncu.edu.tw 80 proxy.nctu.edu.tw 80 proxy.cis.nctu.edu.tw 80 proxy.csie.nctu.edu.tw 3128 proxy.cc.fcu.edu.tw 8080 proxy.nsysu.edu.tw 3128 proxy.ccu.edu.tw 3128 proxy.wownet.net 8080 proxy.isl.net.tw 8080 如果您對 Harvest/Squid Cached 有興趣,可參考以下 URL: Harvest Cached Harvest Commercial Cached 2.0 Squid Cached NLANR caching prototype 或在此 download sources: Harvest Cached 1.4 or Squid Cached 1.0 or Squid Cached 1.1.beta . 如果您使用了 Harvest/Squid Cached, 建議您在設定 Neighbor 時可以注意以下的設法: local_domain your.sub.domain. local_ip your.ip.network cache_host proxy.nctu.edu.tw neighbor 80 3130 [proxy-only] cache_host www.ncu.edu.tw neighbor 3128 3130 [proxy-only] cache_host proxy.nsysu.edu.tw neighbor 3128 3130 [proxy-only] NOTE: 要不要設定 proxy-only, 依以下情況而定: 1.本身 cache 空間小, 且很容易滿, 則建議使用 proxy-only. 2.讓 Server 跑幾天後以 cache manager 檢查 Cache Server List, 如果 neighbor 的反應較遲鈍, 如 PINGS ACKED 在 50% 以下, 則不設 proxy-only. cache_host_domain www.nctu.edu.tw !.nctu.edu.tw cache_host_domain www.ncu.edu.tw !.ncu.edu.tw cache_host_domain proxy.nsysu.edu.tw !.nsysu.edu.tw 即當以某主機為 neighbor 時,在 cache_host_domain 部份則避開該 Domain Network. 又由於 Hinet 與 TANet 之間仍有頻寬問題, 建議兩者之間若設為 neighbor 時, 應將整 個 .tw 排除掉, 或排除同屬區網的部份. 如 在 *.edu.tw 的 Proxy Server 選擇 *.com.tw (或 *.net.tw 和 *.net) 等商業單位之 Server 做為 neighbor 時, 應設為 cache_host_domain XXXX !.edu.tw (或 !.tw). 或如果您想完全不把國內之 request 轉向 neighbor 查詢的話,則可對國內之機器設定為 local domain/ip: local_domain tw twnic.net hinet.net acer.net silkera.net wownet.net local_ip 134.208.0.0 local_ip 139.175.0.0 local_ip 139.223.0.0 local_ip 140.0.0.0 local_ip 163.13.0.0 local_ip 163.14.0.0 local_ip 163.15.0.0 local_ip 163.16.0.0 local_ip 163.17.0.0 local_ip 163.18.0.0 local_ip 168.95.0.0 local_ip 192.72.0.0 local_ip 192.83.0.0 local_ip 192.192.0.0 local_ip 202.39.0.0 local_ip 203.64.0.0 local_ip 203.65.0.0 local_ip 203.66.0.0 local_ip 203.67.0.0 local_ip 203.68.0.0 local_ip 203.69.0.0 local_ip 203.70.0.0 local_ip 203.71.0.0 local_ip 203.72.0.0 local_ip 203.73.0.0 local_ip 203.74.0.0 local_ip 203.75.0.0 local_ip 203.76.0.0 local_ip 203.77.0.0 local_ip 203.78.0.0 local_ip 203.79.0.0 local_ip 210.64.0.0 Send your comment to WWWadm.