摘要: trex-emu中的plugin是各个协议处理rpc请求及相应协议数据的模块 trex-emu server 架构图 每个TRex emulation的Thread包含多个Namespaces,而每个Namespaces只能对应到一个Thread上 每个Namespaces必须有独一无二的tuple 阅读全文
posted @ 2022-01-25 17:29 staylight 阅读(336) 评论(0) 推荐(0) 编辑
摘要: TRex架构图 TRex-EMU can receive commands (RPC via JSON-RPC) from a Python client and send/receive packets via a ZMQ channel that connects it to the TRex 阅读全文
posted @ 2022-01-25 17:18 staylight 阅读(581) 评论(0) 推荐(0) 编辑
摘要: scapy rpc client主体代码 #!/usr/bin/env python # simple scapy server tests # pip install pcapy scapy zmq nose # to run use nosetests scapy_test.py import 阅读全文
posted @ 2022-01-25 10:38 staylight 阅读(114) 评论(0) 推荐(0) 编辑