1# CHECK-HEADER-CIDR.RC 2# 3# Function to analyze the IP from the X-Original-IP header 4# to see if it belong to the specified spammer. 5# 6# Last Updated: 4/02/2010 7 8:0 9* ! SBCONFIG ?? ^Lite$ 10* ! XORIGINALIP ?? ^000\.000\.000\.000$ 11{ 12 LT2=no 13 LOCALIP=${XORIGINALIP} 14 LOCALIPREGEXP=${XORIGINALIPREGEXP} 15 INCLUDERC=${SBDIR}/functions/check-cidr.rc 16 17 :0 18 * LT2 ?? ^yes$ 19 { 20 LOCALTAG=yes 21 SBLOG="C3R-${TESTNAME} (X-Original-IP: ${XORIGINALIP})" 22 INCLUDERC=${SBDIR}/functions/loglevel.rc 23 } 24} 25