
내 Linux 서버에는 거대한 추적 파일이 있습니다 pcap
. 특정 IP 주소를 기반으로 이 파일을 분할해야 합니다. 어떻게 해야 하나요?
답변1
IP 주소를 기반으로 기존 pcap 파일을 읽고 새 파일로 출력하려면 이 구문을 사용합니다.
tcpdump -r old-pcap-file -w new-pcap-file-for-1.2.3.4 host 1.2.3.4
-r file Read packets from file
-w file Write the raw packets to file rather than parsing and printing them out.