[squid-users] Reverse proxy, what to do with requests to it's IP addres?

2010-09-15 Thread twinturbo
Dear Squidders

I am setting up a reverse proxy so we can move from a temporary Apache Reverse
proxy.

It works fine for all the Domains/Urls Hosted etc..

But if I go to the IP of the Proxy I get URL could not be retrived page with
the proxy details, obvioulsy I would rather nto have this presented to the
general public.

I tried squirm rewirting the IP to our default domain, but that did not seem to
work. ( squirm does rewrite some other stuff ok though )

So.

What is the best way to either return a blank page? or is there an easy way to
rewrite the request other than in squirm?

Cheers

Rob







[squid-users] Using a parent for certain websites.

2010-03-11 Thread twinturbo
Hi Folks,

3.0.19

What is the simplest way to get squid to fetch sites on specific URLS from a
Specific Parent, and all other sites to be fetched directly?

Cheers

Rob





[squid-users] Youtube and BBC iPlayer

2010-03-10 Thread twinturbo
Our bandwidth is been eaten by teachers showing Youtube and BBC iPlayer,

Is there a way to get S3.0.19 to effectivly cache this content?

Thanks

Robin





[squid-users] Ident and 3.1

2009-07-21 Thread twinturbo


SQ 3.1.0.7

We are running a new squid box to replace our 2.6 box. It all works fine except
it does seem to be requesting IDENT,

I have tried recompiling with enable-ident-lookups but this seems to have made
no difference.

I have tried

acl_ident_aware_hosts src 10.106.88.0/21
ident_lookup_access allow ident_aware_hosts
ident_lookup_access deny all

( nothing seems to be blocked even if there is no ident returned?? )

also tried

ident_lookup on ( causes a config error )


and

acl validuser ident REQUIRED
http_access allow valideuser




Nothign seesm to work I just get a DASH where the user name should be.

I have tested the ident server response via telnet and it responds with the
correct information.



SO

in order to log the ident user name, and prevent access from and request without
a username What should I be doing in SQ3.1 as it works fine on 2.6.


Cheers

Rob




[squid-users] commBind Errors

2009-06-16 Thread twinturbo
SLES10
Squid 3.1.0.7

I am seeing continual errors

commBind: Cannot bind socket FD 34 to 10.106.88.65:3128: (98) Address already in
use


I can't seem to find any usefull information about these errors?

can anyone shed any light?

Thanks

Rob





[squid-users] redirecting body_pipe 0x85d6140*1 ( Slow PDF?? )

2009-04-23 Thread twinturbo
3.0.STABLE13


I am getting errors in my cachelog

client_side_request.cc(825) redirecting body_pipe 0x85d6140*1 from request
0x8520fd8 to 0x85206c8


Is this a problem, we do seem to be having problems opening PDF's in the
browser.

Rob





Re: [squid-users] Redirector startup output being logged to cache.log

2009-03-30 Thread twinturbo
I have added the line

debug_options 61,1 84,1


to the base of our config file.

We are still getting all the redirector startup output.


Cheers

Rob

squid-users@squid-cache.org

Quoting ROBIN twintu...@f2s.com:

 Ok, will give that a whirl on monday when I am back in the office and
 report back.

 Thanks

 Rob


 On Sat, 2009-03-28 at 12:03 +1300, Amos Jeffries wrote:
  ROBIN wrote:
   Sorry Amos...I guess the old adage one mans meat is another mans poison
   applys here.
  
  
   where do i specify the debug options? is it a buildtime or runtime ?
  
   Cheers, have a nice weekend
  
   Rob.
  
 
  run time in squid.conf
 
  Amos
 
  
  
  
  
  
   On Sat, 2009-03-28 at 11:47 +1300, Amos Jeffries wrote:
   twintu...@f2s.com wrote:
   3.0-Stable13
   SquidGuard 1.4
  
   Our SquidGuard configuration changes every minuet.
  
   The problem is that with 3.0.S13 and SquidGuard 1.4 it seems to
 constantly log
   the startup output of SquidGuard to the cache.log
  
  
   on our old server with S 2.5.S12 and SG 1.2 it did not log the
 redirector
   startup output.
  
   Any ideas as it makes looking for problems in the cache log a
 nightmare...
  
   Ta
  
   Rob
  
   Sigh, one users bug fix is anothers nightmare.
  
   Does debug_options 61,1 84,1 stop the flood?
  
   Amos
  
 
 









Re: [squid-users] Sharepoint access on ISS

2009-03-30 Thread twinturbo
Compiled up 2.7.STABLE6 and that more or less worked out of the box.

Cheers

Now, when is 3.1 looking like it's comming out of Beta?

Thanks

Rob



Quoting Amos Jeffries squ...@treenet.co.nz:

 ROBIN wrote:
  Ok
 
  So the last 2.6.STABLE(x) is going to be my safest bet I guess...

 Or the 2.7 stable. Either should be fine.

 Amos

 
  Will compile up on Monday.
 
  Cheers Again.
 
  Rob
 
 
  On Sat, 2009-03-28 at 11:49 +1300, Amos Jeffries wrote:
  twintu...@f2s.com wrote:
  It says it's in version 2.6 and 3.1
 
  Does this therefore exclude all strains of V3.0?
  Yes unfortunately.
 
 
  I have changed
  #http_port 3128
 
  to
 
  http_port 3128 connection-auth=on
  https_port 3128 connection-auth=on
 
 
  I have tried on both ourt 2.6.x and 3.0.x server and neither seems to
 have made
  any difference.
 
  :(
 
  Rob
 
 
 
 
 
  Quoting Kinkie gkin...@gmail.com:
 
  On Fri, Mar 27, 2009 at 2:36 PM,  twintu...@f2s.com wrote:
  3.0-STABLE13
 
  A user is trying to get to an external windows sharepoint server
 running on
  IIS
  but gets a 401.2 from the IIS server when going through the proxy.
 
  Going directly pops up the login box from the IIS server.
 
  what steps can I take to resolve this?
  http://wiki.squid-cache.org/Features/ConnPin
 
 
  --
  /kinkie
 
  Amos
 


 --
 Please be using
Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
Current Beta Squid 3.1.0.6








Re: [squid-users] Redirector startup output being logged to cache.log

2009-03-30 Thread twinturbo
Hi Folkes...


I have added the line

debug_options 61,1 84,1


to the base of our config file.

We are still getting all the redirector startup output.


Cheers

Rob











Quoting Amos Jeffries squ...@treenet.co.nz:

 ROBIN wrote:
  Sorry Amos...I guess the old adage one mans meat is another mans poison
  applys here.
 
 
  where do i specify the debug options? is it a buildtime or runtime ?
 
  Cheers, have a nice weekend
 
  Rob.
 

 run time in squid.conf

 Amos

 
 
 
 
 
  On Sat, 2009-03-28 at 11:47 +1300, Amos Jeffries wrote:
  twintu...@f2s.com wrote:
  3.0-Stable13
  SquidGuard 1.4
 
  Our SquidGuard configuration changes every minuet.
 
  The problem is that with 3.0.S13 and SquidGuard 1.4 it seems to
 constantly log
  the startup output of SquidGuard to the cache.log
 
 
  on our old server with S 2.5.S12 and SG 1.2 it did not log the redirector
  startup output.
 
  Any ideas as it makes looking for problems in the cache log a
 nightmare...
 
  Ta
 
  Rob
 
  Sigh, one users bug fix is anothers nightmare.
 
  Does debug_options 61,1 84,1 stop the flood?
 
  Amos
 


 --
 Please be using
Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
Current Beta Squid 3.1.0.6








[squid-users] Sharepoint access on ISS

2009-03-27 Thread twinturbo
3.0-STABLE13

A user is trying to get to an external windows sharepoint server running on IIS
but gets a 401.2 from the IIS server when going through the proxy.

Going directly pops up the login box from the IIS server.

what steps can I take to resolve this?

Cheers

Rob




[squid-users] Redirector startup output being logged to cache.log

2009-03-27 Thread twinturbo
3.0-Stable13
SquidGuard 1.4

Our SquidGuard configuration changes every minuet.

The problem is that with 3.0.S13 and SquidGuard 1.4 it seems to constantly log
the startup output of SquidGuard to the cache.log


on our old server with S 2.5.S12 and SG 1.2 it did not log the redirector
startup output.

Any ideas as it makes looking for problems in the cache log a nightmare...

Ta

Rob







Re: [squid-users] Sharepoint access on ISS

2009-03-27 Thread twinturbo
It says it's in version 2.6 and 3.1

Does this therefore exclude all strains of V3.0?


I have changed
#http_port 3128

to

http_port 3128 connection-auth=on
https_port 3128 connection-auth=on


I have tried on both ourt 2.6.x and 3.0.x server and neither seems to have made
any difference.

:(

Rob





Quoting Kinkie gkin...@gmail.com:

 On Fri, Mar 27, 2009 at 2:36 PM,  twintu...@f2s.com wrote:
  3.0-STABLE13
 
  A user is trying to get to an external windows sharepoint server running on
 IIS
  but gets a 401.2 from the IIS server when going through the proxy.
 
  Going directly pops up the login box from the IIS server.
 
  what steps can I take to resolve this?

 http://wiki.squid-cache.org/Features/ConnPin


 --
 /kinkie








[squid-users] ident lookup.

2009-03-24 Thread twinturbo
3.0.STABLE13 on SLES10

We have had Ident working on our old server running 2.5.STABLE12 and prior
versions for about 10 years.

I have just built a fresh server with 3.0.STABLE13 and ident does not seem to be
working.

I have added the line

ident_lookup on  ( is this new since 2.5? )

But still don't seem to be getting any idents.

Any ideas where to start looking?

Cheers

Rob





Re: [squid-users] Squid exitin periodicaly ( Preparing for shut down after )

2009-03-17 Thread twinturbo


#17.19 is my old workstation IP, nothing is on this now
#16.2 used to be the ip of the squid server not used anymore

acl netmgr src 10.106.17.19/255.255.255.255 10.106.16.2/255.255.255.255
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
{config cut}
http_access allow localhost
http_access allow manager netmgr localhost
http_access deny all

Cheers

Rob






Quoting ROBIN twintu...@f2s.com:

 I will have a look, the basic config file has been in use for about 10
 years with no major issues. ( god i feel old now thinking about that.)

 Will examine and post the manager ACL's


 Rob


 On Tue, 2009-03-17 at 10:59 +1200, Amos Jeffries wrote:
   (Amos) Sorry did not reply to list Ignore..
  
   I wish SLES10 was more up to date on a few packages!!
  
   I can't find anythin that may be shutting down squid, certainly there
   seems to
   be no cron jobs and the issues are happeing at aproximatly 22 minuet
   intervals
   which is not consistent with a cron schedule.
  
   It's very odd, and been hapenig for a while but we had not noticed.
  
   I may just try a full restart on the system.
  
   Thanks
  
   Rob
 
  You could also check what type of controls you have around the 'manager'
  ACL in squid.conf. Every visitor with an allow line before the deny
  manager line may have the option to restart Squid with an HTTP request.
 
  Amos
 
  
  
  
   twintu...@f2s.com wrote:
   Squid 2.5STABLE12 on SLES10
  
   I know this is quite an old version but it's on our production machine.
  
  
   Yes. Please bug SLES about using a newer release.
  
  
   Anyway we have a strange issue where squid seems to be shunting down
   every 22
   minuets or so,  the logs says Preparing for shut down after XXX
   requests.
  
   Now every minuet we do a squid -k reconfigure as we run squidGuard and
   it's
   config can change all the time. This has never seemed to be a problem in
   the
   past.
  
   I am building up a fresh machine to take over but would like to get this
   one
   working properly too.
  
   So far I have stoped the store.log being written and got the other logs
   rotating
   more than once a day to keep them small.
  
   I was previously getting errors about there being to few redirectors so
   I
   upped
   that to 30, I have now set it back down to 10 to see what happens.
  
   Rob
  
   Preparing for shut down after XXX requests occurs when Squid receives
   its proper shutdown signal. A clean/graceful shutdown proceeds to follow.
  
   Amos
   --
   Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.6
  
  
  
 
 
 









[squid-users] Squid exitin periodicaly ( Preparing for shut down after )

2009-03-16 Thread twinturbo
Squid 2.5STABLE12 on SLES10

I know this is quite an old version but it's on our production machine.

Anyway we have a strange issue where squid seems to be shunting down every 22
minuets or so,  the logs says Preparing for shut down after XXX requests.

Now every minuet we do a squid -k reconfigure as we run squidGuard and it's
config can change all the time. This has never seemed to be a problem in the
past.

I am building up a fresh machine to take over but would like to get this one
working properly too.

So far I have stoped the store.log being written and got the other logs rotating
more than once a day to keep them small.

I was previously getting errors about there being to few redirectors so I upped
that to 30, I have now set it back down to 10 to see what happens.

Rob




Re: [squid-users] Squid exitin periodicaly ( Preparing for shut down after )

2009-03-16 Thread twinturbo
(Amos) Sorry did not reply to list Ignore..

I wish SLES10 was more up to date on a few packages!!

I can't find anythin that may be shutting down squid, certainly there seems to
be no cron jobs and the issues are happeing at aproximatly 22 minuet intervals
which is not consistent with a cron schedule.

It's very odd, and been hapenig for a while but we had not noticed.

I may just try a full restart on the system.

Thanks

Rob



twintu...@f2s.com wrote:
 Squid 2.5STABLE12 on SLES10

 I know this is quite an old version but it's on our production machine.


Yes. Please bug SLES about using a newer release.


 Anyway we have a strange issue where squid seems to be shunting down every 22
 minuets or so,  the logs says Preparing for shut down after XXX requests.

 Now every minuet we do a squid -k reconfigure as we run squidGuard and it's
 config can change all the time. This has never seemed to be a problem in the
 past.

 I am building up a fresh machine to take over but would like to get this one
 working properly too.

 So far I have stoped the store.log being written and got the other logs
rotating
 more than once a day to keep them small.

 I was previously getting errors about there being to few redirectors so I
upped
 that to 30, I have now set it back down to 10 to see what happens.

 Rob

Preparing for shut down after XXX requests occurs when Squid receives
its proper shutdown signal. A clean/graceful shutdown proceeds to follow.

Amos
--
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.6