我正在开发一个chrome扩展项目,我需要为客户端访问的每个URL提取浏览器客户端和网络服务器之间的某些网络信息。
我需要这些信息:
TCP_CONVERSATION_EXCHANGE: This variable is the number of TCP packets exchanged between the server and our honeypot client
DIST_REMOTE_TCP_PORT: it is the number of the ports detected and different to TCP
REMOTE_IPS: this variable has the total number of IPs connected to the honeypot
APP_BYTES: this is the number of bytes transferred
SOURCE_APP_PACKETS: packets sent from the honeypot to the server
REMOTE_APP_PACKETS: packets received from the server
APP_PACKETS: this is the total number of IP packets generated during the communication between the honeypot and the server
DNS_QUERY_TIMES: this is the number of DNS packets generated during the communication between the honeypot and the server
我知道可以使用某些过滤器通过Wireshark获得其中的一些(如果不是大多数的话)。 但是,我想通过Javascript来检查Web客户端和服务器之间的交互。
我已经搜索了好几个小时,找到了一个浏览器性能API,该API允许用户提取用于呈现html页面的字节数,但是文档不是很清楚,并且不能完全解决我的问题。