erlug
[Top] [All Lists]

[Erlug] Configurare SQUID

To: erlug <erlug@xxxxxxxxxxxxxx>
Subject: [Erlug] Configurare SQUID
From: Marco <spiff1281@xxxxxxxx>
Date: Sat, 01 Nov 2003 11:33:00 +0100
scusate, ma sono un utonto, cosciente, che cerca di evolvere la sua
misera condizione e cerca di imparare qualcosa:

Vorrei fare da proxy http, solo per la rete locale, sulla porta 8080.
Perché squid non fa quello che gli dico io??? 

http://spiff1281.altervista.org/squid.conf

(se sono OT ditemelo!!)

Codice:
 http_port 8080 
auth_param basic children 5 
auth_param basic realm Squid proxy-caching web server 
auth_param basic credentialsttl 2 hours 

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 192.168.1.1/192.168.1.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 localhost 

http_access deny !Safe_ports 

http_access deny CONNECT !SSL_ports 
http_access allow localhost 

http_reply_access allow all 

icp_access allow all 


Codice:
[root@localhost root]# squid check 
FATAL: Could not determine fully qualified hostname.  Please set
'visible_hostname' 

Squid Cache (Version 2.5.STABLE3): Terminated abnormally. 
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys 
Maximum Resident Size: 0 KB 
Page faults with physical i/o: 355 
Aborted (core dumped)


--
Marco Fabbri @ UniversiBO

email: spiff1281@xxxxxxxx 
http://spiff1281.altervista.org 
https://www.universibo.unibo.it 



--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Sconti fino al 20% per i magnifici bouquet di Artefiori! Clicca qui!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?midu0&d=1-11

<Prev in Thread] Current Thread [Next in Thread>