跟踪 XWindow 协议 [英] Tracking XWindow Protocol

查看:27
本文介绍了跟踪 XWindow 协议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用工具跟踪 XWindow 协议?我认为wireshark将是一个很好的框架来承载这样的想法,但似乎没有支持.应该怎么做才能实现这个目标?

Is it possible to track XWindow protocol with a tool? I thought wireshark would be a good framework to host such an idea but there seems no support. What should be done to achieve this goal?

推荐答案

Wireshark 确实能够剖析 X-Window 协议.

Wireshark does have the ability to dissect the X-Window protocol.

但是:在 Wireshark 解析之前,您首先必须能够捕获 X-client(应用程序)和 X-Server 之间的实际 X-Window 流量.

However: You first have to be able to capture the actual X-Window traffic between an X-client (app) and an X-Server before Wireshark can dissect it.

在本地计算机上运行的应用程序(X-Windows 客户端)和 X-Windows 服务器之间的 X-Windows 流量可能使用Unix 域套接字"在客户端和服务器之间进行直接进程间通信 (IPC).没有使用底层网络协议,因此流量 (AFAIK) 无法被 Wireshark 捕获以进行剖析.

X-Windows traffic between an app (X-Windows client) and an X-Windows Server both running on your local machine probably uses "Unix Domain sockets" to do direct interprocess communication (IPC) between the client and the server. There's no underlying network protocol used and thus the traffic is (AFAIK) not capturable for dissection by Wireshark).

自从我处理 X 以来已经有一段时间了,但我认为基本上需要的是 X-Server 在一个机器上运行,以便服务器正在侦听(并愿意接受)网络连接.如果远程节点(或本地节点?)上的 Xclient 应用程序随后通过网络连接到 XServer,您将能够捕获该流量以供 Wireshark 解析.

It's been a while since I've dealt with X but I think basically what is needed is that an X-Server be running on a box such that the server is listening for (and willing to accept) network connections. If an Xclient app on a remote node (or local node ?) then connects to the XServer over the network, you will then be able to capture that traffic for dissection by Wireshark.

X 很复杂;如果您不熟悉运行 X 的细节,则需要阅读一些内容或询问其他信息.我早就忽略了与 X 相关的细节.

X is complicated; If you're not familiar with the details of running X, you'll need to do some reading or ask for additional info. I've long since blanked out details related to X.

这篇关于跟踪 XWindow 协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆