Forum Discussion
ShakeelRashid
Sep 19, 2017Nimbostratus
Guys,
Is it possible to use a data group list to list the port numbers? i.e. something like the below where Defined_Ports references an integer or string Data Group List?
when CLIENT_ACCEPTED {
if { not ([matchclass [TCP::local_port] equals Defined_Ports]) }{ log local0. "Invalid Port: [TCP::local_port] - discarding" discard } }