tcpdump 过滤源地址
时间: 2023-10-06 21:08:31 浏览: 100
tcpdump可以通过使用源地址过滤来捕获特定源IP地址的数据包。例如,通过使用参数"src host"或者"src",可以指定要过滤的源IP地址。在引用中的示例中,使用了"src host 172.25.38.145"来过滤源地址为172.25.38.145的数据包。同样,在引用中的示例中,使用了"src 192.168.1.10 or src 192.168.1.11"来过滤源地址为192.168.1.10或192.168.1.11的数据包。这样做可以帮助用户从网络流量中只捕获特定源地址的数据包。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [wireshark、tcpdump 实用过滤表达式(针对ip、协议、端口、长度和内容)](https://blog.csdn.net/frucik/article/details/122016664)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [yap:another又一击](https://download.csdn.net/download/weixin_42144366/18974009)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文