Re: Netscape 4 ?

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 07 Aug 97 13:21:33 -0700

robert@gar.no writes:

>In <199707291709.KAA10784@nlanr.net> wessels@nlanr.net (Duane Wessels) writes:
>
>>Try this patch included below, and add this to your squid.conf:
>> reload_into_ims on
>>This patch is designed to have the following effects
>> * if the request includes both 'no-cache' and 'If-Modified-Since'
>> the 'no-cache' is simply ignored
>> * if the request includes only 'no-cache' then Squid
>> makes an 'If-Modified-Since' request out the other side.
>
>Thanks, that mostly did the job. However I think there is a bug in the
>handling of the 'request includes both no-cache and If-Modified-Since' case.
>This should not blindly be turned into an IMS request without first
>checking the refresh_patterns for staleness. The Netscape simple reload
>problem reported by Christian Balzer is a side-effect of this I think.
>I've applied the patch below on top of yours with good results.

I'm not really convinced. And I like how you call this a bug
('scuse me! you're not violating the protocol properly!)

With the original patch I sent a NOCACHE+IMS request is not forwarded,
and you don't really know if the page is stale.

With your patch, such a request would be forwarded. If you have a
parent cache, then the parent may or may not forward it on to the
origin (you may or may not see stale data). If you have no parents,
then the origin server will tell you if you have the current version
(you should never see stale data).

For some reason I thought the goal was to NOT forward the request
because the request forwarding caused delays. But maybe everyone has
something different in mind.

Maybe it would be better to just leave NOCACHE+IMS requests
alone (so they always go all the way to the origin) and
only munge NOCACHE requests without IMS headers.

Duane W.

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id QAA10109;
        Thu, 7 Aug 1997 16:26:41 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 16:26:41 -0700 (PDT)
Date: Fri, 08 Aug 1997 09:11:31 +1000 (EST)
From: David Richards <dj.richards@qut.edu.au>
Subject: Re: log files
In-reply-to: <33EA23A2.6E9B@cruiser.com.br>
To: "Vinicius D 'Antonio" <vda@cruiser.com.br>
Cc: user-list-squid <squid-users@nlanr.net>
Message-id: <Pine.OSF.3.92.970808090814.11844A-100000@pigeon.qut.edu.au>
MIME-version: 1.0
Content-type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"_qgDv20XJLB.0.zN7.oZbwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/124
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

Things to check:

        1) The log directory exists
        2) Squid owns the directory. i.e. the user that squid is running
as.

        If I was running squid as say user "proxy" then got to squid's
home directory something like "/usr/local/squid" and type:

                # chown -R proxy.proxygroup *

        Assuming squid is running as "proxy" and is a member of
"proxygroup"

        Sorry about being so specific.

Dave.

----------------------------------------------------------------------
David Richards Ph: +61 7 3864 4354
Network Programmer Fax: +61 7 3864 5272
Computing Services e-mail: dj.richards@qut.edu.au
Queensland University of Technology
----------------------------------------------------------------------

On Thu, 7 Aug 1997, Vinicius D 'Antonio wrote:

> Hi all,
>
> I've a problem! I can't start the squid, it's sending me a msg saying:
> WARNING: Cannot write log file: /usr/local/squid/logs/cache.log
> /usr/local/squid/logs/cache.log: Permission denied
> messages will be sent to 'stderr'.
>
> and
>
> file_open: error opening file /usr/local/squid/logs/access.lo
> g: (13) Permission denied
> 96/08/07 16:35:25| /usr/local/squid/logs/access.log: (13) Permission
> denied
> FATAL: Cannot open logfile.
>
> thanks in advance.
>

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id QAA10482;
        Thu, 7 Aug 1997 16:48:44 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 16:48:44 -0700 (PDT)
Message-ID: <199708072346.JAA12205@diji.jna.com.au>
From: John Warburton <JWar@jna.com.au>
To: Oskar Pearson <oskar@is.co.za>,
        Andre Albsmeier
         <Andre.Albsmeier@mchp.siemens.de>
Cc: squid-users@nlanr.net
Subject: RE: get "Operation already in progress" when trying to use squid
        with socks
Date: Fri, 8 Aug 1997 09:50:15 +1000
X-Priority: 3
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.0.1457.3)
Content-Type: multipart/mixed;
        boundary="---- =_NextPart_000_01BCA3E0.296DBA30"
Resent-Message-ID: <"ua4r6-YNfh3.0.P_2.uvbwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/125
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------ =_NextPart_000_01BCA3E0.296DBA30
Content-Type: text/plain

Hi,

we use socks 5 with our squid with no problems.

> > The socks5 package itself runs great but with squid I had no succes.
> > > I socksified squid using the usual procedure: including socks.h,
> > > defining SOCKS and linking with the socks5 library.
> you no longer have to go through that rigmarole any more. We use the
> "runsocks" shell script which sets up the correct socks environment,
> so you don't have to modify the source. Our RunCache script has been
> modified. Instead of
> squid -sY $conf >> $logdir/squid.out 2>&1
> we have
> /usr/local/bin/runsocks squid -sY $conf >> $logdir/squid.out
> 2>&1
>
> pretty simple eh?
>
>
> > > Do you have an idea or any hint what I might be doing wrong?
> > hmm - this error message means that your server is trying to connect
> > directly to the remote server (ie not via socks). There is probably
> something
> > wrong with the https source in squid so that it can't talk socks.
>
> we do (still) have an issue with ftpget failing with socks5 and
> solaris 2.5.1, giving us:
> Connection Failed
>
> The system returned:
>
> (125) Address already in use
>
> This means that:
>
> The remote site or server may be down. Please try again soon.
>
> which when we use an vanilla socks ftp client, we get through. But
> that's another story....
>
> John

------ =_NextPart_000_01BCA3E0.296DBA30
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64

eJ8+IgMXAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQSAAQBMAAAAUkU6IGdldCAiT3BlcmF0aW9uIGFscmVhZHkgaW4g
cHJvZ3Jlc3MiIHdoZW4gdHJ5aW5nIHRvIHVzZSBzcXVpZCB3aXRoIHNvY2tzADgbAQmAAQAhAAAA
RjMyNkZFRUJDOTBGRDExMTgwRUY0NDQ1NTM1NDAwMDAAEQcBIIADAA4AAADNBwgACAAJADAAAQAF
ACMBAQWAAwAOAAAAzQcIAAgACQAyAA8ABQAzAQENgAQAAgAAAAIAAgABA5AGACAJAAApAAAACwAC
AAEAAAADAC4AAAAAAEAAOQCAXh2njKO8AR4AcAABAAAATAAAAFJFOiBnZXQgIk9wZXJhdGlvbiBh
bHJlYWR5IGluIHByb2dyZXNzIiB3aGVuIHRyeWluZyB0byB1c2Ugc3F1aWQgd2l0aCBzb2NrcwAC
AXEAAQAAABYAAAABvKOMpxXr/ib1D8kR0YDvREVTVAAAAAACAQkQAQAAAHQEAABwBAAAhAcAAExa
RnVXjxWMAwAKAHJjcGcxMjXSMgD7MzYB6CACpARkCQIAY2gKwHNldDD+IAhVB7ICgwBQA9UHEwKA
Zn0KgAjIIDsJbw4wNc8UXwpgAoAKgXVjAFALAxZjAEELYG4OEDAzM+ELpiBIaSwKogqECoAQd2Ug
dREgIHNvJGNrBCA1IAPwdGiGIAhhGlBxdWlkGtQwbm8gcANgAmBlbXxzLhk4CzAM0AHBGTQ+rwMw
F7AOUBxRdAWQdBJR8iAeUFRoGkUawAqwGoAcYWcaABrwESBsZiAscnUGMQnBYQVAYnXnBUAa4xt0
SSAQ8BuwHCH6cxcgYweQHNYXsh7FAtH/EVAeXx9hItAaYwaQCJAbsGcbdBogC4BnIBsAGgJ1lwdA
HEIjkGQIcGU6ILA0bmMKQGQn0hpjLmh/GSYkTyVfK/ABAQuAJ9JTuE9DSwXwAHAbsGwLgD5rJ9Ia
4ygSH9UuYGJy3QrAeRzQKv0ZNHkIYBwSrwkAGBARwRDwdhoAdBwwzmccMBsAA2B1Zy8SIbE9BRBn
AMADYByQLhF5IGMEYBXALiBXGgQoEiLbITIaciIaUB+gbAMgBPU8d2gN4CJRETAEIHVwPygDBaEV
wB8QGlUJ8HZprQNgbgeAAjAsGlEgMcL6ZAIgJwVAMqYEYQaQNOCvLzQIcCOQNUBPG0FSIUC+QwDQ
H6IFBBDwBCBiCeF3O6QnETVASQCAHvAjAW8PIRAZNQGRG2Utc1kgqiQFoG4hED4r8CQJANJnKbBy
LxtzLghgBUB4Mj4mF0MZ0zKiQAkvlxogQkAJAGMHQC9iC4D+LzYmQK9Bv0LMGTQcUBEwNnQ04ACQ
bQtQGgBlaH4/Koceqhk6Ku8r/x9hRP86dDKjA5EboCGgGyAFwDTCXzegAjA3gSGxItBtNDBo3yHB
GgA60C6jOdFnSphM7/FN/WhtbUaQKAEEADmA9zjQBbEHgXMgggeABiIz078xwRtRBJAywAXAVdF0
MDD3J9McMEbxbh8CUt9T7x8U+0exHwFsPAEzMhoAFcAEYPse8FfWKAiQHBEFQDmwUCD9GmMpNUAf
kRXAWEIcUgGg/1yBGmAHgFWxGBBZn1qvHwXnUmMu2FGgdHBGITxzKVH/G2U6YTPTGvA4oABwOwEB
kPxsayn1YP8xGRnxOtBd8PM/cAMQbClPaAQQClAa1P8BgA4AETBrUAtwLmEuxR/VHy4iGmALYAUQ
BCAyLjXkLjE6QGdpObAn4RogujoZNCBvQghQWUNpAiC8IEZr4SchGTofk3k/ce9VcEmhCHBZUGQp
QBk6b0LGKA4hahBBZGQVwAQR+wdAIZFkNOBlQRohcLxV0f9W6HKvH4NdJhrwGgAFsVflJwDANOBR
03duNUAgUN8ckD4wMtEwMC4QZwtxGlH/AiAc2RnRN6M3kD6BGfUDkf52AHBp4V6la1I4oC5gOhNv
GfFrkjNVNUBCIfEz0if/dIFeQV9RGlAy8DAxgmEZOnhKb2gLkEsfGWETcQABhTAeADFAAQAAAAUA
AABKV0FSAAAAAAMAGkAAAAAAHgAwQAEAAAAFAAAASldBUgAAAAADABlAAAAAAAMANgAAAAAACwAA
gAggBgAAAAAAwAAAAAAAAEYAAAAAA4UAAAAAAAADAAGACCAGAAAAAADAAAAAAAAARgAAAAAQhQAA
AAAAAAMAAoAIIAYAAAAAAMAAAAAAAABGAAAAAFKFAAC3DQAAHgADgAggBgAAAAAAwAAAAAAAAEYA
AAAAVIUAAAEAAAAEAAAAOC4wAAMABIAIIAYAAAAAAMAAAAAAAABGAAAAAAGFAAAAAAAACwAFgAgg
BgAAAAAAwAAAAAAAAEYAAAAADoUAAAAAAAADAAaACCAGAAAAAADAAAAAAAAARgAAAAARhQAAAAAA
AAMAB4AIIAYAAAAAAMAAAAAAAABGAAAAABiFAAAAAAAAHgAIgAggBgAAAAAAwAAAAAAAAEYAAAAA
NoUAAAEAAAABAAAAAAAAAB4ACYAIIAYAAAAAAMAAAAAAAABGAAAAADeFAAABAAAAAQAAAAAAAAAe
AAqACCAGAAAAAADAAAAAAAAARgAAAAA4hQAAAQAAAAEAAAAAAAAAAwAmAAAAAAADAIAQ/////wIB
+T8BAAAASQAAAAAAAADcp0DIwEIQGrS5CAArL+GCAQAAAAYAAAAvTz1KTkEvT1U9SE8vQ049UkVD
SVBJRU5UUy9DTj1KTkFNU00vQ049SldBUgAAAAAeAPg/AQAAAA8AAABKb2huIFdhcmJ1cnRvbgAA
HgA4QAEAAAAFAAAASldBUgAAAAACAfs/AQAAAEkAAAAAAAAA3KdAyMBCEBq0uQgAKy/hggEAAAAG
AAAAL089Sk5BL09VPUhPL0NOPVJFQ0lQSUVOVFMvQ049Sk5BTVNNL0NOPUpXQVIAAAAAHgD6PwEA
AAAPAAAASm9obiBXYXJidXJ0b24AAB4AOUABAAAABQAAAEpXQVIAAAAAQAAHMGA9QcWLo7wBQAAI
MACTLVeMo7wBHgA9AAEAAAAFAAAAUkU6IAAAAAAeAB0OAQAAAEgAAABnZXQgIk9wZXJhdGlvbiBh
bHJlYWR5IGluIHByb2dyZXNzIiB3aGVuIHRyeWluZyB0byB1c2Ugc3F1aWQgd2l0aCBzb2NrcwAL
ACkAAAAAAAsAIwAAAAAAAwAGECEVW7YDAAcQyQMAAAMAEBAAAAAAAwAREAAAAAAeAAgQAQAAAGUA
AABISSxXRVVTRVNPQ0tTNVdJVEhPVVJTUVVJRFdJVEhOT1BST0JMRU1TVEhFU09DS1M1UEFDS0FH
RUlUU0VMRlJVTlNHUkVBVEJVVFdJVEhTUVVJRElIQUROT1NVQ0NFU0lTT0NLAAAAAKhA

------ =_NextPart_000_01BCA3E0.296DBA30--

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id RAA15273;
        Thu, 7 Aug 1997 17:58:03 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 17:58:03 -0700 (PDT)
Date: Fri, 8 Aug 1997 02:54:21 +0200
Message-Id: <mail_out.33ea6e3d.robert@gmail.gar.no>
In-Reply-To: <199708072021.NAA14922@nlanr.net>
From: Robert Andersson <robert@gar.no>
To: Duane Wessels <wessels@nlanr.net>
Cc: squid-users@nlanr.net
Subject: Re: Netscape 4 ?
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Gmail-MailClass: 1; infodate=33ea2e4d
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by nlanr.net id RAA20905
Resent-Message-ID: <"4csbhRb8mdD.0.Oc.qvcwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/126
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

Reply to the message of Thursday August 7, 1997 22:21 +0200
-----------------------------------------------------------------
> For some reason I thought the goal was to NOT forward the request
> because the request forwarding caused delays. But maybe everyone has
> something different in mind.

Yes, it may well be that we have slightly different ideas about what
the reload_into_ims flag should mean. The way I expected it to be:

o NOCACHE+IMS requests are handled *exactly* like regular IMS. In
   other words we first go through the refresh_pattern checking and
   only if it says the object is valid is the IMS taken into account.

o NOCACHE requests are handled as if the object is stale and needs
   revalidation.

It seems we agree on the NOCACHE case. What I don't understand is why
you want NOCACHE+IMS to always regard the cached object as valid and
thus bypass the refresh_pattern staleness checking. At least to me it
doesn't feel right that NOCACHE+IMS is less inclined to forward the
request than just a plain IMS

> Maybe it would be better to just leave NOCACHE+IMS requests
> alone (so they always go all the way to the origin) and
> only munge NOCACHE requests without IMS headers.

At least on our site I see that the majority of the NOCACHE requests
coming in from the broken Netscape 4 browsers also have IMS set. Which
makes sense, the browsers have their own disk and/or memory cache and
generate IMS relative to it.

Regards, Robert.

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id TAA25522;
        Thu, 7 Aug 1997 19:14:41 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 19:14:41 -0700 (PDT)
Date: Fri, 08 Aug 1997 10:15:15 +1000
From: Adam Rigby <a.rigby@qut.edu.au>
Subject: Cachemgr.cgi configuration
X-Sender: rigbya@pop.qut.edu.au
To: squid-users@nlanr.net
Message-id: <3.0.32.19970808101511.00556480@pop.qut.edu.au>
MIME-version: 1.0
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Content-type: text/plain; charset="us-ascii"
Resent-Message-ID: <"0691n2WtXZC.0.fl4.9-dwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/127
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

Hi all,

I am running Digital Unix 4.0a, Squid 1.1.11, Apache 1.2 on the same box.
All are working well together.

The problem:

After starting cachemgr.cgi and selecting any option from the drop down
list the following message appears eg.

info:proxy.is.here:3128

dated Fri Aug 8 10:56:42 1997

ERROR

Access Denied

Sorry, you are not currently allowed to request:
cache_object://proxy.is.here/info@

from this cache, Please check with the cache administrator if you believe
this is incorrect.

<<End of Problem

Please help, this is really starting to annoy me!!

Thanks
~Adam

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id VAA24825;
        Thu, 7 Aug 1997 21:54:52 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 21:54:52 -0700 (PDT)
From: Strange Alex <strange@mix.unicon.ru>
Message-Id: <199708080449.LAA03388@mix.unicon.ru>
Subject: Logs rotating...
To: squid-users@nlanr.net
Date: Fri, 8 Aug 1997 11:49:11 +0700 (NSD)
Reply-To: strange@mix.unicon.ru
X-Class: Fast
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"rpOO7uRNGk.0.lK6.CMgwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/128
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

        Hi 2 all !

Can somebody explain me, what SIGUSR1 do in squid 1.1.10 ?
My logfile_rotate set to 10, but when I do kill -USR1 `cat squid.pid`
nothing happend with my log files, even when I do so more than 10 times ;(
And please, tell my the proper way, how to rotate all squid log files .

        WBR Strange Alex

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id WAA21496;
        Thu, 7 Aug 1997 22:13:48 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 22:13:48 -0700 (PDT)
Date: Fri, 8 Aug 1997 15:08:01 +1000 (EST)
From: David J N Begley <david@avarice.nepean.uws.edu.au>
Reply-To: David J N Begley <d.begley@nepean.uws.edu.au>
To: Squid Users <squid-users@nlanr.net>
Subject: Re: Logs rotating...
In-Reply-To: <199708080449.LAA03388@mix.unicon.ru>
Message-ID: <Pine.LNX.3.96.970808150651.20772C-100000@avarice.nepean.uws.edu.au>
X-No-Archive: Yes
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"a2i0adduZj2.0.nS5.Sfgwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/129
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

On Fri, 8 Aug 1997, Strange Alex wrote:

> Can somebody explain me, what SIGUSR1 do in squid 1.1.10 ?
> My logfile_rotate set to 10, but when I do kill -USR1 `cat squid.pid`
> nothing happend with my log files, even when I do so more than 10 times ;(
> And please, tell my the proper way, how to rotate all squid log files .

Ensure that the userid executing the kill -USR1 has access to send signals
to the Squid process (particularly true under Solaris 2 I've noticed, less
necessary under Solaris 1).

Cheers..

dave

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id WAA24055;
        Thu, 7 Aug 1997 22:37:00 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 22:37:00 -0700 (PDT)
From: Jaeyeon Jung <jyjung@cosmos.kaist.ac.kr>
Message-Id: <199708080508.OAA02671@cosmos.kaist.ac.kr>
Subject: Re: Logs rotating...
To: strange@mix.unicon.ru
Date: Fri, 8 Aug 1997 14:08:29 +0900 (KST)
Cc: squid-users@nlanr.net
In-Reply-To: <199708080449.LAA03388@mix.unicon.ru> from "Strange Alex" at Aug 8, 97 11:49:11 am
X-Mailer: ELM [version 2.4 PL21-h4]
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-2022-kr
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"t0x8hfk5LE7.0.M72.5_gwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/130
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

>
> Hi 2 all !
>
> Can somebody explain me, what SIGUSR1 do in squid 1.1.10 ?
> My logfile_rotate set to 10, but when I do kill -USR1 `cat squid.pid`
> nothing happend with my log files, even when I do so more than 10 times ;(

  wait a few more minutes, then you can see *.log.0

  jyjung@cosmos.kaist.ac.kr

> And please, tell my the proper way, how to rotate all squid log files .
>
> WBR Strange Alex
>
>

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id XAA22797;
        Thu, 7 Aug 1997 23:05:39 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 23:05:39 -0700 (PDT)
Date: Thu, 7 Aug 1997 23:56:30 -0600 (MDT)
From: David Hughes <davidh@csn.net>
Subject: Re: Most Stable Squid
To: Edward Henigin <ed@texas.net>
cc: Paul Black <squid@f18.dot.net.au>, squid-users@nlanr.net, noc@dot.net.au
In-Reply-To: <19970807133824.52715@texas.net>
Message-ID: <Pine.3.89.9708072301.A11663-0100000@teal.csn.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"ZtMUAEGQ7jC.0.1-5.VPhwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/131
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

What is the most stable current version of Squid?

tx, david

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id XAA28870;
        Thu, 7 Aug 1997 23:13:17 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 23:13:17 -0700 (PDT)
From: Strange Alex <strange@mix.unicon.ru>
Message-Id: <199708080608.NAA03519@mix.unicon.ru>
Subject: Re: Logs rotating...
To: squid-users@nlanr.net
Date: Fri, 8 Aug 1997 13:08:40 +0700 (NSD)
In-Reply-To: <Pine.LNX.3.96.970808150651.20772C-100000@avarice.nepean.uws.edu.au> from "David J N Begley" at "Aug 8, 97 03:08:01 pm"
Reply-To: strange@mix.unicon.ru
X-Class: Fast
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"ivhzUYRP506.0.pp5.IXhwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/132
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

One day David J N Begley wrote:

> > Can somebody explain me, what SIGUSR1 do in squid 1.1.10 ?
> > My logfile_rotate set to 10, but when I do kill -USR1 `cat squid.pid`
> > nothing happend with my log files, even when I do so more than 10 times ;(
> > And please, tell my the proper way, how to rotate all squid log files .
>
> Ensure that the userid executing the kill -USR1 has access to send signals
> to the Squid process (particularly true under Solaris 2 I've noticed, less
> necessary under Solaris 1).

Root id is enough ??? ;)

And this is cache.log:

97/08/08 11:00:22| rotate_logs: SIGUSR1 received.
97/08/08 11:00:23| storeWriteCleanLog: Starting...
97/08/08 11:00:23| Finished. Wrote 1712 lines.
97/08/08 11:00:23| Took 0 seconds (1712.0 lines/sec).
97/08/08 11:00:23| storeRotateLog: Rotating.
97/08/08 11:00:23| stat_rotate_log: Rotating

All Ok, but really nothinh happend ! ;(((

And Jaeyeon Jung wrote:

> nothing happend with my log files, even when I do so more than 10 times ;(

  wait a few more minutes, then you can see *.log.0

I wait more than 1 day ;) It should be quite enough ;)

        WBR Strange Alex
        

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id XAA21749;
        Thu, 7 Aug 1997 23:19:47 -0700 (PDT)
Resent-Date: Thu, 7 Aug 1997 23:19:47 -0700 (PDT)
Date: Fri, 8 Aug 1997 08:16:11 +0200 (CEST)
From: Daniel Schneider <daniel@terrania.westfalen.de>
To: Ed Sawkins <ed@renishaw.co.uk>
cc: squid-users@nlanr.net
Subject: Re: Starting Squid On Bootup
In-Reply-To: <33E9F04B.54F8@renishaw.com>
Message-ID: <Pine.LNX.3.95.970808081422.26383B-100000@terrania.westfalen.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by nlanr.net id XAA11705
Resent-Message-ID: <"rHPFvL4rHp8.0.nJ5.Idhwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/133
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

Hi,

On Thu, 7 Aug 1997, Ed Sawkins wrote:
> If I try to start with the normal rc scripts it just stops after
> 'testing dns'

Well, that sounds like the dns-test doesn't work quite right or does take
much time.
Just change the option in your squid.conf: dns_testnames

Daniel Schneider
"Das derzeitige Hochwasser ist in Ostdeutschland die
größte Katastrophe seit der Wiedervereinigung."
- Bundeskanzler H. Kohl

Received: (from list@localhost)
        by nlanr.net (8.8.6/8.8.6) id BAA30744;
        Fri, 8 Aug 1997 01:26:46 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 01:26:46 -0700 (PDT)
Message-Id: <m0wwkEn-000772C@dingo.theplanet.co.uk>
X-Mailer: exmh version 2.0delta 6/3/97
To: ed@renishaw.co.uk
cc: squid-users@nlanr.net
From: Nigel Metheringham <Nigel.Metheringham@theplanet.net>
Subject: Re: Starting Squid On Bootup
In-reply-to: Your message of "Thu, 07 Aug 1997 16:56:59 -0000."
             <33E9F04B.54F8@renishaw.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 08 Aug 1997 09:17:33 +0100
Sender: nigel@theplanet.net
Resent-Message-ID: <"VrZmWdCU4u4.0.oE.-Ujwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/134
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net

} I have Squid running on a hp-ux 10.10 machine, and it works fine
} when started from the command line.
}
} If I try to start with the normal rc scripts it just stops after
} 'testing dns'

Your boot scripts *have* started the named prior to squid starting up??
If you primary/secondary a lot of domains there may be a significant delay
before named is able to fulfil requests.

[this applies to other things that squid depends on - ie basic networking,
name service (even disk mounting....!). Squid needs to be started
pretty late in the sequence]

        Nigel.

-- 
[ Nigel.Metheringham@theplanet.net   -  Systems Software Engineer ]
[ Tel : +44 113 251 6012                   Fax : +44 113 224 0003 ]
[            Friends don't let friends use sendmail!              ]
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id BAA30537;
	Fri, 8 Aug 1997 01:39:07 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 01:39:07 -0700 (PDT)
Message-ID: <33EADBD1.C6E66624@siemens.nl>
Date: Fri, 08 Aug 1997 10:41:54 +0200
From: Gert-Jan Looy <gj@siemens.nl>
Reply-To: gj@siemens.nl
Organization: Siemens
X-Mailer: Mozilla 4.0 [en] (WinNT; I)
MIME-Version: 1.0
To: squid-users@nlanr.net
Subject: ipcacheChangeKey...
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"v70U19rBVg3.0.Et1.Vijwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/135
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Hi,
After updating to Squid 1.1.14 on a SNI SVR4 box,
strange messages keep popping up in cache.log:
e.g.:
.... ipcacheChangeKey: from 'www.microsoft.com' to '23/www.microsoft.com' 
.... ipcacheChangeKey: from 'www.microsoft.com' to '24/www.microsoft.com'
.... ipcacheChangeKey: from 'www.microsoft.com' to
'25/www.microsoft.com'  
etc.
Is this an error? Everything seems to work fine though.
TIA,
_________________________________________________________
Gert-Jan Looy     Unix SysAdm  Siemens/SNI Nederland N.V.
E-mail    :   gj@siemens.nl
Phone/Fax :   +31 70 333 2982 / 2948
X400      :   NL;400NET;SCN;siemens;zom1;p1;looy;gert-jan
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id BAA10103;
	Fri, 8 Aug 1997 01:40:01 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 01:40:01 -0700 (PDT)
From: Michael Shoyher <msh@corbina.net>
Message-Id: <199708080839.MAA07986@ns.corbina.ru>
Subject: FD_SETSIZE and FreeBSD 2.1.7
To: squid-users@nlanr.net
Date: Fri, 8 Aug 1997 12:39:44 +0400 (MSD)
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"ArZ8wzFGlg3.0.217.Djjwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/136
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Is there any way to use more than  256 filedescriptors
on FreeBSD 2.1.7?
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id CAA28321;
	Fri, 8 Aug 1997 02:22:32 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 02:22:32 -0700 (PDT)
Message-Id: <199708080925.LAA20149@chappi.deh.de>
From: "Thomas Krause" <tom@deh.de>
To: <squid-users@nlanr.net>
Subject: cache_swap > 6 GB
Date: Fri, 8 Aug 1997 11:23:29 +0200
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1161
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"LOwVcBqdTo6.0.2l6.wKkwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/137
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
I want to use a 7.3 GB cache partition for squid 1.1.14
If the cache_swap value is larger then 6000000 (eg. 6300000)
I get the following message:
WARNING: cache_swap (-2138734592 kbytes) is less than cache_mem (67108864
bytes).
         This will cause serious problems with your cache!!!
         Change your configuration file.
I don't want to use 2 partitions for the squid because
of backup/restore of all files.
Best regards,
Thomas Krause
-----------------------------------------------------------
Dipl.-Ing. Thomas Krause           DEH multimedia soft gmbh 
                             Nacamar-PoP Leipzig/Halle/Jena 
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id CAA32213;
	Fri, 8 Aug 1997 02:30:36 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 02:30:36 -0700 (PDT)
Message-ID: <19970808112923.26887@admin.is.co.za>
Date: Fri, 8 Aug 1997 11:29:23 +0200
From: Oskar Pearson <oskar@is.co.za>
To: Michael Shoyher <msh@corbina.net>
Cc: squid-users@nlanr.net
Subject: Re: FD_SETSIZE and FreeBSD 2.1.7
References: <199708080839.MAA07986@ns.corbina.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.69e
In-Reply-To: <199708080839.MAA07986@ns.corbina.ru>; from Michael Shoyher on Fri, Aug 08, 1997 at 12:39:44PM +0400
Reply-To: oskar@is.co.za
Resent-Message-ID: <"CrdX1UDYMbE.0.ve.FSkwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/138
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
On Fri, Aug 08, 1997 at 12:39:44PM +0400, Michael Shoyher wrote:
> Is there any way to use more than  256 filedescriptors
> on FreeBSD 2.1.7?
I have to add this to the user's guide sometime:
-------------------------------
In the "Changing operating system settings to enhance squid" chapter
theres missing some information on how to enhance FreeBSD.
The point with FreeBSD is, that parameters on how many FD's and buffers
etc. are all configured by the MAXUSERS kernel configuration directive.
A good value should be something like number of simultaneous connections
multiplied by 1.5 or 2.0, depending of course what else the computer is doing.
I'm using 2.0 because I can afford some spare memory on this matter.
For example, putting MAXUSERS to 60 will get something about 1920 FD's
and 960 Max processes. That should be enough for all. :-).
- --
                                                Antti Rytsola
                                                DLC Data Link Connections
                                                raccoon@dlc.fi
-------------------------------
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id CAA02569;
	Fri, 8 Aug 1997 02:31:37 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 02:31:37 -0700 (PDT)
Message-Id: <m0wwmHR-000i2jC@indiago.de>
Date: Fri, 8 Aug 97 11:28 GMT+0100
To: Thomas Krause <tom@deh.de>
From: Jan Jungnickel <octane@indiago.de>
Cc: <squid-users@nlanr.net>
Subject: Re: cache_swap > 6 GB
In-Reply-To: <199708080925.LAA20149@chappi.deh.de>
References: <199708080925.LAA20149@chappi.deh.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver 1.21
Resent-Message-ID: <"28AmoEpGLTD.0.Xd4.gTkwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/139
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
On Fri, 8 Aug 1997 11:23:29 +0200
"Thomas Krause" <tom@deh.de> wrote:
> 
> I want to use a 7.3 GB cache partition for squid 1.1.14
> If the cache_swap value is larger then 6000000 (eg. 6300000)
> I get the following message:
> 
> WARNING: cache_swap (-2138734592 kbytes) is less than cache_mem (67108864
> bytes).
As you see, this is a negative value, caused by the 32-Bit limitation (
about 4 Gig). 
>          This will cause serious problems with your cache!!!
>          Change your configuration file.
> 
> I don't want to use 2 partitions for the squid because
> of backup/restore of all files.
As i know no other solution, you`d have to use 2 partitions. If i am
wrong please informe me.
MfG, Jan Jungnickel
indiago online  - Technische Leitung
http://www.indiago.de
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id CAA26759;
	Fri, 8 Aug 1997 02:33:14 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 02:33:14 -0700 (PDT)
Message-Id: <199708080932.TAA00051@valdez.mel.aone.com.au>
X-Mailer: exmh version 2.0delta 6/3/97
To: ed@renishaw.co.uk
cc: squid-users@nlanr.net
Subject: Re: Starting Squid On Bootup 
In-reply-to: Your message of "Thu, 07 Aug 1997 16:56:59 GMT."
             <33E9F04B.54F8@renishaw.com> 
From: Lincoln Dale <ltd@aone.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Fri, 08 Aug 1997 19:32:20 +1000
Sender: ltd@aone.com.au
Resent-Message-ID: <"f3lcSa1AfmE.0.U9.BVkwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/140
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
> I have Squid running on a hp-ux 10.10 machine, and it works fine
> when started from the command line. 
> 
> If I try to start with the normal rc scripts it just stops after
> 'testing dns'
> 
> Has anyone else experienced similar problems?
its most likely nothing to do with the DNS test at all.
i came across this one first with HP-UX 9.01.  things that you put in the rc 
files sometimes just exit (for no apparent reason).
rc scripts on HPUX that are started with #!/bin/sh can exit before the 
programs running in there have dis-associated themselves from the shell.
either start squid using an 'at' job into the future (echo 
/usr/local/squid/bin/RunCache | at now + 1 minute'), start RunCache via nohup, 
or put a 'sleep 30' at the end of the rc script, after squid has been started.
INN suffers a similar fate.
cheers,
lincoln.
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id EAA27827;
	Fri, 8 Aug 1997 04:38:00 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 04:38:00 -0700 (PDT)
From: "John Lauro" <jlauro@umich.edu>
To: "squid-users@nlanr.net" <squid-users@nlanr.net>,
        "Thomas Krause" <tom@deh.de>
Date: Fri, 08 Aug 97 07:30:53 -0500
Reply-To: "John Lauro" <jlauro@umich.edu>
Priority: Normal
X-Mailer: PMMail 1.51 For OS/2 UNREGISTERED SHAREWARE
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: Re: cache_swap > 6 GB
Message-ID: <37FCD11790@flint.umich.edu>
Resent-Message-ID: <"uW2NKuP5AS4.0.l01.8Imwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/141
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
On Fri, 8 Aug 1997 11:23:29 +0200, Thomas Krause wrote:
>
>I want to use a 7.3 GB cache partition for squid 1.1.14
>If the cache_swap value is larger then 6000000 (eg. 6300000)
>I get the following message:
>
>WARNING: cache_swap (-2138734592 kbytes) is less than cache_mem (67108864
>bytes).
>         This will cause serious problems with your cache!!!
>         Change your configuration file.
>
>I don't want to use 2 partitions for the squid because
>of backup/restore of all files.
>
The cache_swap is in *MEGA*bytes.   Set it to 6000 for 6GB.
You asked for 6.3 tera-bytes of cache...
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id EAA03832;
	Fri, 8 Aug 1997 04:46:36 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 04:46:36 -0700 (PDT)
Message-Id: <3.0.1.32.19970808214514.00da6f50@globec.com.au>
X-Sender: sjudge@globec.com.au
X-Mailer: Windows Eudora Pro Version 3.0.1 (32)
Date: Fri, 08 Aug 1997 21:45:14 +1000
To: "Thomas Krause" <tom@deh.de>
From: Steve Judge <sjudge@globec.com.au>
Subject: Re: cache_swap > 6 GB
Cc: squid-users@nlanr.net
In-Reply-To: <199708080925.LAA20149@chappi.deh.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"ury9irBYzeA.0.KJ.2Rmwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/142
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
At 11:23 AM 8/8/97 +0200, you wrote:
Thomas,
      The cache_swap size i think you'll find is in megabytes, so if you
have a 
7.3 gig cache partition it'd be in your squid.conf
cache_swap 7300
>
>I want to use a 7.3 GB cache partition for squid 1.1.14
>If the cache_swap value is larger then 6000000 (eg. 6300000)
>I get the following message:
Steve Judge
Globec Internet Services Pty Ltd
http://www.globec.com.au/
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id FAA02216;
	Fri, 8 Aug 1997 05:04:07 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 05:04:07 -0700 (PDT)
From: Michael Shoyher <msh@corbina.net>
Message-Id: <199708081201.QAA20942@ns.corbina.ru>
Subject: Re: FD_SETSIZE and FreeBSD 2.1.7
To: oskar@is.co.za
Date: Fri, 8 Aug 1997 16:01:49 +0400 (MSD)
Cc: squid-users@nlanr.net
In-Reply-To: <19970808112923.26887@admin.is.co.za> from "Oskar Pearson" at "Aug 8, 97 11:29:23 am"
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"Upy0klog0tC.0.k_.Shmwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/143
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
> On Fri, Aug 08, 1997 at 12:39:44PM +0400, Michael Shoyher wrote:
> > Is there any way to use more than  256 filedescriptors
> > on FreeBSD 2.1.7?
> 
> The point with FreeBSD is, that parameters on how many FD's and buffers
> etc. are all configured by the MAXUSERS kernel configuration directive.
> A good value should be something like number of simultaneous connections
> multiplied by 1.5 or 2.0, depending of course what else the computer is doing.
> I'm using 2.0 because I can afford some spare memory on this matter.
 As I know FreeBSD 2.1.7 has problems with more than 256 descriptors in 
select().  And configure  limits number of filedescriptors to 256.
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id FAA02363;
	Fri, 8 Aug 1997 05:18:54 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 05:18:54 -0700 (PDT)
Message-ID: <19970808141635.18437@admin.is.co.za>
Date: Fri, 8 Aug 1997 14:16:35 +0200
From: Oskar Pearson <oskar@is.co.za>
To: Michael Shoyher <msh@corbina.net>
Cc: squid-users@nlanr.net
Subject: Re: FD_SETSIZE and FreeBSD 2.1.7
References: <19970808112923.26887@admin.is.co.za> <199708081201.QAA20942@ns.corbina.ru>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.69e
In-Reply-To: <199708081201.QAA20942@ns.corbina.ru>; from Michael Shoyher on Fri, Aug 08, 1997 at 04:01:49PM +0400
Reply-To: oskar@is.co.za
Resent-Message-ID: <"xhhNVWv8p4.0.Vn2.8vmwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/144
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Hi
> > > Is there any way to use more than  256 filedescriptors
> > > on FreeBSD 2.1.7?
> > 
> > The point with FreeBSD is, that parameters on how many FD's and buffers
> > etc. are all configured by the MAXUSERS kernel configuration directive.
> > A good value should be something like number of simultaneous connections
> > multiplied by 1.5 or 2.0, depending of course what else the computer is doing.
> > I'm using 2.0 because I can afford some spare memory on this matter.
>  As I know FreeBSD 2.1.7 has problems with more than 256 descriptors in 
> select().  And configure  limits number of filedescriptors to 256.
I have personally seen a FreeBSD box with over 2000 concurrent TCP sessions
to the squid port. I didn't configure it though.
Oskar
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id GAA01253;
	Fri, 8 Aug 1997 06:01:53 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 06:01:53 -0700 (PDT)
From: Andre Albsmeier <Andre.Albsmeier@mchp.siemens.de>
Message-Id: <199708081300.PAA04159@curry.mchp.siemens.de>
Subject: Re: get "Operation already in progress" when trying to use squid  with socks
In-Reply-To: <199708072346.JAA12205@diji.jna.com.au> from John Warburton at "Aug 8, 97 09:50:15 am"
To: squid-users@nlanr.net
Date: Fri, 8 Aug 1997 15:00:16 +0200 (CEST)
X-Mailer: ELM [version 2.4ME+ PL31 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"9P7vd8_HdBD.0.ZW1.vXnwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/145
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
> Hi,
> 
> we use socks 5 with our squid with no problems.
> 
> > > The socks5 package itself runs great but with squid I had no succes.
> > > > I socksified squid using the usual procedure: including socks.h,
> > > > defining SOCKS and linking with the socks5 library.
> > you no longer have to go through that rigmarole any more. We use the
> > "runsocks" shell script which sets up the correct socks environment,
> > so you don't have to modify the source. Our RunCache script has been
> > modified. Instead of 
> > 	squid -sY $conf >> $logdir/squid.out 2>&1
> > we have
> > 	/usr/local/bin/runsocks squid -sY $conf >> $logdir/squid.out
> > 2>&1
> > 
> > pretty simple eh?
Thanks to all how have responded to me. I have received the cool hint
to use ssl_proxy together with the netscrape cache and so I have no
need to socksify squid anymore :-)
Thanks again
	-Andre
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id HAA02315;
	Fri, 8 Aug 1997 07:02:17 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 07:02:17 -0700 (PDT)
Date: Fri,  8 Aug 97 09:58:48 EDT
From: "R. Scott Bailey" <sbailey@dsddi.eds.com>
Subject: ftpget 1.1.14 truncates on space in filename
To: squid-users@nlanr.net
X-PRIORITY: 3 (Normal)
X-Mailer: Chameleon 5.0, TCP/IP for Windows, NetManage Inc.
Message-ID: <Chameleon.871048917.sbailey@wimpy.dsddi.eds.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"CLkPSATNFC7.0.zC1.bQowp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/146
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
If anybody else has found and fixed this problem already, I'd appreciate a 
pointer on a patch before I struggle through it myself. :-)
ftpget (both 1.1.10 and 1.1.14) does not process file entries in a directory 
listing correctly when the filename contains a space (which can easily occur 
on Windows NT servers...). The reported name (and the name in the generated 
URL) is truncated at the space.
Cheers,
  Scott
----------
R. Scott Bailey                sbailey@dsddi.eds.com
system manager, postmaster     sbailey@xcc.mc.xerox.com
EDS / ESC - Detroit            313-556-6011 [8/346]
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id HAA06207;
	Fri, 8 Aug 1997 07:04:27 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 07:04:27 -0700 (PDT)
Message-Id: <3.0.2.32.19970808145244.00c52450@mailhost.origin-at.co.uk>
X-Sender: jlarmour@mailhost.origin-at.co.uk
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.2 (32)
Date: Fri, 08 Aug 1997 14:52:44 +0100
To: Robert Andersson <robert@gar.no>, Duane Wessels <wessels@nlanr.net>
From: Jonathan Larmour <JLarmour@origin-at.co.uk>
Subject: Re: Netscape 4 ?
Cc: squid-users@nlanr.net
In-Reply-To: <mail_out.33ea6e3d.robert@gmail.gar.no>
References: <199708072021.NAA14922@nlanr.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"apcB7x2dpCA.0.931.ZTowp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/147
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
At 02:54 08/08/97 +0200, Robert Andersson wrote:
>It seems we agree on the NOCACHE case.  What I don't understand is why
>you want NOCACHE+IMS to always regard the cached object as valid and
>thus bypass the refresh_pattern staleness checking.  At least to me it
>doesn't feel right that NOCACHE+IMS is less inclined to forward the
>request than just a plain IMS
FWIW, I think Robert has a good point - I would prefer his behaviour.
Jonathan L.
Origin UK,323 Cambridge Science Park,Cambridge,England. Tel: +44(1223)423355
-------[ It is impossible to enjoy idling thoroughly unless one has ]-------
----------------[ plenty of work to do - Jerome K. Jerome ]-----------------
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id HAA12316;
	Fri, 8 Aug 1997 07:06:47 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 07:06:47 -0700 (PDT)
Message-Id: <3.0.2.32.19970808145856.00c521ec@mailhost.origin-at.co.uk>
X-Sender: jlarmour@mailhost.origin-at.co.uk
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.2 (32)
Date: Fri, 08 Aug 1997 14:58:56 +0100
To: Adam Rigby <a.rigby@qut.edu.au>, squid-users@nlanr.net
From: Jonathan Larmour <JLarmour@origin-at.co.uk>
Subject: Re: Cachemgr.cgi configuration
In-Reply-To: <3.0.32.19970808101511.00556480@pop.qut.edu.au>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"MFEW4G8ERIB.0.2P1.bVowp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/148
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
At 10:15 08/08/97 +1000, Adam Rigby wrote:
>After starting cachemgr.cgi and selecting any option from the drop down
>list the following message appears eg. 
[snip 8< ]
>ERROR
>
>Access Denied
>
>Sorry, you are not currently allowed to request:
>cache_object://proxy.is.here/info@
[snip 8< ]
Read the FAQ. Make sure you have the web server with the cachemgr.cgi
script in the ACL.
e.g.
acl manager proto cache_object
acl mywebserver src 1.2.3.4/255.255.255.255
http_access allow manager mywebserver
http_access deny manager
Make sure you have set up your web server security so that random people
can't just access your cachemgr.cgi.
Jonathan L.
Origin UK,323 Cambridge Science Park,Cambridge,England. Tel: +44(1223)423355
-------[ It is impossible to enjoy idling thoroughly unless one has ]-------
----------------[ plenty of work to do - Jerome K. Jerome ]-----------------
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id HAA10362;
	Fri, 8 Aug 1997 07:27:20 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 07:27:20 -0700 (PDT)
Message-Id: <3.0.2.32.19970808151107.00c535fc@mailhost.origin-at.co.uk>
X-Sender: jlarmour@mailhost.origin-at.co.uk
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.2 (32)
Date: Fri, 08 Aug 1997 15:11:07 +0100
To: squid-users@nlanr.net
From: Jonathan Larmour <JLarmour@origin-at.co.uk>
Subject: Re: Most Stable Squid
In-Reply-To: <Pine.3.89.9708072301.A11663-0100000@teal.csn.net>
References: <19970807133824.52715@texas.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"hKkzZOvtb13.0.UN.noowp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/149
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
At 23:56 07/08/97 -0600, David Hughes wrote:
>What is the most stable current version of Squid?
I would also like an answer to this. The web page at squid.nlanr.net still
says the stable version is 1.1.11, and the most recent is 1.1.14, which
implies 1.1.14 is unstable. But people seem to be using it happily, so
what's the story?
Jonathan L.
Origin UK,323 Cambridge Science Park,Cambridge,England. Tel: +44(1223)423355
-------[ It is impossible to enjoy idling thoroughly unless one has ]-------
----------------[ plenty of work to do - Jerome K. Jerome ]-----------------
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id IAA18795;
	Fri, 8 Aug 1997 08:21:33 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 08:21:33 -0700 (PDT)
Date: Fri, 8 Aug 1997 09:40:05 -0500 (CDT)
From: Matt Isleb <kermit@reptile.clc.cc.il.us>
To: Strange Alex <strange@mix.unicon.ru>
cc: squid-users@nlanr.net
Subject: Re: Logs rotating...
In-Reply-To: <199708080449.LAA03388@mix.unicon.ru>
Message-ID: <Pine.LNX.3.91.970808093828.16824A-100000@reptile.clc.cc.il.us>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"HQ3fanTEKT6.0.912.aapwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/150
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
On Fri, 8 Aug 1997, Strange Alex wrote:
> Can somebody explain me, what SIGUSR1 do in squid 1.1.10 ?
> My logfile_rotate set to 10, but when I do kill -USR1 `cat squid.pid`
> nothing happend with my log files, even when I do so more than 10 times ;(
> And please, tell my the proper way, how to rotate all squid log files .
Perhaps the PID in the file is stale or not there? I have a handy killall 
program. I do 'killall -USR1 squid'  Or rather.. LINUX has a handy 
killall program.. dunno 'bout other *nixes.
Matt
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id IAA16811;
	Fri, 8 Aug 1997 08:23:31 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 08:23:31 -0700 (PDT)
Date: Fri, 8 Aug 1997 09:43:40 -0500 (CDT)
From: Matt Isleb <kermit@reptile.clc.cc.il.us>
To: squid-users@nlanr.net
Message-ID: <Pine.LNX.3.91.970808094131.16852A-100000@reptile.clc.cc.il.us>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"fHBiZEzpp_4.0.gK6.hdpwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
Subject: 
X-Mailing-List: <squid-users@nlanr.net> archive/latest/151
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Umm could someone tell me why i keep getting a LOT of blank emails that 
look like this in my /var/spool/mail/kermit dir:
>From squid-users-request@nlanr.net  Thu Aug  7 10:38:44 1997
Status: O
X-Status:
I get about 5/day.
Matt
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id JAA02562;
	Fri, 8 Aug 1997 09:17:00 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 09:17:00 -0700 (PDT)
Date: Fri, 8 Aug 1997 12:15:54 -0400 (EDT)
From: Michael Pelletier <mikep@comshare.com>
To: Jonathan Larmour <JLarmour@origin-at.co.uk>
cc: squid-users@nlanr.net
Subject: Re: Most Stable Squid
In-Reply-To: <3.0.2.32.19970808151107.00c535fc@mailhost.origin-at.co.uk>
Message-ID: <Pine.BSI.3.95.970808120910.16667Q-100000@valhalla.comshare.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"zMXsMh1KwQ9.0.qi1.bPqwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/153
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
On Fri, 8 Aug 1997, Jonathan Larmour wrote:
> At 23:56 07/08/97 -0600, David Hughes wrote:
> >What is the most stable current version of Squid?
> 
> I would also like an answer to this. The web page at squid.nlanr.net still
> says the stable version is 1.1.11, and the most recent is 1.1.14, which
> implies 1.1.14 is unstable. But people seem to be using it happily, so
> what's the story?
I think that what the web page is indicating is that 1.1.11 is the latest
*proven* stable version.  This does not necessarily imply that 1.1.14 is
unstable, just that it hasn't had time to be proven stable.  I've been
using 1.1.14+retry here and it's been up for the last nine days without a
hitch, so I personally wouldn't call it "unstable."
(According to the registration database, there's five other sites besides
me running the retry patch, and I think the Austrian one has been up
longer, since I did a restart to back out a couple of changes I made
beyond the patch that Technodat is running.) 
	-Mike Pelletier.
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id JAA04177;
	Fri, 8 Aug 1997 09:17:03 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 09:17:03 -0700 (PDT)
Message-Id: <3.0.2.32.19970808170931.00c5797c@mailhost.origin-at.co.uk>
X-Sender: jlarmour@mailhost.origin-at.co.uk
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.2 (32)
Date: Fri, 08 Aug 1997 17:09:31 +0100
To: Matt Isleb <kermit@reptile.clc.cc.il.us>, squid-users@nlanr.net
From: Jonathan Larmour <JLarmour@origin-at.co.uk>
Subject: Re: Blank e-mail
In-Reply-To: <Pine.LNX.3.91.970808094131.16852A-100000@reptile.clc.cc.il
 .us>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"JmGgzJ5mzuB.0.tm.DPqwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/152
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
At 09:43 08/08/97 -0500, Matt Isleb wrote:
>Umm could someone tell me why i keep getting a LOT of blank emails that 
>look like this in my /var/spool/mail/kermit dir:
>
>>From squid-users-request@nlanr.net  Thu Aug  7 10:38:44 1997
>Status: O
>X-Status:
Everything's fine here, which would imply its something local to you. Does
other e-mail work 100%? You may also want to check your sendmail logs to
see if anything weird is happening there.
You should get two copies of this e-mail, one direct to you, and one via
squid-users.
Jonathan L.
Origin UK,323 Cambridge Science Park,Cambridge,England. Tel: +44(1223)423355
-------[ It is impossible to enjoy idling thoroughly unless one has ]-------
----------------[ plenty of work to do - Jerome K. Jerome ]-----------------
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id JAA19867;
	Fri, 8 Aug 1997 09:59:02 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 09:59:02 -0700 (PDT)
Sender: eculp@mexcom.net
Message-ID: <33EB4F92.6E0A4CDF@mexcom.net>
Date: Fri, 08 Aug 1997 11:55:46 -0500
From: Edwin Culp <eculp@mexcom.net>
Organization: Mexico Communicates, S.C.
X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.14 i586)
MIME-Version: 1.0
To: Matt Isleb <kermit@reptile.clc.cc.il.us>
CC: Strange Alex <strange@mix.unicon.ru>, squid-users@nlanr.net
Subject: Re: Logs rotating...
References: <Pine.LNX.3.91.970808093828.16824A-100000@reptile.clc.cc.il.us>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"dMZ8ZsQzyOE.0.Op2.u_qwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/154
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Matt Isleb wrote:
> 
> On Fri, 8 Aug 1997, Strange Alex wrote:
> 
> > Can somebody explain me, what SIGUSR1 do in squid 1.1.10 ?
> > My logfile_rotate set to 10, but when I do kill -USR1 `cat squid.pid`
> > nothing happend with my log files, even when I do so more than 10 times ;(
> > And please, tell my the proper way, how to rotate all squid log files .
> 
> Perhaps the PID in the file is stale or not there? I have a handy killall
> program. I do 'killall -USR1 squid'  Or rather.. LINUX has a handy
> killall program.. dunno 'bout other *nixes.
> 
> Matt
I had this problem sometime back after moving the logs to /var/log
rather
than /usr/local/squid/logs.  Everything worked fine except logfile
rotation.
I just moved the log files back to /usr/local/squid/logs because of a
space shortage en /var and presto the rotation problem was solved.  I
never
saw an error from the kill process doing it manually or with cron.  It 
just didn't happen.
Ed
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id KAA07381;
	Fri, 8 Aug 1997 10:52:05 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 10:52:05 -0700 (PDT)
Message-Id: <199708081651.MAA24129@web.rural-net.com>
From: "John E. Kozitzki" <johnk@rural-net.com>
To: "Edwin Culp" <eculp@mexcom.net>, <squid-users@nlanr.net>
Subject: Re: Logs rotating...
Date: Fri, 8 Aug 1997 13:51:07 -0400
X-MSMail-Priority: Normal
X-Priority: 3
X-Mailer: Microsoft Internet Mail 4.70.1160
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"XDoFFpb0VrE.0.rk._nrwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/155
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
We have squid within the /usr/local/squid structure and we still can't seem
to get the rotate logfile function to work.
Thanx
John Kozitzki
Information Systems Manager
B&W Co-op, Incorporated (http://www.bwcoop.com)
RURAL-NET of Central Michigan (http://www.rural-net.com)
B&W Farm Center / Case IH (http://www.bwcaseih.com)
Phone:(517)842-3104 ext 207
Fax:(517)842-3108
E-Mail:johnk@rural-net.com
Webpage:(http://www.rural-net.com/~johnk)
----------
> From: Edwin Culp <eculp@mexcom.net>
> To: Matt Isleb <kermit@reptile.clc.cc.il.us>
> Cc: Strange Alex <strange@mix.unicon.ru>; squid-users@nlanr.net
> Subject: Re: Logs rotating...
> Date: Friday, August 08, 1997 12:55 PM
> 
> Matt Isleb wrote:
> > 
> > On Fri, 8 Aug 1997, Strange Alex wrote:
> > 
> > > Can somebody explain me, what SIGUSR1 do in squid 1.1.10 ?
> > > My logfile_rotate set to 10, but when I do kill -USR1 `cat squid.pid`
> > > nothing happend with my log files, even when I do so more than 10
times ;(
> > > And please, tell my the proper way, how to rotate all squid log files
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id LAA03494;
	Fri, 8 Aug 1997 11:42:24 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 11:42:24 -0700 (PDT)
Date: Fri,  8 Aug 97 14:31:23 EDT
From: "R. Scott Bailey" <sbailey@dsddi.eds.com>
Subject: RE: ftpget 1.1.14 truncates on space in filename 
To: squid-users@nlanr.net
Cc: "R. Scott Bailey" <sbailey@dsddi.eds.com>
X-PRIORITY: 3 (Normal)
X-Mailer: Chameleon 5.0, TCP/IP for Windows, NetManage Inc.
Message-ID: <Chameleon.871065511.sbailey@wimpy.dsddi.eds.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Resent-Message-ID: <"YOaInqqEHW1.0.Kc5.8Vswp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/156
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
This is a lame patch, but it works for now. After it's applied, if ftpget 
sees a DOS-format file listing and an entry contains more than 4 tokens, it 
assumes the filename must contain whitespace and uses the exact (unparsed)
string as the name. My command of C is too feeble to come up with an 
efficient and general way of determining where the filename really starts, so 
I wouldn't call this patch a robust solution.
This patch is against ftpget.c 1.1.14.
Cheers anyway,
  Scott
--- ftpget.c.dist       Fri Aug  8 14:12:01 1997
+++ ftpget.c	Fri Aug  8 14:18:43 1997
@@ -1854,7 +1854,7 @@
 	break;
     }
 
-    /* try it as a DOS listing */
+    /* try it as a DOS/Windows listing */
     if (n_tokens > 3 && p->name == NULL &&
 	sscanf(tokens[0], "%[0-9]-%[0-9]-%[0-9]", sbuf, sbuf, sbuf) == 3 &&
     /* 04-05-70 */
@@ -1868,7 +1868,11 @@
 	}
 	sprintf(sbuf, "%s %s", tokens[0], tokens[1]);
 	p->date = xstrdup(sbuf);
-	p->name = xstrdup(tokens[3]);
+	if (n_tokens == 4) { /* Name in a single token */
+	  p->name = xstrdup(tokens[3]);
+	} else { /* Name apparently contains whitespace (95 or NT) */
+	  p->name = xstrdup(buf + 39); /* Evil assumption */
+	}
     }
     /* Try EPLF format; carson@lehman.com */
     if (p->name == NULL && buf[0] == '+') {
----------
R. Scott Bailey                sbailey@dsddi.eds.com
system manager, postmaster     sbailey@xcc.mc.xerox.com
EDS / ESC - Detroit            313-556-6011 [8/346]
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id MAA13033;
	Fri, 8 Aug 1997 12:28:46 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 12:28:46 -0700 (PDT)
From: Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>
Message-Id: <199708081918.QAA20543@gaia.coppe.ufrj.br>
Subject: Re: FD_SETSIZE and FreeBSD 2.1.7
In-Reply-To: <199708081201.QAA20942@ns.corbina.ru> from Michael Shoyher at "Aug 8, 97 04:01:49 pm"
To: msh@corbina.net (Michael Shoyher)
Date: Fri, 8 Aug 1997 16:18:44 -0300 (EST)
Cc: oskar@is.co.za, squid-users@nlanr.net
X-Mailer: ELM [version 2.4ME+ PL32 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"m3KMhE25kh5.0.2Z1.G6twp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/157
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
#define quoting(Michael Shoyher)
//  As I know FreeBSD 2.1.7 has problems with more than 256 descriptors in 
// select().  And configure  limits number of filedescriptors to 256.
I've make some changes here when I was running 2.1.7, but I could not
check if that worked because I changed to 2.2 just a little after.
First, edit your kernel config file and add a line like this:
options 	"FD_SETSIZE=5120"
Or any other number of descriptors you feel you need.
Them, edit the squid sources and remove the limitation on 256 descriptors
if it detects FreeBSD 2.1.
Also, in rc.local, add some sysctl's to get more kern.maxfiles and
kern.maxfilesperproc.
If this really works, please tell us.
					Jonny
--
Joao Carlos Mendes Luis			jonny@gta.ufrj.br
+55 21 290-4698				jonny@coppe.ufrj.br
Universidade Federal do Rio de Janeiro	UFRJ/COPPE/CISI
PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2  83 5F E3 26 BF 0F EA 67
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id NAA21693;
	Fri, 8 Aug 1997 13:15:22 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 13:15:22 -0700 (PDT)
From: Michael.Maravillo@philonline.com.ph
Date: Sat, 9 Aug 1997 04:16:54 +0800 (GMT+0800)
X-Sender: mmj@fiesta.philonline.com.ph
To: Edwin Culp <eculp@mexcom.net>
cc: Matt Isleb <kermit@reptile.clc.cc.il.us>,
        Strange Alex <strange@mix.unicon.ru>, squid-users@nlanr.net
Subject: Re: Logs rotating...
In-Reply-To: <33EB4F92.6E0A4CDF@mexcom.net>
Message-ID: <Pine.LNX.3.96.970809041405.4461K-100000@fiesta.philonline.com.ph>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"gIa73s0nCp8.0.-34.3utwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/158
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
On Fri, 8 Aug 1997, Edwin Culp wrote:
>Matt Isleb wrote:
>> 
>> On Fri, 8 Aug 1997, Strange Alex wrote:
>> 
>> > Can somebody explain me, what SIGUSR1 do in squid 1.1.10 ?
>> > My logfile_rotate set to 10, but when I do kill -USR1 `cat squid.pid`
>> > nothing happend with my log files, even when I do so more than 10 times ;(
>> > And please, tell my the proper way, how to rotate all squid log files .
>> 
>> Perhaps the PID in the file is stale or not there? I have a handy killall
>> program. I do 'killall -USR1 squid'  Or rather.. LINUX has a handy
>> killall program.. dunno 'bout other *nixes.
>> 
>> Matt
>
>I had this problem sometime back after moving the logs to /var/log
>rather
>than /usr/local/squid/logs.  Everything worked fine except logfile
>rotation.
>I just moved the log files back to /usr/local/squid/logs because of a
>space shortage en /var and presto the rotation problem was solved.  I
>never
>saw an error from the kill process doing it manually or with cron.  It 
>just didn't happen.
I guess this is a case of incorrect file/directory permissions.  The
logs directory should be owned by the user running squid.
Mike
__
Michael J. Maravillo                                   Philippines Online
System Administrator      PGP KeyID: 470AED9D      InfoDyne, Incorporated
http://www.philonline.com.ph/~mmj/  4A N&M Bldg, 1184 Chino Roces, Makati
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id QAA23190;
	Fri, 8 Aug 1997 16:33:16 -0700 (PDT)
Resent-Date: Fri, 8 Aug 1997 16:33:16 -0700 (PDT)
Date: Sat, 9 Aug 1997 10:48:19 +1000 (EST)
From: "Malcolm B.J. Garbutt" <mgarbutt@vic.ozland.net.au>
X-Sender: mgarbutt@mildura.mildura.net.au
To: Squid Users <squid-users@nlanr.net>
Subject: DNS Fails
Message-ID: <Pine.LNX.3.91.970809104702.17340B-100000@mildura.mildura.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"J_xbNA269V6.0.Q72.Cnwwp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/159
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Hi,
We have been encountering regular occurences of squid going into DNS Fail 
mode lately, this has not happened for some time, is there something that 
someone knows about that causes this to happen.
_________________________________________________________
Malcolm Garbutt
Network Operations- 
OZLAND.NET	MILDURA.NET	MURRAY.NET
Office Ph.   03 50 212 991	Office Fax  03 50 212 932
Emergency Ph.  018 596 150
	    .....Bringing the World to You......
_________________________________________________________
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id BAA07068;
	Sat, 9 Aug 1997 01:27:18 -0700 (PDT)
Resent-Date: Sat, 9 Aug 1997 01:27:18 -0700 (PDT)
Message-Id: <199708090818.UAA18873@crash.ihug.co.nz>
Comments: Authenticated sender is <dlim@pop.ihug.co.nz>
From: "Daryl Lim" <dlim@ihug.co.nz>
To: squid-users@nlanr.net
Date: Sat, 9 Aug 1997 20:18:36 +0000
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Multiple Partitions On The Same Drive ??
Priority: normal
X-mailer: Pegasus Mail for Win32 (v2.52)
Resent-Message-ID: <"Fnyjrwa6Sd2.0.7S3.DX2xp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/160
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Hi,
I was wondering if it would improve performance if I had a few 
partitions on the same drive . Therefore Squid would spread the data 
across the partitions right ? This is only a theory though . And 
increase data output ?
Daryl,
                 | email : dlim@ihug.co.nz     (Use This First)               
-=>Daryl Lim<=- -| email : daryl@genesis.pakuranga.school.nz                  
                 | WWW   : http://homepages.ihug.co.nz/~dlim/                 
                                                                              
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id CAA08062;
	Sat, 9 Aug 1997 02:02:09 -0700 (PDT)
Resent-Date: Sat, 9 Aug 1997 02:02:09 -0700 (PDT)
Date: Sat, 9 Aug 1997 19:00:30 +1000 (EST)
Message-Id: <199708090900.TAA17279@valdez.mel.aone.com.au>
X-Sender: ltd@valdez.mel.aone.com.au
X-Mailer: Windows Eudora Version 2.1.1
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: "Daryl Lim" <dlim@ihug.co.nz>
From: Lincoln Dale <ltd@aone.com.au>
Subject: Re: Multiple Partitions On The Same Drive ??
Cc: squid-users@nlanr.net
Resent-Message-ID: <"mh6pyONWzD7.0.zR4.H73xp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/161
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
>I was wondering if it would improve performance if I had a few 
>partitions on the same drive . Therefore Squid would spread the data 
>across the partitions right ? This is only a theory though . And 
>increase data output ?
any half-decent operating system (read: unix) will already endeavour
to spread files out across the disk (its only things like DOS' FAT
filesystem chose a scenario of always-allocate-at-beginning).
evidence of this is doing a fsck and see how (little) a unix filesystem
is fragmented.
no -- i don't think you'd gain any performance by partitioning.
you would, however, gain big-time on performance if you could stripe
a partition across multiple disks.  write performance on a box here,
with a RAID-0 array across 3 fast-wide scsi busses of 2GB disks is
in excess of 10 megabytes/sec.  and that is out of the box, without
any attempt to do any tuning.
cheers,
lincoln.
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id QAA09213;
	Sat, 9 Aug 1997 16:58:49 -0700 (PDT)
Resent-Date: Sat, 9 Aug 1997 16:58:49 -0700 (PDT)
Message-ID: <33ED0120.9547CD45@gundaker.com>
Date: Sat, 09 Aug 1997 18:45:37 -0500
From: Stuart Stock <stuart@gundaker.com>
Reply-To: stuart@gundaker.com
Organization: Gundaker Realtors
X-Mailer: Mozilla 4.0 [en] (Win95; U)
MIME-Version: 1.0
To: squid-users@nlanr.net
Subject: Multiple ports and 1.1.14
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"GbegeXAWhU5.0.5R.TAGxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/162
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
I've been running 1.1.10 with the multiple ports patch with great
success.  I'd like to upgrade to 1.1.14.  Does it have multiple port
support built in or do I have to wait for a patch?  I'm not subscribed
to the list so please reply to the From_ address.
--
Stuart Stock					stuart@gundaker.com
Systems/Security Administrator			http://www.gundaker.com
Gundaker Realtors				"Blowing a buffer as we speak"
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id SAA00598;
	Sat, 9 Aug 1997 18:01:46 -0700 (PDT)
Resent-Date: Sat, 9 Aug 1997 18:01:46 -0700 (PDT)
Date: Sun, 10 Aug 1997 10:59:21 +1000 (EST)
Message-Id: <199708100059.KAA16348@valdez.mel.aone.com.au>
X-Sender: ltd@valdez.mel.aone.com.au
X-Mailer: Windows Eudora Version 2.1.1
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: stuart@gundaker.com
From: Lincoln Dale <ltd@aone.com.au>
Subject: Re: Multiple ports and 1.1.14
Cc: squid-users@nlanr.net
Resent-Message-ID: <"JLjdjLJvz69.0.ly4.9AHxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/163
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
 > I've been running 1.1.10 with the multiple ports patch with great
 > success.  I'd like to upgrade to 1.1.14.  Does it have multiple port
 > support built in or do I have to wait for a patch?  I'm not subscribed
 > to the list so please reply to the From_ address.
nope, 1.1.14 doesn't have the multiple-ports-patch built-in.  it will,
however, be part of the up-coming 1.2.xx squid series.
the same patch as for 1.1.10 should apply (relatively) cleanly to
1.1.14, or at least with minimal modification (it should be fairly trivial).
cheers,
lincoln.
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id EAA25473;
	Sun, 10 Aug 1997 04:31:31 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 04:31:31 -0700 (PDT)
Message-ID: <19970810132542.52939@admin.is.co.za>
Date: Sun, 10 Aug 1997 13:25:42 +0200
From: Oskar Pearson <oskar@is.co.za>
To: squid-users@nlanr.net
Subject: New squid docs out
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.69e
Reply-To: oskar@is.co.za
Resent-Message-ID: <"vSIryWI1cR2.0.nl2.ELQxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/164
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Hello all!
There is a new version of the squid-docs out, and this time it has not one,
but two sections written by volunteers! (from 0 pages to 2 in one month,
and I have had another offer too!)
The following sections are new:
Log analysis and stats	(Everyone say thank you to Mark Visser for this!)
Preloading pages
Optimisation/Optimization (And to Julian Anderson for this!)
Bottlenecks and performance issues
Malloc problems and memory usage
System software you can use to analyze squid
I have been trying to figure out a mirror policy... Here it is:
The origin page (http://cache.is.co.za/squid/) will now keep the date
of the last modification in the title. You can see if you have the latest
version by comparing against this page. The latest version is always going
to be at 'http://cache.is.co.za/squid-docs.tar.gz'.
I have had numerous request for a 'paper-friendly' version of the document.
It makes sense, so I am going to do it, but I am not sure when, since it
involves re-typing most of the document, basically.
Oskar
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id LAA14685;
	Sun, 10 Aug 1997 11:54:19 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 11:54:19 -0700 (PDT)
Date: Sun, 10 Aug 1997 15:51:03 -0300
Message-Id: <199708101851.PAA16454@dess.tallships.istar.ca>
subject: possible squid bug
return-view-to: hclsmith@tallships.istar.ca (Hume Smith)
to: squid-users@nlanr.net
x-mailer: unicorn 0.46 (tk 4.2, tcl 7.6, windows Windows 95 4.0 intel)
content-type: text/plain; charset=us-ascii
priority: normal
mime-version: 1.0
from: hclsmith@tallships.istar.ca (Hume Smith)
organization: North End TTA Fans and Reed Organ Repairers
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by nlanr.net id LAA17350
Resent-Message-ID: <"fon4Cp7wUn5.0.wq2.esWxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/165
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
(I am not on this list.)
i just upgraded 1.1.11-1.1.14, and both versions have a problem with <URL:http://spam.abuse.net/spam/>  fetching through squid gives
The requested URL /spam//spam/:80/spam/ was not found on this server.
my browser (Opera 2.12) can fetch it directly just fine.
(i have had similar problems with a few other sites - the request fails with a wildly mixed-up URL path.  i don't know if it's Squid or something about the sites, that they don't like proxies, or what...)
--
Hume Smith <URL:mailto:hclsmith@tallships.istar.ca>
<URL:http://dess.tallships.istar.ca/%7Ehclsmith/>
To hell with the information age, I want a wisdom age. - Bill Maxim
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id OAA03059;
	Sun, 10 Aug 1997 14:35:44 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 14:35:44 -0700 (PDT)
Message-ID: <19970810233402.01509@admin.is.co.za>
Date: Sun, 10 Aug 1997 23:34:02 +0200
From: Oskar Pearson <oskar@is.co.za>
To: Hume Smith <hclsmith@tallships.istar.ca>
Cc: squid-users@nlanr.net
Subject: Re: possible squid bug
References: <199708101851.PAA16454@dess.tallships.istar.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.69e
In-Reply-To: <199708101851.PAA16454@dess.tallships.istar.ca>; from Hume Smith on Sun, Aug 10, 1997 at 03:51:03PM -0300
Reply-To: oskar@is.co.za
Resent-Message-ID: <"BdaTgmCvwp6.0.Rc7.UFZxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/166
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Hi
> i just upgraded 1.1.11-1.1.14, and both versions have a problem with <URL:http://spam.abuse.net/spam/>  fetching through squid gives
> The requested URL /spam//spam/:80/spam/ was not found on this server.
> my browser (Opera 2.12) can fetch it directly just fine.
My guess is that it's almost certainly the browser getting confused. I have
never seen this message and squid works perfectly with the above URL for
me. I am running 1.NOVM.10. 1.1.11 has been out too long for this bug to
have not shown up before now.
Oskar
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id OAA22318;
	Sun, 10 Aug 1997 14:43:35 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 14:43:35 -0700 (PDT)
Message-ID: <33ECC69F.178D@fua.br>
Date: Sat, 09 Aug 1997 16:35:59 -0300
From: Ricardo Rios <rios@fua.br>
X-Mailer: Mozilla 3.01Gold (Win95; I)
MIME-Version: 1.0
To: squid-users@nlanr.net
Subject: Squid cache_effective_user!
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"Tajk0OrmO16.0.cV3._NZxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/167
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Hi,
		I'm having problems with the "cache_effective_user" option in squid
version 1.NOVM.14 and 1.1.14. I tried to set this options to user
"nobody" and group "nobody", but it did not work. I tried to set to user
"squid" and group "adm", but again it did not work. Does somebody know
what I can do to do squid work?
		Best regards,
--
Ricardo Rios (rios@fua.br)
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id OAA17020;
	Sun, 10 Aug 1997 14:51:10 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 14:51:10 -0700 (PDT)
Newsgroups: comp.infosystems.www.servers.unix
Date: Sun, 10 Aug 1997 13:44:25 -0400 (EDT)
From: Robert Vincent <inocent@exis.net>
To: pam-list@redhat.com, morgan@parc.power.net, squid-users@nlanr.net,
        squid@nlanr.net, ingo@blank.pages.de
Subject: Linux-Pam patch for Squid
Message-ID: <Pine.LNX.3.95.970810133629.32178A-100000@sailfish.exis.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"m_vx0lDQXRF.0.214.4VZxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/168
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Wrote the following to use Linux-Pam with Squid.  It's based in part on
the mod_auth_pam writen by <ingo@blank.pages.de>.
Feel free to copy, modify, and/or distribute.
Next incremental improvement would be to make the service configurable via
squid.conf.
-------cut here-------
diff -ur squid-1.NOVM.14/src/Makefile squid-1.NOVM.14.PAM/src/Makefile
--- squid-1.NOVM.14/src/Makefile	Sun Aug 10 06:42:08 1997
+++ squid-1.NOVM.14.PAM/src/Makefile	Sun Aug 10 10:53:09 1997
@@ -7,7 +7,7 @@
 #  Uncomment and customize the following to suit your needs:
 #
 HOST_OPT	= # -DCACHEMGR_HOSTNAME="getfullhostname()"
-AUTH_OPT	= # -DUSE_PROXY_AUTH=1
+AUTH_OPT	= -DUSE_PROXY_AUTH=1 -DUSE_PROXY_AUTH_PAM=1
 LOG_HDRS_OPT	= # -DLOG_FULL_HEADERS=1
 ICMP_OPT	= # -DUSE_ICMP=1
 DELAY_HACK      = # -DDELAY_HACK=1
@@ -52,7 +52,7 @@
 RANLIB		= ranlib
 LN_S		= ln -s
 PERL            = /usr/local/bin/perl
-CRYPTLIB	= -lcrypt
+CRYPTLIB	= -lcrypt -lpam -ldl
 REGEXLIB	= 
 AC_CFLAGS	= -O2 -fomit-frame-pointer -Wall
 LDFLAGS		= -g
diff -ur squid-1.NOVM.14/src/client_side.c squid-1.NOVM.14.PAM/src/client_side.c
--- squid-1.NOVM.14/src/client_side.c	Fri Jul 11 17:51:14 1997
+++ squid-1.NOVM.14.PAM/src/client_side.c	Sun Aug 10 16:02:33 1997
@@ -295,6 +297,7 @@
     icpProcessRequest(fd, icpState);
 }
 
+#if !USE_PROXY_AUTH_PAM
 #if USE_PROXY_AUTH
 /* Check the modification time on the file that holds the proxy
  * passwords every 'n' seconds, and if it has changed, reload it
@@ -429,6 +432,125 @@
     return (sent_user);
 }
 #endif /* USE_PROXY_AUTH */
+
+#else /*#if USE_PROXY_AUTH_PAM*/
+
+#include <security/pam_appl.h>
+
+typedef struct {
+  char *name, *pw;
+} auth_pam_userinfo;
+
+#define FAIL_DELAY 3000
+
+int auth_pam_talker(int num_msg, 
+		    const struct pam_message **msg, 
+		    struct pam_response **resp, 
+		    void *appdata_ptr)
+{
+  unsigned short i = 0;
+  auth_pam_userinfo *userinfo = (auth_pam_userinfo*)appdata_ptr;
+  struct pam_response *response = 0;
+
+  /* parameter sanity checking */
+  if(!resp || !msg || !userinfo){
+    debug(33,4,"auth_pam_talker: null parameters\n");
+    return PAM_SUCCESS;
+  };
+
+  /* allocate memory to store response */
+  response = xmalloc(num_msg * sizeof(struct pam_response));
+  if(!response){
+    debug(33,4,"auth_pam_talker: couldn't allocate memory for response\n");
+    return PAM_SUCCESS;
+  };
+  
+  /* copy values */
+  for(i = 0; i < num_msg; i++) {
+    /* initialize to safe values */
+    response[i].resp_retcode = 0;
+    response[i].resp = 0;
+
+    /* select response based on requested output style */
+    switch(msg[i]->msg_style) {
+    case PAM_PROMPT_ECHO_OFF:
+      debug(33,5,"auth_pam_talker: password is %s\n",userinfo->pw);
+      response[i].resp = xstrdup(userinfo->pw);
+      break;
+    case PAM_PROMPT_ECHO_ON:
+      debug(33,5,"auth_pam_talker: name is %s\n",userinfo->name);
+      response[i].resp = xstrdup(userinfo->name);
+      break;
+    default:
+      debug(33,4,"auth_pam_talker: unexpected conversation (%s)",msg[i]->msg);
+      return PAM_CONV_ERR;
+      break;
+    }
+  }
+  /* everything okay, set PAM response values */
+  *resp = response;
+  return PAM_SUCCESS;
+}
+
+const char *
+proxyAuthenticate(const char *headers)
+{
+    char *pam_servicename="login";
+    auth_pam_userinfo userinfo = { NULL, NULL };
+    struct pam_conv conv_info = { &auth_pam_talker, &userinfo };
+    pam_handle_t *pamh = NULL;
+
+    char *s = NULL;
+    char *sent_userandpw = NULL;
+    char *passwd = NULL;
+    char *clear_userandpw = NULL;
+    int res;
+    LOCAL_ARRAY(char, sent_user, ICP_IDENT_SZ);
+
+    /* Look for Proxy-authorization: Basic in the
+     * headers sent by the client
+     */
+    if ((s = mime_get_header(headers, "Proxy-authorization:")) == NULL) {
+	debug(33, 4, "proxyAuthenticate: Can't find authorization header\n");
+	return (dash_str);
+    }
+    /* Skip the 'Basic' part */
+    s += strlen(" Basic");
+    sent_userandpw = xstrdup(s);
+    strtok(sent_userandpw, "\n");	/* Trim trailing \n before decoding */
+    clear_userandpw = uudecode(sent_userandpw);
+    xfree(sent_userandpw);
+    xstrncpy(sent_user, clear_userandpw, ICP_IDENT_SZ);
+    strtok(sent_user, ":");	/* Remove :password */
+    userinfo.name = sent_user;
+    passwd = strstr(clear_userandpw, ":");
+    passwd++;
+    userinfo.pw = passwd;
+    
+    if ((res=pam_start(pam_servicename,0,&conv_info,&pamh))!=PAM_SUCCESS){
+      /* deny access;*/
+      debug(33, 1, "proxyAuthenticate: failed to load service %s\n", pam_servicename);
+      pam_end(pamh, res);
+      xfree(clear_userandpw);
+      return (dash_str);
+    }
+    
+    pam_fail_delay(pamh, FAIL_DELAY);
+    
+    res = pam_authenticate(pamh, PAM_DISALLOW_NULL_AUTHTOK);
+    pam_end(pamh, res);
+    if(res!=PAM_SUCCESS){
+      /* deny access;*/
+      debug(33, 4, "proxyAuthenticate: authentication failed for user %s\n", sent_user);
+      xfree(clear_userandpw);
+      return (dash_str);
+    };
+
+    debug(33, 5, "proxyAuthenticate: user %s validated\n", sent_user);
+    xfree(clear_userandpw);
+    return (sent_user);
+}
+#endif /* USE_PROXY_AUTH_PAM */
 
 void
 icpProcessExpired(int fd, void *data)
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id RAA21535;
	Sun, 10 Aug 1997 17:46:11 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 17:46:11 -0700 (PDT)
Date: Mon, 11 Aug 1997 09:42:51 +1000
From: Adam Rigby <a.rigby@qut.edu.au>
Subject: Re: Cachemgr.cgi configuration
X-Sender: rigbya@pop.qut.edu.au
To: squid-users@nlanr.net
Cc: David J N Begley <d.begley@nepean.uws.edu.au>,
        Jonathan Larmour <JLarmour@origin-at.co.uk>,
        Ben Couldrey <ben@webnet.com.au>
Message-id: <3.0.32.19970811094244.00599ea0@pop.qut.edu.au>
MIME-version: 1.0
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Content-type: text/plain; charset="us-ascii"
Resent-Message-ID: <"Jl8S_PKGpl4.0.YR5.h0cxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/169
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
You woukldn't beleive it, if you add a http_access line as follows
"http_access allow localhost" and remove "!localhost" from the http_access
deny line. Then everything is hunky dory, Fantastic, it bloody works.
> acl localhost src 127.0.0.1/255.255.255.255
> acl all src 0.0.0.0/0.0.0.0
> 
> http_access allow manager localhost
> http_access deny manager
Thanks for the help everyone.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Adam Rigby				     Ph:	3864 1702
Network Programmer			     Fax:	3864 5272
Internetworking Software Services
Computing Services			     e-mail:a.rigby@qut.edu.au
Queensland University of Technology
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id SAA08259;
	Sun, 10 Aug 1997 18:00:24 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 18:00:24 -0700 (PDT)
Message-ID: <33EE6328.3191CD55@schnet.edu.au>
Date: Mon, 11 Aug 1997 10:56:08 +1000
From: Nick Clements <nickle@schnet.edu.au>
Organization: Schoolsnet Aust.Pty.Ltd.
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
MIME-Version: 1.0
To: "squid-users@nlanr.net" <squid-users@nlanr.net>
Subject: (no subject)
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Resent-Message-ID: <"9Mr9EoV_4n3.0.3Z4.PGcxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/170
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
unsubscribe nickle@schnet.edu.au
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id SAA18892;
	Sun, 10 Aug 1997 18:06:02 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 18:06:02 -0700 (PDT)
Date: Sun, 10 Aug 1997 21:05:31 -0400 (EDT)
From: Keith Heinemann <khman@neptune.new-era.net>
To: squid-bugs@nlanr.net
cc: squid-users@nlanr.net
Subject: ftpget problem
Message-ID: <Pine.LNX.3.95.970810210045.26125A-100000@neptune.new-era.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"vq797fwFN8D.0.BI2.eLcxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/171
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
(using squid 1.1.14)
I've found that when using squid to access FTP sites, it doesn't properly
convert the FTP 'readme' file to valid HTML.  For example,
ftp://tsx-11.mit.edu/ has some 'to get <file>.gz' entries.  ftpget does
not escape the < and > symbols as per HTML spec, thus my browser (netscape
3) tries to interpret them.  I don't know if there are also other symbols
that aren't being escaped correctly.
Also, (squid-users), is it possible to disaply ftpget from converting ftp
listings to HTMLscript?  I believe the old harvest cached could, but I
can't seem to find how to do this under squid.
			Thanks!
				-keith
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id SAA23863;
	Sun, 10 Aug 1997 18:25:58 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 18:25:58 -0700 (PDT)
Date: Sun, 10 Aug 1997 21:18:58 -0400 (EDT)
From: pstewart <pstewart@oncomdis.on.ca>
To: squid-users@nlanr.net
Subject: Connection Reset By Peer Problems
Message-ID: <Pine.LNX.3.93.970810210449.18486B-100000@oncomdis.on.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"tiJcg79Pcp1.0.oz3.Lecxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/172
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Hi there...
Is there a retry or timeout value that can be set in Squid 1.NOVM.13
to stop it from doing the following:
Connection Reset By Peer
But if the user clicks on the URL link on the page, it loads fine...
Anyone help? :)
Paul
--
Out the modem, through the SPARC, down the T3, off the router, past the
frame-relay... nothing but Net.
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id TAA21297;
	Sun, 10 Aug 1997 19:48:19 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 19:48:19 -0700 (PDT)
Date: Sun, 10 Aug 1997 23:46:41 -0300
Message-Id: <199708110246.XAA18576@dess.tallships.istar.ca>
subject: Re: possible squid bug
return-view-to: hclsmith@tallships.istar.ca (Hume Smith)
to: squid-users@nlanr.net
x-mailer: unicorn 0.46 (tk 4.2, tcl 7.6, windows Windows 95 4.0 intel)
in-reply-to: <19970810233402.01509@admin.is.co.za>
content-type: text/plain; charset=us-ascii
references: <19970810233402.01509@admin.is.co.za> <199708101851.PAA16454@dess.tallships.istar.ca>
priority: normal
mime-version: 1.0
from: hclsmith@tallships.istar.ca (Hume Smith)
organization: North End TTA Fans and Reed Organ Repairers
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by nlanr.net id TAA24211
Resent-Message-ID: <"kvkhQfTmPn9.0.Ng3.tqdxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/173
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
> My guess is that it's almost certainly the browser getting confused.
i think you may be right.  MesSIE can fetch it through the proxy fine; and apparently there's a cookie goes with it  (abuse.net abusing cookies? wonderful :).  perhaps it's the combination of cookie and proxy that messes Opera up.  now how am i going to show them *this* bug...
if i could figure out how to get Lynx to use a proxy i'd test it too :)
anyway, that was my one qualm keeping me from broadening its use by Tallships and now i think i'll let more of us in on it...  thanks!
--
Hume Smith <URL:mailto:hclsmith@tallships.istar.ca>
<URL:http://dess.tallships.istar.ca/%7Ehclsmith/>
To hell with the information age, I want a wisdom age. - Bill Maxim
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id UAA16966;
	Sun, 10 Aug 1997 20:09:05 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 20:09:05 -0700 (PDT)
Date: Mon, 11 Aug 1997 00:08:23 -0300
Message-Id: <199708110308.AAA18722@dess.tallships.istar.ca>
subject: re: possible squid bug
return-view-to: hclsmith@tallships.istar.ca (Hume Smith)
to: squid-users@nlanr.net
x-mailer: unicorn 0.46 (tk 4.2, tcl 7.6, windows Windows 95 4.0 intel)
content-type: text/plain; charset=us-ascii
priority: normal
mime-version: 1.0
from: hclsmith@tallships.istar.ca (Hume Smith)
organization: North End TTA Fans and Reed Organ Repairers
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by nlanr.net id UAA24328
Resent-Message-ID: <"4JuqqFmGCZF.0.Pf2.59exp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/174
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
WRT my trouble with <URL:http://spam.abuse.net/spam/>  it works from lynx too.  definitely an Opera problem.  sorry to bother you :)
--
Hume Smith <URL:mailto:hclsmith@tallships.istar.ca>
<URL:http://dess.tallships.istar.ca/%7Ehclsmith/>
To hell with the information age, I want a wisdom age. - Bill Maxim
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id UAA00391;
	Sun, 10 Aug 1997 20:56:07 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 20:56:07 -0700 (PDT)
Date: Sun, 10 Aug 1997 23:44:49 -0400
From: "Armistead, Jason" <ARMISTEJ@oeca.otis.com>
Subject: RE: possible squid bug
To: "hclsmith@tallships.istar.ca" <hclsmith@tallships.istar.ca>
Cc: "'squid-users@nlanr.net'" <squid-users@nlanr.net>
Message-id: <c=US%a=_%p=UTC%l=UTC/OTUSIMC/000CCC41@otussimc.otis.com>
X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.995.52
Encoding: 47 TEXT
Resent-Message-ID: <"5_ZkjaDYLvD.0.H81.Tpexp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/175
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Hume
Lynx uses environment variables to configure Proxies.  I'm not sure that
it also handles Cookies too.  Fote Macrides maintains a number of up-to
date bug fixes and enhancements to Lynx (aside from being a Lynx
developer) and his Lynx-version-FM code is always quite good.  Check out
Yahoo and do a search on Lynx.  You'll find links to the current V2.7.1
version there.
Anyhow, under VMS, the environment variable (logical name) is HTTP_PROXY
or FTP_PROXY.  Under Un*x I'd imagine it would be a case of setenv
HTTP_PROXY "http://your.proxy:port/" and similar for FTP.  These *may*
need to be lower case - since I use a case insensitive O/S I can't tell
from here.
Good luck, and don't forget to check the Lynx FAQ
Jason Armistead
OEC-A, Minto Australia
armistej@oeca.otis.com
>----------
>From: 	hclsmith@tallships.istar.ca[SMTP:hclsmith@tallships.istar.ca]
>Sent: 	Monday, 11 August 1997 12:46
>To: 	squid-users@nlanr.net
>Subject: 	Re: possible squid bug
>
>> My guess is that it's almost certainly the browser getting confused.
>
>i think you may be right.  MesSIE can fetch it through the proxy fine; and
>apparently there's a cookie goes with it  (abuse.net abusing cookies?
>wonderful :).  perhaps it's the combination of cookie and proxy that messes
>Opera up.  now how am i going to show them *this* bug...
>
>if i could figure out how to get Lynx to use a proxy i'd test it too :)
>
>anyway, that was my one qualm keeping me from broadening its use by Tallships
>and now i think i'll let more of us in on it...  thanks!
>
>--
>Hume Smith <URL:mailto:hclsmith@tallships.istar.ca>
><URL:http://dess.tallships.istar.ca/%7Ehclsmith/>
>
>To hell with the information age, I want a wisdom age. - Bill Maxim
>
>
>
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id WAA21106;
	Sun, 10 Aug 1997 22:44:13 -0700 (PDT)
Resent-Date: Sun, 10 Aug 1997 22:44:13 -0700 (PDT)
Message-Id: <m0wxnE5-000cw5C@lx01.tietosavo.fi>
Comments: Authenticated sender is <jt@pop3>
From: "Jussi Torhonen" <jussi.torhonen@tietosavo.fi>
Organization: Tietosavo Oy, Kuopio, Finland
To: "Armistead, Jason" <ARMISTEJ@oeca.otis.com>
Date: Mon, 11 Aug 1997 08:41:40 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: RE: possible squid bug
CC: "'squid-users@nlanr.net'" <squid-users@nlanr.net>
Priority: normal
In-reply-to: <c=US%a=_%p=UTC%l=UTC/OTUSIMC/000CCC41@otussimc.otis.com>
X-mailer: Pegasus Mail for Win32 (v2.54)
Resent-Message-ID: <"r027XSZzR07.0.ow6.AOgxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/176
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
On 10 Aug 97 at 23:44, squid-users@nlanr.net wrote:
> Lynx uses environment variables to configure Proxies.  I'm not sure that
Alternative way is to setup those proxy settings in lynx.cfg config 
file. 
Jussi
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Jussi Torhonen   / Internet:       jussi.torhonen@tietosavo.fi
Tietosavo Oy     / X.400:        C=fi, ADMD=elisa, PRMD=tsnet,
P.O.Box 1582     /            O=tietosavo, S=torhonen, G=jussi 
FIN-70461 KUOPIO / AX.25:             OH7DC@OH7RBA.#KUO.FIN.EU
FINLAND          / Tel:  +358-17-193 231, Fax: +358-17-193 355
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id AAA21454;
	Mon, 11 Aug 1997 00:03:09 -0700 (PDT)
Resent-Date: Mon, 11 Aug 1997 00:03:09 -0700 (PDT)
X-Lotus-Fromdomain: NORTHERN TRUST
From: "Leonard Hardy"<Leonard_Hardy@notes.ntrs.com>
To: squid-users@nlanr.net
Message-Id: <862564F0.00210479.00@chi-g01.ntrs.com>
Date: Mon, 11 Aug 1997 01:00:39 -0500
Subject: Leonard Hardy is out of the office.
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Resent-Message-ID: <"xQI_B_qlfV5.0.PR4.4Zhxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/177
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
I will be out of the office from 08/11/97 until 08/15/97.
 I will be out of the bank on Friday, May 30.
    Please contact the following people with questions or problems:
     MoneyNet
     Tom Gardner	x6288
     Larry Wells	x6888
     NETS
     Jim Coats	x7274
     Todd Burke	x6257
     CLR/CASHLINE Plus
     Tim Krumholz	x6094
     ACCESS/CASHLINE Plus
     Jose Herrera    x6197
     George Callobre x2885
     ATM/BASE24
     Brian Westphal  x1340
     Tim Krumholz    x6094
     CIT
     Jeff Blaine	x6838
     Russ Younglove	x5129
     INTRANET
     Stephanie Cahn	x2191
     Jeff Blaine	x6838
     Anna Lamb	x6171
    Thanks, Len
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id DAA13660;
	Mon, 11 Aug 1997 03:17:25 -0700 (PDT)
Resent-Date: Mon, 11 Aug 1997 03:17:25 -0700 (PDT)
Message-ID: <19970811101334.21238.qmail@io.salford.ac.uk>
From: mark@plato.salford.ac.uk (Mark Powell)
Subject: Re: FD_SETSIZE and FreeBSD 2.1.7
To: squid-users@nlanr.net
Date: 11 Aug 1997 11:13:30 +0100
X-Gated-To-News-By: NewsMaster <news@salford.ac.uk>
Xref: io.salford.ac.uk salford.mailing-lists.squid-users:2634
Resent-Message-ID: <"h_Aw17zIbu6.0.uQ7.-Nkxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/178
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
In article <5sfs71$kh0$1@io.salford.ac.uk>,
Joao Carlos Mendes Luis  <jonny@mailhost.coppe.ufrj.br> wrote:
>#define quoting(Michael Shoyher)
>Also, in rc.local, add some sysctl's to get more kern.maxfiles and
>kern.maxfilesperproc.
I'm running 2.2-STABLE (or 2.2.2) and use 
( sysctl -w kern.maxfiles=4096
sysctl -w kern.maxfilesperproc=4096 ) > /dev/null
in one of the start-up scripts to set the max files in the kernel.
>If this really works, please tell us.
This really does work :)
-- 
Mark Powell - Unix Information Officer - Clifford Whitworth Building
A.I.S., University of Salford, Salford, Manchester, UK.
Tel:	+44 161 295 5936	Fax:	+44 161 295 5555
Email:	mark@salford.ac.uk	finger mark@ucsalf.ac.uk (for PGP key)
<A HREF="http://www.ucsalf.ac.uk/~mark/">Home Page</A>
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id DAA28285;
	Mon, 11 Aug 1997 03:19:47 -0700 (PDT)
Resent-Date: Mon, 11 Aug 1997 03:19:47 -0700 (PDT)
Message-ID: <19970811101902.21376.qmail@io.salford.ac.uk>
From: mark@plato.salford.ac.uk (Mark Powell)
Subject: Re: Squid cache_effective_user!
To: squid-users@nlanr.net
Date: 11 Aug 1997 11:19:00 +0100
X-Gated-To-News-By: NewsMaster <news@salford.ac.uk>
Xref: io.salford.ac.uk salford.mailing-lists.squid-users:2635
Resent-Message-ID: <"Rk7bPoLiAe5.0.rv6.jSkxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/179
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
In article <5slcqs$d1u$1@io.salford.ac.uk>, Ricardo Rios  <rios@fua.br> wrote:
>Hi,
>
>		I'm having problems with the "cache_effective_user" option in squid
>version 1.NOVM.14 and 1.1.14. I tried to set this options to user
>"nobody" and group "nobody", but it did not work. I tried to set to user
>"squid" and group "adm", but again it did not work. Does somebody know
>what I can do to do squid work?
I've been having the same problems. I recently upgraded our site-wide cache
from 1.1.10 to 1.1.14 with no problems. However, I'm setting up another cache
to test proxy_auth-entication and have installed 1.1.14 on there with a
fresh squid.conf file. I configured cache_effective_user and it would still
complain about that parameter not being set. I tried to get debugging info.
from squid, but to no avail. I put my own debugging messages in there 
recompiled it, installed it, ran it and then it worked fine ?? I then 
realised I'd forgotten to define HAVE_PROXY_AUTH in the src/Makefile so I 
added that and recompiled and installed. Now it doesn't work and my 
debugging messages are showing that cache_effective_user is now empty
after parseConfigFile has been performed ??? Something seems amiss here?
-- 
Mark Powell - Unix Information Officer - Clifford Whitworth Building
A.I.S., University of Salford, Salford, Manchester, UK.
Tel:	+44 161 295 5936	Fax:	+44 161 295 5555
Email:	mark@salford.ac.uk	finger mark@ucsalf.ac.uk (for PGP key)
<A HREF="http://www.ucsalf.ac.uk/~mark/">Home Page</A>
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id DAA20957;
	Mon, 11 Aug 1997 03:42:10 -0700 (PDT)
Resent-Date: Mon, 11 Aug 1997 03:42:10 -0700 (PDT)
From: "James R Grinter" <jrg@blodwen.demon.co.uk>
Message-Id: <9708111139.ZM977@renard.watching.org>
Date: Mon, 11 Aug 1997 11:39:34 +0100
In-Reply-To: <19970810233402.01509@admin.is.co.za>
        "Re: possible squid bug" (Aug 10, 23:34)
References: <199708101851.PAA16454@dess.tallships.istar.ca> 
	<19970810233402.01509@admin.is.co.za>
X-Subliminal: H is for Hypertext
X-Thought: You wouldn't understand
X-Mailer: Z-Mail (3.2.0 26oct94 MediaMail)
To: oskar@is.co.za, Hume Smith <hclsmith@tallships.istar.ca>,
        squid-users@nlanr.net
Subject: Re: possible squid bug
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Resent-Message-ID: <"3u-spJbxSJE.0.Bf7.unkxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/180
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
On Sun 10 Aug, 1997, Oskar Pearson <oskar@is.co.za> wrote:
> <hclsmith@tallships.istar.ca> Hume Smith writes:
>> i just upgraded 1.1.11-1.1.14, and both versions have a problem with
<URL:http://spam.abuse.net/spam/>  fetching through squid gives
>> The requested URL /spam//spam/:80/spam/ was not found on this server.
>> my browser (Opera 2.12) can fetch it directly just fine.
>
>My guess is that it's almost certainly the browser getting confused. I have
>never seen this message and squid works perfectly with the above URL for
>me. I am running 1.NOVM.10. 1.1.11 has been out too long for this bug to
>have not shown up before now.
in fact, it looks like an interaction bug between browser and their server
(which happens to also be using Squid 1.1.5 as an accelerator)
I can certainly get it to come up with odd redirections like 'Location:
http://spam.abuse.net:2784/spam//spam/', especially if you miss off the
trailing '/' from the first URL.
James.
Received: (from list@localhost)
	by nlanr.net (8.8.6/8.8.6) id JAA32325;
	Mon, 11 Aug 1997 09:27:27 -0700 (PDT)
Resent-Date: Mon, 11 Aug 1997 09:27:27 -0700 (PDT)
Date: Mon, 11 Aug 1997 13:14:51 -0300
Message-Id: <199708111614.NAA21725@dess.tallships.istar.ca>
subject: Re: possible squid bug
return-view-to: hclsmith@tallships.istar.ca (Hume Smith)
to: squid-users@nlanr.net
x-mailer: unicorn 0.46 (tk 4.2, tcl 7.6, windows Windows 95 4.0 intel)
in-reply-to: <9708111139.ZM977@renard.watching.org>
content-type: text/plain; charset=us-ascii
references: <9708111139.ZM977@renard.watching.org> <199708101851.PAA16454@dess.tallships.istar.ca> 	<19970810233402.01509@admin.is.co.za>
priority: normal
mime-version: 1.0
from: hclsmith@tallships.istar.ca (Hume Smith)
organization: North End TTA Fans and Reed Organ Repairers
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by nlanr.net id JAA02888
Resent-Message-ID: <"JvF4UH_2OOB.0.nf.Wgpxp"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> archive/latest/181
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
> I can certainly get it to come up with odd redirections like 'Location:
> http://spam.abuse.net:2784/spam//spam/', especially if you miss off the
> trailing '/' from the first URL.
i refound a page that had been doing odd things: <URL:http://www.furnation.com/artists.html> itself works fine, but trying to follow any artist's anchor causes a bad rewrite.  the anchors require a r