[squid-users] squid on web100 patched machine

2004-04-10 Thread unixware
Dear all have anyone tried using squid on web100 patched machine the site says it will improve tcp data transfers and increase throughput. more information at http://www.web100.org Thanks and Regards __ Do you Yahoo!? Yahoo! Tax Center - File online by

RE: [squid-users] To Have A /swap Partition, Or Not?

2004-04-10 Thread Henrik Nordstrom
On Fri, 9 Apr 2004, ThE LinuX_KiD wrote: I will lost performance if my Linux box are working with swapon ? Disk layout is not relevant. Yes, you risk loosing performance if you have swap, as the OS then risks swapping out parts of Squid due to relatively low I/O pressure in certain

Re: [squid-users] -- Squid, SquidGuard and selective filtering

2004-04-10 Thread Henrik Nordstrom
On Fri, 9 Apr 2004, Schelstraete Bart wrote: If you have A LOT of ACL's, and you're not really familiar with Squid I think you better to use an external program for this. Why? If you have SMP and use a lot of regex acls then yes, at least until Squid can scale on SMP. But for UP I cannot

[squid-users] Squid through another proxy.

2004-04-10 Thread Ordinary Man
Dear all, I have set up squid to use another proxy by inserting the following lines into the squid.conf file... cache_peer 10.0.0.27 parent 8080 0 no-query prefer_direct off I expect this to use other proxy i.e.10.0.0.27 unless it is down in whcih case it can choose an alternative.

Re: [squid-users] squid on web100 patched machine

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, unixware wrote: have anyone tried using squid on web100 patched machine the site says it will improve tcp data transfers and increase throughput. Should work fine, but I doubt it will make any difference for Squid as it is an optimisation of very high speed networking

Re: [squid-users] Squid through another proxy.

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, Ordinary Man wrote: I expect this to use other proxy i.e.10.0.0.27 unless it is down in whcih case it can choose an alternative. however what squid does is that it sends some requests to 10.0.0.27 and some directly. Could anyone kindly eplain why squid si doing this?

[squid-users] External Authenticator help!

2004-04-10 Thread Prash
Hi Peeps, I've to implement a solution here. Clients are issued usernames and passwords which they will use to logon to squid. These usernames/passwords should be valid for only half an hour. The password has to travel encrypted. I'm running squid on linux. To implement this, I have to write a

Re: [squid-users] squid on web100 patched machine

2004-04-10 Thread unixware
Should work fine, but I doubt it will make any difference for Squid as it What Internet connection do you have? If less than about 400Mbit/s (40 MByte/s) then web100 is not of any relevance to you, and if you have I still doubt it is of any relevance to your Squid servers.. i dont have

Re: [squid-users] squid on web100 patched machine

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, unixware wrote: i dont have such high speed internet connection :( How big Internet connection do you have? For i686: export CFLAGS=-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-exceptions Is CPU a

Re: [squid-users] External Authenticator help!

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, Prash wrote: To implement this, I have to write a authenticator either (maybe in perl) .. say digest. Basic is easy but password is not encrypted over the wire. I'm thinking of storing all the user/passwords in a dbm file and have the authenticator read it. Time it every

Re: [squid-users] squid on web100 patched machine

2004-04-10 Thread unixware
How big Internet connection do you have? 34Mbps Total 20Mbps ( 4 squid boxes proxying ) For i686: export CFLAGS=-O9 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer -fno-exceptions Is CPU a bottleneck for you? If not compiler flags

Re: [squid-users] squid on web100 patched machine

2004-04-10 Thread Joel Jaeggli
On Sat, 10 Apr 2004, Henrik Nordstrom wrote: On Sat, 10 Apr 2004, unixware wrote: have anyone tried using squid on web100 patched machine the site says it will improve tcp data transfers and increase throughput. Should work fine, but I doubt it will make any difference for Squid as

Re: [squid-users] -- Squid, SquidGuard and selective filtering

2004-04-10 Thread Schelstraete Bart
Henrik, For people who're not used to work with Squid, the ACL's of Squid can be very tricky. That's such a external programs can help for them. Regarding performance: Like you said: if you 're using SMP system an external program can 'improve' the performance if you have a lot of acl's. Not

[squid-users] poor performance - what am i doing wrong?

2004-04-10 Thread Peter Matulis
I have just set up a very basic installation using the OpenBSD package squid-2.5.STABLE3p4. I have installed the squeezer2 log analyzer and it tells me I am saving only 1% bandwidth. My host is a 450 MHz with 192 MB RAM. I am using 4 fibre channel drive array. Here is my simple config:

[squid-users] Re: poor performance - what am i doing wrong?

2004-04-10 Thread Adam Aube
Peter Matulis wrote: I have installed the squeezer2 log analyzer and it tells me I am saving only 1% bandwidth. My host is a 450 MHz with 192 MB RAM. I am using 4 fibre channel drive array. Here is my simple config: Two lines from this are of interest: cache_dir ufs /var/squid/cache

RE: [squid-users] External Authenticator help!

2004-04-10 Thread Prash
Thanks for your reply, Henrik. I've written the authenticator. But the funny thing is my value does not match the htdigest value?? I've used the md5_hex exactly as you've shown below. Am I doing something wrong? I've tried md5_base64 as well. My Value: perl -e 'use Digest::MD5 qw(md5_hex); my

[squid-users] Re: AuThentification

2004-04-10 Thread Henrik Nordstrom
I do not understand what you mean by is call each time the same client launch IE. From what I can see everything looks correct, except maybe that you have not disabled buffering of stdout. Most languages require you to disable output buffering in order for the output to reach Squid. Is there

Re: [squid-users] -- Squid, SquidGuard and selective filtering

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, Schelstraete Bart wrote: For people who're not used to work with Squid, the ACL's of Squid can be very tricky. To this I agree. And I would very much welcome if someone was interested in developing a better ACL syntax for Squid which is easier to configure. Either as a

RE: [squid-users] External Authenticator help!

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, Prash wrote: My Value: perl -e 'use Digest::MD5 qw(md5_hex); my $value = md5_hex(join(:, 78069102,Cyber,h6VOPgOfY1)); print $value\n;' 4c9a61f233ef81a598b2fe0ce3c3e111 HTDIGEST Value: $htdigest -c ./me.passwd 78069102 Cyber Adding password for Cyber in realm

Re: [squid-users] squid on web100 patched machine

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, unixware wrote: 34Mbps Total 20Mbps ( 4 squid boxes proxying ) So each box is having ca 5, no more than 10 Mbit/s of traffic then? Regards Henrik

Re: [squid-users] squid on web100 patched machine

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, Joel Jaeggli wrote: last time I looked at the web100 patch set it was mostly performance monitoring... Not really. web100 works by automatic tuning of TCP based on monitoring to behave better in very high speed networking environments. But as I say, it is extremely

Re: [squid-users] poor performance - what am i doing wrong?

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, Peter Matulis wrote: cache_dir ufs /var/squid/cache 100 16 256 Shouldn't you have a somewhat bigger cache than 100 MB? How much HTTP traffic do you have in a week? Regards Henrik

Re: [squid-users] poor performance - what am i doing wrong?

2004-04-10 Thread Peter Matulis
--- Henrik Nordstrom [EMAIL PROTECTED] wrote: On Sat, 10 Apr 2004, Peter Matulis wrote: cache_dir ufs /var/squid/cache 100 16 256 Shouldn't you have a somewhat bigger cache than 100 MB? How much HTTP traffic do you have in a week? This is for a simple one-man dial-up connection.

Re: [squid-users] squid on web100 patched machine

2004-04-10 Thread Joel Jaeggli
On Sat, 10 Apr 2004, Henrik Nordstrom wrote: On Sat, 10 Apr 2004, Joel Jaeggli wrote: last time I looked at the web100 patch set it was mostly performance monitoring... Not really. web100 works by automatic tuning of TCP based on monitoring to behave better in very high speed

Re: [squid-users] poor performance - what am i doing wrong?

2004-04-10 Thread Henrik Nordstrom
On Sat, 10 Apr 2004, Peter Matulis wrote: This is for a simple one-man dial-up connection. Currently my /var/squid/cache directory structure contains only 22 MB. Ok. For a one-man situation there is not much benefit of a shared cache such as Squid as your browser already caches things for

RE: [squid-users] External Authenticator help!

2004-04-10 Thread Prash
ah .. stupid me! I'm embarrassed now. Thanks for pointing that, Henrik. Great help as usual. -Original Message- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: 10 April 2004 22:29 To: Prash Cc: Henrik Nordstrom; [EMAIL PROTECTED] Subject: RE: [squid-users] External Authenticator

RE: [squid-users] External Authenticator help!

2004-04-10 Thread Prash
One last question tho. Is it ok for the external digest authenticator to return ERR or should it always return HA1. If I have to return HA1, then I guess I should make up some dummy HA1 if I want my auth to fail. -Original Message- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent:

[squid-users] best FS for SQUID

2004-04-10 Thread ThE LinuX_KiD
Hi, which is best fileSystem for squid ? ext2, ext3, XFS, or ReiserFs ? and which haves better support to aggresive fails on power supply ? regards

Re: [squid-users] best FS for SQUID

2004-04-10 Thread fire-eyes
ThE LinuX_KiD wrote: Hi, which is best fileSystem for squid ? ext2, ext3, XFS, or ReiserFs ? and which haves better support to aggresive fails on power supply ? regards I will say reiserfs. It is the best, period, with small files. I've had all the other listed filesystems fail on me,

Re: [squid-users] best FS for SQUID

2004-04-10 Thread fire-eyes
fire-eyes wrote: ThE LinuX_KiD wrote: Hi, which is best fileSystem for squid ? ext2, ext3, XFS, or ReiserFs ? and which haves better support to aggresive fails on power supply ? regards I will say reiserfs. It is the best, period, with small files. I've had all the other listed filesystems

[squid-users] Limiting bandwidth

2004-04-10 Thread Xavier Baez
Dear users I was start apache in prot 81; configure Squid in port 80 as an httpd accelerator and as a proxy, and to redirect incoming requests (TCP) for port 80 to port 81 My site is doing much better in general, however I still want to limit the ammount of bandwidth per IP. How can I do