Re: [squid-users] Redirection

2007-03-04 Thread Tek Bahadur Limbu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 27 Feb 2007 17:29:52 +0545
Tek Bahadur Limbu [EMAIL PROTECTED] wrote:

 
 Dear All,
 
 What will be my options if I want to redirect all of Squid's Error
 messages to another site, say, www.hotmail.com without the end-users'
 interruption?
 
 Do I need to write a re-director script or will a combination of ACLs
 plus editing error messages do this job for me?
 
 Thanks..
 

Dear All,

For this redirection, I should have edited the html error files
directly adding the a.href and meta.refresh  tags.

Thanking you...


 - -- 
 
 
 With best regards and good wishes,
 
 Yours sincerely,
 
 Tek Bahadur Limbu
 
 (TAG/TDG Group)
 Jwl Systems Department
 
 Worldlink Communications Pvt. Ltd.
 
 Jawalakhel, Nepal
 
 http://www.wlink.com.np
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.2.2 (FreeBSD)
 
 iD8DBQFF5Bm0VrOl+eVhOvYRApSyAJ4+HpYXmcjzE2RCpHMsMsO0mBoMsgCeIICd
 +pwRcmDKoshzBrBfg+DZUm4=
 =LE/1
 -END PGP SIGNATURE-
 


- -- 


With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFF6pcqVrOl+eVhOvYRAvi/AJwP5vykkOfSJLjGglnGc3jgD6Q3ugCeN3fB
Z7uBr5N8ed+THENrzcc2VzU=
=lwkM
-END PGP SIGNATURE-


Re: [squid-users] WWW-Authenticate error

2007-03-04 Thread Erestor Elensar
Chris Nighswonger schreef:
  What version of Squid are you running? You need version 2.6 to proxy
 the
  broken Microsoft NTLM authentication scheme.
 
  Kinkie
 
 
 sorry for the late response it version 2.5.
 But i its possible with anewer version ?
 
 As mentioned above, 2.6 works nicely.
 
 Chris

Indeed, i did an update and it works fine.

Thank you.


[squid-users] New user - redirection question

2007-03-04 Thread Starckjohann, Ove
Hello!

I'm new to squid and this list...so lemme first say hello to the
mailinglist :-)

I'm running the following system on debian: 
squid 2.6.5-4  -- SqiudClamAV -- squidGuard 1.2.0-8.1

Because i cannot say if the problem is related to squid or the
helper-apps i dunno if it's offtopic to this mailinglist :-O

System is running mostly fine with some problems:

1.)
When running MSN Web Messenger http://webmessenger.msn.com/ it's not
possible to receive chat's from others...it's only
one-way-communication

2.)
A 2nd Problem is the usage of a remote control tool (NetViewer
http://www.netviewer.de/ ) which gives an error when trying to use. 

Both applications (Webmessenger and Netviewer) work with the old
Winbloze Trendmicro Viruswall-Proxy-Server.

So my question is:

Now i'm using the redirector SqiudClamAV in /etc/squid/squid.conf:
redirect_program /usr/local/bin/squidclamav

Is it possible to have different redirectors (or direct connection) for
different url's ? (via acl's)?

Or: is there another good recommendation for a squid http-proxy with
url-blocking and virus-scanning???
 
Thx!!!



--
Ove Starckjohann


[squid-users] redirect handle reply

2007-03-04 Thread Siddhesh PaiRaikar

hi

in an attempt to modify the code of squid when i modified the code of the
function redirectHandleReply() in redirect.c .. i see that any change made
to that function reflects in squid and any printf statement also works
fine.. i only failed to find a location in the code of squid where that
function is being called which is sumthing i would like to know. If anyone
can please tell me how the function redirectHandlereply() works it would be
of great help.

thanks.

--
- Siddhesh


[squid-users] reverse proxy for squid2.5.10

2007-03-04 Thread Peña , Botp
Hi,

we're using squid2.5.10 (basically because we're using debian apt package).

we'd like to do reverse proxy and we'd like to ask if possible the ff:

1 reverse proxy multiple backend webservers
2 reverse proxy with url mapping, like
  /foo/ -  http://backend/foo
  /bar/ -  http://backend2/bar
  /foobar/  -  http://backend3/foo/bar

i cannot find squid docs detailing this. maybe i'm too dumb :) 
tips, pls.

kind regards -botp





RE: [squid-users] reverse proxy for squid2.5.10

2007-03-04 Thread Mike Withers
Peria

Yes, the structure I use is:

http://proxyIP/foo/ - http://backend/foo/


There use to be good docs on Visolve site which is linked off the main web
page (Configuration Guide link) but I couldn't find the reverse proxy stuff
last time I looked. If you need more details ask.
 
Regards Mike

-Original Message-
From: Peña, Botp [mailto:[EMAIL PROTECTED] 
Sent: Monday, 5 March 2007 2:17 PM
To: squid-users@squid-cache.org
Subject: [squid-users] reverse proxy for squid2.5.10

Hi,

we're using squid2.5.10 (basically because we're using debian apt package).

we'd like to do reverse proxy and we'd like to ask if possible the ff:

1 reverse proxy multiple backend webservers
2 reverse proxy with url mapping, like
  /foo/ -  http://backend/foo
  /bar/ -  http://backend2/bar
  /foobar/  -  http://backend3/foo/bar

i cannot find squid docs detailing this. maybe i'm too dumb :) 
tips, pls.

kind regards -botp





RE: [squid-users] reverse proxy for squid2.5.10

2007-03-04 Thread Peña , Botp
From: Mike Withers [mailto:[EMAIL PROTECTED] :
# Yes, the structure I use is:
# http://proxyIP/foo/ - http://backend/foo/

would you mind sharing how you did it?
 
# There use to be good docs on Visolve site which is linked off 
# the main web
# page (Configuration Guide link) but I couldn't find the 
# reverse proxy stuff
# last time I looked. If you need more details ask.

yes, it's the details i need.
my last option is to use apache, but i'd like to stick to one (squid), if squid 
can do it.

kind regards -botp


Re: [squid-users] reverse proxy for squid2.5.10

2007-03-04 Thread squid3
 Hi,

 we're using squid2.5.10 (basically because we're using debian apt
 package).

Did you mean to say you stuck with Debian stable release?

squid 2.6 and squid 3.0 are both available through Debian apt at unstable
level.


Amos




RE: [squid-users] reverse proxy for squid2.5.10

2007-03-04 Thread Peña , Botp
fr: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :
# To: [EMAIL PROTECTED]; Peña, Botp
#  we're using squid2.5.10 (basically because we're using debian apt
#  package).
# 
# Did you mean to say you stuck with Debian stable release?
# squid 2.6 and squid 3.0 are both available through Debian apt 
# at unstable
# level.

good info.
care to point the repository, so i can update my sources.list?

kind regards -botp




[squid-users] Re: squid-users Digest 5 Mar 2007 03:15:26 -0000 Issue 2494

2007-03-04 Thread louis gonzales

Hello all,
After a couple of days working on Squid and external helper - customer 
PERL program - I got my perl program to get the STDIN from Squid and can 
connect to postgres via DBI for some additional actions.


My question is about my external_acl_type line in the squid.conf and 
passing %{Header} or other variables besides %LOGIN (username password) 
to external helper.


Does anyone have any experience with this?

Thanks,


RE: [squid-users] reverse proxy for squid2.5.10

2007-03-04 Thread Mike Withers
Peria

The following applies to the 2.5 series. Note that Henrik Nordstrom had
indicated earlier on another thread that the details for 2.6 are up to date
in the wiki at:

http://wiki.squid-cache.org/SquidFaq/ReverseProxy

The important lines in the conf file are:
# This is the port the proxy is listening on
http_port 80

# User nobody in group nobody .. could be user:squid group:squid
cache_effective_user nobody
cache_effective_group nobody

# This is the port your backend(s) are listening on
httpd_accel_port 80

httpd_accel_host virtual
httpd_accel_single_host off
httpd_accel_with_proxy on

redirect_program /usr/local/squid/redirect

# end of config ##

Not this is the bare bones info, you will need to look at such things as:
- cache manage email address
- log file paths
- pid file path


I have used a perl script to remap the URL's. This was what was given as an
example in the original Visolve info. My script is essentially:

#! /usr/bin/perl
$|=1;
while () {
   tr/A-Z/a-z/;
 
s|http://proxy_address/JoeBloggs/|http://backend_address/JoeBloggs/|g;

print;
}

This is a perl statement which substitutes one address to another taking the
original address from std input given by squid

Regards Mike

-Original Message-
From: Peña, Botp [mailto:[EMAIL PROTECTED] 
Sent: Monday, 5 March 2007 2:53 PM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] reverse proxy for squid2.5.10

From: Mike Withers [mailto:[EMAIL PROTECTED] :
# Yes, the structure I use is:
# http://proxyIP/foo/ - http://backend/foo/

would you mind sharing how you did it?
 
# There use to be good docs on Visolve site which is linked off 
# the main web
# page (Configuration Guide link) but I couldn't find the 
# reverse proxy stuff
# last time I looked. If you need more details ask.

yes, it's the details i need.
my last option is to use apache, but i'd like to stick to one (squid), if
squid can do it.

kind regards -botp



[squid-users] Squid Performance

2007-03-04 Thread Ammad Shah


Hello to all

  I am working in ISP. As i deployed squid on fc5. users are Complaining
that they are getting slower browsing response (transparent cache).
but as i configure direct access to Internet there isn't any complain.

any idea.




[squid-users] setting 2 Squid proxies

2007-03-04 Thread amavis_user


Hi,

We have following setup:

A LAN comprising of 15 PCs with a server connected to internet running  
squid as a  transparent proxy.The server has ip 192.168.0.1.


I want to configure another machine on the LAN which is not connected  
to Internet directly like the server as a proxy for other machines on  
the LAN.Is it possible to do so ?


Thanks in advance.

-Admin



RE: [squid-users] reverse proxy for squid2.5.10

2007-03-04 Thread Peña , Botp
From: Mike Withers [mailto:[EMAIL PROTECTED] :
# The following applies to the 2.5 series. Note that Henrik 
# Nordstrom had
# indicated earlier on another thread that the details for 2.6 
# are up to date snip

Mike, thanks much. I will try this.
kind regards -botp