Re: [squid-users] Login with invalid characters

From: L E O N <mjardeli@dont-contact.us>
Date: Wed, 03 Nov 2004 09:57:37 -0200

Henrik many thanks for your reply but my log here just for 7 days is more
than 4 G. I´m working with Pedro Orso, to solve this problem.

Regards, Leon.

>From: Henrik Nordstrom <hno@squid-cache.org>
>To: L E O N <mjardeli@hotmail.com>
>CC: hno@squid-cache.org, squid-users@squid-cache.org
>Subject: Re: [squid-users] Login with invalid characters
>Date: Sat, 30 Oct 2004 19:13:07 +0200 (CEST)
>
>On Fri, 29 Oct 2004, L E O N wrote:
>
>>Yes, but the problem is that an entry with "garbage" is created. Then when
>>I try to use a program like SARG to generate a Report the program crashes.
>>I was wondering if there is a way to avoid it.
>
>filter out the invalid/failed login replies before you run SARG, and then
>generate a separate report on these if desired.
>
>Filter out failed logins and save then in failed_login.log
>
> awk '{if ($4 == "TCP_DENIED/407" && $8 != "-") print > failed_login.log;
>else print}'
>
>Just filter out failed logins
>
> awk '{if ($4 != "TCP_DENIED/407" || $8 == "-") print }'
>
>Regards
>Henrik

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
Received on Wed Nov 03 2004 - 04:58:01 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST