简体   繁体   English

从chroot监狱运行wireshark

[英]running wireshark from chroot jail

hi I want to run wireshark from inside a chroot jail. 嗨,我想从chroot监狱内部运行wireshark。

but when i run it it gives following error: WARNING: no socket to connect to 但是当我运行它时,它给出以下错误:警告:没有套接字可以连接到

I have tried and search everywhere but no explanation so far. 我已经尝试并搜索了所有地方,但到目前为止还没有任何解释。 Even if it does not work I want to understand why it is not working. 即使它不起作用,我也想了解为什么它不起作用。

Wireshark uses GnuTLS to try to decrypt SSL/TLS connections. Wireshark使用GnuTLS尝试解密SSL / TLS连接。

Apparently GnuTLS uses gnome-keyring on some systems , and gnome-keyring is probably what's printing the messages. 显然, GnuTLS在某些系统上使用gnome-keyring ,而gnome-keyring可能就是打印消息的方式。

My guess is that it's trying to connect to some daemon running on your machine over a UNIX-domain socket, but the chroot jail is preventing it from accessing the socket. 我的猜测是,它试图通过UNIX域套接字连接到计算机上运行的某些守护程序,但是chroot监狱阻止了它访问套接字。

If that's not preventing Wireshark from running, just ignore the warning. 如果那不能阻止Wireshark运行,请忽略该警告。

If it is preventing Wireshark from running ("I get a warning when I run X" is not the same as "X doesn't run"), you might not be able to run Wireshark in a chroot jail, unless there's some way to let gnome-keyring connect to that daemon from inside the jail. 如果防止Wireshark的运行(“我得到一个警告,当我跑X”是不一样的“X不跑”),你可能无法在chroot监狱跑Wireshark的,除非有一些方法来让gnome-keyring从监狱内部连接到该守护程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM