Forum Discussion
Reset connection via iControl
Hi!
I have written an AI that does some analyzing and sometimes decides that an IP no longer should be
allowed to access a specific resource.
When this happens, the IP is added to a data-group-list and the resource has an iRule that checks if
the IP is blocked via the CLIENT_ACCEPTED-event.
Problem: The current connection is allowed to persist since the drop in only done when a new connection
is set up (due to using the CLIENT_ACCEPTED-event).
I have been looking through the iControl API to see if I can drop a specific connection based on IP but
I can't find anything about networking at all.. Any ideas how to solve this?
Since the resource get a lot of request, it would not be very good to check the DGL on every incomming request.
Product: BIG-IP
Version: 13.1.1
Build: 0.0.4
BIG-IP 4000S
Hello Peo.
You can drop connections when the first packet arrives the F5 (SYN). I share with you three methods in order of precedence:
1) Packet Filtering -> https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/tmos-implementations-13-0-0/8.html
2) FLOW_INIT event -> https://clouddocs.f5.com/api/irules/FLOW_INIT.html
3) AFM Module -> https://support.f5.com/csp/article/K38201755
KR,
Dario.
Recent Discussions
Related Content
* 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