Forum Discussion
meena_60183
Nimbostratus
Nov 05, 2009deleting current active connections on a BigIP
Hi All,
I am trying to find a way to kill (terminate) a user's connection based on an IP address. I used the following command
config b conn client 10.27.9.113 show
10.27.9.113:2867 <-> 10.29.225.6:https <-> 10.22.132.41:http tcp 1/0
config b conn client 10.27.9.113 delete
But it is not terminating the connection. How can I terminate a user based on the source IP?
Meena
- The_Bhattman
Nimbostratus
Have you tried "b conn 10.27.9.113 delete" ? - meena_60183
Nimbostratus
yes. I tried that command. It removes the connection from the connections table on the BigIP but on the client side the session is still up. I want to send a TCP reset to the client killing the connection completely. Is this possible? - The_Bhattman
Nimbostratus
I don't think there is a explicit command to send a connection reset to the client. Perhaps someone in the forum - Anthony_7417Historic F5 Account
- Anthony_7417Historic F5 AccountActually, I was on 9.4.7, not v10.
- Kleython_Kell_5
Nimbostratus
And if i Have two open conection for the same cliente, but one https and other ssh - Kleython_Kell_5
Nimbostratus
or just to detele the https conection,, how to do ? - nitass
Employee
both bigpipe and tmsh have an option to show/delete specific connection.[root@ve10:Active] config b virtual bar list virtual bar { snat automap pool foo destination 172.28.19.79:22 ip protocol 6 } [root@ve10:Active] config b pool foo list pool foo { members 200.200.200.101:22 {} } bigpipe [root@ve10:Active] config b conn server 172.28.19.79:22 show 192.168.206.55:54425 <-> 172.28.19.79:22 <-> 200.200.200.101:22 6 1/0 tmsh root@ve10(Active)(tmos) show sys connection cs-server-addr 172.28.19.79 cs-server-port 22 Sys::Connections 192.168.206.55:54425 172.28.19.79:22 200.200.200.101:22 tcp 0 Total records returned: 1
- Kleython_Kell_5
Nimbostratus
I can see the conection, I have two conections with the same client - nitass
Employee
CREATE/MODIFY[root@ve10:Active] config b conn client 192.168.206.55 server 172.28.19.79:22 show 192.168.206.55:56256 <-> 172.28.19.79:22 <-> 200.200.200.101:22 6 1/0 [root@ve10:Active] config b conn client 192.168.206.55 server 172.28.19.79:22 delete [root@ve10:Active] config b conn client 192.168.206.55 server 172.28.19.79:22 show No Conns were found.
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