Re: ACL Bug ?

From: Gero J. Dittmer <gdittmer@dont-contact.us>
Date: Tue, 25 Nov 97 16:59:15 +0100

>>After 10000+ connections sometimes my regex-based ACLs suddenly stop
>>working. Everything gets through. kill -HUP does not help, squid has to
>>be restarted. I found absolutely no hint in the log files.
>>
>>Any idea ? I would welcome advice on how to debug, since debugging with
>>28,3 would fill the disk before the error occurs.
>
>Send USR2 to the running squid process. That starts full debugging.
>Then a few seconds later send another USR2 to restore normal debugging.

Here we go :

97/11/25 16:00:32| aclMatchAcl: checking 'acl pregex urlpath_regex
"/usr/local/squid/et
c/pregex"'
97/11/25 16:00:32| aclMatchRegex: checking '/cgi-bin/ivw/HP'
97/11/25 16:00:32| aclMatchRegex: looking for
'/~(leglover|raptor|canime|ragtop|awalker
|The_Raven|phiberop|wyyrd|fantasia|celebs|neoshake|badguy|ggranger|arthur|c
ybertec|rjwe
nt|rosspub|miya|UnicorN|ccc20433|x69|tomas|ptv|yujit|mgriswol|ttt97|wafowl0
1|v962791|mi
lle|jbeek|neilp|rwilhelm|digitrix)/'
97/11/25 16:00:32| aclMatchRegex: looking for
'/(rawena|vdz|ivw)/[A-Z][A-Z]'
97/11/25 16:00:32| aclMatchRegex: looking for
'/.*(run|cgi|bin|count).*/(((public_|imag
e|user|live|awi|page|sz|nph-|new|IAE|digi|Hit|ziAd).*)|i|l?w)?count'

as one can clearly see, the second regex should match "/ivw/HP". BTW : I
changed acl.c to handle regex case insensitive. The error occured approx.
after 5,900 connections.

Any help ?

Regards, Gero

-----------------------------------------------------------
--- Ammirati Puris Lintas ---
--- Gero Dittmer, Mittelweg 177, 21048 Hamburg, Germany ---
--- phone: +49 40 41441217 fax: +49 40 41441616 ---
--- Internet: gdittmer@aplintas.de CIS: Gero_Dittmer ---
--- ... waiting for a unicorn under chapter eleven ... ---
Received on Tue Nov 25 1997 - 08:05:15 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:43 MST