2022-05-14 00:06:22 -07:00
|
|
|
# conntrack
|
|
|
|
|
|
|
|
> Interact with the Netfilter connection tracking system.
|
|
|
|
> Search, list, inspect, modify, and delete connection flows.
|
|
|
|
> More information: <https://manned.org/conntrack>.
|
|
|
|
|
|
|
|
- List all currently tracked connections:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`conntrack {{[-L|--dump]}}`
|
2022-05-14 00:06:22 -07:00
|
|
|
|
|
|
|
- Display a real-time event log of connection changes:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`conntrack {{[-E|--event]}}`
|
2022-05-14 00:06:22 -07:00
|
|
|
|
|
|
|
- Display a real-time event log of connection changes and associated timestamps:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`conntrack {{[-E|--event]}} {{[-o|--output]}} timestamp`
|
2022-05-14 00:06:22 -07:00
|
|
|
|
|
|
|
- Display a real-time event log of connection changes for a specific IP address:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`conntrack {{[-E|--event]}} {{[-s|--orig-src]}} {{ip_address}}`
|
2022-05-14 00:06:22 -07:00
|
|
|
|
|
|
|
- Delete all flows for a specific source IP address:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`conntrack {{[-D|--delete]}} {{[-s|--orig-src]}} {{ip_address}}`
|