Forum Discussion
nitass
Oct 23, 2012Employee
e.g.
if-clause
[root@ve10:Active] config b rule myrule list
rule myrule {
when CLIENT_ACCEPTED {
if { !([TCP::local_port] == 80) and !([TCP::local_port] == 8080) } {
drop
}
}
}
switch
[root@ve10:Active] config b rule myrule list
rule myrule {
when CLIENT_ACCEPTED {
switch [TCP::local_port] {
80 -
8080 { }
default {
drop
}
}
}
}