mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-04 05:55:21 +00:00
Update cheatsheets
This commit is contained in:
@@ -11,20 +11,20 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- List all currently tracked connections:
|
||||
|
||||
`conntrack --dump`
|
||||
`conntrack {{[-L|--dump]}}`
|
||||
|
||||
- Display a real-time event log of connection changes:
|
||||
|
||||
`conntrack --event`
|
||||
`conntrack {{[-E|--event]}}`
|
||||
|
||||
- Display a real-time event log of connection changes and associated timestamps:
|
||||
|
||||
`conntrack --event -o timestamp`
|
||||
`conntrack {{[-E|--event]}} {{[-o|--output]}} timestamp`
|
||||
|
||||
- Display a real-time event log of connection changes for a specific IP address:
|
||||
|
||||
`conntrack --event --orig-src {{ip_address}}`
|
||||
`conntrack {{[-E|--event]}} {{[-s|--orig-src]}} {{ip_address}}`
|
||||
|
||||
- Delete all flows for a specific source IP address:
|
||||
|
||||
`conntrack --delete --orig-src {{ip_address}}`
|
||||
`conntrack {{[-D|--delete]}} {{[-s|--orig-src]}} {{ip_address}}`
|
||||
|
||||
Reference in New Issue
Block a user