leletop
08-09-2009, 15:31
Ciao ragazzi ho un problema.....
Ho una debian con Squid/2.7.Stable3 questa è la mia configurazione
# Squid port is 3128; change it if you like
http_port 3128
visible_hostname debianVM
# disable icp
icp_port 0
# some acls
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
# basic authentication
# squid_passwd was generated with the htpasswd(1)
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
auth_param basic realm This is my basic auth
# auth_param basic children 5
# auth_param basic credentialsttl 2 hours
# Recommended minimum configuration:
acl daniele src 10.3.2.0/24
acl localhost src 127.0.0.1
acl all src 0.0.0.0/0.0.0.0
# Only allow cachemgr access from localhost
http_access allow daniele
http_access allow localhost
# no X-Forwarded-For header
forwarded_for off
# allow direct ftp, all other redirect to parent
always_direct allow daniele
always_direct allow localhost
Ora il problema è che sulla macchina daniele imposto il proxy, all'avvio di firefox mi chiede l'autenticazione e se nn inserisco "l'utenza" creata con htpasswd lui continua a chiedermi un account.
Inserendo l'account corretto però non mi apre la pagina web desiderata ma viene riportato il seguente messaggio:
The following error was encountered:
* Read Error
The system returned:
(104) Connection reset by peer
An error condition occurred while reading data from the network. Please retry your request.
Premesso che il firewall l'ho disabilitato per evitarmi rogne (lo aggiungerò appena funziona il proxy)
Cosa ho dimenticato di impostare?
p.s. il Proxy è una VM creata solo per prova ;) così da crearmi il file di consigurazione funzionante :-P
Grazie a tutti
Ho una debian con Squid/2.7.Stable3 questa è la mia configurazione
# Squid port is 3128; change it if you like
http_port 3128
visible_hostname debianVM
# disable icp
icp_port 0
# some acls
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
# basic authentication
# squid_passwd was generated with the htpasswd(1)
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
auth_param basic realm This is my basic auth
# auth_param basic children 5
# auth_param basic credentialsttl 2 hours
# Recommended minimum configuration:
acl daniele src 10.3.2.0/24
acl localhost src 127.0.0.1
acl all src 0.0.0.0/0.0.0.0
# Only allow cachemgr access from localhost
http_access allow daniele
http_access allow localhost
# no X-Forwarded-For header
forwarded_for off
# allow direct ftp, all other redirect to parent
always_direct allow daniele
always_direct allow localhost
Ora il problema è che sulla macchina daniele imposto il proxy, all'avvio di firefox mi chiede l'autenticazione e se nn inserisco "l'utenza" creata con htpasswd lui continua a chiedermi un account.
Inserendo l'account corretto però non mi apre la pagina web desiderata ma viene riportato il seguente messaggio:
The following error was encountered:
* Read Error
The system returned:
(104) Connection reset by peer
An error condition occurred while reading data from the network. Please retry your request.
Premesso che il firewall l'ho disabilitato per evitarmi rogne (lo aggiungerò appena funziona il proxy)
Cosa ho dimenticato di impostare?
p.s. il Proxy è una VM creata solo per prova ;) così da crearmi il file di consigurazione funzionante :-P
Grazie a tutti