Linux Grab bag Tcpdump--solaris grab bag snoop__linux
Source: Internet
Author: User
corresponding to the Linux platform to grab the package method Grab the whole bag:
#tcpdump-X-S 0 host 192.168.1.12
Grab 68 Bytes:
#tcpdump-X Host 192.168.1.12
The corresponding port grab bag:
#tcpdump-x UDP port 1812
corresponding to theunder the Solaris platform scratch method #snoop-X 0 UDP to 192.168.1.28
#snoop-X 0 UCP from 192.168.1.28
#snoop-x 0-t a-d ERI UDP port 1645
Catch the bag According to the time:
#snoop-X 0-t a-d hme1 from 192.168.1.28
Grasp the package for the specified address and port and save it to the current log2 file:
#snoop-X from 192.168.1.28 TCP >>log2.log
Grab the bag can also be placed in the background to let it run automatically, to prevent the window from closing when there is no:
#csh/Enter the CSH environment first
#nohup snoop-x 0-t a-d hme1 from192.168.1.28>> Snoop.log &/& represents running in the background/
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.