> ref:
> http://www.mail-archive.com/squid-users%40squid-cache.org/msg52048.html
>
> Can someone please point me to the code which expands the URL.
>
> I'm now using 2.6STABLE18 on FreeBSD 6.3-RELEASE
>
> Thanks
>
> ---------- Forwarded Message ----------
>
> Subject: Re: [squid-users] auto blacklist users
> Date: Friday 11 January 2008
> From: ian j hart <ianjhart@ntlworld.com>
> To: squid-users@squid-cache.org
>
> On Sunday 09 December 2007 07:03:24 Amos Jeffries wrote:
>>
> [snip]
>>
>> Here be mine squid.conf entry:
>>
>> external_acl_type surbl_test ipv6 ttl=5 negative_ttl=5 %SRC %DST
>> /etc/squid6/helper/rhsbl.sh multi.surbl.org RHSBL
>> acl surbl_clean external surbl_test
>> deny_info
>> http://treenet.co.nz/errors/squid-404.php?RBL-SURBL-%m&err=%o&url=%s
>> surbl_clean
>> http_access deny all !surbl_clean
>>
>
> Okay, I'm having a look at this now.
>
> I'm using 2.6.17 on FreeBSD 6.2 (i386)
>
> No problem with %s.
>
> %o works in an error page but not as used above.
>
> %m doesn't seem to be documented.
You've made me think again about my usage of this.
The RHSBL I use there returns a 64-bit integer timestamp-code as its
response, I was taking the numeric as being that.
Your work so far has made me think it maybe I was mistaking a random
number from somwehere inside squid :-(
Amos
>
>>
>> The helper is a little complex doing a DNSBL re-formatting and lookup
>> before returning OK/ERR to squid.
>>
>> FYI: SURBL is an anti-malware RHSBL which lists domains advertised in
>> Spam or known for malware distribution.
>> There is no reason particularly why the helper can't do a lookup
>> elsewhere for a locally built list via another medium.
>>
>>
>> Amos
>
> --
> ian j hart
>
Received on Mon Jan 21 2008 - 19:10:59 MST
This archive was generated by hypermail pre-2.1.9 : Wed Jan 30 2008 - 12:00:09 MST