可以,dumpcap 能在 Debian 上使用。
dumpcap 是 Wireshark 自带的抓包工具(用于捕获网络数据包)wireshark-common 或 wireshark 包即可获得sudo apt update
sudo apt install wireshark-common
或安装完整 Wireshark:
sudo apt install wireshark
dumpcap 需要访问网络接口,通常有两种方式:
sudo dumpcap
wireshark-common 时会提示是否允许非 root 用户抓包,选 yes 即可:sudo dpkg-reconfigure wireshark-common
sudo usermod -aG wireshark $USER
然后重新登录或重启。
dumpcap -D
能列出网卡就说明可用。
✅ Debian 完全支持 dumpcap,装 wireshark-common 就能用,注意用户权限即可。