squid3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

squid3

Odhiambo WASHINGTON

I compiled squid3 from CVS and installed on FreeBSD 7.0-CURRENT, which I
use as my workstation.
I have configured firefox/konqueror to connect to the net via this Squid
instance.
Now and then, I get a message from the browser that the proxy is
refusing connections, even though it is running. If I refresh, it just
loads fine. Nothing shows in the access.log!

Another thing... what are squid3's equivalent of x_forwarded_for
parameters? (from 2.6)


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[hidden email]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

There are people so addicted to exaggeration that they can't tell the
truth without lying.

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: squid3

Henrik Nordström
ons 2007-05-23 klockan 16:18 +0300 skrev Odhiambo WASHINGTON:
> I compiled squid3 from CVS and installed on FreeBSD 7.0-CURRENT, which I
> use as my workstation.
> I have configured firefox/konqueror to connect to the net via this Squid
> instance.
> Now and then, I get a message from the browser that the proxy is
> refusing connections, even though it is running. If I refresh, it just
> loads fine. Nothing shows in the access.log!

Odd.


> Another thing... what are squid3's equivalent of x_forwarded_for
> parameters? (from 2.6)

forwarded_for, just as in 2.6.

But the related follow_x_forwarded_for function do not exists in Squid-3
yet.

Regards
Henrik

signature.asc (316 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: squid3

Odhiambo WASHINGTON
* On 23/05/07 17:50 +0200, Henrik Nordstrom wrote:
| ons 2007-05-23 klockan 16:18 +0300 skrev Odhiambo WASHINGTON:
| > I compiled squid3 from CVS and installed on FreeBSD 7.0-CURRENT, which I
| > use as my workstation.
| > I have configured firefox/konqueror to connect to the net via this Squid
| > instance.
| > Now and then, I get a message from the browser that the proxy is
| > refusing connections, even though it is running. If I refresh, it just
| > loads fine. Nothing shows in the access.log!
|
| Odd.

It happens when I send several requests to Squid. What happens, for
example, I do a google search and then open several links in new tabs ..
Seems like squid has a limit on the incoming number of connections?
Perhaps per host/IP??

| > Another thing... what are squid3's equivalent of x_forwarded_for
| > parameters? (from 2.6)
|
| forwarded_for, just as in 2.6.

I did not see these when using `./configure --help`

| But the related follow_x_forwarded_for function do not exists in Squid-3
| yet.

Oh, yet! Not a problem :-)



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[hidden email]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

Krogt, n. (chemical symbol: Kr):
        The metallic silver coating found on fast-food game cards.
                -- Rich Hall, "Sniglets"
Reply | Threaded
Open this post in threaded view
|

Re: squid3

Henrik Nordström
ons 2007-05-23 klockan 19:01 +0300 skrev Odhiambo WASHINGTON:

> | > Another thing... what are squid3's equivalent of x_forwarded_for
> | > parameters? (from 2.6)
> |
> | forwarded_for, just as in 2.6.
>
> I did not see these when using `./configure --help`

I tought you were talking about suqid.conf parameters, not configure
flags.

Regards
Henrik

signature.asc (316 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: squid3

Odhiambo WASHINGTON
* On 23/05/07 18:57 +0200, Henrik Nordstrom wrote:
| ons 2007-05-23 klockan 19:01 +0300 skrev Odhiambo WASHINGTON:
|
| > | > Another thing... what are squid3's equivalent of x_forwarded_for
| > | > parameters? (from 2.6)
| > |
| > | forwarded_for, just as in 2.6.
| >
| > I did not see these when using `./configure --help`
|
| I tought you were talking about squid.conf parameters, not configure
| flags.

What I meant is kinda backwards compatibility. I am caught between
squid-2.6 and 3.x. In the former, the configure flags included the
forwarded_for options. So when I did not see them in the later,
I started worrying...

Now I only need to know where they are documented and please don't tell
me to wade through the code:)


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[hidden email]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

The Crown is full of it!
                -- Nate Harris, 1775
Reply | Threaded
Open this post in threaded view
|

Re: squid3

Henrik Nordström
tor 2007-05-24 klockan 10:12 +0300 skrev Odhiambo WASHINGTON:

> What I meant is kinda backwards compatibility. I am caught between
> squid-2.6 and 3.x. In the former, the configure flags included the
> forwarded_for options. So when I did not see them in the later,
> I started worrying...

3.x do not yet have all the features of 2.6, and 2.6 do not have all the
features of 3.x.

> Now I only need to know where they are documented and please don't tell
> me to wade through the code:)

What documented?

The list of 2.6 features not yet available in 3.x?  This is not yet
available, but maybe in a few weeks.

configure options? ./configure --help. Rule of thumb: Don't use
configure flags you don't know you need. Some also documented in the
FAQ.

squid.conf options?  squid.conf.default after installing Squid, or
alternatively on the web (3.0 and 2.HEAD only)

   http://www.squid-cache.org/Versions/v3/3.0/cfgman/
   http://www.squid-cache.org/Versions/v2/HEAD/cfgman/

Regards
Henrik

signature.asc (316 bytes) Download Attachment