From bc8eae779fda6c78cc1be86fd79dc562a1f0d27b Mon Sep 17 00:00:00 2001 From: Adrien Thebo Date: Sat, 14 May 2022 00:06:22 -0700 Subject: [PATCH] conntrack: add page (#8081) * conntrack: add page * Update pages/linux/conntrack.md Co-authored-by: Emily Grace Seville Co-authored-by: Emily Grace Seville --- pages/linux/conntrack.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/linux/conntrack.md diff --git a/pages/linux/conntrack.md b/pages/linux/conntrack.md new file mode 100644 index 000000000..603fd4895 --- /dev/null +++ b/pages/linux/conntrack.md @@ -0,0 +1,25 @@ +# conntrack + +> Interact with the Netfilter connection tracking system. +> Search, list, inspect, modify, and delete connection flows. +> More information: . + +- List all currently tracked connections: + +`conntrack --dump` + +- Display a real-time event log of connection changes: + +`conntrack --event` + +- Display a real-time event log of connection changes and associated timestamps: + +`conntrack --event -o timestamp` + +- Display a real-time event log of connection changes for a specific IP address: + +`conntrack --event --orig-src {{ip_address}}` + +- Delete all flows for a specific source IP address: + +`conntrack --delete --orig-src {{ip_address}}`