Re: [squid-users] Need instructions to upgrade squid

2006-12-15 Thread Odhiambo WASHINGTON
* On 15/12/06 17:41 -0800, pujo mulyono wrote:
| if you under linux, you can do these step with only few seconds downtime
| (depends on your squid.conf) :
| 
| 1. ./configure
| 2. make
| 3. shutdown squid (squid -k shutdown)
| 4. make install
| 5. start squid  (squid -D)
| 
| there is no need to change any configuration file.
| hope this can help you
| 
| --- "Agrawal, Devendra (Indust, PTL)" <[EMAIL PROTECTED]> wrote:
| 
| >  
| > Hi,
| > 
| > I am looking for instructions to upgrade squid Version 2.5.STABLE8 to
| > squid-2.5.STABLE12. Does it has to be a fresh install of new version or
| > it is possible to keep the current configuration (like squid.conf and
| > other configuration files) intact even after installing the new version?


If you run FreeBSD, you can do this cleanly with portupgrade utility. 
cd /usr/ports/sysutils/portupgrade && make install clean

Then;

portupgrade squid

Make sure you watch what is happening, as there is, in most cases, a 
message passed to you when the upgrade installation completes!

Also, always read squid.conf.default and see if some config options have 
changed which require you to edit your current squid.conf.

HTH


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Job Placement, n.:
Telling your boss what he can do with your job.


Re: [squid-users] Need instructions to upgrade squid

2006-12-15 Thread pujo mulyono
if you under linux, you can do these step with only few seconds downtime
(depends on your squid.conf) :

1. ./configure
2. make
3. shutdown squid (squid -k shutdown)
4. make install
5. start squid  (squid -D)

there is no need to change any configuration file.
hope this can help you

--- "Agrawal, Devendra (Indust, PTL)" <[EMAIL PROTECTED]> wrote:

>  
> Hi,
> 
> I am looking for instructions to upgrade squid Version 2.5.STABLE8 to
> squid-2.5.STABLE12. Does it has to be a fresh install of new version or
> it is possible to keep the current configuration (like squid.conf and
> other configuration files) intact even after installing the new version?
> 
> 
> Thanks ,
> 
> Devendra Agrawal
> 
> 
> 


regards,
Pudjo Mulyono
Malang, Indonesia

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[squid-users] CSS / mime-type rendering issue

2006-12-15 Thread Steve Finkelstein

Hi all,

I've encountered a quite burdensome issue. I can't load the following 
URL using a Squid proxy: 
http://www.urbanauto.blackplanet.com/site/home/homepage.php


Now, I certainly cannot blame squid for this issue. Here's why. I 
changed the default gateway on our squid box to an office gateway (we 
normally have the default gateway on the squid box to a higher 
availability/bandwidth cross-connect to our datacenter.) When I change 
the default gateway, the site loads fine. As a result, I thought the 
issue was fixed. However, I noticed the following in access logs when 
the site does load and doesn't load.


Unsuccessful (when the default gateway to our cross connect is set in 
the routing table):
1165962880.998   4212 192.168.100.59 TCP_MISS/200 1522 GET 
http://urbanauto.blackplanet.com/site/css/main.css - DIRECT/72.3.142.29 
text/css


Successful: (when the default gateway uses an office router, defeating 
the purpose of our proxy):
1166217656.382   1649 192.168.101.106 TCP_MISS/304 208 GET 
http://www.urbanauto.blackplanet.com/site/css/main.css - 
DIRECT/72.3.142.29 -


Notice the last field sets a specific mime type "text/css" for one 
gateway and '-' for the other? That could be correlated because that's 
the file where it is hanging. Every successful pull of main.css gets a 
'-'. The unsuccessful pull which only grabs about half the css file is 
"text/css".


Attached is my squid.conf: http://stevefink.net/squid.conf.cci

Thanks again for all of your suggestions.

Steve

 squid.conf 


!DSPAM:3343,45832b7f306121421315691!




Re: [squid-users] Need instructions to upgrade squid

2006-12-15 Thread Alexandre Correa

use configure line from your old squid..

type

squid -v

copy the "configure" line..
untar the new squid source... and run configure ..

after.. make and make install

:)

On 12/15/06, Agrawal, Devendra (Indust, PTL)
<[EMAIL PROTECTED]> wrote:


Hi,

I am looking for instructions to upgrade squid Version 2.5.STABLE8 to
squid-2.5.STABLE12. Does it has to be a fresh install of new version or
it is possible to keep the current configuration (like squid.conf and
other configuration files) intact even after installing the new version?


Thanks ,

Devendra Agrawal






--

Sds.
Alexandre J. Correa
Onda Internet / OPinguim.net
http://www.ondainternet.com.br
http://www.opinguim.net


[squid-users] Certain sites (mainly java) causing problems

2006-12-15 Thread Terry Dobbs

Hi All,

I have been using squid for about 2 years and it has been working fairly 
well. We run a transparent proxy with NTLM authentication. The only 
headaches I get are when users are using certain websites. Sites that use 
java (such as banking sites, shipping sites, etc...) often cause these 
problems. The users get a prompt box asking for their credendtials, I can 
make this go away by setting up an ACL for each dstdomain but sometimes the 
websites are using external java applets. Another common problem when 
accessing these sites is I get a blank page and then about 2 minutes later 
the page loads.


I was wondering if many people are experiencing these types of issues, and 
what they have done to get around them?


Thanks for any help. 




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.15.20/588 - Release Date: 12/15/2006



[squid-users] Need instructions to upgrade squid

2006-12-15 Thread Agrawal, Devendra \(Indust, PTL\)
 
Hi,

I am looking for instructions to upgrade squid Version 2.5.STABLE8 to
squid-2.5.STABLE12. Does it has to be a fresh install of new version or
it is possible to keep the current configuration (like squid.conf and
other configuration files) intact even after installing the new version?


Thanks ,

Devendra Agrawal




[squid-users] FAKE-AUTH

2006-12-15 Thread Alan Araujo

Hi,

Does anybody knows how to implement a fake_auth helper solution ?


Thanks,


[squid-users] Authentication but browser hangs on loading page

2006-12-15 Thread Dryhurst Daniel \(RQ6\) RLBUHT
Ok, after various advice I made some progress with the LDAP integration
and faults with the acls, and now on client browsers I get an
authentication box that asks for the username and password, which I
enter (for the realm). The box then disappears and in the status bar of
the browser it says 'loading ' but never actually displays it.

I feel like I am on the final hurdle of this setup and just need a
little more advice or troubleshooting expertise.  I have included my
squid.conf file again for convenience:

### BEGIN SQUID.CONF
hierarchy_stoplist cgi-bin ?
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

auth_param basic program /usr/lib/squid/squid_ldap_auth -b
"dc=rlbuht,dc=lan" -f "uid=%s" 172.20.33.3 
auth_param basic children 5 
auth_param basic realm Squid web-proxy 
auth_param basic credentialsttl 2 hours 
auth_param basic casesensitive off

refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  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 CONNECT method CONNECT 
acl auth_users proxy_auth REQUIRED

http_access allow manager localhost 
http_access deny manager 
http_access deny CONNECT !SSL_ports 
http_access allow localhost 
http_access allow auth_users
http_access deny all
http_reply_access allow all
 
#http_access deny !Safe_ports
#http_access allow all

icp_access allow all 
coredump_dir /var/spool/squid

Can anyone identify where my problem could be caused?

Thanks
Danny



Re: [squid-users] display source IP address in the log file

2006-12-15 Thread Henrik Nordstrom
fre 2006-12-15 klockan 12:22 + skrev Melanie Pfefer:

> so do you mean that all users go by trendmicro and
> then to squid. So the latter thinks that the localhost
> is requesting the page...right?

Right, if thats the way you have set things up.

> No other workaround?

Turn it the other way around? Squid using TrendMicro as a parent.

More elaborate setups using squid -> TrendMicro -> Squid is also
possible, or looking into using ICAP instead of HTTP for the scanning.

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Re: [squid-users] display source IP address in the log file

2006-12-15 Thread Melanie Pfefer
ah yes.
actually IWSS of trendMicro is installed on the
server.

so do you mean that all users go by trendmicro and
then to squid. So the latter thinks that the localhost
is requesting the page...right?

No other workaround?

thx

--- Henrik Nordstrom <[EMAIL PROTECTED]>
wrote:

> fre 2006-12-15 klockan 11:30 + skrev Melanie
> Pfefer:
> 
> > but the third field is *always* the ip address of
> the
> > proxy itself.
> 
> Using dansguardian?
> 
> Regards
> Henrik
> 


Send instant messages to your online friends http://uk.messenger.yahoo.com 


Re: [squid-users] display source IP address in the log file

2006-12-15 Thread Henrik Nordstrom
fre 2006-12-15 klockan 11:30 + skrev Melanie Pfefer:

> but the third field is *always* the ip address of the
> proxy itself.

Using dansguardian?

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Re: [squid-users] display source IP address in the log file

2006-12-15 Thread Matus UHLAR - fantomas
On 15.12.06 11:30, Melanie Pfefer wrote:
> but the third field is *always* the ip address of the
> proxy itself.
> in the following sequence: client->proxy->web, I want
> to get the client IP address.

are you using 'interception' proxying?
how do you redirect the connections to proxy?

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Enter any 12-digit prime number to continue.


Re: [squid-users] display source IP address in the log file

2006-12-15 Thread Melanie Pfefer
hi
but the third field is *always* the ip address of the
proxy itself.
in the following sequence: client->proxy->web, I want
to get the client IP address.

thx




--- Henrik Nordstrom <[EMAIL PROTECTED]>
wrote:

> fre 2006-12-15 klockan 16:48 +0800 skrev Adrian
> Chadd:
> > On Fri, Dec 15, 2006, Melanie Pfefer wrote:
> > > Hi
> > > 
> > > what needs to be changes in squid.conf to
> display the
> > > IP address of the proxy client?
> > 
> > It should already do that!
> > 
> > 1166172828.422 96 192.168.1.133
> TCP_REFRESH_HIT/304 271 GET
>
http://www.creative.net.au/themes/bluemarine/style.css
> - DIRECT/203.56.168.1 -
> > 
> > The third field is the client's IP.
> 
> 
> ANd if it does not show the last part of the IP then
> you have set the
> client_netmask directive, masking away part of the
> reported IPs.
> 
> Regards
> Henrik
> 






___ 
All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease 
of use." - PC Magazine 
http://uk.docs.yahoo.com/nowyoucan.html


Re: [squid-users] display source IP address in the log file

2006-12-15 Thread Henrik Nordstrom
fre 2006-12-15 klockan 16:48 +0800 skrev Adrian Chadd:
> On Fri, Dec 15, 2006, Melanie Pfefer wrote:
> > Hi
> > 
> > what needs to be changes in squid.conf to display the
> > IP address of the proxy client?
> 
> It should already do that!
> 
> 1166172828.422 96 192.168.1.133 TCP_REFRESH_HIT/304 271 GET 
> http://www.creative.net.au/themes/bluemarine/style.css - DIRECT/203.56.168.1 -
> 
> The third field is the client's IP.


ANd if it does not show the last part of the IP then you have set the
client_netmask directive, masking away part of the reported IPs.

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Re: [squid-users] display source IP address in the log file

2006-12-15 Thread Adrian Chadd
On Fri, Dec 15, 2006, Melanie Pfefer wrote:
> Hi
> 
> what needs to be changes in squid.conf to display the
> IP address of the proxy client?

It should already do that!

1166172828.422 96 192.168.1.133 TCP_REFRESH_HIT/304 271 GET 
http://www.creative.net.au/themes/bluemarine/style.css - DIRECT/203.56.168.1 -

The third field is the client's IP.

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -


[squid-users] display source IP address in the log file

2006-12-15 Thread Melanie Pfefer
Hi

what needs to be changes in squid.conf to display the
IP address of the proxy client?

thx

Send instant messages to your online friends http://uk.messenger.yahoo.com