ad_handle_spammersWhat it does:
Returns an appropriate page if we think it is a spammer, either pretending to be broken or explaining the ban (depending on the setting of FeignFailureP).Defined in: /web/philip/tcl/ad-antispam.tcl
Source code:
if ![ad_spammer_ip_p] {
# not a spammer
return
} else {
if [ad_parameter FeignFailureP antispam 0] {
ad_pretend_to_be_broken
} else {
# just tell the guy
ad_return_complaint 1 "<li>The computer that you're using has been blocked from [ad_system_name] (or perhaps a whole range of computers).\n"
}
# blow out of 2 levels (i.e., terminate the caller)
return -code return
}