# CHECK-HEADER-CIDR.RC # # Function to analyze the IP from the X-Original-IP header # to see if it belong to the specified spammer. # :0 * ! XORIGINALIP ?? ^000\.000\.000\.000$ { LT2=no LOCALIP=${XORIGINALIP} LOCALIPREGEXP=${XORIGINALIPREGEXP} INCLUDERC=${SBDIR}/functions/check-cidr.rc :0 * LT2 ?? yes { LOCALTAG=yes SBLOG="C3R-${TESTNAME} (X-Original-IP: ${XORIGINALIP})" INCLUDERC=${SBDIR}/functions/loglevel.rc } }