mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
snoop: add page (#3457)
This commit is contained in:
parent
8ec0c33e44
commit
06eac77614
1 changed files with 24 additions and 0 deletions
24
pages/sunos/snoop.md
Normal file
24
pages/sunos/snoop.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# snoop
|
||||
|
||||
> Network packet sniffer.
|
||||
> SunOS equivalent of tcpdump.
|
||||
|
||||
- Capture packets on a specific network interface:
|
||||
|
||||
`snoop -d {{e1000g0}}`
|
||||
|
||||
- Save captured packets in a file instead of displaying them:
|
||||
|
||||
`snoop -o {{filename}}`
|
||||
|
||||
- Display verbose protocol layer summary of packets from a file:
|
||||
|
||||
`snoop -V -i {{filename}}`
|
||||
|
||||
- Capture network packets that come from a hostname and go to a given port:
|
||||
|
||||
`snoop to port {{port}} from host {{hostname}}`
|
||||
|
||||
- Capture and show an hex-dump of network packets exchanged between two IP addresses:
|
||||
|
||||
`snoop -x0 -p4 {{ip_address_1}} {{ip_address_2}}`
|
Loading…
Add table
Reference in a new issue