PDA

View Full Version : Video chache server


miti2009
11-10-2010, 14:15
Salve. vorrei sapere un sistema per fare chaching dei video di youtube. utlizzo windows installato su un pc con una singola cheda di rete e squid 2.7. tempo fa ero riusto a fare i chaching dei video a anche se chiudevo il broswer squid continuava a scaricare il video. poi se aprivo la pagina chiusa il video me lo caricava in un filmine. vedevo che non lavora il ruter ma ben la rete tra pc squid e il mio compuner con quale navigo. ora l'ho reintallato ma non vuole scacaricare. ho salvato lavecchia configurazione di squid ma non so che ha.
se conoschete un sistema miglio anche linux. anche con doppia acheda di rete posso fare come in IPCOP.
ho trovato qulacosa ma mi fa installare tanto cose che poi non ci sono piu perche troppo vecche o non le vuole scaricare.

ecco la attuale config squid 2.7(credo che avevo la piu vecchia non ricordo bene) windows:
http_port 8888

cache_mem 500 MB
cache_dir ufs c:/squid/var/cache 20480 16 256

range_offset_limit -1
maximum_object_size 2000 MB
quick_abort_min -1

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access allow manager
http_access allow !Safe_ports
http_access allow CONNECT !SSL_ports
http_access allow all
http_reply_access allow all
icp_access allow all

visible_hostname miti2

coredump_dir c:/squid/var/cache

error_directory c:/squid/share/errors/Romanian

cache_mgr <[email protected]>