我想知道这个社区中是否有人知道/找到了一种模拟QUIC流量配置文件的方法。为了分析/模拟youtube over WLAN (WiFi),我想知道是否有像iperf这样的方便的包。
谢谢Bharat C P
发布于 2016-06-13 16:38:52
发布于 2022-09-26 10:09:36
我能够使用aioquic生成QUIC流量。我用的是KDE Neon,这是Ubuntu的导数。
git clone https://github.com/aiortc/aioquic.git
sudo apt install libssl-dev python3-dev
virtualenv venv1
source venv1/bin/activate
cd aioquic/
pip install -e .
pip install asgiref dnslib httpbin starlette "werkzeug<2.1" wsproto然后,在一个终端中运行服务器:
python examples/http3_server.py --certificate tests/ssl_cert.pem --private-key tests/ssl_key.pem在另一种情况下,向客户端发出http3请求:
python examples/http3_client.py --ca-certs tests/pycacert.pem https://localhost:4433/好了。
你可以看到Wireshark的交通。适用于我的版本是3.6.5。请注意,您需要嗅探回送接口(Loopback: lo)。
下面是如何安装Wireshark 3.6.5
sudo add-apt-repository ppa:wireshark-dev/stable(需要按回车键)
sudo apt update
sudo apt install wiresharkhttps://stackoverflow.com/questions/37555261
复制相似问题