2.5 development/additions

2006-04-24 Thread Evgeny Kotsuba
: 470 IPcache Requests: 216284 IPcache Hits: 150664 IPcache Negative Hits: 31 IPcache Misses: 35560 IPcache Redirected: 17430 ^^ -- Evgeny Kotsuba.

Re: Summary of Squid-2.6 opinions

2005-11-04 Thread Evgeny Kotsuba
On Thu, 3 Nov 2005 23:17:12 +0100 (CET) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Thu, 3 Nov 2005, Evgeny Kotsuba wrote: * UI patches (!) including usage of sound at errors/warnings and visual effects at errror/warning ( as sample - http://www.laser.ru/evgen/soft/Squid2

Re: Summary of Squid-2.6 opinions

2005-11-04 Thread Evgeny Kotsuba
On Fri, 4 Nov 2005 14:29:56 +0100 (CET) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Fri, 4 Nov 2005, Evgeny Kotsuba wrote: In case of detach/daemon mode admin can't see , but still can hear beeps. In detached daemon mode there is no console output at all. Only log file output

Re: Squid-2.6

2005-10-24 Thread Evgeny Kotsuba
On Sun, 23 Oct 2005 20:45:24 +0800 Adrian Chadd [EMAIL PROTECTED] wrote: On Sun, Oct 23, 2005, Evgeny Kotsuba wrote: On Sun, 23 Oct 2005 11:49:01 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Sat, 22 Oct 2005, Henrik Nordstrom wrote: List of things we have thought of include

Re: I need a tool to analyse squid's access.log

2005-10-19 Thread Evgeny Kotsuba
On Tue, 18 Oct 2005 01:20:27 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Mon, 17 Oct 2005, Evgeny Kotsuba wrote: my %hits = ('TCP_HIT' = 1, 'TCP_REFRESH_HIT' = 1, TCP_REFRESH_HIT is thing that had bytes to be downloaded from the origin server due to not misses

Re: How squid caches some things

2005-10-17 Thread Evgeny Kotsuba
On Mon, 17 Oct 2005 00:16:32 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Mon, 17 Oct 2005, Evgeny Kotsuba wrote: --8- 1129493582.720 2000 127.0.0.1 TCP_REFRESH_HIT/200 455 GET http://images.rambler.ru/m3/w/l-i-Flagged.gif evg

Re: How squid caches some things

2005-10-16 Thread Evgeny Kotsuba
On Sun, 16 Oct 2005 13:04:28 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Sat, 15 Oct 2005, Evgeny Kotsuba wrote: TCP_REFRESH_HIT indicates the cached copy was either stale, or reload into IMS was used forcing just a cache revalidation on Pragma: no-cache. Then what else I

Re: How squid caches some things

2005-10-15 Thread Evgeny Kotsuba
On Sat, 15 Oct 2005 05:10:19 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Fri, 14 Oct 2005, Evgeny Kotsuba wrote: Well. If client explicitly forbids the cache to be used to server this request. then why we have TCP_REFRESH_HIT for this request ? Right.. you changed

Re: How squid caches some things

2005-10-14 Thread Evgeny Kotsuba
On Fri, 14 Oct 2005 11:22:53 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Thu, 13 Oct 2005, Evgeny Kotsuba wrote: And were is logic ? requesting client said that Squid MUST NOT use a cached copy Which is why there was not a cache hit. The client request forbits this being

Re: How squid caches some things

2005-10-13 Thread Evgeny Kotsuba
On Wed, 12 Oct 2005 18:59:31 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Tue, 11 Oct 2005, Evgeny Kotsuba wrote: Once again. This url is _REDIRECTED_ to dot.gif at my local apache ___^__ Why quid ask anything about it ? As well why squid ask

assertiion failed in storeAppend on possible trojan query

2005-07-29 Thread Evgeny Kotsuba
; assert(mem != NULL); assert(len = 0); assert(e-store_status == STORE_PENDING); I can't repeate the query because there is now such directory at this ftp now. Nevertheless,I am afraid of possible anti-squid issue SY, Evgeny Kotsuba

Re: Introduction

2005-04-30 Thread Evgeny Kotsuba
) typedef struct fd_set { u_short fd_count; /* how many are SET? */ int fd_array[FD_SETSIZE]; /* an array of SOCKETs */ } fd_set; #pragma pack() and it's usage in comm_select.c(pp) Nevertheless this it seems solved SY, Evgeny Kotsuba

Re: Introduction

2005-04-30 Thread Evgeny Kotsuba
; break; case 3: rc = 4; break; } return rc; } take 1 / 14 * 1000 * 1000 sec on good old P2-350. Without optimization if suppose that every call to such function is to read/write 512 byte than the limit is about 7 Gb/sec ;-) SY, Evgeny Kotsuba

Re: Introduction

2005-04-30 Thread Evgeny Kotsuba
On Sat, 30 Apr 2005 16:00:40 +0200 Serassio Guido [EMAIL PROTECTED] wrote: Hi Evgeny, At 13.05 30/04/2005, Evgeny Kotsuba wrote: I have removed similar things some time ago from the Windows port for poor performance reasons. I don't understand this. Really call to read/write/sevd/recv is call

Re: helper's handles

2005-04-12 Thread Evgeny Kotsuba
On Mon, 11 Apr 2005 22:22:16 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Mon, 11 Apr 2005, Evgeny Kotsuba wrote: Is helperHandleRead() called in situation when squid just started but there is no one client connection ? helperHandleRead is always pending for read from

Re: unparseable HTTP header field {HTTP/1.0 200 OK}

2005-04-12 Thread Evgeny Kotsuba
On Tue, 12 Apr 2005 12:04:54 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Tue, 12 Apr 2005, Evgeny Kotsuba wrote: Has this [strange] message in log any reasonable information ? WARNING: unparseable HTTP header field {HTTP/1.0 200 OK} squid 2.5.x This is commonly seen from broken

helper's handles

2005-04-10 Thread Evgeny Kotsuba
+auths+ etc.) SY, Evgeny Kotsuba

self_destruct

2005-04-09 Thread Evgeny Kotsuba
(); memFree(L, MEM_ACL_LIST); continue; } === aclParseUserMaxIP() has no any additional info on the reason for self_destruct error: + debug(28, 0) (ERROR: aclParseUserMaxIP: Malformed ACL\n); self_destruct(); --- SY, Evgeny Kotsuba

Re: Squid-2.5 changes

2005-02-14 Thread Evgeny Kotsuba
On Mon, 14 Feb 2005 11:00:23 +0100 (CET) Henrik Nordstrom [EMAIL PROTECTED] wrote: Hi Guido, and thanks for making many small FreeBSD cleanups in Squid-2.5. However, with Squid-2.5 being in the STABLE cycle all changes except purely cosmetic changes Hmm... What about bug 1220 ? SY, Evgeny

What is WARNING: suspicious CR characters in HTTP header ?

2005-02-14 Thread Evgeny Kotsuba
{%s}\n, getStringPrefix(field_start, header_end)); //??EKreturn httpHeaderReset(hdr); } ---8--- SY, Evgeny Kotsuba

Re: What is WARNING: suspicious CR characters in HTTP header ?

2005-02-14 Thread Evgeny Kotsuba
responce error essage. On Mon, 14 Feb 2005 18:51:30 +0300 Evgeny Kotsuba [EMAIL PROTECTED] wrote: Hi, What is WARNING: suspicious CR characters in HTTP header ? Say, what is wrong in Set-Cookie: sbtpoll1067196868\r=1067196868\r; path=/; expires=Tue, 15-Feb-2005 15:31:46 GMT\r\nLocation: http

Re: What is WARNING: suspicious CR characters in HTTP header ?

2005-02-14 Thread Evgeny Kotsuba
On Mon, 14 Feb 2005 23:35:02 +0100 (CET) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Tue, 15 Feb 2005, Evgeny Kotsuba wrote: Well, why it is parsed properly without return It didn't. Earlier versions just did not notice it could not parse this malformed header properly.. and why Mozilla/IE

Re: Squid-2.5 changes

2005-02-14 Thread Evgeny Kotsuba
On Mon, 14 Feb 2005 23:23:21 +0100 (CET) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Mon, 14 Feb 2005, Evgeny Kotsuba wrote: On Mon, 14 Feb 2005 11:00:23 +0100 (CET) Henrik Nordstrom [EMAIL PROTECTED] wrote: Hi Guido, and thanks for making many small FreeBSD cleanups in Squid-2.5. However

Potentially wrong: call to signal() doesn't check for errors

2005-02-05 Thread Evgeny Kotsuba
: #else if (SIG_ERR == signal(sig, func)) debug(50, 0) (WARNING: signal: sig=%d func=%p: %s\n, sig, func, xstrerror()); #endif SY, Evgeny Kotsuba

Re: backslashes in config and change of strwordtok()

2005-01-25 Thread Evgeny Kotsuba
On Wed, 26 Jan 2005 00:08:47 +0100 (CET) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Wed, 26 Jan 2005, Evgeny Kotsuba wrote: What is the reason for last changes in strwordtok() (tools.c /tools.cc) ? To support the external_acl protocol in a more robust manner. I.e is it now * Similar to strtok

Default for memory_pools_limit

2005-01-24 Thread Evgeny Kotsuba
Hi, cf.data.pre ---8--- NAME: memory_pools_limit COMMENT: (bytes) TYPE: b_size_t DEFAULT: 5 MB If not set (default) or set to zero, Squid will keep all memory it ^ can. That is, there will be no limit on the total amount of

Ftp listing codings

2004-08-26 Thread Evgeny Kotsuba
*string) ... if(keyUse8bitcoding) { if (!escape (ch = 0x1F) ch != '\n' ch != '\r' ch != '\t') { .. } else { if (!escape (ch = 0x1F || ch = 0x7f) ch != '\n' ch != '\r' ch != '\t') { . } Is there any drawbacks for such change ? SY, Evgeny Kotsuba

Re: Information Required

2004-08-20 Thread Evgeny Kotsuba
for us to run two session of squid server on one machine. Yes. Just make sure they do not share any common resources (port numbers, cache directories, log files etc...) But how two squids can distinguish signals via -k signal option ? SY, Evgeny Kotsuba

Re: Passing client ip address to authenticator

2004-08-20 Thread Evgeny Kotsuba
Hi, On Thu, 19 Aug 2004 11:28:48 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Wed, 18 Aug 2004, Evgeny Kotsuba wrote: One my client askes me if it is possible to pass client io address to auth module. Please describe why this is needed in the authentication module and how

Passing client ip address to authenticator

2004-08-18 Thread Evgeny Kotsuba
Hi, One my client askes me if it is possible to pass client io address to auth module. Where I can find start point for squid 2.5 modification ? PS: What about Squid 3.0 PRE 3 for OS/2 - I don't know anybody who make it while there are as minimum 3 sources for ver 2.5 SY, Evgeny Kotsuba

Unknown host cvs.devel.squid-cache.org

2004-05-03 Thread Evgeny Kotsuba
Hi, Some time ago I get the subj from my CVS client. So, is there some problems with it ? SY, Evgeny Kotsuba

Re: Possible memory fault in pinger

2004-04-16 Thread Evgeny Kotsuba
On Fri, 16 Apr 2004 11:23:02 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Fri, 16 Apr 2004, Evgeny Kotsuba wrote: Hi, Squid 2.5 and Squid 3 file pinger.c/pinger.cc, function pingerSendEcho() 1) I have //MAX_PKT_SZ=294, sizeof(pkt)=294, sizeof(struct icmhdr)=28,sizeof(icmpEchoData

Possible memory fault in pinger

2004-04-15 Thread Evgeny Kotsuba
) + sizeof(char); In 3.0 and 2.4 icmp_pktsize += sizeof(icmpEchoData) - MAX_PAYLOAD; definitly that with different stucture alingment we will have differet values for icmp_pktsize in both cases, so what is right ? SY, Evgeny Kotsuba

typo in helper.c

2004-03-11 Thread Evgeny Kotsuba
-n_running) return; -if (hlp-stats.queue_size hlp-n_running) - return; SY, Evgeny Kotsuba

%5C in url

2004-02-15 Thread Evgeny Kotsuba
; +} if (stringHasWhitespace(urlpath)) { debug(23, 2) (urlParse: URI has whitespace: {%s}\n, url); = Evgeny Kotsuba

Re: Announce: squid-3.0PRE3 (release candidate)

2003-08-16 Thread Evgeny Kotsuba
changes - say C - C++ changing and its pro et contra. SY, Evgeny Kotsuba

Re: tools.c - strwordtok() and '\' character

2003-08-14 Thread Evgeny Kotsuba
use backslashes for all other directories and pathes exept this auth_param basic program May be it is worth to use pure strtok in authBasicParse() ? SY, Evgeny Kotsuba

Re: tools.c - strwordtok() and '\' character

2003-08-14 Thread Evgeny Kotsuba
On Thu, 07 Aug 2003 12:34:07 +0200 Serassio Guido [EMAIL PROTECTED] wrote: Hi, At 12.18 07/08/2003, Evgeny Kotsuba wrote: Hi, What is the reason that tools.c - strwordtok() eats all '\' characters ? With it it is impossible to put in config any path in non-unix notation (like E:\SQ\auth

Re: tools.c - strwordtok() and '\' character

2003-08-14 Thread Evgeny Kotsuba
On Thu, 7 Aug 2003 14:01:02 +0200 (CEST) Henrik Nordstrom [EMAIL PROTECTED] wrote: On Thu, 7 Aug 2003, Evgeny Kotsuba wrote: What is the reason that tools.c - strwordtok() eats all '\' characters ? Because strwordtok splits strings into words according to UNIX shell syntax

Re: Patch proposal for web surfing agreement

2003-07-21 Thread Evgeny Kotsuba
looking to merge our patch into the main squid tree and provide support for further squid release. Very interesting, I will wait for it for 2.5 SY, EK SY, Evgeny Kotsuba