Re: [vpp-dev] #vpp [Linux] Selective inline packet share to non-vpp application using libmemif

2020-08-06 Thread techiek7
Thanks Ben,

Got it now. I hope memif is the ONLY right way of sharing packets to non-vpp 
applications.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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


Re: [vpp-dev] #vpp [Linux] Selective inline packet share to non-vpp application using libmemif

2020-08-06 Thread Benoit Ganne (bganne) via lists.fd.io
> I have a setup where vpp is running with dpdk on two nics. I have added
> NAT and other configurations and hence vpp is working as router. I want to
> integrate my DPI application hence need to intercept packets. I have
> looked at libmemif and its icmp-responder applications. But I was not able
> to find vpp configuration where we can set which traffic we want to send
> to the memif interface. Please help.

With memif, you just get a regular packet interface. VPP will send traffic to 
an interface based on different mechanism:
 - L3 forwarding: you could eg. configure route to your memif interface for 
interesting traffic, say "all traffic destined to 192.168.11.2"
 - ACL based forwarding: https://wiki.fd.io/view/VPP/ABF
 - L2 xconnect
 - your own plugin
 - ...

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

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


[vpp-dev] #vpp [Linux] Selective inline packet share to non-vpp application using libmemif

2020-08-06 Thread techiek7
Hello team,

I have a setup where vpp is running with dpdk on two nics. I have added NAT and 
other configurations and hence vpp is working as router. I want to integrate my 
DPI application hence need to intercept packets. I have looked at libmemif and 
its icmp-responder applications. But I was not able to find vpp configuration 
where we can set which traffic we want to send to the memif interface. Please 
help.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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