Forum Discussion
Yuval_ben_10707
Nimbostratus
Jun 15, 2005PacketFilter - FilterAction
Hi,
I'm using iControl PacketFilter to inspect L7 patterns in packets(e.g. "confidential document" text)
My goal is to alert/log packet information (source/dest IP) on a pattern match.
Looking at the FilterAction Enumeration, I found FILTER_ACTION_CONTINUE (4) to be most relevant to my case. However, I could not find information on how to instruct the filter to log the packet attributes/data and later Syslog it to an external system for reporting (e.g my application).
I wonder if the method, [set_log_state] is relevant to my needs and what type of packet information will be log and than can be Syslog to an external application.
Any help?
Many thanks.
e.g. is there any plan to support "StreamFilter" in the future? (to better support L7 filtering)
- Loc_Pham_101863Historic F5 AccountNetworking::PacketFilter::get/set_log_state are the methods you would use to enable/disable logging in a packet filter. If a packet filter rule has an associated logging action and it's enabled, an entry will be created in the system log each time the rule is matched. The log entry will contain details of the traffic that matched the rule, such as source and destination addresses and ports.
- Yuval_ben_10707
Nimbostratus
Thanks for the valuable information.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects