Re: [squid-users] prioritize particular site

2008-05-04 Thread beko



Amos Jeffries-2 wrote:
 
 beko wrote:
 Hello,
 
 is it possible to prioritize particular site? We use one bussiness
 application, which is on remote server and regular traffic is slowing it
 down.
 
 J.
 
 Yes.
 
 The question is though; How do you want to 'prioritize' it?
 Then; can squid do that type of 'prioritization'?
 
 More info would be helpful.
 
 Amos
 -- 
 Please use Squid 2.6.STABLE20 or 3.0.STABLE5
 
 

In this application we need to upload/download some files (usually 1-2MB).
While downloading/uploading from this application I want other download to
be slowed down. Or if there are two requests at the very same time, I want
to be sure that request to this site will go first.

-- 
View this message in context: 
http://www.nabble.com/prioritize-particular-site-tp17036222p17044730.html
Sent from the Squid - Users mailing list archive at Nabble.com.



Re: [squid-users] prioritize particular site

2008-05-04 Thread Mathias R. Baumgartner
what you want is traffic shaping. imho squid is not the ideal solution for that.

you can probably find better approaches here:

http://www.knowplace.org/pages/howtos/traffic_shaping_with_linux.php

http://www.edseek.com/~jasonb/articles/traffic_shaping/


On 5/4/08, beko [EMAIL PROTECTED] wrote:



  Amos Jeffries-2 wrote:
  
   beko wrote:
   Hello,
  
   is it possible to prioritize particular site? We use one bussiness
   application, which is on remote server and regular traffic is slowing it
   down.
  
   J.
  
   Yes.
  
   The question is though; How do you want to 'prioritize' it?
   Then; can squid do that type of 'prioritization'?
  
   More info would be helpful.
  
   Amos
   --
   Please use Squid 2.6.STABLE20 or 3.0.STABLE5
  
  


 In this application we need to upload/download some files (usually 1-2MB).
  While downloading/uploading from this application I want other download to
  be slowed down. Or if there are two requests at the very same time, I want
  to be sure that request to this site will go first.


  --
  View this message in context: 
 http://www.nabble.com/prioritize-particular-site-tp17036222p17044730.html

 Sent from the Squid - Users mailing list archive at Nabble.com.




[squid-users] Uninstalling.

2008-05-04 Thread Alexey Shakin
Dear All!

I have installed squid-3 on my Linux server,
and, after some experiments with it, I need
to remove it. I can't find how to do this 
seemingly very simple operation properly 
botn in documentation on the site 
and in the archive file with the source code.
Please, give me a hint about the solution.





[squid-users] Very Slow Reverse Proxy

2008-05-04 Thread Gordon McKee

Hi

Been using squid for a long time on FreeBSD 6 STABLE(i386) and have rebult 
the box to FreeBSD 7 STABLE (amd64) and everything appeared to work untill I 
tried accessing websites externally hosted here.


I am using the same version of squid2.6-stable19 and the same confg files 
copies off the old server to the new server.


AFAIK all the dns setting are corrct and everything resolves as it should 
(config copied off old server.


You can look to see what happend on a site hosted here - 
htttp://www.birminghamcitadel.org.uk/index.htm.


I have also plugged the old server in and everything works as it used to!! 
I have also tried the GENERIC kernel to see if that would fix the issues. 
All the other services the box hosts work correctly and outbound websurking 
is fine.  It is just inbound that is very very slow.


Does anyone have any ideas?

Kind regards

Gordon





Re: [squid-users] Uninstalling.

2008-05-04 Thread Amos Jeffries

Alexey Shakin wrote:

Dear All!

I have installed squid-3 on my Linux server,
and, after some experiments with it, I need
to remove it. I can't find how to do this 
seemingly very simple operation properly 
botn in documentation on the site 
and in the archive file with the source code.

Please, give me a hint about the solution.



How did you install in the first place?
From a package? or from source?

Amos
--
Please use Squid 2.6.STABLE20 or 3.0.STABLE5


Re: [squid-users] Very Slow Reverse Proxy

2008-05-04 Thread Amos Jeffries

Gordon McKee wrote:

Hi

Been using squid for a long time on FreeBSD 6 STABLE(i386) and have 
rebult the box to FreeBSD 7 STABLE (amd64) and everything appeared to 
work untill I tried accessing websites externally hosted here.


I am using the same version of squid2.6-stable19 and the same confg 
files copies off the old server to the new server.


AFAIK all the dns setting are corrct and everything resolves as it 
should (config copied off old server.


You can look to see what happend on a site hosted here - 
htttp://www.birminghamcitadel.org.uk/index.htm.


I have also plugged the old server in and everything works as it used 
to!! I have also tried the GENERIC kernel to see if that would fix the 
issues. All the other services the box hosts work correctly and outbound 
websurking is fine.  It is just inbound that is very very slow.


Does anyone have any ideas?


Exactly the same config file might be a problem, if the config refers to 
local-specific items such as the local hostname and local-IP.


If acceleration was not setup properly for 2.6+ in the first place it 
may work with a certain rDNS but not with a similar but not quite 
identical one.


Check your config file carefully to see if you can find the issue then 
post it here (minus the comments and empty lines) if you still need our 
help.


Amos
--
Please use Squid 2.6.STABLE20 or 3.0.STABLE5


Re: [squid-users] Very Slow Reverse Proxy

2008-05-04 Thread Gordon McKee

Hi Amos

Many thanks for your quick reply.  The new server is a direct replacement 
for the old server and it has exactly the same hostname and IP address.  I 
have also checked forward and reverse DNS.  I can see where you are coming 
from though.


One last point, the sites work fine internally, but not externally and I 
also have another domain setup and forwarding to a different internal IP and 
it does the same.  The odd bit about it all is the site will come 
eventually - if you have enough patience.  As far as I can see there are no 
errors in the log files on either server


Kind regards

Gordon

- Original Message - 
From: Amos Jeffries [EMAIL PROTECTED]

To: Gordon McKee [EMAIL PROTECTED]
Cc: squid-users@squid-cache.org
Sent: Sunday, May 04, 2008 2:38 PM
Subject: Re: [squid-users] Very Slow Reverse Proxy



Gordon McKee wrote:

Hi

Been using squid for a long time on FreeBSD 6 STABLE(i386) and have 
rebult the box to FreeBSD 7 STABLE (amd64) and everything appeared to 
work untill I tried accessing websites externally hosted here.


I am using the same version of squid2.6-stable19 and the same confg files 
copies off the old server to the new server.


AFAIK all the dns setting are corrct and everything resolves as it should 
(config copied off old server.


You can look to see what happend on a site hosted here - 
htttp://www.birminghamcitadel.org.uk/index.htm.


I have also plugged the old server in and everything works as it used 
to!! I have also tried the GENERIC kernel to see if that would fix the 
issues. All the other services the box hosts work correctly and outbound 
websurking is fine.  It is just inbound that is very very slow.


Does anyone have any ideas?


Exactly the same config file might be a problem, if the config refers to 
local-specific items such as the local hostname and local-IP.


If acceleration was not setup properly for 2.6+ in the first place it may 
work with a certain rDNS but not with a similar but not quite identical 
one.


Check your config file carefully to see if you can find the issue then 
post it here (minus the comments and empty lines) if you still need our 
help.


Amos
--
Please use Squid 2.6.STABLE20 or 3.0.STABLE5






[squid-users] ssl authenticate in squid

2008-05-04 Thread Ghasem Abbasi
Hi

In squid when client authenticate with squid proxy .
user and password sent cleartext to squid server.

how configure squid that user and password encrypte
between clent and server

thank a lot

abbasi



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


Re: [squid-users] Very Slow Reverse Proxy

2008-05-04 Thread Henrik Nordstrom
On sön, 2008-05-04 at 14:51 +0100, Gordon McKee wrote:


 One last point, the sites work fine internally, but not externally and I 
 also have another domain setup and forwarding to a different internal IP and 
 it does the same.  The odd bit about it all is the site will come 
 eventually - if you have enough patience.  As far as I can see there are no 
 errors in the log files on either server

Can you reach the sites fine if running a browser on the Squid server
but without using Squid?

Regards
Henrik



Re: [squid-users] ssl authenticate in squid

2008-05-04 Thread Henrik Nordstrom
On sön, 2008-05-04 at 11:48 -0700, Ghasem Abbasi wrote:

 how configure squid that user and password encrypte
 between clent and server

Configure Squid using digest authentication.

Regards
Henrik



Re: [squid-users] Very Slow Reverse Proxy

2008-05-04 Thread Gordon McKee

Hi

The box is only used from a shell prompt(no GUI installed), but I installed 
lynx and the sites work fine.


Kind regards

Gordon

- Original Message - 
From: Henrik Nordstrom [EMAIL PROTECTED]

To: Gordon McKee [EMAIL PROTECTED]
Cc: Amos Jeffries [EMAIL PROTECTED]; squid-users@squid-cache.org
Sent: Sunday, May 04, 2008 8:40 PM
Subject: Re: [squid-users] Very Slow Reverse Proxy



On sön, 2008-05-04 at 14:51 +0100, Gordon McKee wrote:



One last point, the sites work fine internally, but not externally and I
also have another domain setup and forwarding to a different internal IP 
and

it does the same.  The odd bit about it all is the site will come
eventually - if you have enough patience.  As far as I can see there are 
no

errors in the log files on either server


Can you reach the sites fine if running a browser on the Squid server
but without using Squid?

Regards
Henrik







[squid-users] cache_dir (dirty) question

2008-05-04 Thread Michel (M)


I never thought so much about this but now it came up. I thought that the
cache_dir dirty came when an unclean shutdown ocurred, or better, caused
by file corruptions of the underlying FS

thing is I am running ZFS and so there are no corrupt files even after
power outage

why squid still see dirty cache_dirs ?

...

michel





Tecnologia Internet Matik http://info.matik.com.br
Sistemas Wireless para o Provedor Banda Larga
Hospedagem e Email personalizado - e claro, no Brasil.




Re: [squid-users] cache_dir (dirty) question

2008-05-04 Thread Adrian Chadd
On Sun, May 04, 2008, Michel (M) wrote:
 
 
 I never thought so much about this but now it came up. I thought that the
 cache_dir dirty came when an unclean shutdown ocurred, or better, caused
 by file corruptions of the underlying FS
 
 thing is I am running ZFS and so there are no corrupt files even after
 power outage
 
 why squid still see dirty cache_dirs ?

Its a function of the state of the cache log, -not- of the cache dir as
a whole.




Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -


[squid-users] SYSLOG

2008-05-04 Thread D . Sungurov
Hi, squid-users.

  I have installed squid-3.04 Stable on FreeBSD 6.2 serve, and,
i want log client request via syslog:

access_log syslog squid

Syslog write log data to file /var/log/squid.log:

May  5 08:07:05 mail squid[51383]: 1209946025.538  3 10.200.184.13 
TCP_DENIED/407 2710 GET 
http://c.icq.com/xtraz/products/teaser/anims/common/gangsterSheep.swf - NONE/- 
text/html
May  5 08:07:05 mail squid[51383]:
May  5 08:07:05 mail squid[51383]: 1209946025.552 14 10.200.184.13 
TCP_DENIED/407 2686 GET 
http://c.icq.com/xtraz/products/teaser/anims/common/scratch.swf - NONE/- 
text/html
May  5 08:07:05 mail squid[51383]:
May  5 08:07:05 mail squid[51383]: 1209946025.552 14 10.200.184.13 
TCP_DENIED/407 2670 GET 
http://c.icq.com/xtraz/products/teaser/anims/common/boo.swf - NONE/- text/html
May  5 08:07:05 mail squid[51383]:

Every string with data has another empty string! I am try using
another syslog daemon - rsyslogd, but result the same.

Does anyone have any ideas?  How correct it?
  

-- 
 Sungurov Dmitriy



[squid-users] squid reverse proxy isssue

2008-05-04 Thread Indunil Jayasooriya
Hi,

 I want to setup squid as a reverse proxy. I added below lines to
 squid.conf file.

 http_port 80 accel defaultsite=your.main.website
 cache_peer 192.168.9.4 parent 80 0 no-query  originserver
 cache_peer 192.168.9.5 parent 80 0 no-query  originserver
 acl our_sites dstdomain your.main.website
 http_access allow our_sites
 cache_peer_access 192.168.9.4 allow our_sites
 cache_peer_access 192.168.9.5 allow our_sites
 never_direct allow our_sites

 While retarting squid, it gives below error.

 [EMAIL PROTECTED] squid]# /etc/init.d/squid restart
 Stopping squid:[FAILED]
 Starting squid:[FAILED]

 here's /var/log/messages say.

 [EMAIL PROTECTED] squid]# tail -f /var/log/messages

 May  5 11:01:56 mail squid: Bungled squid.conf line 76: http_port 80
 accel defaultsite=your.main.website

 This is on RedHat EL 5 with default RPM squid-2.6.STABLE6-3.el5

 Any advice to get it working.


-- 
Thank you
Indunil Jayasooriya