Re: [squid-users] Re: httpd_accel in Squid 2.6.STABLE1 problem

2006-07-10 Thread Henrik Nordstrom
sön 2006-07-09 klockan 21:11 + skrev peter S:
> I am having trouble with squid config in 2.6 stable1.They have taken out 
> httpd_accel_port and httpd_accel_host and replaced them with defaultsite
> http_port  and cache_peer originserver options. When I put in the name of my
> server defaultsite http_port and the port that I am using under the cache_peer
> option squid returns an error saying that it doesn't understand the host name 
> or
> port. I had to go back to another version of squid. Does anyone have a squid
> config http accelrater example for 2.6?


http_port ip:80 defaultsite=your.main.website.name
cache_peer webserverip parent 80 0 no-query originserver


acl port80 port 80
acl mysites dstdomain your.main.website.name
http_access allow mysites port80

Regards
Henrik


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


Re: [squid-users] Squid/SquidGuard: info of user and category

2006-07-10 Thread Peter Albrecht
Hi Karsten,

> I still do not get any info about the requesting user. The field is
> empty (checked with the cgi-script mentioned in my previous mail). It
> looks like this gets lost between squid and squidguard.

Do you see the user information in the Squid log file? Could you try to 
restrict access for a specific user using Squid ACLs to see if that works? 

Regards,

Peter

-- 
Peter Albrecht, Novell Training Services, [EMAIL PROTECTED]


[squid-users] Memory usage TIP !!!

2006-07-10 Thread Luiz Henrique Ozaki

Im using AS4.0 Kernel 2.6.16.20 and my uptime is 11 days... Ive notice
that the memory usage only increase, increase and didnt get free.

Googling i found this:

Writing to this will cause the kernel to drop clean caches, dentries
and inodes from memory, causing that memory to become free.

To free pagecache:

   * echo 1 > /proc/sys/vm/drop_caches

To free dentries and inodes:

   * echo 2 > /proc/sys/vm/drop_caches

To free pagecache, dentries and inodes:

   * echo 3 > /proc/sys/vm/drop_caches

As this is a non-destructive operation and dirty objects are not
freeable, the user should run "sync" first.
=

My system with 5 days uptime got 50MB free, doing a sync and then echo
3 > /proc/sys/vm/drop_caches frees all the memory making 1683452k free
memory =D

It free all the cached memory shown in "top".

--
[]'s
Luiz Henrique Ozaki


AW: [squid-users] Digest problem with 2.6STABLE1

2006-07-10 Thread Stolle, Martin
I got the same problem, the cache digests aren't working any longer in my 
configuration. I tend to say, that this might be a bug.

A question to you:
One thing changed in my configuration: I enabled --with-large-files with 
squid-2.6. Do you also changed this parameter in your configuration script, 
that would be the only idea for me why it shouldn't be a bug.


Martin Stolle
-Ursprüngliche Nachricht-
Von: M A Young [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 6. Juli 2006 18:38
An: squid-users@squid-cache.org
Betreff: [squid-users] Digest problem with 2.6STABLE1

I have just updated a couple of my caches to 2.6STABLE1, and noticed
that the other web caches are no longer getting digests from the updated
caches, but seem to be receiving a 404 response with the message "This
cache is currently building its digest." Have I broken something during
the upgrade, or is this a real bug?

Michael Young



Re: AW: [squid-users] Digest problem with 2.6STABLE1

2006-07-10 Thread M A Young
On Mon, 10 Jul 2006, Stolle, Martin wrote:

> I got the same problem, the cache digests aren't working any longer in my 
> configuration. I tend to say, that this might be a bug.
>
> A question to you:
> One thing changed in my configuration: I enabled --with-large-files with 
> squid-2.6. Do you also changed this parameter in your configuration script, 
> that would be the only idea for me why it shouldn't be a bug.

No, I was already running with --with-large-files before I upgraded. My
changes were to add --enable-epoll --enable-ssl . So I think it must be a
real bug, so I have put it in bugzilla at
http://www.squid-cache.org/bugs/show_bug.cgi?id=1673

Michael Young


[squid-users] delaying attatchements from mails

2006-07-10 Thread Santosh Rani

How do I delay the speed of the 'zip' files, and images that are
attached with the emails?

Is it possible?


Best Regards


RE: [squid-users] httpd_accel in Squid 2.6.STABLE1 problem

2006-07-10 Thread Jon
I just want to thank you again for your help, everything is working great.

Jon

-Original Message-
From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 06, 2006 3:39 PM
To: Jon
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] httpd_accel in Squid 2.6.STABLE1 problem

tor 2006-07-06 klockan 15:09 -0400 skrev Jon:
> Is there another way since I have multiple backend servers?

The intended method is one cache_peer per backend, and
cache_peer_access/domain to select which requests gets sent where.

Regards
Henrik



[squid-users] what is the fastest possible thru-speed conf?

2006-07-10 Thread Rick Brooks
Hello,

My company has been building squid servers based on openbsd boxes for a
couple of years and have hit a "wall" for thru-speed.

All of you are quite aware that Internet access speeds are higher and higher
(15Mb is not unusual in the USA) but our squid servers are not exceeding
3.5Mb to the client desktop behind it.

 My question is this: 

"would the forum mind sharing their "top speed" specs and configurations for
their fastest machines?" 

Thanks so much!

R. Brooks
Trinity Data Services
www.trinitydataservices.com
V. 813.930.0504 XT 101
F. 813.930.0285
E [EMAIL PROTECTED]



[squid-users] Only MISSES in Access log

2006-07-10 Thread Thomas Tronier-Rasmussen

Hi Squid Users,

I'm new to Squid, and I just installed it via Yum.
After setting up ACL's I can access the Internet, but in my access log, I
only get TCP_MISS/200 and TCP_REFRESH_MISS/200 when refreshing websites.

I can't figure out what's wrong, any ideas? - I thought squid was configured
to do caching by default.

/Thomas







RE: [squid-users] Re: httpd_accel in Squid 2.6.STABLE1 problem

2006-07-10 Thread abdock

Is this config ok for a stand alone squid cache ?
 

-Original Message-
From: SSCR Internet Admin [mailto:[EMAIL PROTECTED] 
Sent: 10 July 2006 03:05
To: 'peter S'; squid-users@squid-cache.org
Subject: RE: [squid-users] Re: httpd_accel in Squid 2.6.STABLE1 problem

Hi,

This is my config on 2.6 for transparent proxy

http_port 3128 transparent defaultsite=virtual vhost vport

Ciao,

Nathaniel

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of peter S
Sent: Monday, July 10, 2006 5:12 AM
To: squid-users@squid-cache.org
Subject: [squid-users] Re: httpd_accel in Squid 2.6.STABLE1 problem

I am having trouble with squid config in 2.6 stable1.They have taken out
httpd_accel_port and httpd_accel_host and replaced them with defaultsite
http_port  and cache_peer originserver options. When I put in the name of my
server defaultsite http_port and the port that I am using under the
cache_peer option squid returns an error saying that it doesn't understand
the host name or port. I had to go back to another version of squid. Does
anyone have a squid
config http accelrater example for 2.6?





--
All messages that are coming from this domain is certified to be virus and
spam free.  If ever you have received any virus infected content or spam,
please report it to the internet administrator of this domain
[EMAIL PROTECTED]


--
All messages that are coming from this domain is certified to be virus and
spam free.  If ever you have received any virus infected content or spam,
please report it to the internet administrator of this domain
[EMAIL PROTECTED]



Re: [squid-users] what is the fastest possible thru-speed conf?

2006-07-10 Thread Steve Snyder
On Monday 10 July 2006 12:08 pm, Rick Brooks wrote:
[snip]
> All of you are quite aware that Internet access speeds are higher and
> higher (15Mb is not unusual in the USA) but our squid servers are not
> exceeding 3.5Mb to the client desktop behind it.
[snip]

What are you using to measure that  3.5Mb ceiling?

I'm using Calamaris (v2.59) and haven't found it to be terribly accurate 
with regards to throughput reporting.


Re: [squid-users] error compile squid2.6.stable1

2006-07-10 Thread Henrik Nordstrom
mån 2006-07-10 klockan 12:04 +0700 skrev tino:

> tools.c:40:28: error: sys/capability.h: No such file or directory

> solved after copy capability.h from /usr/include/linux/  to 
> /usr/include/sys/

Correct fix is to install libcap-devel
where /usr/include/sys/capabilities.h resides..

Regards
Henrik


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


Re: [squid-users] Memory usage TIP !!!

2006-07-10 Thread Henrik Nordstrom
mån 2006-07-10 klockan 06:22 -0300 skrev Luiz Henrique Ozaki:
> Im using AS4.0 Kernel 2.6.16.20 and my uptime is 11 days... Ive notice
> that the memory usage only increase, increase and didnt get free.

This is normal and no reason to panic. The number you should keep an eye
on is the free output on the +/- buffers line, and also the so column in
vmstat 5 output (or alternatively the amount of swap used in free
output)


The caches is there to speed up disk access, and is not harmful. It's a
waste to have really free memory. When actual memory usage increases the
buffers/cache gets automatically reduced.

Regards
Henrik


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


Re: AW: [squid-users] Digest problem with 2.6STABLE1

2006-07-10 Thread Henrik Nordstrom
mån 2006-07-10 klockan 12:46 +0200 skrev Stolle, Martin:

> I got the same problem, the cache digests aren't working any longer in
> my configuration. I tend to say, that this might be a bug.

Then file a bug report.

> One thing changed in my configuration: I enabled --with-large-files
> with squid-2.6. Do you also changed this parameter in your
> configuration script, that would be the only idea for me why it
> shouldn't be a bug.

--with-large-files should not have any impact on cache digests..

Regards
Henrik


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


Re: [squid-users] Is this really working as shown

2006-07-10 Thread Henrik Nordstrom
sön 2006-07-09 klockan 22:40 -0700 skrev squid learner:

> That it is distrebuting load as much equal 

If you are using round-robin, which I presume you are..

round-robin is pure round-robin. Request 1 gets sent to the first peer.
2 to the second, 3 to the third...

Regards
Henrik


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


Re: [squid-users] squid 2.6 + transparent + ipfw

2006-07-10 Thread Henrik Nordstrom
mån 2006-07-10 klockan 01:49 +0400 skrev Andrew Pantyukhin:

> Sure, here you go:
> 
> http://www.squid-cache.org/bugs/show_bug.cgi?id=1671

Thanks!

> I hope I did it right, this was the first one for me.

Looked fine to me.

Regards
Henrik


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


Re: [squid-users] what is the fastest possible thru-speed conf?

2006-07-10 Thread Adrian Chadd
On Mon, Jul 10, 2006, Rick Brooks wrote:
> Hello,
> 
> My company has been building squid servers based on openbsd boxes for a
> couple of years and have hit a "wall" for thru-speed.
> 
> All of you are quite aware that Internet access speeds are higher and higher
> (15Mb is not unusual in the USA) but our squid servers are not exceeding
> 3.5Mb to the client desktop behind it.
> 
>  My question is this: 
> 
> "would the forum mind sharing their "top speed" specs and configurations for
> their fastest machines?" 

Squid-2.6 with epoll will easily break 15mbit without a sweat on modern
hardware.  I've had my test caches pushing 30mbit without any problems and
I'm sure others have beaten it.

The biggest limitation at the moment is disk throughput. I'm able to hit
30mbit whilst testing out the experimental cyclic FS but its still buggy.

There's kqueue() support in Squid-2.6 which is intended for FreeBSD -
I'm not sure whether OpenBSD has snarfed the interface yet or not.
If it has then you may want to give kqueue a go over poll/select.




Adrian



[squid-users] error transparent squid.2.6.stable1 with wccpv2 and tproxy

2006-07-10 Thread tino

Hi,
I just install squid.2.6.stable1,  kernel 2.6.15.7 with cttproxy
It work good when running transparent & wccpv2 web-cache mode

But when  I addding wccp dynamic service for IP-Spoof, I get an error :

2006/07/11 08:00:37| tproxy ip=x.x.x.x,0x7a0989ca,port=0 ERROR ASSIGN


#part of my squid.conf :
http_port 3128 transparent tproxy vhost vport=80
always_direct allow all
wccp2_router x.x.x.x
wccp_version 4
wccp2_forwarding_method 1
wccp2_return_method 1
wccp2_service standard 0
wccp2_service dynamic 90
wccp2_service_info 90 protocol=tcp flags=src_ip_hash priority=1 ports=80

#part of my cisco run:
ip wccp web-cache redirect-list 155
ip wccp 90 redirect-list 156
int fasteth0 >ip wccp web-cache redirect out
int fasteth1 >ip wccp 90 redirect out

#my iptables at linux:
Chain PREROUTING (policy ACCEPT 262 packets, 18290 bytes)
pkts bytes target prot opt in out source
destination
 112  6710 REDIRECT   tcp  --  gre0   any anywhere anywhere
tcp dpt:http redir ports 3128

#my sysctl:
[EMAIL PROTECTED] sbin]# sysctl -a | grep rp.filter
net.ipv4.conf.gre0.arp_filter = 0
net.ipv4.conf.gre0.rp_filter = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.rp_filter = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 0


regards,
Tino




[squid-users] Squid-2.6.STABLE1: include/md5.c make failure

2006-07-10 Thread Merton Campbell Crockett
On earlier versions of Squid, I had no problems building the md5  
module for BSD/OS 4.3.1.  With Squid-2.6.STABLE1, I get a fatal error  
building the module.  This occurs with both BSD and Gnu make.  The  
failure is triggered by the "typedef struct MD5Context" changes where  
uint32_t is used instead of u_int32_t.


Most of my programming experience has been with firmware or assembler  
and I'm a little rusty.  There probably a better way to approach this  
problem than by replacing all occurrences of uint*_t with u_int*_t.   
Any recommendations?




Merton Campbell Crockett
[EMAIL PROTECTED]





Re: [squid-users] Squid-2.6.STABLE1: include/md5.c make failure

2006-07-10 Thread Henrik Nordstrom
mån 2006-07-10 klockan 20:15 -0700 skrev Merton Campbell Crockett:
> On earlier versions of Squid, I had no problems building the md5  
> module for BSD/OS 4.3.1.  With Squid-2.6.STABLE1, I get a fatal error  
> building the module.  This occurs with both BSD and Gnu make.  The  
> failure is triggered by the "typedef struct MD5Context" changes where  
> uint32_t is used instead of u_int32_t.

Please file a bug report

   http://www.squid-cache.org/bugs/

> Most of my programming experience has been with firmware or assembler  
> and I'm a little rusty.  There probably a better way to approach this  
> problem than by replacing all occurrences of uint*_t with u_int*_t.   
> Any recommendations?

My understanding: Current C & UNIX standards use uint without the _. Old
BSDs form is u_int...

Squid 2.6 unfortunately got stuck somewhere inbetween it seems.. (all
test systems used support both forms..)

Regards
Henrik


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