proposed refresh_pattern changes to squid-2.HEAD

2007-11-25 Thread Adrian Chadd
Here's my proposal for refresh pattern changes to squid-2.HEAD; perhaps Squid-3 too down the track. Index: cf.data.pre === RCS file: /cvsroot/squid/squid/src/cf.data.pre,v retrieving revision 1.440 diff -u -u -r1.440 cf.data.pre ---

Re: proposed refresh_pattern changes to squid-2.HEAD

2007-11-25 Thread Adrian Chadd
On Mon, Nov 26, 2007, Henrik Nordstrom wrote: As discussed earlier in private max-age should be the normal one.. and additionally it doesn't apply to ftp or gopher.. (neither have query urls), and a little comments to why things is the way they are.. Ok, how about this: Suggested default:

negative object sizes?

2007-11-22 Thread Adrian Chadd
I've been fiddling with Squid-2.HEAD and google maps, and I've noticed that weird stuff happens. Here's the log entries: 1195739570.596 SWAPOUT 00 00034F1B BEAF584D4381EE1DCAF38A162BAA0224 200 1195739570 1103259488 1227275570 image/jpeg 11389/11389 GET

Re: Fixing Bug #7

2007-11-22 Thread Adrian Chadd
On Fri, Nov 23, 2007, Henrik Nordstrom wrote: On tor, 2007-11-22 at 15:51 +0900, Adrian Chadd wrote: Could you make this stuff optional at all at runtime? done Ta. I'm just a bit wary about these sorts of temporary fixes going into the codebase without fixing the actual root cause

Re: Throttling cached content.

2007-11-21 Thread Adrian Chadd
On Wed, Nov 21, 2007, German Gomez wrote: Hello, I've reading through the list and found several references to this subject, how to limit bandwidth for cached content, and the only solution was to use QOS inside linux kernel. We have a remote accelerator proxy and would like to limit the

Re: Throttling cached content.

2007-11-21 Thread Adrian Chadd
On Thu, Nov 22, 2007, Amos Jeffries wrote: The code itself maybe. However the side-effects of using it should be checked and tested well. I believe the data is buffered by the kernel on receipt to a large degree these days, whether the client app reads it out or not. Throttling the inbound

Re: Fixing Bug #7

2007-11-21 Thread Adrian Chadd
On Thu, Nov 22, 2007, Henrik Nordstrom wrote: On tor, 2007-11-22 at 10:57 +1300, Amos Jeffries wrote: Three cheers for Henrik! :-) Any chance of a 3.1 port soon? We need a bit of discussion on whats the best approach on how to solve Bug #7 first. I.e. should we do like I did for

Re: md5 stuff under MacOSX

2007-11-18 Thread Adrian Chadd
On Sun, Nov 18, 2007, Pawel Worach wrote: Amos Jeffries wrote: Okay. Well could you check the current version in HEAD instead. It should cope with missing or variant MD5_DIGEST_CHARS by ignoring the OS version. I'm just not 100% certain of the precompiler logics yet. This still has issues

Re: md5 stuff under MacOSX

2007-11-18 Thread Adrian Chadd
On Sun, Nov 18, 2007, Henrik Nordstrom wrote: On m??n, 2007-11-19 at 01:04 +0900, Adrian Chadd wrote: Argh! Just compile with --enable-ssl for now and I'll try to unravel what the hell has been done tomorrow. Or with just --with-openssl if you want Squid to use MD5 from OpenSSL

Re: caching dynamic content

2007-11-16 Thread Adrian Chadd
On Fri, Nov 16, 2007, Adrian Chadd wrote: On Thu, Nov 15, 2007, Adrian Chadd wrote: G'day, I'd like to propose a Squid modification - to cache dynamic content thats playing good. I've written up the first part of the intrusive changes: http://www.creative.net.au/diffs/20071116

Re: caching dynamic content

2007-11-16 Thread Adrian Chadd
On Sat, Nov 17, 2007, Amos Jeffries wrote: The demo setup in wiki seems a little unusual. Did you actually intend to put acl store_rewrite_list mt3.google.com into that test setup? Whats unusual about it? Its one of the map tile servers. Adrian -- - Xenion - http://www.xenion.com.au/ -

Re: caching dynamic content

2007-11-16 Thread Adrian Chadd
On Sat, Nov 17, 2007, Amos Jeffries wrote: Whats unusual about it? Its one of the map tile servers. I was expecting to see 'dstdomain' in there. But I see you have corrected it now. :-) Yah, sorry. Twas 2am, I was still busy trying to coax youtube's lighttpd caching model to work (argh, how

Re: md5 stuff under MacOSX

2007-11-15 Thread Adrian Chadd
On Thu, Nov 15, 2007, Amos Jeffries wrote: Adrian Chadd wrote: Guys, The md5 code hacks in squid-2.HEAD doesn't even compile under macos/x because of a lack of: * sys/types.h include before including the system/openssl md5 header; * defining MD5_DIGEST_CHARS or whatever that define

Re: squid with mysql support

2007-11-15 Thread Adrian Chadd
Attach the patch to a bugzilla report so it won't get lost. Mysql logging is a great idea but it needs to be intergrated cleanly into Squid in light of other features. Thanks, Adrian On Thu, Nov 15, 2007, Arthur Tumanyan wrote: please

Re: caching dynamic content

2007-11-15 Thread Adrian Chadd
On Thu, Nov 15, 2007, Adrian Chadd wrote: G'day, I'd like to propose a Squid modification - to cache dynamic content thats playing good. I've written up the first part of the intrusive changes: http://www.creative.net.au/diffs/20071116-squid-2-HEAD-storeurl_rewrite.diff This: * splits out

Re: [squid-users] Solaris/OpenSSL/MD5 Issues

2007-11-14 Thread Adrian Chadd
On Wed, Nov 14, 2007, Amos Jeffries wrote: The bigger problem which you have just uncovered is that FreeBSD does provide a sys/md5.h, but does not define the MD5_DIGEST_CHARS or MD5_DIGEST_ For the fix of FreeBSD. It should just be a little tweak of the #define for Why don't we just force

md5 stuff under MacOSX

2007-11-14 Thread Adrian Chadd
Guys, The md5 code hacks in squid-2.HEAD doesn't even compile under macos/x because of a lack of: * sys/types.h include before including the system/openssl md5 header; * defining MD5_DIGEST_CHARS or whatever that define is meant to be Why is this so hard? :) Adrian -- - Xenion -

caching dynamic content

2007-11-14 Thread Adrian Chadd
G'day, I'd like to propose a Squid modification - to cache dynamic content thats playing good. An example is from Google maps, who are now actually returning Expires: headers: violet:~/work/squid/squid-2-HEAD/tools adrian$ ./squidclient -m HEAD

Re: caching dynamic content

2007-11-14 Thread Adrian Chadd
On Thu, Nov 15, 2007, Robert Collins wrote: I'd like to propose a Squid modification - to cache dynamic content thats playing good. I long ago turned off the ? cache deny rule on my caches. That said, making reply header checks be able to influence cache rules sounds like a good idea.

Re: caching dynamic content

2007-11-14 Thread Adrian Chadd
On Wed, Nov 14, 2007, Duane Wessels wrote: I'd like to see something default in the next Squid release, so we can release it with a few interesting tag lines like Can cache google maps! I can support removing '?' from the default QUERY acl definition. I cannot support adding default

Re: caching dynamic content

2007-11-14 Thread Adrian Chadd
On Wed, Nov 14, 2007, Duane Wessels wrote: What about default refresh_pattern to not cache cgi-bin and/or ? URLs? I assume you mean to always refresh (validate) cgi-bin and/or ? Ideally I'd like to cache cgi-bin / ? content if cache information is given (max-age, Expires, etc; henrik knows

Re: caching dynamic content

2007-11-14 Thread Adrian Chadd
On Thu, Nov 15, 2007, Henrik Nordstrom wrote: Will what I've done above actually stop storing the data entirely, or will it try revalidating it every request? Is there really a difference? It will stop caching, at lest unless there is an ETag or Last-Modified. Ok good! Note: The RFC do

Re: caching dynamic content

2007-11-14 Thread Adrian Chadd
On Thu, Nov 15, 2007, Henrik Nordstrom wrote: And what is from an HTTP/1.0 server? The next hop, or do it refer to the protocol version of the origin server (which can't be deduced that easily). Ok. What about that and the Cache-Control: max-age=0 in the forwarded requests? Adrian -- -

Re: caching dynamic content

2007-11-14 Thread Adrian Chadd
On Wed, Nov 14, 2007, Duane Wessels wrote: #We recommend you to use the following two lines. acl QUERY urlpath_regex cgi-bin \? cache deny QUERY Thats what I'm supporting/suggesting: remove the default 'cache deny' lines and add some default refresh_pattern lines. I've

store url rewriter stuff

2007-11-14 Thread Adrian Chadd
I've started work on the store url rewriter stuff in Squid-HEAD. The eventual aim is to be able to use a canonicalised URL form for store lookups, working around the tricks used by CDNs and other websites to distribute content and improve parallelism. Think google maps, youtube and microsoft

Re: store url rewriter stuff

2007-11-14 Thread Adrian Chadd
On Thu, Nov 15, 2007, Adrian Chadd wrote: I've started work on the store url rewriter stuff in Squid-HEAD. Its now spitting URLs to the redirector and reading them back. Its not yet using this in the request_t. The redirector I'm currently using: #!/usr/bin/perl -w $| = 1; while

Re: squid with mysql support

2007-11-13 Thread Adrian Chadd
On Tue, Nov 13, 2007, Arthur Tumanyan wrote: I add mysql support to squid-2,6.stable13. It's working normally.now it's possible to log some entries from access.log (timestamp,auth-user,ip,query size) directly into mysql database which connection parameters can be changed from squid.conf. if

Re: SIMON, Yannick : introducing myself

2007-11-11 Thread Adrian Chadd
Subscribed! Adrian On Sun, Nov 11, 2007, Yannick Simon wrote: Hello i am the CTO of a french e-commerce web site called www.rueducommerce.fr i am a expert of ESI developments since i am using AKAMAI's ESI technology for many years now i am developping an ICAP Server written in

Re: Suggested tools / codebases to optimize proxy server output

2007-11-07 Thread Adrian Chadd
G'day, Its not the first time that people have suggested rewriting/compressing content to save on bandwidth delivered to clients and optimise their perceived load times. The trouble is none of it has ever made it back into the Squid codebase. :) Its been done plenty of times.. adrian On

Re: default ACL all

2007-10-27 Thread Adrian Chadd
On Wed, Oct 24, 2007, Amos Jeffries wrote: Yay? Nay? The lack of an all ACL being predefined always irked me. You get my yay. :) adrian -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level bandwidth-capped VPSes available in WA -

Re: formal debug levels

2007-10-24 Thread Adrian Chadd
Syslog type levels come to mind. Have them as bit flags, so you can do stuff like debug(DBG_HTTP_CLT, LVL_NOTIFY | LVL_CRITICAL) (foo\n); That'd certainly make it easier for people writing/modifying code with debugging statements; they'd know what the labels mean rather than guessing at the

Re: udp address setting docs are bad.

2007-10-11 Thread Adrian Chadd
On Fri, Oct 12, 2007, Amos Jeffries wrote: The squid.conf docs for udp_incoming_address specify that its ICP-only related. However the Config.Addrs.udp_incoming is used by ICP, HTCP, and DNS. Similarly, docs for udp_outgoing_address specify that its ICP-only related. However the

Re: udp address setting docs are bad.

2007-10-11 Thread Adrian Chadd
On Fri, Oct 12, 2007, Amos Jeffries wrote: The squid.conf docs for udp_incoming_address specify that its ICP-only related. However the Config.Addrs.udp_incoming is used by ICP, HTCP, and DNS. Similarly, docs for udp_outgoing_address specify that its ICP-only related. However the

Re: Features Page

2007-10-09 Thread Adrian Chadd
On Tue, Oct 09, 2007, Amos Jeffries wrote: With the current version, it looks like you really care about users running Squid 2.5 :-). I thought it would show how may items are P/X/- in 2.5 for those diehards still using it. All its done so far is prove the concept of 2.6 having many more

Re: Another wiki page about Squid plans

2007-10-05 Thread Adrian Chadd
On Fri, Oct 05, 2007, Alex Rousskov wrote: I am trying to minimize the number of pages talking essentially about the same thing (see above)... I also found: http://wiki.squid-cache.org/DevelopmentIdeas http://wiki.squid-cache.org/NiceLittleProjects I will stop now before I

Re: cvs commit: www2/content/Download howto-mirror.dyn

2007-10-03 Thread Adrian Chadd
On Thu, Oct 04, 2007, Amos Jeffries wrote: Anyone planning on adding the 'Squid Mirrors' section for people configuring their squid as a 'live' mirror/accelerator? I'm playing with it at the moment. Here's the shared template I'm using for the four testing servers.

Re: cvs commit: www2/content/Download howto-mirror.dyn

2007-10-03 Thread Adrian Chadd
On Thu, Oct 04, 2007, Amos Jeffries wrote: oh, that configuration is turning those machines into open proxies for anyone who wants to point their domain at 'em. I prefer making that list of cache_peer_domains into a single dstdomain ACL which can be used to both redirect the domains with

Re: cvs commit: www2/content/Download howto-mirror.dyn

2007-10-03 Thread Adrian Chadd
On Thu, Oct 04, 2007, Henrik Nordstrom wrote: On tor, 2007-10-04 at 12:16 +1300, Amos Jeffries wrote: oh, that configuration is turning those machines into open proxies for anyone who wants to point their domain at 'em. No it won't, accelerator mode means an implicit never_direct allow

Re: cvs commit: www2/content/Download howto-mirror.dyn

2007-10-03 Thread Adrian Chadd
On Thu, Oct 04, 2007, Henrik Nordstrom wrote: Phew. I did just re-check it and Henrik's right. But Amos is right that the public template should have access controls to make this dead clear, or at least never_direct allow all. It's hard to know what the admin does to the config and this

Squid-2 + Squid-3 roadmaps

2007-10-02 Thread Adrian Chadd
Hm, I'm not sure if this made it to squid-core so I'm reposting it and to squid-dev this time. I've tidied up the Squid-2, Squid-3 and Squid roadmap entries in the Wiki: http://wiki.squid-cache.org/RoadMap/ I'd like: * Some feedback about the -2 and -3 roadmaps - especially since -2 is

Re: RC1 time

2007-10-02 Thread Adrian Chadd
On Tue, Oct 02, 2007, Amos Jeffries wrote: There is also this one with a few more items: http://wiki.squid-cache.org/Squid-3.1#head-533b554b1cc28966bbe9409b58a19bb1fe2ee7f1 Speaking of which. Adrian: You added the Comm-Layer re-write as first on that list. Is the code ready to be

Re: Squid-2 + Squid-3 roadmaps

2007-10-02 Thread Adrian Chadd
On Tue, Oct 02, 2007, Alex Rousskov wrote: I'd like to hear from devs and interested users alike. I can only comment on Squid3 roadmap (should not the Squid2 roadmap end soon after with Squid3 release?). There's still an enormous squid-2 userbase out there which still needs to be looked

Re: Contribution to Squid development.

2007-10-02 Thread Adrian Chadd
On Sun, Sep 09, 2007, Pierangelo Masarati wrote: Adrian Chadd wrote: Hm, have you seen http://squid.sf.net/ ? yes, I saw it. I was wondering if it's worth branching for such a localized set of fixes, but it that's the preferred way I'll take it. My sf id is andomasarati. Updated! Sorry

[EMAIL PROTECTED]: [The Squid Web Proxy/Cache Blog] Please moderate: Squid-2.6 IPv6]

2007-10-02 Thread Adrian Chadd
Just got this to approve through the blog: - Forwarded message from [EMAIL PROTECTED] [EMAIL PROTECTED] - Date: Tue, 2 Oct 2007 02:08:12 + To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: [The Squid Web Proxy/Cache Blog] Please moderate: Squid-2.6 IPv6 A new

Re: Contribution to Squid development.

2007-10-02 Thread Adrian Chadd
On Wed, Oct 03, 2007, Amos Jeffries wrote: While you're at these Adrian, could you add -husni too please. I don't seem to have enough privileges at sourceforge to do it myself. Is that his username? -husni ? Adrian

Re: [EMAIL PROTECTED]: [The Squid Web Proxy/Cache Blog] Please moderate: Squid-2.6 IPv6]

2007-10-02 Thread Adrian Chadd
On Wed, Oct 03, 2007, Amos Jeffries wrote: Hmm, A few months ago, I was all for providing snapshots of squid3-ipv6 officially. With the closely pending 3.1 branch I don't exactly seen a full need for it anymore. As its merged the separate snapshot would become just a mirror of 3.1-daily The

Re: Contribution to Squid development.

2007-10-02 Thread Adrian Chadd
On Wed, Oct 03, 2007, Amos Jeffries wrote: On Wed, Oct 03, 2007, Amos Jeffries wrote: While you're at these Adrian, could you add -husni too please. I don't seem to have enough privileges at sourceforge to do it myself. Is that his username? -husni ? No. As I read that message its

Re: RC1 time

2007-10-01 Thread Adrian Chadd
On Mon, Oct 01, 2007, Duane Wessels wrote: On Sun, 30 Sep 2007, Duane Wessels wrote: Alex tells me that its time to release Squid-3 RC1. I plan to start the process tonight. If all goes well it should be done and announceable in 24-48 hours. squid-3.0.RC1 is now on the master

Re: can I remove cache feature from Squid or how can I make the time of cache is very short

2007-09-30 Thread Adrian Chadd
On Sat, Sep 29, 2007, JXu wrote: Hi Please help me to understand the question described as below: I added a service in c-icap to block some URLs(for example, www.yahoo.com) and I did it. It displays permission denied web page (designed by me) when the user enters these URLs. After I

Re: self intro

2007-09-29 Thread Adrian Chadd
On Fri, Sep 28, 2007, Achmad Husni Thamrin wrote: Hi there, I'm Husni, an Indonesian living in Japan. I've been working on IPv6 for Squid 2.6. The latest patch is for 2.6.STABLE13 http://jaringan.info/2007/05/12/squid-ipv6-26stable13/ That's all for now. Welcome to the fold! Let us

Re: Split up cf.data.pre?

2007-09-25 Thread Adrian Chadd
On Tue, Sep 25, 2007, Henrik Nordstrom wrote: Hi, I propose we change cf.data.pre to be split up in multiple files in the CVS repository. Imho this would simplify maintenance noticeably. One file per option, or? Adrian

Re: ACL for matching big files

2007-09-25 Thread Adrian Chadd
On Mon, Sep 24, 2007, Francisco Gimeno wrote: Hello, I think that I have sent this before, but Henrik asked me to do it as somebody could be interested. aha! It's a patch for a directive supporting inserting a flow into a delay_pool based on the file size. At the moment it only acts

store_copy branch

2007-09-25 Thread Adrian Chadd
I've done a bit of work to reduce the use of memcpy() in the client-side section. Its in the store_copy branch in sourceforge. The first part of this creates storeClientRef() which is like storeClientCopy() but it returns a reference-counted mem_node reference+ offset rather than filling a

Re: udp logging in 2.HEAD

2007-09-24 Thread Adrian Chadd
On Mon, Sep 24, 2007, Henrik Nordstrom wrote: On m??n, 2007-09-24 at 00:23 +0800, Adrian Chadd wrote: * tune the udp buffer size rather than having it fixed - you could in theory fire off 32k UDP packets if your receive side would handle them fine. Thats ~200 logging entries each UDP

ipv6 in squid-2?

2007-09-23 Thread Adrian Chadd
Just in case people missed it, there's a guy which is keeping a squid-2+ipv6 patchset up to date. http://jaringan.info/2007/05/12/squid-ipv6-26stable13/ What do people think about that? Is there any interest in getting ipv6 included into squid-2.HEAD at some point in the future? Adrian

udp logging in 2.HEAD

2007-09-23 Thread Adrian Chadd
G'day, I've committed a version of the patch Tim Starling (Wikipedia) wrote to squid-2.HEAD. It -almost- works; I'm seeing lines like this: 1190560927.196 4526 192.168.1.7 TCP_MISS/504 317 GET http://192.168.1.7:8080/w10953a8c.27fa10d3:0006/t01/_1190560927.196 2848 192.168.1.7

Re: udp logging in 2.HEAD

2007-09-23 Thread Adrian Chadd
On Sun, Sep 23, 2007, Adrian Chadd wrote: G'day, I've committed a version of the patch Tim Starling (Wikipedia) wrote to squid-2.HEAD. It -almost- works; I'm seeing lines like this: 1190560927.196 4526 192.168.1.7 TCP_MISS/504 317 GET http://192.168.1.7:8080/w10953a8c.27fa10d3

non-zero buffering diff for squid-2.head

2007-09-20 Thread Adrian Chadd
Here's a simple patch to remove the need to zero certain mempool buffers in squid-2.HEAD. I've had various versions of this float around and somewhat tested for a while. http://www.creative.net.au/diffs/20070921-squid2.head-nonzero.diff The aim here is to allow selective things to be unzeroed -

Re: Memory stats when running as 64bit

2007-09-19 Thread Adrian Chadd
On Thu, Sep 20, 2007, Mark Nottingham wrote: ... are messed up; I think this is a known problem (or at least I remember talking to somebody about it), but I didn't see anything in bugzilla. So: http://www.squid-cache.org/bugs/show_bug.cgi?id=2088. Ta. Adrian

Re: cf_gen segfaults on FreeBSD-HEAD

2007-09-16 Thread Adrian Chadd
It wouldn't be the first time - Squid had to be compiled under -O0 for so very long because of a random crash in the Squid internal DNS code; the FreeBSD gcc was generating very very bogus argument handling code. Wonder if something similar is going on here; try compiling it with -O0? (I'll read

Re: [squid-users] WCCPv2 - L2 + 3550 cisco switch

2007-09-09 Thread Adrian Chadd
On Mon, Sep 10, 2007, Amos Jeffries wrote: Adrian, if I'm reading this correctly I think I've found a possible source of confusion for the users in their wccp configuration. You're right. :) I'll commit a patch to do that sometime soon. For example: wccp2_forwarding_method L2

Re: logic error in httpHdrRangeSpecParseCreate

2007-09-08 Thread Adrian Chadd
On Sat, Sep 08, 2007, Pierangelo Masarati wrote: I'm not a Squid developer, but your diagnosis sounds right. Just in case, I think you should file a bug http://www.squid-cache.org/bugs/ so the fix, if confirmed, can be tracked. You analysed a bug; you're a squid developer now! Adrian

Re: Contribution to Squid development.

2007-09-08 Thread Adrian Chadd
On Sat, Sep 08, 2007, Pierangelo Masarati wrote: Yet another step: http://www.sys-net.it/~ando/Download/squid-ldap-20070908.patch This will probably be the last for a while because I'll be almost unavailable for a couple of weeks. In any case, now squid_ldap_auth and squid_ldap_group

Re: cvs commit: squid3 configure.in

2007-09-07 Thread Adrian Chadd
On Fri, Sep 07, 2007, Alex Rousskov wrote: Maybe one of the goals for squid-3.1 should be runtime loadable dyanmic modules for stuff. I hope to do it for eCAP (embedded ICAP) in Squid 3.1 if we get enough interest in that feature. Our Traffic Spicer (written in C++) works with dynamic

Re: cvs commit: squid3 configure.in

2007-09-06 Thread Adrian Chadd
On Thu, Sep 06, 2007, Henrik Nordstrom wrote: Maybe. I'll leave that to you to judge. Don't have a clear opinion either way. But why not? HTCP and SNMP is very non-intrusive, just enabling code which is never used unless configured in squid.conf, with no significant change in other code.

Re: wccp2d in sourceforge

2007-09-05 Thread Adrian Chadd
On Wed, Sep 05, 2007, Henrik Nordstrom wrote: An old copy is available in the squid-dev archives http://www.squid-cache.org/mail-archive/squid-dev/200408/0069.html Thats right. I remember seeing this. Its a nice idea, but the internals of it are just as ugly as C. I bet I could make a

Re: Contribution to Squid development.

2007-09-05 Thread Adrian Chadd
On Mon, Sep 03, 2007, Pierangelo Masarati wrote: Hi, at SysNet we're starting a very important project that will likely require some intensive exploitation of current and future capabilities of Squid. In order to familiarize with its internals, and in view of some possible contribution to

Re: wccp2d in sourceforge

2007-09-05 Thread Adrian Chadd
On Wed, Sep 05, 2007, Henrik Nordstrom wrote: IIRC it was considerably cleaned up in later versions, but hard to tell at the moment.. Hm, archive.org any help? adrian

Re: wccp2d in sourceforge

2007-09-05 Thread Adrian Chadd
On Wed, Sep 05, 2007, Henrik Nordstrom wrote: Hm, archive.org any help? not sure, but google was.. http://ns.sgu.ru/viewmtn/viewmtn.py/branch/changes/net.stingr.wccpd Aha, cool. Yup, this is about as useful as wccp2.c in squid-2. I'll stick to C, I'm more familiar with it. (And I don't

wccp2d in sourceforge

2007-09-03 Thread Adrian Chadd
I've put my wccp2 code breakout into a new module in the sourceforge squid repository (under wccp2d.) For now its just the squid wccp2.c with some glue to make it live outside of Squid. It uses libevent for its network IO. There's a TODO list there. The first two things to implement are running

Re: wccp2d in sourceforge

2007-09-03 Thread Adrian Chadd
On Tue, Sep 04, 2007, Robert Collins wrote: What IO load does this get? perhaps writing it in python or something would be better overall? Then its a pain in the ass to put into something embedded. Adrian

Re: wccp2d in sourceforge

2007-09-03 Thread Adrian Chadd
On Tue, Sep 04, 2007, Robert Collins wrote: Then its a pain in the ass to put into something embedded. Really? Python is even on symbian phones running webservers. Doesn't seem that PITA to me. Several years ago we had python on the embedded squid appliances we sold, and had no trouble

errorpage work

2007-09-02 Thread Adrian Chadd
I've started on some errorpage tidyups. The SF branch is errorpages. This stuff should eventually allow administrators to easily customise the pages with their local theme. So far I've: * mostly extracted out the errorpage contents into metadata files, which at the moment cover title,

Re: errorpages squid/errors/English/templates ERR_ACCESS_DENIED, 1.1.2.1,1.1.2.2 ERR_CANNOT_FORWARD,1.1.2.1,1.1.2.2 ERR_DNS_FAIL, 1.1.2.1,1.1.2.2

2007-09-02 Thread Adrian Chadd
On Mon, Sep 03, 2007, Amos Jeffries wrote: Adrian, If your .pl script wraps each 'section' with: div id=$section_name.../div you will not need to place p/p in the meta data so often. Well, the trouble is that some of the messages actually have multiple paragraphs in them; I'm not sure

Re: errorpages squid/errors/English/templates ERR_ACCESS_DENIED, 1.1.2.1,1.1.2.2 ERR_CANNOT_FORWARD,1.1.2.1,1.1.2.2 ERR_DNS_FAIL, 1.1.2.1,1.1.2.2

2007-09-02 Thread Adrian Chadd
On Mon, Sep 03, 2007, Amos Jeffries wrote: Well, the trouble is that some of the messages actually have multiple paragraphs in them; I'm not sure what to do there just yet. Those are the few that might still need p inside the div, I also noticed a few with pre. p or anything can be

Re: default cache user

2007-08-24 Thread Adrian Chadd
On Fri, Aug 24, 2007, Amos Jeffries wrote: I wondered about that. I don't exactly have a preference, just picked a shorter one. Though I suppose --with-default-user is better. default-cache-group ? group is not involved/configurable that way. Squid pulls default group from host passwd

Re: default cache user

2007-08-23 Thread Adrian Chadd
On Fri, Aug 24, 2007, Amos Jeffries wrote: A while ago I patched my branch to allow configure-time setting (--with-cache-user=USER) of the squid run-time default user. I'm thinking this is worth adding to 3.0 before release. - it has been well tested now by me (~1 month use in

Re: configuration guide link

2007-08-22 Thread Adrian Chadd
On Wed, Aug 22, 2007, Amos Jeffries wrote: I have been giving that some thought and there are a few major changes I'd put in place before any CSS prettiness 1) add a SEE_ALSO: item to the cf.data.pre format - many of the options apply to more than just one 'area' ie icp_port fits

Re: configuration guide link

2007-08-22 Thread Adrian Chadd
On Wed, Aug 22, 2007, Amos Jeffries wrote: Nothing blocking, just a wishlist really. Squid's wishlist is long; lets try to trim off whatever we can. :P I agree they are good ideas - and I'd really like to see those section markers be explicit section markers rather than comments which we pre

Re: configuration guide link

2007-08-22 Thread Adrian Chadd
On Wed, Aug 22, 2007, Amos Jeffries wrote: Oh, (click!) were you asking me to do the pretty? Only if you want. You seem to know CSS/HTML better than I. Adrian

Re: configuration guide link

2007-08-22 Thread Adrian Chadd
On Thu, Aug 23, 2007, Amos Jeffries wrote: I just did it. The templates are now labeled with CSS hooks, and a new cfgman.css is added to modify some default.css settings so they don't look bad. Anything else will depend on getting rid of the pre Which won't be that hard - create a section

Re: configuration guide link

2007-08-21 Thread Adrian Chadd
On Wed, Aug 22, 2007, Amos Jeffries wrote: I good one though. I have just split the Configuration Guide link in the menubar into three. One for each of the official latest, and one for the old visolve page. The visolve page is a year outdated now. Hm, lets make the page look pretty now ? :)

Re: squid-3 ?

2007-08-15 Thread Adrian Chadd
On Wed, Aug 15, 2007, Guido Serassio wrote: I think that we must wait for two weeks to see if the latest large-objects changes are reasonably stable. I was wondering about that. I thought 3.0 was reasonably frozen.. anyway, I'll continue lurking. Adrian

squid-3 ?

2007-08-14 Thread Adrian Chadd
How long before the next pre or release candidate of squid-3 ? Adrian

Re: subscription request

2007-08-10 Thread Adrian Chadd
On Thu, Aug 09, 2007, rahul wrote: Hi, About: I am currently working in Sun, and am part of the drive to bundle squid in the common WebStack project http://opensolaris.org/os/project/webstack/ I have some earlier experience in implementation of webcache protocols (ICP and CARP) and

Re: wish for an advice

2007-08-06 Thread Adrian Chadd
On Mon, Aug 06, 2007, Henrik Nordstrom wrote: I've been writing a SIP proxy server, SER (www.iptel.org/ser), which typically operates in UDP mode. Now in the IETF, TCP is gaining more momentum. SER supports it but compared to UDP it scales rather poorly -- at the moment we can't get

Re: wish for an advice

2007-08-06 Thread Adrian Chadd
On Mon, Aug 06, 2007, Jiri Kuthan wrote: Thank you very much -- that has helped us to get a great sense of what else is outthere and what is achievable! I'd also suggest firing it up on a Linux box with oprofile and throw some traces our way. You might identify a code path or two which could be

Re: Adding Content Adaptation entry to the FAQ

2007-07-29 Thread Adrian Chadd
On Thu, Jul 26, 2007, Kinkie wrote: I'll be offline for the next 10 days. Any other wiki admin should be able to do it though; please guys do. Done

Re: cvs commit: squid3/src EventLoop.cc

2007-07-24 Thread Adrian Chadd
On Tue, Jul 24, 2007, Henrik Nordstrom wrote: It's a bug. For 3.0.STABLE1 lets patch over the bug by never stopping the event loop for an significant amount of time, but should be fixed. We can and should fix all that, but hopefully we can leave with 10msec default for now. A

Re: dnsserver

2007-07-18 Thread Adrian Chadd
On Thu, Jul 19, 2007, Amos Jeffries wrote: Hmm, just handling these dnsserver typos I had. Can anyone give one good reason for the dnsserver external DNS helper now that squid has non-blocking event-driven internal DNS? Support different name lookup methods which are supported via the

Re: exposing ACL denies in cache.log?

2007-07-13 Thread Adrian Chadd
On Fri, Jul 13, 2007, Henrik Nordstrom wrote: No, but it's something I'd like to see.. and also the full ERR_... names on errors. That, and identifying auth denied and authentication processes, rather than just TCP_DENIED across the board. Maybe I'll do it when a client asks.. Adrian

exposing ACL denies in cache.log?

2007-07-12 Thread Adrian Chadd
Is there something nice in the logfile format for exposing the custom error page in access.log. I'd like to expose the custom errors chosen through the use of external_acl's so reporting scripts can extract info out of them later. Any ideas? Adrian

Re: Squid and SIGPIPE

2007-07-08 Thread Adrian Chadd
On Sun, Jul 08, 2007, Amos Jeffries wrote: Adrian Chadd wrote: On Thu, Jul 05, 2007, Amos Jeffries wrote: I have been overlooking these for a while on the assumption that it was gdb catching something when it should have left it. I have just started wondering if this was in fact bad

Re: about cf.data.pre and squid compiling

2007-07-08 Thread Adrian Chadd
On Sun, Jul 08, 2007, Arthur Tumanyan wrote: Then I just do ./configure --enable-shaga ;make;make install.After installation I found in squid.conf the following lines : # TAG: enable_shaga_engine on|off # Note: This option is only available if Squid is rebuilt with the #

Re: Squid and SIGPIPE

2007-07-05 Thread Adrian Chadd
On Thu, Jul 05, 2007, Amos Jeffries wrote: I have been overlooking these for a while on the assumption that it was gdb catching something when it should have left it. I have just started wondering if this was in fact bad unexpected behaviour for the squid signals. Should I be looking into

Re: /dev/poll support is in squid-2.6

2007-07-02 Thread Adrian Chadd
On Sat, Jun 30, 2007, Serassio Guido wrote: If you like, I can give to you the full access to my machine, this is a test only old O2 box. Its mostly a question of free time, which I don't predictably have. It takes me about 5 minutes to fire up the Octane I have here; so when I find a spare

Re: COSS in Squid-3.0

2007-06-25 Thread Adrian Chadd
On Mon, Jun 25, 2007, Henrik Nordstrom wrote: Since COSS in Squid-3 is quite behind and in serious need of updates I propose dropping COSS from 3.0.STABLE, keeping it in Squid-3. I'm quite happy to drop COSS support in Squid-3 stable; the disk code needs a serious tidying up 3.0.STABLE.

Re: /dev/poll support is in squid-2.6

2007-06-24 Thread Adrian Chadd
On Sun, Jun 24, 2007, Henrik Nordstrom wrote: fre 2007-06-22 klockan 20:47 +0800 skrev Adrian Chadd: I've just merged in the Solaris/irix support into squid-2.6. You only merged part of it to 2.6.. merged the rest yesterday.. http://www.squid-cache.org/Versions/v2/2.6/changesets/11487

/dev/poll support is in squid-2.6

2007-06-22 Thread Adrian Chadd
I've just merged in the Solaris/irix support into squid-2.6. I'm running a quick polygraph test on an old sun (E250) running Solaris 10 to see if there are any issues. Adrian

transparent https interception

2007-06-19 Thread Adrian Chadd
Gah, I got another email about transparent https interception. I guess this means I'll just have to bloody write it. My main question is which ACL types people would like to support. Initially it'd be easy to support source and destination IP, logging the transaction time and TX/RX bytes.

<    1   2   3   4   5   6   7   8   9   >