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

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 next days.. I just did a quick

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

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 the

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 instead

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 gcc 4.2.1 as the system

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 is

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: 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.

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 that

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

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/sell

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 mostly

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 Should we enable ICAP in the binary

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 remember seeing this. Its a nice idea

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.sgu.ru/viewmtn/viewmtn.py/branch

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

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 means

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

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.asc

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 of ./configure changes

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

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

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: 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 newer

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; I

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: 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: 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

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

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.

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...

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 itself. This will

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: 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 classes

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.log messages

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

2007-08-06 Thread Henrik Nordstrom
On fre, 2007-08-03 at 00:35 +1200, Amos Jeffries wrote: Although having said that, the current parser requires whitespace between the value and the units. I'm not certain that is a good thing. Been like that for ever. Or at least as long as Squid has been parsing units.. i.e. Squid-1.1 or

Re: Add new section to squid.conf: ERROR PAGE CUSTOMISATION

2007-08-06 Thread Henrik Nordstrom
On fre, 2007-08-03 at 11:06 +1200, [EMAIL PROTECTED] wrote: Henrik, IIRC you said you had a simple procedure for cross-porting changes like this to Squid2-HEAD? Not really. But I have a simple workflow for tracking Squid-2 HEAD changes and merging the relevant ones back to 2.6. There is

Re: bug 2000 - patch

2007-08-06 Thread Henrik Nordstrom
On mån, 2007-08-06 at 01:52 +1200, Amos Jeffries wrote: Have you looked at the g++ changelog to see if anything stands out? yes, there is no mention in either the Debian changelog or the gcc one of anything stream related back to before the versions that are known to have no probems.

Re: docs squid3/src/ICAP ICAPInitiate.h,1.2,1.2.10.1

2007-08-06 Thread Henrik Nordstrom
On mån, 2007-08-06 at 23:36 +1200, Amos Jeffries wrote: searching through the code for it showed a very inconsistent use of ';' after that one, some code has it others don't. Or teach doxygen about the macro and have it rewrite it into something with a ;.. See earlier post. Regards Henrik

Re: [squid-users] Drop semi-dead peer upon zero sized replies

2007-08-06 Thread Henrik Nordstrom
On fre, 2007-08-03 at 10:25 +1200, [EMAIL PROTECTED] wrote: We now provide an the Authoritative Configuration Manual for each version of squid. These manuals are built daily and directly from the squid source code to provide the most up to date information on squid options. Yes. It's an

Re: what about Armenian error pages?

2007-08-06 Thread Henrik Nordstrom
On tor, 2007-08-02 at 09:09 -0700, Arthur Tumanyan wrote: How do you compare files?What tools do you use? Wrote a small perl script for the purpose. It's in the main Squid-2 CVS, but not published in the tar ball. http://wiki.squid-cache.org/CvsInstructions Regards Henrik signature.asc

Re: wish for an advice

2007-08-06 Thread Henrik Nordstrom
On fre, 2007-08-03 at 15:37 +0200, Jiri Kuthan wrote: I'm wondering if you could do me a massive favor and exchange some experience you might have gathered with building squid regarding TCP scalability. We can try.. I've been writing a SIP proxy server, SER (www.iptel.org/ser), which

Re: wish for an advice

2007-08-06 Thread Henrik Nordstrom
On mån, 2007-08-06 at 21:49 +0200, Jiri Kuthan wrote: We do epoll, that shall be fine then. Good. Your performance should then be on level with the number of message transactions / second (including connection setup/teardown as psuedo-messages=, and not dependent on the number of concurrent

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

2007-08-02 Thread Henrik Nordstrom
On ons, 2007-08-01 at 16:53 -0600, Alex Rousskov wrote: If there is consensus that units should be required everywhere, I am fine with that (but still worried). I wote for requiring units in all unit based directives. Seeing them without unit just calls for confusion both by the admin and

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

2007-08-01 Thread Henrik Nordstrom
On ons, 2007-08-01 at 10:35 +0300, Tsantilas Christos wrote: OK. Sometimes I am using this typecasts just to note that here this operations must be done in 64bits. But yes this is why the comments exists ... Moreover casting maybe it is dangerous in the cases where the signess of an integer

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

2007-08-01 Thread Henrik Nordstrom
On tor, 2007-08-02 at 01:32 +0300, Tsantilas Christos wrote: At the end I convert Config.readAheadGap and Config.quickAbort.min/max to b_int64_t types. Ok. But this is changes the default units for Config.quickAbort.min/max parameters and make them different than those of squid26

Re: squid-2 acl fileext

2007-07-31 Thread Henrik Nordstrom
On tis, 2007-07-31 at 12:26 +0200, Emilio Casbas wrote: To get started i'd recommend cloning dstdomain, and then modify the match part to look at the urlpath instead of the requested hostname. Then fine tune this to also deal with query URLs. Would be the same procedure applied to the

Re: docs squid3/src/ICAP ICAPInitiate.h,1.2,1.2.10.1

2007-07-31 Thread Henrik Nordstrom
On tis, 2007-07-31 at 08:03 -0600, Alex Rousskov wrote: ! AsyncCallWrapper(93,3, ICAPInitiate, noteInitiatorAborted) /**DOCS_NOSEMI*/ Are there any alternative options to make doxygen happier without modifying the sources? Perhaps we can add a simple preprocessing script that would

Re: squid-2 acl fileext

2007-07-31 Thread Henrik Nordstrom
On tis, 2007-07-31 at 17:51 -0300, Lucas Brasilino wrote: Hi Henrik: Did you see my patch? Kind of.. was on vacation and saw the message in my phone and made a mental note to read it in full when home. Then lost in the noise.. I've sent directly to you to not polute the mailing list with

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

2007-07-31 Thread Henrik Nordstrom
On tis, 2007-07-31 at 21:09 +, chtsanti wrote: - Some convertions of variables to 64bit integers, for which I am not sure if really needed but they used to hold results of 64bit operations and I think it is not safe to downgrade 64bit integers ... Please avoid casting unless needed. The

Re: event.cc failing Unit-Tests now

2007-07-30 Thread Henrik Nordstrom
On mån, 2007-07-30 at 15:14 +1200, Amos Jeffries wrote: Who was that changing event.cc earlier?? Alex, after a bit of discussion.. testEvent.cc:109:Assertion Test name: testEvent::testDump Fixed. Regards Henrik signature.asc Description: This is a digitally signed message part

Re: cvs commit: squid3/src EventLoop.cc

2007-07-24 Thread Henrik Nordstrom
On mån, 2007-07-23 at 17:01 -0600, Alex Rousskov wrote: I may be doing that, but I do not know what a primary event is. The event loop separates the event engines in secondary and primary. A numberof secondary, and one primary. The primary event loop is the comm select loop. BodyPipe and ICAP

Re: cvs commit: squid3/src EventLoop.cc

2007-07-23 Thread Henrik Nordstrom
On mån, 2007-07-23 at 13:55 -0600, Alex Rousskov wrote: Reversed bug #2011 fix because it may slow down ICAP, BodyPipe, and other code using zero-delay events to implement asynchronous calls. Can you elaborate a little on this? If the event is zero-delay it should be picked up

Re: Squid authentication to upstream ISAserverwithNegotiate/Kerberos

2007-07-22 Thread Henrik Nordstrom
On sön, 2007-07-22 at 14:44 +0100, Markus Moeller wrote: I think I know why my patch doesn't work for CONNECT sites. The reason is that request-host does NOT contain the next proxy as it is the case for the GET method. Is there any other structure/varibale which contains the next proxy for

Re: squid-3.0.PRE6 installation problem

2007-07-21 Thread Henrik Nordstrom
On lör, 2007-07-21 at 10:03 -0700, JXu wrote: 1. ./configure --prefix=/usr/local/squid --with-pthreads --enable-linux-netfilter --enable-icap-support Ok. (If use ./configure --prefix=/usr/local/squid --with-pthreads --enable-linux-netfilter --enable-icap-support --with-openssl , got

Re: squid3-ipv6 squid3 NOTES-IPv6,1.1.2.47,1.1.2.48

2007-07-20 Thread Henrik Nordstrom
On fre, 2007-07-20 at 02:06 +, Amos Jeffries wrote: + PROBLEM: Sockets created with IPv6 family ginve 92 Protocol not supported errors + for getsockopt in clientNatLookup via netfilter (on Debian). + this occurs regardless of the actual source and destination IP types. +

Re: squid-2 acl fileext

2007-07-20 Thread Henrik Nordstrom
On fre, 2007-07-20 at 17:37 -0300, Lucas Brasilino wrote: Hi Henrik: I think I'm messing something up. Well, I'm trying to store filename extensions supplied by the user to a wordlist bound to 'data' member of 'acl *' My problem is that I'm not be able to access A-data (the wordlist) in an

Re: Error page languages

2007-07-19 Thread Henrik Nordstrom
On tor, 2007-07-19 at 11:10 +1200, [EMAIL PROTECTED] wrote: It looks to me like squid is doing translation the hard way and hit the natural consequence for it. Sure. What I think we should be doing here is having a 'dictionary' for each langauge containing a list of each unique sentence

Re: what about Armenian error pages?

2007-07-19 Thread Henrik Nordstrom
On tor, 2007-07-19 at 01:00 -0700, Arthur Tumanyan wrote: Yes,I want!It is importantant for me to have error pages in my native language and to contribute/help this project! Almost 5 year(and now too) squid helps me to do my job right and easy!Now I want to help squid what I can. This is

Re: dnsserver

2007-07-19 Thread Henrik Nordstrom
On tor, 2007-07-19 at 13:58 +0200, Rafael Martinez Torres wrote: Heinrik, I'm also interested on ACL lists, when possible. There is a ACL related task waiting for you in Bug #914 if you are interested. Regards Henrik signature.asc Description: This is a digitally signed message part

Re: about cf.data.pre and squid compiling

2007-07-18 Thread Henrik Nordstrom
ons 2007-07-18 klockan 04:57 -0700 skrev Arthur Tumanyan: Nothing was changed!Can anyone explain what's wrong? Hard to say without seeing your modifications. But I would guess you have added a #define which defines some word which is a bit too common.. Regards Henrik signature.asc

Re: Armenian error pages

2007-07-18 Thread Henrik Nordstrom
lör 2007-07-07 klockan 02:37 -0700 skrev Arthur Tumanyan: I submit to you squid error pages translated into Armenian language. http://www.nabble.com/file/p11476887/armenian_error_pages.tar.gz armenian_error_pages.tar.gz Now imported to Squid-2.HEAD which is currently the first step to get

Re: what about Armenian error pages?

2007-07-18 Thread Henrik Nordstrom
ons 2007-07-18 klockan 08:39 -0700 skrev Arthur Tumanyan: for example ERR_CONNECT_FAIL doesn't mention the requested server (%I), and several pages don't include the mailto link where the English one do.. and similar errors seem to be in other pages as well. Well,is there a way to

Re: about cf.data.pre and squid compiling

2007-07-18 Thread Henrik Nordstrom
ons 2007-07-18 klockan 11:05 -0700 skrev Arthur Tumanyan: configure.in: AM_CONDITIONAL(ENABLE_SHAGA, false) AC_ARG_ENABLE(shaga, [ --enable-shagaEnable ShagaEngine support], [ if test $enableval != no; then echo ShagaEngine support enabled AC_DEFINE(USE_SHAGA, 1,

Re: tarball help

2007-07-16 Thread Henrik Nordstrom
sön 2007-07-15 klockan 23:30 -0600 skrev Duane Wessels: On Mon, 16 Jul 2007, [EMAIL PROTECTED] wrote: hey Guys, I'm thinking its about time I got around to making a source D/L tarball of the IPv6 branch. Am I correct is assuming that I can run bootstrap locally and bundle the

Re: [squid-users] Beginner squid developer task

2007-07-16 Thread Henrik Nordstrom
mån 2007-07-16 klockan 08:44 +0200 skrev Emilio Casbas: I am interested of course. Good! Looks like the perfect task to starting coding in squid. Lucas Brasilino has already volunteered for the file extensions acl, so you'll get the urllist one ;-) More instructions will follow shortly to

Re: Beginner squid developer task

2007-07-16 Thread Henrik Nordstrom
lör 2007-07-14 klockan 12:19 -0300 skrev Lucas Brasilino: Hi Henrik: Hi fellow coders among us. Have an idea for a beginner Squid developer task if anyone is interested. Yep, I am. Good! Since I don't know well squidguard urllist acl type, I volunteer to take the matching filename

Getting starting with Squid development

2007-07-16 Thread Henrik Nordstrom
Hi, and thanks for your interest in helping with the development of Squid. First step on this road is to get you registered as a Squid developers. Get yourself signed up on the squid-dev mailing list by sending a message to [EMAIL PROTECTED], and also create a sourceforge account if you don't

Re: Getting starting with Squid development

2007-07-16 Thread Henrik Nordstrom
mån 2007-07-16 klockan 14:29 +0200 skrev Emilio Casbas: To look and making new code which is the most appropiate version? Pre-releases or daily auto-generated? Neither. CVS access is recommended. Instructions: http://devel.squid-cache.org/CVS.html section Routine for adding a new branch

Re: Tyring to nderstand how Squid keeps its cache entry

2007-07-16 Thread Henrik Nordstrom
lör 2007-07-14 klockan 20:26 -0700 skrev Herman Schultz: Hi, i am trying to understand how Squid keeps its cache entry. So in the store.c, new_StoreEntry() method, I try to over-ride the entry of the url to be 'http://www.abcde.com; (as a test). The url sent to new_StoreEntry is only for

Re: question about HTTP v1.1

2007-07-16 Thread Henrik Nordstrom
mån 2007-07-16 klockan 08:11 -0500 skrev Jim Howard: I am currently running 2.6 stable13, but now have a need for v1.1. I know the site says that many functions of HTTP v1.1 are there, but when will squid start performing v1.1 requests on behalf of the client instead of v1.0? Is this

Beginner squid developer task

2007-07-14 Thread Henrik Nordstrom
Hi fellow coders among us. Have an idea for a beginner Squid developer task if anyone is interested. In Squid there is quite many ACL types, but yet none of them is very suited for matching lists of URLs beyond the hostname. What I have in mind is two new acls. One matching URL prefixes kind of

Re: exposing ACL denies in cache.log?

2007-07-13 Thread Henrik Nordstrom
tor 2007-07-12 klockan 19:48 +0800 skrev Adrian Chadd: Is there something nice in the logfile format for exposing the custom error page in access.log. No, but it's something I'd like to see.. and also the full ERR_... names on errors. Having just TCP_DENIED/xxx or TCP_MISS/4xx is not very

Re: about cf.data.pre and squid compiling

2007-07-11 Thread Henrik Nordstrom
tis 2007-07-10 klockan 10:59 -0700 skrev Arthur Tumanyan: Thanks for advance! May I ask you,what tools do you use to manage squid developing process? I use mostly vim (well, mostly it's vi parts), with a tag index built by ctags and sometimes find . -type f -print | xargs grep

Re: default user

2007-07-10 Thread Henrik Nordstrom
tis 2007-07-10 klockan 20:34 +1200 skrev Amos Jeffries: Duane Wessels wrote: On Tue, 10 Jul 2007, Amos Jeffries wrote: Hey guys, I find myself in need of a ./configure option to set the cache_effective_user other than 'nobody' on a per-dist basis, leaving the squid.conf setup

Re: about cf.data.pre and squid compiling

2007-07-09 Thread Henrik Nordstrom
sön 2007-07-08 klockan 07:49 -0700 skrev Arthur Tumanyan: Then I just do ./configure --enable-shaga ;make;make install.After installation I found in squid.conf the following lines : Did you also modify configure.in to add the new --enable option, and ran bootstrap.sh? And where can I find

Re: How to find Http reply message in Squid source code?

2007-07-09 Thread Henrik Nordstrom
sön 2007-07-08 klockan 09:21 -0700 skrev JXu: Hi, The project I am working is try to find Http reply message. If a Http session formed by all these Http reply messages contains virus or something like that, we need to block all these messages. This is why I try to use Squid. This is best

Re: How to find Http reply message in Squid source code?

2007-07-09 Thread Henrik Nordstrom
mån 2007-07-09 klockan 12:45 -0700 skrev JXu: Hi Henrik Thank you vey much. How ICAP server plugged in to Squid-3 hold up replies? By holding the reply until it's satisfied. It's entirely up to the ICAP Server when the reply is returned to Squid.. Could you please let me know where the

Re: submit in squid-devel

2007-07-07 Thread Henrik Nordstrom
lör 2007-07-07 klockan 02:37 -0700 skrev Arthur Tumanyan: Hi.I'm interested in squid development.And i have requeted already for squid-devel subscription,but there were no answer. Have not seen your request. When was it sent? Please submit it again. I'm not an advanced programmer in

Re: Squid authentication to upstream ISA serverwithNegotiate/Kerberos

2007-07-03 Thread Henrik Nordstrom
On tis, 2007-07-03 at 21:19 +0100, Markus Moeller wrote: I am now looking at http.c ( squid 2.6STABLE13) and I think I can add some code around here: } else { httpHeaderPutStrf(hdr_out, HDR_PROXY_AUTHORIZATION, Basic %s,

Re: Squid authentication to upstream ISA server with Negotiate/Kerberos

2007-07-01 Thread Henrik Nordstrom
On Sat, 2007-06-30 at 23:53 +0100, Markus Moeller wrote: I'd like to implement a way that squid authenticates to an upstream ISA proxy server. The ISA server will request a Proxy-Authenticate: Negotiate and I have a routine which can create the Kerberos token for the Proxy-Authorize:

Re: [squid-users] Debugging delay pools

2007-06-26 Thread Henrik Nordstrom
ons 2007-06-27 klockan 14:34 +1200 skrev [EMAIL PROTECTED]: I have been using debug_options a,n b,n ALL,n from old coder habits but a lot of examples that have been tossed around use ALL at the front. Is there any effect on output determined by the order? Yes.. ALL,n sets all debug sections

Re: synchronizing cf.data.pre files between 2.6 and 3.0 releases

2007-06-25 Thread Henrik Nordstrom
mån 2007-06-25 klockan 09:27 +0200 skrev Emilio Casbas: I have noticed that the cf.data.pre files between 2.6 and 3.0 releases don't have any differences between them. They are almost the same. They differ quite a lot. Are you sure you are comparing the right versions? Perhaps you are

COSS in Squid-3.0

2007-06-25 Thread Henrik Nordstrom
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. Any other thoughts? Regards Henrik signature.asc Description: Detta är en digitalt signerad meddelandedel

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

2007-06-24 Thread Henrik Nordstrom
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.patch and please ping me before merging stuff to 2.6.

Squid-2.6.STABLE14 approaching

2007-06-23 Thread Henrik Nordstrom
Squid-2.6.STABLE14 is now approaching. Code tree is to be considered a release candidate, but release notes or changelog not yet updated. Key changes: - Memory corruption / hang when using DNS search paths - Solaris ( IRIX?) /dev/poll support - Native Kerberos Negotiate helper (only

Re: transparent https interception

2007-06-20 Thread Henrik Nordstrom
ons 2007-06-20 klockan 11:52 +1200 skrev [EMAIL PROTECTED]: I would need those above and also dstdomain and external ACL support (at least IP and domain passed to helper). There won't be any domains on such intercepted connections, just IP, and if you are lucky the reverse lookup of that IP..

Re: transparent https interception

2007-06-19 Thread Henrik Nordstrom
tis 2007-06-19 klockan 17:37 +0800 skrev Adrian Chadd: Gah, I got another email about transparent https interception. Heh.. 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

Re: transparent https interception

2007-06-19 Thread Henrik Nordstrom
tis 2007-06-19 klockan 23:25 +0800 skrev Adrian Chadd: If I do this I could also implement the tunneling from Steven Wilton for transparent tunneling of unparseable HTTP requests; with similar ACLing. What do you think? Sure. Would help transparent setups quite a bit. Especially if also

RE: Squid + ldap +ssl Secure authentication

2007-06-15 Thread Henrik Nordstrom
fre 2007-06-15 klockan 12:42 -0400 skrev Vootla, Bhagwan: Using -Z option still returns me Could not Activate TLS connection I also tried with -p 636, which does not return me anything . Somehow I need to implement this to meet the deadline (tomorrow). -Z is LDAPv3 STARTTLS on the normal

Re: Squid + ldap +ssl Secure authentication

2007-06-14 Thread Henrik Nordstrom
tor 2007-06-14 klockan 07:47 -0400 skrev Vootla, Bhagwan: 1)I have read that SSL encryption can be achieved from proxy server to ldap server only. How can I achieve from browser to proxy server ? Squid has all the support that is needed on the proxy side of things for this, by using the

Re: Pre-resolving, Pre-warming, Pre-connecting Features in Squid

2007-06-04 Thread Henrik Nordstrom
tor 2007-05-31 klockan 13:37 +0500 skrev [EMAIL PROTECTED]: I have searched on internet to check if squid supports Pre-resolving, Pre-warming and Pre-connecting features but could not find anything. Correct. Squid does not do any Pre activities. Everything it does is triggered by client

Re: logfile helper

2007-06-02 Thread Henrik Nordstrom
fre 2007-06-01 klockan 22:29 +0100 skrev Robin Bowes: I need something like this for squid-2.6.STABLE2 (built from the FC6 SRPM) Has anyone applied this to squid-2.6? Are there any other log-to-pipe solutions ? There is the Using an external helper to perform Logfile IO project..

Re: logfile helper

2007-06-02 Thread Henrik Nordstrom
lör 2007-06-02 klockan 12:03 +0100 skrev Robin Bowes: Henrik - thanks for the pointer. Adrian, I'm happy to attempt to port the Logfile IO stuff to 2.6 if I can get some sort of overview of how it works. Do you have any docs describing how your logfile stuff works? s26_logfile_daemon

SqString

2007-05-24 Thread Henrik Nordstrom
Should we back out SqString for now until the implicit cast issues have been analyzed in more detail, or try fixing it somehow for the 3.0 release? http://www.squid-cache.org/bugs/show_bug.cgi?id=1970 My vote is to defer the SqString change to 3.1, or at least after 3.0 has been branched from

Re: synchronizing cf.data.pre files between 2.6 and 3.0 releases

2007-05-24 Thread Henrik Nordstrom
tor 2007-05-24 klockan 12:26 +0200 skrev Emilio Casbas: I have done two patches in order to synchronize the language and formatting of the cf.data.pre file in the 2.6 and 3.0 releases. This is intended to see if this is the correct way to go ahead with this files synchronizing. Looks good.

Re: cvs commit: squid3/lib MemPool.cc

2007-05-23 Thread Henrik Nordstrom
tor 2007-05-24 klockan 00:59 +1200 skrev Amos Jeffries: Did you run make check before committing any of the days changes? I'm getting 7 of 14 core unit tests fail. Two on MemPool.cc:240, the rest on silent segfault. Assertion failed: (aLabel != NULL aSize) at MemPool.cc:240 Hmm...

Re: cvs commit: squid3/src gopher.cc protos.h url.cc

2007-05-23 Thread Henrik Nordstrom
ons 2007-05-23 klockan 14:59 -0600 skrev Henrik Nordstrom: hno 2007/05/23 14:59:15 MDT Modified files: src gopher.cc protos.h url.cc Log: Fix the cppunit tests to use setUp() rather than an static constructor to initialize memory pools etc. Hmm

Re: cvs commit: squid3/lib MemPool.cc

2007-05-23 Thread Henrik Nordstrom
tor 2007-05-24 klockan 06:58 +1000 skrev Robert Collins: On Wed, 2007-05-23 at 22:49 +0200, Henrik Nordstrom wrote: Mem::Init needs to be called via the setUp() method, not from an automatic instantiation constructor.. Actually I spent quite some time making it work correctly without

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