Re: SNMP support starts on branch squid3-ipv6 !! [improved]

2007-11-23 Thread Henrik Nordstrom
On fre, 2007-11-23 at 23:55 +1300, Amos Jeffries wrote: > SNMPv2-SMI::enterprises.3495.1.5.1.1.1.192.168.0.12 = STRING: > "rio.treenetnz.com" > Error: OID not increasing: This is inherent to our broken way of indexing the peers. Not unique to ipv6 but also seen for ipv4 peers even before the ip

Re: negative object sizes?

2007-11-22 Thread Henrik Nordstrom
On fre, 2007-11-23 at 09:55 +0900, Adrian Chadd wrote: > 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

Re: Fixing Bug #7

2007-11-22 Thread Henrik Nordstrom
On tor, 2007-11-22 at 15:51 +0900, Adrian Chadd wrote: > Could you make this stuff optional at all at runtime? done > I'm just a bit wary about these sorts of temporary fixes going into the > codebase without fixing the actual root cause - we'll just end up creating > more work for ourselves in

Re: Fixing Bug #7

2007-11-21 Thread Henrik Nordstrom
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 Squid-2, rewriting the entry, or should we jump directl

Re: [undo commit]

2007-11-21 Thread Henrik Nordstrom
On ons, 2007-11-21 at 00:44 +0100, Rafael Martinez (Squid development) wrote: > > If snmp_core.cc revision 1.10.8.26 > > > > How can I come back into 1.10.8.24 ? > > > > > > cvs update -j 1.10.8.26 -j 1.10.8.25 snmp_core.cc > cvs update -j 1.10.8.25 -j 1.10.8.24 snmp_core.cc yes, or in one g

Re: md5 stuff under MacOSX

2007-11-18 Thread Henrik Nordstrom
On mån, 2007-11-19 at 08:59 +0900, Adrian Chadd wrote: > Is there any particular reason why Squid just doesn't require openssl be > present during build for the MD5 support? For one thing the OpenSSL license is not fully GPL compatible, so distributors where OpenSSL is not part of the base operat

Re: md5 stuff under MacOSX

2007-11-18 Thread Henrik Nordstrom
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 but not enable SSL support. Regards Henrik signature.as

Re: caching "dynamic" content

2007-11-14 Thread Henrik Nordstrom
On tor, 2007-11-15 at 11:49 +0900, Adrian Chadd wrote: > > However, there is still the HTTP/1.0 "MUST NOT cache" requirement. Not > > really an idea what that's about however. > > If people -are- returning freshness info in a ? URL then its entirely > possible they've got clue, right? Or not? Ex

Re: caching "dynamic" content

2007-11-14 Thread Henrik Nordstrom
On tor, 2007-11-15 at 10:28 +0900, Adrian Chadd 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. Note: The RFC do not f

Re: caching "dynamic" content

2007-11-14 Thread Henrik Nordstrom
On ons, 2007-11-14 at 18:20 -0700, Duane Wessels wrote: > While we're at it we could probably also get rid of the silly gopher > refresh_pattern line. There is still gophers around, and it's a supported protocol. Without that line gopher responses won't get cached as they do not have any freshnes

Re: caching "dynamic" content

2007-11-14 Thread Henrik Nordstrom
On tor, 2007-11-15 at 10:17 +0900, Adrian Chadd wrote: > 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

Re: caching "dynamic" content

2007-11-14 Thread Henrik Nordstrom
On tor, 2007-11-15 at 09:37 +0900, Adrian Chadd wrote: > G'day, > > I'd like to propose a Squid modification - to cache "dynamic" content > thats playing "good". Yes, it's as simple as removing the cache lines from the default suggested config and making sure your refresh_pattern rules is reasona

Re: OID IPv6 values

2007-11-12 Thread Henrik Nordstrom
Note: The cache_peer SNMP index is broken. We can't use IP as the index key as we may have multiple peers on the same IP. I'd suggest using an array based indexing scheme instead similar to how network interfaces is indexed in ifTable, with the IP being one attribute per peer. For configuration st

Re: configure: error: cannot compute sizeof (void *), 77 -during configuration process

2007-11-11 Thread Henrik Nordstrom
On sön, 2007-11-11 at 09:17 -0800, Arthur Tumanyan wrote: > Hi.I have a question. > > Please have a look at this part of configure.in script that I trying to > modify for my needs. > > AM_CONDITIONAL(ENABLE_SHAGA, false) > AC_ARG_ENABLE(shaga, > [ --enable-shagaEnable ShagaEngine sup

Re: Suggested tools / codebases to optimize proxy server output

2007-11-08 Thread Henrik Nordstrom
On tor, 2007-11-08 at 11:12 +0900, Adrian Chadd wrote: > The trouble is none of it has ever made it back into the Squid codebase. :) > Its been done plenty of times.. Both should be pretty easy to integrate using ICAP. Regards Henrik signature.asc Description: This is a digitally signed messag

Re: https_port without SSL context?

2007-11-07 Thread Henrik Nordstrom
On tis, 2007-11-06 at 13:28 -0700, Alex Rousskov wrote: > As you can see, a warning is printed but there are no consequences. That > is, Squid will still listen on the specified port although it probably > would not be able to do anything useful there without a valid SSL > context. it's meant to

Re: [squid-users] Squid marks alive siblings as dead.

2007-10-16 Thread Henrik Nordstrom
On tis, 2007-10-16 at 17:27 +1300, Amos Jeffries wrote: > > The default for all accesses (HTTP, ICP, HTCP, SNMP) is deny unless > > allowed. > > precisely. Simply flagging a peer as htcp is not enough to turn it on. As > now documented. A requesting peer needs to be allowed by in http_access and

Re: docs squid3/src/DiskIO/Blocking BlockingFile.h,1.2.14.1,1.2.14.2

2007-10-15 Thread Henrik Nordstrom
On mån, 2007-10-15 at 09:16 +, Amos Jeffries wrote: > Modified Files: > Tag: docs > BlockingFile.h > Log Message: > FS/disk parameter type fixes. > - virtual class methods should use same types as parent > - method definitions should use same type as defined with. > > plus othe

Re: Squid with TProxy4

2007-10-15 Thread Henrik Nordstrom
On mån, 2007-10-15 at 15:45 +0200, Tóth László Attila wrote: > Are there any version of Squid that supports the latest version of > our TProxy patch (4.0.3 at the moment)? No, not yet. Should be fairly simple to add to 2.6 however. Regards Henrik signature.asc Description: This is a digital

Re: cvs commit: squid/src/fs/aufs store_dir_aufs.c

2007-10-13 Thread Henrik Nordstrom
On lör, 2007-10-13 at 18:45 +1300, Amos Jeffries wrote: > Henrik Nordstrom wrote: > > hno 2007/10/12 17:58:43 MDT > > > > Modified files: > > src/fs/aufs store_dir_aufs.c > > Log: > > Make aufs store rebuilding back off a little

Re: Modules, installing Squid headers, and src layout

2007-10-12 Thread Henrik Nordstrom
On tor, 2007-10-11 at 20:17 -0600, Alex Rousskov wrote: > Hello, > > To support loadable modules, we may need to alter Squid sources layout > or installation procedure. This email discusses the problem and four > possible solutions. Please review and suggest the best path forward. Possibly,

Re: configure options for loadable Squid modules

2007-10-12 Thread Henrik Nordstrom
On tor, 2007-10-11 at 19:30 -0600, Alex Rousskov wrote: > 1) --with-ltdl :: This options will tell Squid to use internal ltdl > library (created by libtoolize) to handle module loading, preloading, > and unloading. I have a wrapper class from Traffic Spicer that can > handle both ltld-based and

Re: udp address setting docs are bad.

2007-10-12 Thread Henrik Nordstrom
On fre, 2007-10-12 at 12:30 +1300, 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. > Howev

Re: DeadProjects

2007-10-12 Thread Henrik Nordstrom
On tor, 2007-10-11 at 08:31 -0600, Alex Rousskov wrote: > I want to move your Log Daemon from > http://wiki.squid-cache.org/DeadProjects into the Features/ space, but I > suspect that the current wiki page does not describe the current state > accurately enough. What is the current status of that

Re: assorted changes for squid 2 HEAD cvs

2007-10-09 Thread Henrik Nordstrom
On tis, 2007-10-09 at 11:35 +0400, Alexander V. Lukyanov wrote: > > Not sure about this one.. this will make Squid block under load and > > additionally screws up fs load metrics. > > I was under impression that only maintenance thread will block. Maybe I was > wrong. Squid is not threaded (othe

Re: Features Page

2007-10-08 Thread Henrik Nordstrom
On mån, 2007-10-08 at 12:23 +1300, Amos Jeffries wrote: > Small preview: > http://squid.treenet.co.nz/features.dyn > > The details are possibly inaccurate right now. Corrections: Squid-3 supports delay pools. 2.5 did not support external acl helpers, including the session helper.. 2.5 di

Re: Features Page

2007-10-08 Thread Henrik Nordstrom
On mån, 2007-10-08 at 15:37 -0600, Alex Rousskov wrote: > I am working on the Features pages right now. I have moved some of my stuff to Features/ pages. > I wanted the list of features on the RoadMap to be generated > automatically using feature categories, but it appears that MoinMoin > treat

Re: assorted changes for squid 2 HEAD cvs

2007-10-08 Thread Henrik Nordstrom
On mån, 2007-10-08 at 13:00 +0400, [EMAIL PROTECTED] wrote: > Hi! > > Here are three changes for squid2 HEAD cvs. > > 1. initialize mem_obj (uninitialized can cause seg. fault). Thanks! Fixed this slightly differently however as entry might be NULL in some corner cases.. > 2. use THREAD_FACTOR

Re: Migrating to Subversion

2007-10-06 Thread Henrik Nordstrom
On sön, 2007-10-07 at 03:47 +0200, Henrik Nordstrom wrote: > bzr and git is the only two left standing on my list of choices. Neither > is perfect, but both significantly better than most other.. with bzr > being the main candidate. > > On a related note the Samba project is curr

Re: Migrating to Subversion

2007-10-06 Thread Henrik Nordstrom
On lör, 2007-10-06 at 07:35 +1000, Robert Collins wrote: > > Pros: > > + Many consider svn to be "overall better" than CVS. > > Its branch model is terrible. Well, it's not worse than CVS imho, but not noticeably better either. The CVS model of branches/tags is reasonable to work with, but imp

Re: Another wiki page about Squid plans

2007-10-06 Thread Henrik Nordstrom
On lör, 2007-10-06 at 09:23 -0600, Alex Rousskov wrote: > Not sure how to interpret the "don't do that" and "great you are tidying > this up" conflict :-). Should I start moving/merging things around? Is > there a better plan? Don't stop. Have given it a whole 5 seconds though on what we need to

Re: Another wiki page about Squid plans

2007-10-06 Thread Henrik Nordstrom
On fre, 2007-10-05 at 13:40 -0600, Alex Rousskov wrote: > I just found http://wiki.squid-cache.org/Plans page that you have > created a month ago. Should this be merged with Squid2 or Squid3 > roadmaps? Linked from http://wiki.squid-cache.org/RoadMap ? Or should we > have a "catch all" page

Re: squid3-ipv6 squid3/src cache_cf.cc,1.40.2.42,1.40.2.43

2007-10-03 Thread Henrik Nordstrom
On tor, 2007-10-04 at 15:24 +1300, Amos Jeffries wrote: > > 2. Not true. There is valid use cases for this even if it makes SSL a > > bit upset (certificate validation fails). > > Such as where? Networks not allowing encrypted connections but is one. Regards Henrik signature.asc Description:

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

2007-10-03 Thread Henrik Nordstrom
On tor, 2007-10-04 at 12:46 +1300, Amos Jeffries wrote: > So this is on a per-connection based on the incoming port option flag? Yes. The accel flag gets set on requests accepted on an accelerator mode port, which among other things forces DIRECT_NO in peerSelectFoo() unless overridden... Regard

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

2007-10-03 Thread Henrik Nordstrom
On tor, 2007-10-04 at 12:46 +1300, Amos Jeffries wrote: > > No it won't, accelerator mode means an implicit "never_direct allow all" > > just to prevent this from happening, which means requests can only get > > forwaded if there is cache_peer where the request may be forwarded. > > Ah, okay. > S

Re: v3.1 TODO and deadline

2007-10-03 Thread Henrik Nordstrom
On tis, 2007-10-02 at 23:04 -0600, Alex Rousskov wrote: > Sure, but releasing v3.1 with a few _more_ features than v3.0 seems like > a step in the right direction. I doubt we have or will have the capacity > to implement all 2.x features in a single 3.x release in the foreseeable > future. Some fe

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

2007-10-03 Thread Henrik Nordstrom
On tor, 2007-10-04 at 07:46 +0800, Adrian Chadd wrote: > 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 w

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

2007-10-03 Thread Henrik Nordstrom
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 all" just to prevent this from happening, which mea

Re: squid3-ipv6 squid3/src cache_cf.cc,1.40.2.42,1.40.2.43

2007-10-03 Thread Henrik Nordstrom
On ons, 2007-10-03 at 21:24 +, Amos Jeffries wrote: > } else if (strcmp(token, "transparent") == 0) { > + // TODO: make squid barf when this option is passed to https_port */ Two problems with that comment: 1. Doesn't belong in squid3-ipv6. 2. Not true. There is valid use case

Re: squid3-ipv6 squid3/src cache_cf.cc,1.40.2.42,1.40.2.43

2007-10-03 Thread Henrik Nordstrom
On ons, 2007-10-03 at 21:24 +, Amos Jeffries wrote: > NP: apparently OpenSSL also does not support SSL over IPv6. > Temporarily require IPv4-Only mode on https_ports' > Will check this out myself later. It should. It's just a socket to OpenSSL, and to my best knowledge OpenSSL do not

Re: squid2 ipv6 questions

2007-10-01 Thread Henrik Nordstrom
On tis, 2007-10-02 at 11:20 +1300, Amos Jeffries wrote: > > * are there any squid test units/programs to check my code? > > So far I'm just running my STABLE13 patch without any problem. > > If the patch is to be included in HEAD, I think it should need to > > pass some tests. > > hmm, good p

Re: squid3-ipv6 squid3 configure.in,1.63.2.61,1.63.2.62

2007-10-01 Thread Henrik Nordstrom
On mån, 2007-10-01 at 20:53 +0200, Guido Serassio wrote: > Just upgraded autoconf and automake and now my development > environment is broken: I cannot no more bootstrap squid . :-( What happens? Regards Henrik signature.asc Description: This is a digitally signed message part

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

2007-09-30 Thread Henrik Nordstrom
On mån, 2007-10-01 at 09:28 +1300, Amos Jeffries wrote: > Apparently "Expires: -1;" is invalid. Better to use an explicit timestamp, > even if its Jan 1970, just to be sure that it works as expected. -1 is invalid, which by specifications means expired in the past. See RFC2616 14.21 Expires. But

Re: BodyPipe size_t / uint64_t

2007-09-30 Thread Henrik Nordstrom
On sön, 2007-09-30 at 16:22 -0600, Alex Rousskov wrote: > BTW, why not make every size-related variable a signed or unsigned > int64_t? Is this a performance optimization issue? To mainly to get a separation when something refers to in-memory data or external data. It's clearer in Squid-2 where

Re: BodyPipe size_t / uint64_t

2007-09-30 Thread Henrik Nordstrom
On sön, 2007-09-30 at 15:43 -0600, Alex Rousskov wrote: > Should _all_ size_t uses in BodyPipe be replaced with uint64_t then? Anything that relates to the expected body content size to be transferred over the BodyPipe, but not buffer or passwed chunk sizes. Regards Henrik signature.asc Descri

[Fwd: Re: cvs commit: squid3/src HttpHeader.cc HttpHeaderTools.cc Store.h SwapDir.h cache_cf.cc cf.data.pre client_side.cc client_side.h protos.h store_dir.cc structs.h]

2007-09-29 Thread Henrik Nordstrom
Forwarded Message From: Tsantilas Christos <[EMAIL PROTECTED]> To: Henrik Nordstrom <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: cvs commit: squid3/src HttpHeader.cc HttpHeaderTools.cc Store.h SwapDir.h cache_cf.cc cf.data.pre client_side.cc client_sid

Re: squid3-ipv6 squid3/src ACLIP.cc,1.8.2.45,1.8.2.46

2007-09-27 Thread Henrik Nordstrom
On fre, 2007-09-28 at 09:01 +1200, Amos Jeffries wrote: > No, IPAddress can be assigned a string. It will try to do an inet_a/pton() > conversion. It returns true/false depending on whether the string was able > to be converted. Then please use double (). if ((mask = asc)) Regards Henrik sig

Re: Squid3 with multiple ICAP Services

2007-09-27 Thread Henrik Nordstrom
On tor, 2007-09-27 at 12:08 +1200, Amos Jeffries wrote: > icap_class even says "If there are multiple services per vectoring point, > they are processed in the specified order." Yes.. config syntax already supports it, just never gets called.. Regards Henrik signature.asc Description: This is

Re: squid3-ipv6 squid3/src ACLIP.cc,1.8.2.45,1.8.2.46

2007-09-27 Thread Henrik Nordstrom
Both look strange to me. Shouldn't that be an == Regards Henrik On tor, 2007-09-27 at 11:28 +0200, Rafael Martinez (Squid development) wrote: > Amos, a little typo: > > Acording to original semantics of safe_inet_addr, I think the conditioal > expresion must be positive > > SHOULD BE : > > >

Re: cvs commit: squid3 configure.in

2007-09-26 Thread Henrik Nordstrom
On mån, 2007-09-24 at 09:49 -0600, Alex Rousskov wrote: > The implications range from the "Module is a part of the GPL program > and, hence, must be GPLed!" FSF point of view to "there are no > implications except wasting time on discussing FSF FUD!" point of view. My personal view on that is tha

Re: squid3-ipv6 squid3/src ACLIP.cc,1.8.2.47,1.8.2.48

2007-09-26 Thread Henrik Nordstrom
On ons, 2007-09-26 at 03:54 +, Amos Jeffries wrote: > ! DecodeMask(NULL, &q->mask); // AYJ: is this just initialisation? if so > we don't need it. > ! if (*l_mask && !DecodeMask(l_mask, &q->mask, iptype)) { It's initialization to a /32 mask. If the object starts out with a full mask

Re: Split up cf.data.pre?

2007-09-26 Thread Henrik Nordstrom
On ons, 2007-09-26 at 14:55 +1200, Amos Jeffries wrote: > no no. I meant all the *_access depends on acl etc we just finished > re-ordering the monolithic version for. Ah, that. It's already there in cf_gen and will stay. Regards Henrik signature.asc Description: This is a digitally signed mes

Re: Squid3 with multiple ICAP Services

2007-09-26 Thread Henrik Nordstrom
On ons, 2007-09-26 at 11:53 +1200, Amos Jeffries wrote: > It occurs to me that a method superficially similar to that used for > cache_peer could look nice here. > > - define icap_service with specific details, options +name on a single line > - define icap_access Isn't that what is already

Re: Split up cf.data.pre?

2007-09-25 Thread Henrik Nordstrom
On ons, 2007-09-26 at 11:16 +1200, Amos Jeffries wrote: > That would require another directory just for the cf.data.pre content. Yes, and a small script to pull it togeter for the build. (found in scripts/) > I take it you've included the dependancy tracking in your merge script. cf.data.pre wi

Re: ACL for matching big files

2007-09-25 Thread Henrik Nordstrom
On mån, 2007-09-24 at 16:24 +0200, Francisco Gimeno wrote: > 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 whenever the flow has dispatched that > amount of bytes (so it burst at the beggining till match the size,

Re: Split up cf.data.pre?

2007-09-25 Thread Henrik Nordstrom
On tis, 2007-09-25 at 23:38 +0800, Adrian Chadd wrote: > 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. > &

Split up cf.data.pre?

2007-09-25 Thread Henrik Nordstrom
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. There is already scripts for splitting and merging cf.data.pre in the scripts directory. To see what I am talking about run mkdir conf ../scripts/split

Re: udp logging in 2.HEAD

2007-09-24 Thread Henrik Nordstrom
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 packet. You could, if you like fragmented IP pack

Re: Memory stats when running as 64bit

2007-09-20 Thread Henrik Nordstrom
On tor, 2007-09-20 at 11:29 +0800, Adrian Chadd wrote: > 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:

Re: cf_gen segfaults on FreeBSD-HEAD

2007-09-19 Thread Henrik Nordstrom
On tis, 2007-09-18 at 18:53 +0200, Thomas-Martin Seck wrote: > * Henrik Nordstrom ([EMAIL PROTECTED]): > > > It would be great if you could test the next 2.6 nightly snapshot. This > > is quite likely identical to 2.6.STABLE17 unless something critical pops > > up in the

Re: fd patch to squid

2007-09-19 Thread Henrik Nordstrom
On ons, 2006-07-26 at 11:09 +0200, Martin Stransky wrote: > Hello, > > there is an updated patch, it should meets your criteria... In the end a somewhat different approach was selected, as you have probably noticed with the changes in 2.6.STABLE5 some year ago.. And with two patches in Squid-2.H

Re: logfile daemon stuff in squid-2.HEAD

2007-09-18 Thread Henrik Nordstrom
On tis, 2007-09-18 at 23:34 +0800, Adrian Chadd wrote: > It does need an autoconf/automake pass before the tree will build. Done. Hmm.. should probably automate that to trigger a bootstrap the sources on relevant commits and not only nightly.. Regards Henrik signature.asc Description: This i

Re: [squid-users] What's wrong with my squid?

2007-09-17 Thread Henrik Nordstrom
On tis, 2007-09-18 at 15:40 +1200, Amos Jeffries wrote: > Can you point me in the direction of where it may be possible to > pre-define these ACL in the source before reading squid.conf, and how to > do it? > NP: Since seeing the IPData parsing for ACLs, I've recommended "acl all > src all" ins

Re: cf_gen segfaults on FreeBSD-HEAD

2007-09-17 Thread Henrik Nordstrom
On mån, 2007-09-17 at 19:18 +0200, Thomas-Martin Seck wrote: > The patch works, thanks (tested against STABLE16 with -O0 and -O2)! > > I filed the issue as bug #2086. The additional debug info from frame 1 > you requested is included in this bug report in case you still need it. Thanks! Will re

Re: Turning ICAP preview on by default

2007-09-17 Thread Henrik Nordstrom
On mån, 2007-09-17 at 11:15 -0600, Alex Rousskov wrote: > ICAP preview is currently off by default in Squid3 squid.conf. Should > we default to on? Yes, with only an option to disable the use of preview should there be some problem with the ICAP server.. > Squid will not preview if t

Re: cf_gen segfaults on FreeBSD-HEAD

2007-09-16 Thread Henrik Nordstrom
On sön, 2007-09-16 at 13:24 +0200, Thomas-Martin Seck wrote: > The segfaults occur only on the HEAD FreeBSD branch (7-CURRENT). We > tried to see whether this is a compiler issue (FreeBSD 7 will ship with > gcc 4.2.1 as the system compiler while FreeBSD-6 uses 3.4.6) and found > that it probably i

Re: cf_gen segfaults on FreeBSD-HEAD

2007-09-16 Thread Henrik Nordstrom
On sön, 2007-09-16 at 19:54 +0200, Henrik Nordstrom wrote: > On sön, 2007-09-16 at 13:24 +0200, Thomas-Martin Seck wrote: > > > The segfaults occur only on the HEAD FreeBSD branch (7-CURRENT). We > > tried to see whether this is a compiler issue (FreeBSD 7 will ship with &g

Re: Compile Error in Squid 2.6STABLE16

2007-09-15 Thread Henrik Nordstrom
On lör, 2007-09-15 at 15:12 +0200, Guido Serassio wrote: > Thanks for your report, but this was already fixed in 2.HEAD: > http://www.squid-cache.org/Versions/v2/HEAD/changesets/11656.patch And now merged over to 2.6. The exact same change. http://www.squid-cache.org/Versions/v2/2.6/changesets/1

Re: ACL matching Big files

2007-09-15 Thread Henrik Nordstrom
On lör, 2007-09-15 at 21:25 +0200, Francisco Gimeno wrote: > I was wondering if it would be too difficult to implement and acl > method for matching big files. Problem is knowing.. > I want then to use it with delay_pools. I think there are two > different approaches: > - Matching Content-Length

Re: cvs commit: squid3 configure.in

2007-09-08 Thread Henrik Nordstrom
On lör, 2007-09-08 at 07:53 +0200, Pierangelo Masarati wrote: > I think you don't need to burn your brains too much on this point. > Figuring the perfect API out of the blue could mean spend a lot of > energies on something that would eventually freeze anyway, and if one > really needs a feature t

Re: cvs commit: squid3 configure.in

2007-09-07 Thread Henrik Nordstrom
On lör, 2007-09-08 at 08:53 +0800, Adrian Chadd wrote: > Don't suppose I could take a peek at how you did it? I'd like to write a few > things up as loadable modules - the logging stuff would be a place to start, > but I'd like to expose the whole storage API as a clean interface (even given > mos

Re: cvs commit: squid3 configure.in

2007-09-07 Thread Henrik Nordstrom
On lör, 2007-09-08 at 01:48 +0300, Tsantilas Christos wrote: > I am watching closely squid at least the last 2 years and I had see > how difficult is for squid to get funds for its developments. I think it > is easier for the squid project to get money from people/companies which > creating/sel

Re: Contribution to Squid development.

2007-09-07 Thread Henrik Nordstrom
On tor, 2007-09-06 at 23:36 +0200, Pierangelo Masarati wrote: > I've noticed that in Squid's main code anything following "ERR" can be > exploited, but there's no provision for extra stuff after "OK", which > prevents exploitation of the warning part of password policy. HTTP do not provide any me

Re: cvs commit: squid3 configure.in

2007-09-06 Thread Henrik Nordstrom
On tor, 2007-09-06 at 10:00 -0600, Alex Rousskov wrote: > On Mon, 2007-08-27 at 07:37 -0600, Henrik Nordstrom wrote: > > hno 2007/08/27 07:37:02 MDT > > Log: > > Enable HTCP and SNMP support by default in the binary, but default off in > > squid.conf >

Re: wccp2d in sourceforge

2007-09-05 Thread Henrik Nordstrom
On ons, 2007-09-05 at 20:56 +0800, Adrian Chadd wrote: > 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? not sure, but google was.. http://ns.s

Re: wccp2d in sourceforge

2007-09-05 Thread Henrik Nordstrom
On ons, 2007-09-05 at 15:29 +0800, Adrian Chadd wrote: > 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 remembe

Re: wccp2d in sourceforge

2007-09-04 Thread Henrik Nordstrom
On tis, 2007-09-04 at 11:46 +0800, Adrian Chadd wrote: > :) Well, if someone wants to start recoding it in python then by > all means, please do. There is already a WCCPv2 daemon written in Python available.. http://freshmeat.net/projects/pywccp2/ Hmm.. seems to have fallen off the Internet h

Re: epoll

2007-09-01 Thread Henrik Nordstrom
On lör, 2007-09-01 at 00:20 +1200, Amos Jeffries wrote: > I'm now getting compile problems. > Under the new state does USE_POLL or HAVE_POLL have preference over > runtime code? (src/structs.h:1567 versus src/stat.cc:993) USE_POLL means configure has selected the poll select loop. HAVE_POLL mea

Re: squid3 download page

2007-08-31 Thread Henrik Nordstrom
fixed. On fre, 2007-08-31 at 03:49 -0400, Tsantilas Christos wrote: > Hi all, > At the squid3 download page > (http://www.squid-cache.org/Versions/v3/3.0/) the squid-3.0.PRE7 link > points to the squid-3.0.PRE5 Release Notes > (http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.PRE5-RELEASENOT

Re: epoll

2007-08-30 Thread Henrik Nordstrom
On tor, 2007-08-30 at 12:38 +0200, Henrik Nordstrom wrote: > On tor, 2007-08-30 at 13:58 +1200, Amos Jeffries wrote: > > > On the side of this. I read through the PRE7 release notes and noticed > > that while the squid.conf changes are covered there is no comparable list

Re: epoll

2007-08-30 Thread Henrik Nordstrom
On tor, 2007-08-30 at 13:58 +1200, Amos Jeffries wrote: > On the side of this. I read through the PRE7 release notes and noticed > that while the squid.conf changes are covered there is no comparable list > of ./configure changes. Right.. any takers on writing that? Regards Henrik signature.as

Re: ntlm_auth question

2007-08-29 Thread Henrik Nordstrom
On ons, 2007-08-29 at 12:38 +0200, Laurent DOMENECH wrote: > I have a question regarding a section of the ntlm_auth.c file. > The problem I have happens using the ntlm_auth utility with the > squid-2.5-ntlmssp helper. After reading and searching I thought this was > the best place to get an inf

Re: epoll

2007-08-29 Thread Henrik Nordstrom
On ons, 2007-08-29 at 00:34 +1200, Amos Jeffries wrote: > After todays changes I am now getting (with --enable-epoll) > > " > checking for epoll_ctl in -lepoll... no > checking for epoll_ctl... yes > checking if epoll works... yes > Error - no epoll support found > Try running 'sh ./scripts/get_ep

Re: dlmalloc

2007-08-27 Thread Henrik Nordstrom
On mån, 2007-08-27 at 14:43 +1200, Amos Jeffries wrote: > Henrik, > There are still traces of dlmalloc left in lib/Makefile.am (maybe > elsewhere). Are they meant to be left or removed? now removed. Regards Henrik signature.asc Description: This is a digitally signed message part

Re: default cache user

2007-08-24 Thread Henrik Nordstrom
On fre, 2007-08-24 at 22:19 +1200, Amos Jeffries wrote: > It does. No you're looking at the right file. Wrong place ;-) The description of cache_effective_user is a bit confusing. Suggestions for a better descption of the directive is welcome. > The description of "cache_effective_user" actually

Re: "configuration guide" link

2007-08-22 Thread Henrik Nordstrom
On tor, 2007-08-23 at 11:25 +1200, Amos Jeffries wrote: > If thats right, the "Also known As:" section should become "Replaces:" as > we really want the deprecated names to die off. Yes. Except in very few rare cases when an alias is added to an older release to support configurations from a new

Re: Via headers

2007-08-16 Thread Henrik Nordstrom
On fre, 2007-08-17 at 10:48 +1000, Mark Nottingham wrote: > http://www.squid-cache.org/bugs/show_bug.cgi?id=2003 > > There's a patch that looks pretty straightforward; can this be > incorporated? done. Regards Henrik signature.asc Description: This is a digitally signed message part

Re: squid3-ipv6 squid3 configure.in,1.63.2.36,1.63.2.37

2007-08-16 Thread Henrik Nordstrom
On fre, 2007-08-17 at 14:23 +1200, Amos Jeffries wrote: > > Thanks Henrik. > I couldn't find the AC_REPLACE_FUNCS outside a special library test > (there is a long list for header file checks). ??? my configure.in reads AC_SUBST(LIBREGEX) AC_REPLACE_FUNCS(\ drand48 \ tempnam

Re: squid3-ipv6 squid3 configure.in,1.63.2.36,1.63.2.37

2007-08-16 Thread Henrik Nordstrom
On tor, 2007-08-16 at 23:51 +1200, Amos Jeffries wrote: > Is anyone able to help me with this configure problem? > > The goal is to have it test for a functions existence and if present > define HAVE_function and add lib/function.$obj to the compile options. > > As far as I understand autoconf;

Re: cvs commit: squid3/src ftp.cc

2007-08-14 Thread Henrik Nordstrom
On ons, 2007-08-15 at 09:28 +1200, Amos Jeffries wrote: > >> > > If you have time, it may be better to replace a virtual > >> > > FtpStateData::haveControlChannel(char*) into a static > >> > > FtpStateData::HaveControlChannel(FtpStateData*, char*) and let it > >> check > >> > > the ftpState pointer

Re: Squid 3 build error using Visual Studio

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 14:10 +0300, Tsantilas Christos wrote: > The major problem you may have is that c++ compilers some times return > error messages which looks completely unrelated with the real problem. Or quite related but where it's impossible to grok what is related or how... http://www.h

Re: IPv6 support and Windows

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 13:41 +0200, Guido Serassio wrote: > I'm not sure if the licensing of the implementation coming from the > PostgreSQL allow its usage in Squid. Looks fine. PostgreSQL is licensed under the modified/modern three-clause BSD license, which is fully GPL compatible. http://www.

Re: cvs commit: squid3/src ftp.cc

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 23:01 +1200, Amos Jeffries wrote: > Alex Rousskov wrote: > > On Mon, 2007-08-13 at 12:01 +0200, Guido Serassio wrote: > > > >> Now fixed. > > > > If you have time, it may be better to replace a virtual > > FtpStateData::haveControlChannel(char*) into a static > > FtpStateDat

Re: StoreIOBuffer field types

2007-08-14 Thread Henrik Nordstrom
On tis, 2007-08-14 at 22:40 +1200, Amos Jeffries wrote: > Or was I right about being buffer length? in which case it should be an > unsigned something? which prevents this warning showing. My understanding is that the length is the in-memory buffer length, and offset is the offset within the obj

Re: Documentation bugs

2007-08-13 Thread Henrik Nordstrom
On tis, 2007-08-14 at 11:25 +1000, Mark Nottingham wrote: > What's the best way to get these incorporated? To do what you just did.. keep reminding us. Regards Henrik signature.asc Description: This is a digitally signed message part

Re: Please review the Content Adaptation page

2007-08-10 Thread Henrik Nordstrom
On fre, 2007-08-10 at 08:26 -0600, Alex Rousskov wrote: > Hi there, > > We get quite a few questions revolving around modifying HTTP messages > that Squid proxies. A typical answer is to use ICAP, but there are many > options to consider and it is tiresome to describe them all in every > thr

Re: docs squid3/src AuthUser.h,1.5.2.1,1.5.2.2

2007-08-10 Thread Henrik Nordstrom
On fre, 2007-08-10 at 15:53 +1200, Amos Jeffries wrote: > I've altered this one so the two method declarations actually use the same > name for their param type. Is there a reason for so many this type of > typedef being kept in Squid3 (Squid2 I understand)? There is no need for typedefs of class

Re: Default debug stream formatting

2007-08-09 Thread Henrik Nordstrom
On tor, 2007-08-09 at 07:44 +1000, Robert Collins wrote: > On Wed, 2007-08-08 at 08:28 -0600, Alex Rousskov wrote: > > Hi, > > > > Any objections to setting the default formatting flags for the Squid3 > > debugs() stream to "fixed" with a 2-digit precision? It would help to > > convert cache.l

Re: Adding custom HTTP headers

2007-08-07 Thread Henrik Nordstrom
On tis, 2007-08-07 at 11:44 +0300, Elmo Todurov wrote: > I want to add a header of my own into all HTTP requests. > > I took the location rewriting code as a template and was quite successful -- > I > can get the data I need, shell it out to an external program and take it back > in. However, I

Re: squid3-largeobj squid3/src HttpHdrRange.cc...

2007-08-07 Thread Henrik Nordstrom
On tis, 2007-08-07 at 09:48 +0300, Tsantilas Christos wrote: > At the end I just put quick_abort_min and quick_abort_max to its > original behavior. They are storing values in kilobytes and if the units > are missing kilobytes are the default. Ok. > But a problem I am seeing is that at the beggin

<    5   6   7   8   9   10   11   12   13   14   >