From b4ec0294084ded4cbca9614fb65ca002867d1bbb Mon Sep 17 00:00:00 2001 From: Roger Date: Thu, 29 Dec 2022 17:25:39 -0600 Subject: [PATCH] ss: add -K example (#9659) * ss-kill-socket-connection Kill Socket connection example * Format compliance --- pages/linux/ss.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/ss.md b/pages/linux/ss.md index 6c43ce84a..22f5d9bbf 100644 --- a/pages/linux/ss.md +++ b/pages/linux/ss.md @@ -30,3 +30,7 @@ - Show all TCP IPv4 sockets locally connected on the subnet 192.168.0.0/16: `ss -4t src {{192.168/16}}` + +- Kill IPv4 or IPv6 Socket Connection with destination IP 192.168.1.17 and destination port 8080: + +`ss --kill dst {{192.168.1.17}} dport = {{8080}}`