Re: [vpp-dev] syslog in snat

2018-08-13 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
Hi, There is mistake in release notes, NAT syslog is not implemented. Matus From: Matt Paska Sent: Monday, August 13, 2018 4:12 PM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] syslog in snat Hi Matus, I see NAT syslog mentio

Re: [vpp-dev] [Bug] VPP crashes using deterministic CGN

2018-08-13 Thread Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
Hi, Patch is not merged in master branch, so your 18.10 build probably doesn't contain fix unless you apply/download patch manually (git review -d 14106). Matus From: arsalan.sag...@xflowresearch.com Sent: Monday, August 13, 2018 7:50 AM To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at

Re: [vpp-dev] Overlapping IP/subnet support on base/vlan interface

2018-08-13 Thread Michael Yu
Hello, I have checked the latest code in master branch and confirm ” VPP does not support multiple interfaces in the same subnet” is still true. And I can understand the commit https://gerrit.fd.io/r/#/c/8057/ is to expand the check of overlapping subnet to all interfaces in the same table/VRF.

Re: [vpp-dev] Regarding CLI command parsing

2018-08-13 Thread Dave Barach via Lists.Fd.Io
Try this in mycmd: u8 * line; if (unformat (input, "%U", unformat_line, &line)) process_line; Note that line will be a true u8 * vector: no null-termination. If you need null termination: vec_add1 (line, 0); Remember to vec_free(...) it unless you're planning to keep it. HTH... Dave -

Re: [vpp-dev] timing_wheel or tw_timer

2018-08-13 Thread Dave Barach via Lists.Fd.Io
The tw_timer implementation is extremely fast. We routinely test it to 60 million concurrent timers, the number required to bring up 10M TCP sessions. Given a 500ms granularity, we have: max range = 86400 (secs/day) * 2 (clock ticks/second) = 172800 slots. A 2-ring, 512 slots/ring geometry would

[vpp-dev] Regarding CLI command parsing

2018-08-13 Thread Prashant Upadhyaya
Hi, I am relatively new to this and trying to learn the art of using format/unformat. My requirement is that if my command is "mycmd" followed by some string (which may have spaces in it), then I should be able to read the entire string up to the \n character typed by the user. Eg. if the command

Re: [vpp-dev] :: vppctl fails to start (Centos 7.5.1804)

2018-08-13 Thread Edward Warnicke
We do have an se linux package that should in principle let you keep working with se linux enforce try yum install vpp-selinux-policy and see if that helps :) Ed On August 13, 2018 at 12:41:37 PM, omer.maj...@sofioni.com ( omer.maj...@sofioni.com) wrote: Thank Ed. Changed SELINUX=enforcing in

Re: [vpp-dev] :: vppctl fails to start (Centos 7.5.1804)

2018-08-13 Thread omer . majeed
Thank Ed. Changed SELINUX=enforcing in /etc/selinux/config Restarted the machine, and it worked. Best Regards, Omer On 2018-08-13 22:21, Edward Warnicke wrote: > This feels like SE Linux may be involved... > > Ed > > On August 13, 2018 at 12:17:09 PM, omer.maj...@sofioni.com > (omer

Re: [vpp-dev] :: vppctl fails to start (Centos 7.5.1804)

2018-08-13 Thread Edward Warnicke
This feels like SE Linux may be involved… Ed On August 13, 2018 at 12:17:09 PM, omer.maj...@sofioni.com ( omer.maj...@sofioni.com) wrote: Hi, I've built VPP on centos 7.5.1804, took the RPM packages to another machine to deploy VPP there. After installing RPM packages there when I run $vppctl

[vpp-dev] :: vppctl fails to start (Centos 7.5.1804)

2018-08-13 Thread omer . majeed
Hi, I've built VPP on centos 7.5.1804, took the RPM packages to another machine to deploy VPP there. After installing RPM packages there when I run $vppctl it gives me following error. CLIB_SOCKET_INIT: CONNECT (FD 3, '/RUN/VPP/CLI.SOCK'): NO SUCH FILE OR DIRECTORY I thought there might be

Re: [vpp-dev] tls init server is too heavy

2018-08-13 Thread Florin Coras
Hi Ping, Much appreciated! Please check the comments. There are a few things that still need to be ironed out, but once those are handled, it should be good to be merged. Cheers, Florin > On Aug 12, 2018, at 10:01 PM, Yu, Ping wrote: > > Hi, Florin, > > Based on this discuss, I have su

[vpp-dev] timing_wheel or tw_timer

2018-08-13 Thread Andreas Schultz
Hi, I need to implement per session timers with about 500ms granularity. Maximum timer range can be up to 24 hours. Should I use the timing_wheel (like BFD does) or one of the tw_timer's? And what is main difference between the timing_wheel and the tw_timer anyway? Thanks Andreas -- -- Dipl.-

Re: [vpp-dev] vnet tcp.h include error

2018-08-13 Thread ko
Hi Florin, On 08/13/2018 04:55 PM, Florin Coras wrote: Hi Korian, Does this [1] solve your problem? yes it does thanks k Florin [1] https://gerrit.fd.io/r/#/c/14178/ On Aug 13, 2018, at 7:36 AM, ko > wrote: Hello Dave, I get the same error with 18.07

Re: [vpp-dev] vnet tcp.h include error

2018-08-13 Thread Florin Coras
Hi Korian, Does this [1] solve your problem? Florin [1] https://gerrit.fd.io/r/#/c/14178/ > On Aug 13, 2018, at 7:36 AM, ko wrote: > > Hello Dave, > > I get the same error with 18.07 (from > https://nexus.fd.io/content/repositories/fd.io.stable.1807.ubun

Re: [vpp-dev] vnet tcp.h include error

2018-08-13 Thread ko
Hello Dave, I get the same error with 18.07 (from https://nexus.fd.io/content/repositories/fd.io.stable.1807.ubuntu.xenial.main) k On 08/13/2018 04:25 PM, Dave Barach (dbarach) wrote: Although I could explain how to fix that specific problem, please do not to use 17.10. We don't support 17

Re: [vpp-dev] vnet tcp.h include error

2018-08-13 Thread Dave Barach via Lists.Fd.Io
Although I could explain how to fix that specific problem, please do not to use 17.10. We don't support 17.10 anymore. The tcp stack worked better in 18.04, and much better than that in 18.07. I'd strongly suggest that you switch to 18.07... HTH... Dave -Original Message- From: vpp-d

[vpp-dev] vnet tcp.h include error

2018-08-13 Thread ko
Hello, I'm trying to include vnet/tcp/tcp.h to my plugin to be able to use format_tcp_flags. I'm getting the following error: /usr/include/vnet/tcp/tcp.h:349:34: fatal error: vnet/tcp/tcp_error.def: No such file or directory tcp_error.def is indeed not distributed with vpp-dev 17.10, but in

Re: [vpp-dev] syslog in snat

2018-08-13 Thread Matt Paska
Hi Matus, I see NAT syslog mentioned in the VPP 18.07 release notes ( https://docs.fd.io/vpp/18.07/release_notes_1807.html) but I'm unable to find documentation on how to implement, any tips? Or are there examples somewhere? Thanks! On Wed, May 30, 2018 at 9:59 PM, Matus Fabian -X (matfabia - PA

Re: [vpp-dev] memif questions/comments

2018-08-13 Thread Jeff
Thanks for the help Jakub. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10117): https://lists.fd.io/g/vpp-dev/message/10117 Mute This Topic: https://lists.fd.io/mt/24499586/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd

Re: [vpp-dev] memif questions/comments

2018-08-13 Thread Jeff
Thanks for the help Damjan.  Follow-ups: 1) From libmemif.  Around lines 1420 and 1445 in libmemif/src/main.c. 3b) Don't know yet if I'd like more, just wanted to check possibilities.  Is the use of u16 in key places tied to the design or an implementation detail? 7) Typo, should be memif_buffe

Re: [vpp-dev] memif questions/comments

2018-08-13 Thread via Lists.Fd.Io
Hi, 1 and 2: seems like bugs... I'll take a look at it. 4: libmemif can act as master. However at the moment it wont work with VPP zero-copy-slave, as multiple regions are not supported. It's already implemented and will be patched soon. 5: not supported. 6a: this is expected. When headroom is

[vpp-dev] NAT64 TCP Session never expire

2018-08-13 Thread xuliang
Hi Dear VPP, I did some testing on the Stateful NAT64 feature last week and found that the tcp session never times out. I checked the source code and found : a. because nat64_tcp_session_set_state has not been called, nat64_db_st_entry_t.tcp_state == 0 (CLOSED) b. calling nat64_se

[vpp-dev] interface traffic rate

2018-08-13 Thread Gulakh
Hi, Is there any way in VPP to get statistics about the traffic rate passing through an interface?? Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10113): https://lists.fd.io/g/vpp-dev/message/10113 Mute This Topic: https://lists.fd.io/mt/2

Re: [vpp-dev] memif questions/comments

2018-08-13 Thread Damjan Marion via Lists.Fd.Io
> On 13 Aug 2018, at 04:43, Jeff wrote: > > Hello VPP folks, Hello, > > I have several questions/comments on memif and libmemif. > > 1) I believe "mq[x].last_tail = 0" is missing from > memif_init_regions_and_queues(). Aer you referring to vpp or libmemif? We have same function name at bot