smiley_dba_1116
Jul 14, 2015Nimbostratus
Whitelist via FTP
Question, I have created whitelist in the past, but have been recently been asked to create a whitelist for FTP clients. THe premise of the rule is, if you come this IP address, get directed to this pool. Else, go to this IP address. Would I have to invoke a client_Accept instead of a HTTP_REQUEST?
when HTTP_REQUEST {
if {not ([class match [IP::remote_addr] equals Whitelist_Sorry]) } {
pool some_FTP_Pool
}
else {
pool some_other_FTP_Pool
log local0. "Condition not matched. Go here.."
}
}
class Whitelist_Sorry {
{
host 10.10.5.139
network 172.16.0.0/16
}
}