Hi Longfei, 

For protocol correctness, the only tool I’ve used is Defensics Codenomicon, 
which has about 1.2M tests and only needs an http terminator. Therefore, nginx 
+ ldp is enough. Having said that, it would be great to also support 
packetdrill. 

As for your issue, I’m not entirely sure why you’re hitting it. Could you try 
replacing the veth pair with a tap interface?

Regards,
Florin

> On Mar 12, 2020, at 2:53 AM, dailongfei <dailong...@corp.netease.com> wrote:
> 
> Hi,
> 
> Recently, I wan to use packetdrill to test vpp hoststack .  I connet  vpp and 
> kernel-protocol-stack with veth.  And local  client runs on vpp hoststack , 
> remote is on kernel.
>  local <----> vcl <----> vpp <-----> veth1 <-----> veth0 <-----> remote.
> 
> At remote , I just wen to  recvive    the  2-layer  or 3-layer packet, so I 
> use raw sock. However , I meet a problem that raw sock just get the copy of 
> packet that sent by local client , the packet still transfer to the upper 
> layer (4 layer) .And the upper layer will answer the packet ,  which will 
> influences my test.  Since the local client just want to receive the packet 
> that sent by raw sock.
>  local <----> vcl <----> vpp <-----> veth1 <-----> veth0 <-----> raw sock.
>                                                                               
>        |
>                                                                               
>        ---X--> upper layer .                   
>                                     
> Do your matter the  same problem  when testing vpp hoststack ? And do you 
> have good idea about the vpp  hoststack test with packetdrill?
> 
> Regards,
> Longfei
>
> 
>       
> dailongfei
> 
> dailong...@corp.netease.com
>  
> <https://maas.mail.163.com/dashi-web-extend/html/proSignature.html?ftlId=1&name=dailongfei&uid=dailongfei%40corp.netease.com&iconUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyelogo%2FdefaultAvatar.png&items=%5B%22dailongfei%40corp.netease.com%22%5D&logoUrl=https%3A%2F%2Fmail-online.nosdn.127.net%2Fqiyeicon%2F209a2912f40f6683af56bb7caff1cb54.png>
> 签名由 网易邮箱大师 <https://mail.163.com/dashi/dlpro.html?from=mail81> 定制
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15759): https://lists.fd.io/g/vpp-dev/message/15759
Mute This Topic: https://lists.fd.io/mt/71898758/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to