mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-02 04:15:24 +02:00
tshark: add capture filter (#2872)
This commit is contained in:
parent
c84b654561
commit
f840d3d0dc
1 changed files with 5 additions and 1 deletions
|
@ -6,7 +6,11 @@
|
||||||
|
|
||||||
`tshark`
|
`tshark`
|
||||||
|
|
||||||
- Only output captured packets matching a specific wireshark filter:
|
- Only capture packets matching a specific capture filter:
|
||||||
|
|
||||||
|
`tshark -f '{{udp port 53}}'`
|
||||||
|
|
||||||
|
- Only show packets matching a specific output filter:
|
||||||
|
|
||||||
`tshark -Y '{{http.request.method == "GET"}}'`
|
`tshark -Y '{{http.request.method == "GET"}}'`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue