dpvs icon indicating copy to clipboard operation
dpvs copied to clipboard

进行syn-flood攻击过程中出现网卡dev->id读取不到

Open xzg1915 opened this issue 4 years ago • 2 comments

进行syn-flood攻击过程中出现网卡dev->id读取不到,程序core掉。另外,请教下,有什么方案可以在DR模式也可以防syn-flood攻击。

xzg1915 avatar Aug 21 '19 08:08 xzg1915

请提供复现方法、core文件或者相关信息

ywc689 avatar Aug 28 '19 08:08 ywc689

我是用两个10G网卡bond起来,做syn_flood攻击,当攻击量达到一定值的时候,会core掉,core掉的原因是在回复syn包时在netif_hard_xmit函数中, qindex = (((uint32_t)mbuf->buf_physaddr) >> 8) % (lcore_conf[lcore2index[cid]].pqs[port2index[cid][pid]].ntxq); lcore_conf[lcore2index[cid]].pqs[port2index[cid][pid]].ntxq的值为0,而引起的原因是pid=0。

另外请教,我两个网卡bond起来,开32核并没有比16核的性能提升,代码队列写死的已经修改,这是什么原因??? 如下图,我两个网卡不bond起来,为什么一定要做成每个核绑定两个网卡队列,而不做成如下图一样每个网卡的队列绑定到不同核上面,这是出于什么考虑??? 新人刚接触dpdk,dpvs,请多多指教。

------------------ 原始邮件 ------------------ 发件人: "wencyu"[email protected]; 发送时间: 2019年8月28日(星期三) 下午4:43 收件人: "iqiyi/dpvs"[email protected]; 抄送: "☆天荒地老☆"[email protected];"Author"[email protected]; 主题: Re: [iqiyi/dpvs] 进行syn-flood攻击过程中出现网卡dev->id读取不到 (#471)

请提供复现方法、core文件或者相关信息

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

xzg1915 avatar Aug 29 '19 03:08 xzg1915