Forum Discussion
Yann_Desmarest_
Nacreous
Hi,
this list can be uploaded as an ifile. You can also do a lookup using sideband connections in irules
Yann_Desmarest_
Jul 27, 2016Nacreous
Here a small Proof of Concept.
when HTTP_REQUEST {
set file [ifile get domains]
log local0. "$file"
set domain "amazon.co.uk.security-check.ga"
if { [string match "*$domain*" $file] } {
log local0. "succeeded"
HTTP::respond 200 content "ok"
} else {
log local0. "failed"
}
}
Note : should test performance impact, memory consumption and stuff like that before switching something in production