Re: [vpp-dev] inet raw socket

2018-11-05 Thread saint_sun 孙 via Lists . Fd . Io
thanks very much! And I have another question: does VPP support INET RAW socket, I find the UDP and TCP socket except the raw socket. saint_...@aliyun.com From: Ole Troan Date: 2018-11-05 13:03 To: saint_sun CC: vpp-dev Subject: Re: [vpp-dev] Where is the definition of IP_PROTOCOL_ICMP Hi t

[vpp-dev] vpp-stable18.10 big-lenght packets could not pass-through vxlan tunnel correctly

2018-11-05 Thread wangchuan...@163.com
I got the reassembly && frag info at trace log. I got the response icmp frag-pkts at the requesting PC_A(using tcpdump). But the ping still failed. The reassembly or frag might have some mistake with tunnel && big packets. PC_A --- VPP_A --- VPP_B -- PC_B wangchuan...@163.com -=-=-=-=-=-=-=-

[vpp-dev] About memory debug

2018-11-05 Thread tianye@sina
Hello Everyone: As we all knows, the VPP platform is an intensive memory utilizing platform. VPP handles a large number of memory buffers/caches and other wrapped memory blocks. Is there some facility to help developers debug the memory related bugs/issues? For some classic memory related bu

Re: [vpp-dev] auto-abandon

2018-11-05 Thread Damjan Marion via Lists.Fd.Io
Just use search, it will show match even if it is abandoned. -- Damjan > On 31 Oct 2018, at 18:59, Jim Thompson wrote: > > > It would seem to make it difficult to find a half-implemented feature. “Has > anyone tried this before?” > > Case in-point: L3SPAN (#9336), which seems abandoned, b

Re: [vpp-dev] Problem on VxLAN multicast mode

2018-11-05 Thread eyal bari via Lists.Fd.Io
Hi, Xuekun, Packets are only received on unicast tunnels. So in your case you would need to create one and put it under the bridge-domain (the multicast tunnel does not need to be under the bridge-domain): create vxlan tunnel src 172.168.1.1 dst 172.168.1.2 vni 100 set interface l2 bridge

Re: [vpp-dev] Problem on VxLAN multicast mode

2018-11-05 Thread eyal bari via Lists.Fd.Io
Just to clarify, the mcast tunnel does not need to be under the bridge for receiving traffic, however for sending flooded traffic through the mcast tunnel it needs to be under the bridge... eyal On 05/11/2018, 13:47, "vpp-dev@lists.fd.io on behalf of eyal bari via Lists.Fd.Io" wrote:

[vpp-dev] inter-vlan routing don't work.

2018-11-05 Thread abbas ali chezgi via Lists.Fd.Io
i have two vpp nodes that has trunk vlans. in one node i used loop interface as bvi. topology and config summary: n1:   interface 0:   1.1.1.0/24   [routed network]        interface 1:   on bridge 200 and tag-rewrite push dot1q 200      [network ip: 10.10.10.0/24]    sub interface 2:  vlan 2

Re: [vpp-dev] Problem on VxLAN multicast mode

2018-11-05 Thread Xuekun
Hi, Eyal If need to create a unicast tunnel also, it means need to know the remote vtep address first. However the purpose of using mcast tunnel is to build tunnels across multiple vtep addresses which don't be known in advance. For example, if there is a third server (server3: 192.168.1.3) in

Re: [vpp-dev] Problem on VxLAN multicast mode

2018-11-05 Thread John Lo (loj) via Lists.Fd.Io
VPP does not support receiving of VXLAN packets from an unknown VTEP. Thus, any packet received in a BD from a VXLAN multicast tunnel must have its source IP match of the remote VTEP of an existing VXLAN unicast tunnel in the same BD. If no such unicast tunnel is found, packets are dropped. I

Re: [vpp-dev] Problem on VxLAN multicast mode

2018-11-05 Thread Neale Ranns via Lists.Fd.Io
Hi Eyal, John, I missed the fact that the tunnel classification is based only on the senders IP. Now it makes sense. Thanks, Neale -Message d'origine- De : au nom de "John Lo (loj) via Lists.Fd.Io" Répondre à : "John Lo (loj)" Date : lundi 5 novembre 2018 à 16:17 À : Xuekun , "Eya

[vpp-dev] VPP handles deleting ACL's and MACIP's differently

2018-11-05 Thread Stephen Jones
VPP handles deleting ACL's and MACIP's differently. In the file /vpp/src/plugins/acl/acl.c The function `acl_del_list` checks to see if the ACL being deleted is being referenced by an interface and returns an error if it is. The function `macip_acl_del_list` will remove the MACIP and remove a

Re: [vpp-dev] inet raw socket

2018-11-05 Thread Florin Coras
We don’t support raw sockets. Florin > On Nov 5, 2018, at 1:15 AM, saint_sun 孙 via Lists.Fd.Io > wrote: > > > <81.gif>thanks very much! And I have another question: does VPP support INET > RAW socket, I find the UDP and TCP socket except the raw socket. > > saint_...@aliyun.com

[vpp-dev] Call for Demos at Kubecon Seattle Dec 11-13

2018-11-05 Thread Edward Warnicke
FD.io will have a booth at Kubecon Seattle Dec 11-13. This is a call out to the community for demo proposals to show in the booth. Please respond with a brief description of a demo you would like to run in the FD.io booth. If you wish to reply privately, please ensure you include Trishan on your

Re: [vpp-dev] Problem on VxLAN multicast mode

2018-11-05 Thread John Lo (loj) via Lists.Fd.Io
To answer another question from Xuekun about usage of VXLAN mcast tunnel, the advantage is that flooding to remote VTEPs only needs to send one packet into the mcast tunnel. If there is no mcast tunnel, VPP will need to send a packet per unicast VXLAN tunnel to flood all remote VTEPs.-John

[vpp-dev] Faulty java version check for JVPP GEN

2018-11-05 Thread Juraj Linkeš
Hi vpp-devs, I'm trying to get VPP build (actually make verify for ci purposes) to run on Ubuntu1804 and I've hit an issue with java: checking /usr/lib/jvm/java-11-openjdk-arm64 for Java 8 compiler... found version 11 ... /vpp/build-data/../extras/japi/java/jvpp-core/io/fd/vpp/jvpp/core/examples

Re: [vpp-dev] VPP handles deleting ACL's and MACIP's differently

2018-11-05 Thread Andrew Yourtchenko
Hi Stephen, Yeah I think the current behavior with the “acl_del_list” was what we arrived to after the discussion on the list, but the macip ACL behavior never got updated. One can harmonize the behavior, though to ensure no pain it would take some time - 1) add a startup config variable (off

[vpp-dev] VPP and StrongSwan: Issues seen with both master and 18.10 such that StrongSwan crashes when calling vl_client_api_map()

2018-11-05 Thread Kyle Mestery (kmestery) via Lists.Fd.Io
Greetings! I’ve got a fairly long message, so please bear with me, and hopefully someone can assist me here. Some work was done to integrate VPP and StrongSwan a while back, you can see the original work here [1]. That was working great with VPP version 18.07 and StrongSwan code from about 7 m

Re: [vpp-dev] VPP and StrongSwan: Issues seen with both master and 18.10 such that StrongSwan crashes when calling vl_client_api_map()

2018-11-05 Thread Florin Coras
Hi Kyle, Could you try doing something like "clib_mem_init_thread_safe (0, 256 << 20);” kernel_vpp_plugin_create() before calling vac_create()? Hope this helps, Florin > On Nov 5, 2018, at 10:22 AM, Kyle Mestery (kmestery) via Lists.Fd.Io > wrote: > > Greetings! > > I’ve got a fairly long

Re: [vpp-dev] VPP and StrongSwan: Issues seen with both master and 18.10 such that StrongSwan crashes when calling vl_client_api_map()

2018-11-05 Thread Kyle Mestery (kmestery) via Lists.Fd.Io
Florin, that was it, thanks for the help! On Nov 5, 2018, at 12:34 PM, Florin Coras mailto:fcoras.li...@gmail.com>> wrote: clib_mem_init_thread_safe (0, 256 << 20);” -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#4): https://lists.fd.io/g/vp

Re: [vpp-dev] Problem on VxLAN multicast mode

2018-11-05 Thread Xuekun
Thanks all for clarification, now I understand the mechanism. So, I will leave the work to a central controller to setup the unicast tunnel between the vtep pairs. -Original Message- From: vpp-dev@lists.fd.io On Behalf Of John Lo (loj) via Lists.Fd.Io Sent: Tuesday, November 06, 2018

[vpp-dev] API client segmentation fault in VPP 18.10

2018-11-05 Thread emma sdi
Hi Dear VPP I wrote an API client sample application to connect to VPP. Although this sample work with VPP 18.07 without any problem, it has "segmentation fault" with VPP 18.10. it would be appreciated if you help me to fix this problem due to latest changes in VPP 18.10. This sample API client so