baidu / dperf

dperf is a 100Gbps network load tester.
https://dperf.org
Apache License 2.0
4.93k stars 509 forks source link

client 出现了指定范围外的ip #320

Closed net-sky closed 1 year ago

net-sky commented 1 year ago

配置文件中指定了:client 10.0.0.30 200 但抓包发现了64.xx.xx.xx 的随机ip,占比约4分之1左右 具体配置文件如下:

mode        server
cpu         29-31
duration    1000h
port        0000:07:00.0    10.0.0.1  192.168.2.1 7c:b5:9b:3a:f2:a6
client      10.0.0.30      200
server      10.0.0.1      3
listen      80            1
mode        client
cpu         29-31
duration    1000h
cps         300k
launch_num  1
port        0000:05:00.0    10.0.0.21  192.168.2.1 7c:b5:9b:3a:f2:a6
client      10.0.0.30     200
server      10.0.0.1      3
listen      80            1

可以确定测试服务器上没有其他的对外访问流量

pengjianzhang commented 1 year ago
  1. 能否看下报文内部数据,确定一下是不是dperf发送的,dperf发送的payload都是一样的
  2. 目的端口是不是80?
  3. 换成UDP协议看一下是否复现? 谢谢~~
net-sky commented 1 year ago

image 这是筛选出来的部分地址,现在不太能确定是不是dperf的问题,还是我的环境有问题

pengjianzhang commented 1 year ago

不是,目的端口对不上

net-sky commented 1 year ago

好的,那我自己再查下,谢谢

pengjianzhang commented 1 year ago

dperf用得很溜,赞一个