Re: [squid-users] Custom Log with Client Source Port in 2.6

2006-11-04 Thread Henrik Nordstrom
tor 2006-11-02 klockan 19:47 +0800 skrev Gary Lau: > I changed the source code in 2.6 myself to make squid logging client soruce > port > I would like to share the modifed code with the developers and ppl who are > looking for this function. Thanks. Your changes have been merged and will be fo

Re: [squid-users] Custom log format and client source port

2006-10-13 Thread Visolve Squid
Michele de Varda wrote: Hello, I have installed squid 2.5 stable 14 with the patch "Squid custom log format". I need to log source client port for distinguishing client connection behind NAT/PAT networks. In the patch sintax the source client port is defined with "%>p" but this function seem

Re: [squid-users] Custom log format and client source port

2006-10-05 Thread Henrik Nordstrom
tor 2006-10-05 klockan 09:21 +0200 skrev Michele de Varda: > I have installed squid 2.5 stable 14 with the patch "Squid custom log > format". I need to log source client port for distinguishing client > connection behind NAT/PAT networks. In the patch syntax the source > client port is define

Re: [squid-users] Custom log patch - Squid version 2.5.10 Stable.

2006-06-29 Thread Henrik Nordstrom
tor 2006-06-29 klockan 16:12 +0100 skrev Mark Stevens: > Hi Hendrik, > > Squid version: 2.5.10 Stable as in Subject. > > Patch version: This patch is generated from the customlog-2_5 branch > of s2_5 in squid > Sun Mar 5 03:14:53 2006 GMT. Which is much newer than 2.5.STABLE10 (released May 17

Re: [squid-users] Custom log patch - Squid version 2.5.10 Stable.

2006-06-29 Thread Mark Stevens
Hi Hendrik, Squid version: 2.5.10 Stable as in Subject. Patch version: This patch is generated from the customlog-2_5 branch of s2_5 in squid Sun Mar 5 03:14:53 2006 GMT. Thanks. Mark. On 29/06/06, Henrik Nordstrom <[EMAIL PROTECTED]> wrote: tor 2006-06-29 klockan 12:17 +0100 skrev Mark St

Re: [squid-users] Custom log patch - Squid version 2.5.10 Stable.

2006-06-29 Thread Henrik Nordstrom
tor 2006-06-29 klockan 12:17 +0100 skrev Mark Stevens: > Hi, > > We want to implement the custom log patch on our existing squids > before upgrading. Which Squid version? And which version of the patch? > Hunk #5 FAILED at 2054. > 2 out of 5 hunks FAILED -- saving rejects to file src/client_side

RE: [squid-users] Custom Log

2006-04-03 Thread Cole
ubject: RE: [squid-users] Custom Log mån 2006-04-03 klockan 10:56 +0200 skrev Cole: > Ive updated the access_log.c file to look something like this : > case LFT_REQUEST_SIZE_TOTAL: > outint = strlen(al->headers.request) + > strlen(al->private.

RE: [squid-users] Custom Log

2006-04-03 Thread Henrik Nordstrom
mån 2006-04-03 klockan 10:56 +0200 skrev Cole: > Ive updated the access_log.c file to look something like this : > case LFT_REQUEST_SIZE_TOTAL: > outint = strlen(al->headers.request) + > strlen(al->private.method_str) + strlen(al->url); > doint = 1; >

RE: [squid-users] Custom Log

2006-04-03 Thread Cole
you speak about the Content-Length request header, which specific structure holds this value? Regards /Cole -Original Message- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 12:21 AM To: [EMAIL PROTECTED] Cc: 'Squid Users' Subject: RE: [squi

RE: [squid-users] Custom Log

2006-03-29 Thread Henrik Nordstrom
ons 2006-03-29 klockan 15:19 +0200 skrev Cole: > Hi. > > So if i were to implement the LFT_REQUEST_SIZE_TOTAL for my own logs. What > datastructure could I use > to get the entire request size? What you did, but to this you need to add the length of the request line. This isn't available directl

RE: [squid-users] Custom Log

2006-03-29 Thread Cole
: 'Squid Users' Subject: RE: [squid-users] Custom Log tor 2006-03-23 klockan 09:03 +0200 skrev Cole: > Hi. > > Apparently it seems im looking for the wrong thing then maybe. What I would > like to log is the > request from the client, the entire size in its totality.

RE: [squid-users] Custom Log

2006-03-29 Thread Henrik Nordstrom
tor 2006-03-23 klockan 09:03 +0200 skrev Cole: > Hi. > > Apparently it seems im looking for the wrong thing then maybe. What I would > like to log is the > request from the client, the entire size in its totality. > The entire request from beginning to end, > the entire size of all packets togeth

RE: [squid-users] Custom Log

2006-03-22 Thread Cole
access.log line. Regards /Cole -Original Message- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: Thursday, March 23, 2006 1:56 AM To: [EMAIL PROTECTED] Cc: 'Squid Users' Subject: RE: [squid-users] Custom Log ons 2006-03-22 klockan 20:35 +0200 skrev Cole: >

RE: [squid-users] Custom Log

2006-03-22 Thread Henrik Nordstrom
ons 2006-03-22 klockan 20:35 +0200 skrev Cole: > outint = strlen(al->headers.request); This is only the request header, not the request line.. The request header usually is identical for the same client.. Regards Henrik signature.asc Description: Detta är en digitalt signerad medd

RE: [squid-users] Custom Log

2006-03-22 Thread Cole
s still the original request of "www.wired.com" so all the request_size_total remains the same? Or is there something I have done wrong and am not picking up? Regards /Cole -Original Message- From: Henrik Nordstrom [mailto:[EMAIL PROTECTED] Sent: Monday, March 20, 2006 3:24 PM

RE: [squid-users] Custom Log

2006-03-21 Thread Henrik Nordstrom
tis 2006-03-21 klockan 02:02 +0200 skrev Cole: > Hi. > > Im sorry to bother you again with this. > > When you mean can be extracted as "Content-Length request header", does that > mean that I would have > to log all the request headers and then run some sort of script to extract > them all and

Re: [squid-users] Custom Log

2006-03-20 Thread Henrik Nordstrom
mån 2006-03-20 klockan 13:28 +0200 skrev Cole: > Ive been looking at the custom log. And I see theres a token for > LFT_REQUEST_SIZE_TOTAL. > However, looking at the rest of the code, I see that it actually hasnt been > coded, and its just been > set out for later development obviously. Correct

Re: [squid-users] custom log

2004-03-12 Thread Henrik Nordstrom
On Fri, 12 Mar 2004, Ilya wrote: > Hello! > > Does Squid 2.5 support custom log format? > http://devel.squid-cache.org/customlog/logformat.html Yes and no. There is a patch available for Squid-2.5 adding the custom log formats, found via the page above.. Regards Henrik