hicn.git
4 years ago[HICN-643] Fix check for release version. 88/29188/1
Mauro Sardara [Sat, 3 Oct 2020 16:08:54 +0000 (18:08 +0200)]
[HICN-643] Fix check for release version.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4344315b771d35943cc78d3d358c2aebc0f72662
(cherry picked from commit 35cd93b3e940d74bd4eb01e0a8034cb8590d90fb)

4 years ago[HICN-643] Fix scripts for publishing release. 23/29223/2 v20.09-rc0
Mauro Sardara [Sat, 3 Oct 2020 13:10:58 +0000 (15:10 +0200)]
[HICN-643] Fix scripts for publishing release.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I843e1111a6b3442bada9e4b29c74359a75b4b728
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-643] Fix scripts for publishing release. 16/29216/1
Mauro Sardara [Fri, 2 Oct 2020 12:18:28 +0000 (14:18 +0200)]
[HICN-643] Fix scripts for publishing release.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: If01c46dcf8981385e544c9cc6c31ce1efe3c2d96

4 years ago[HICN-640] Put all interfaces in VRF 10, not only MPLS interfaces. 95/28995/1
Mauro Sardara [Tue, 22 Sep 2020 14:37:34 +0000 (14:37 +0000)]
[HICN-640] Put all interfaces in VRF 10, not only MPLS interfaces.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I2c7ff24ee4d31e4f5659ef88f8a6c4a9d9c630b1

4 years agoRevert to [HICN-638] Check if systemd is running before enabling hicn-light service 52/28952/1
Mauro Sardara [Fri, 18 Sep 2020 15:39:03 +0000 (17:39 +0200)]
Revert to [HICN-638] Check if systemd is running before enabling hicn-light service

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I1810d96e001a4e6e097e1efa331b682af750925d

4 years agoRevert "[HICN-574] Fix compilation issue." 24/28924/1
Mauro Sardara [Fri, 18 Sep 2020 15:30:19 +0000 (15:30 +0000)]
Revert "[HICN-574] Fix compilation issue."

This reverts commit 5cf2d8077c19387a2d257f0f7804209c7dd7cbb7.

Reason for revert: Merged into wrong branch

Change-Id: I41b9d9fccc29b388ffd2f5408dbe8ecb708443f8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-574] Fix compilation issue. 47/28947/1
Mauro Sardara [Fri, 18 Sep 2020 14:35:36 +0000 (14:35 +0000)]
[HICN-574] Fix compilation issue.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I5fa166fe9de506e3a600d88f3db442f07e7fe688
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-574] Host stack plugin for VPP. 19/26119/35
Mauro Sardara [Tue, 24 Mar 2020 17:34:14 +0000 (17:34 +0000)]
[HICN-574] Host stack plugin for VPP.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I8d8fdffef31a7013265d6529c5f52f3d5ec70d18
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Mauro <you@example.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-635] Expose protocol API in libtransport. 76/28676/4
Mauro Sardara [Fri, 4 Sep 2020 08:21:02 +0000 (08:21 +0000)]
[HICN-635] Expose protocol API in libtransport.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I626acb5f79a85b167d50da5c07fa597a9ff4d239

4 years ago[HICN-598] [HICN-599] Fix hicn_name_t definition conflicts. 00/26600/12
Mauro Sardara [Mon, 20 Apr 2020 10:55:28 +0000 (12:55 +0200)]
[HICN-598] [HICN-599] Fix hicn_name_t definition conflicts.

Change-Id: Ica8db44e27c3a4911ea869e91f96b781809373d8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-638] Check if systemd is running before enabling hicn-light service. 83/28783/1
Mauro Sardara [Fri, 11 Sep 2020 09:50:43 +0000 (11:50 +0200)]
[HICN-638] Check if systemd is running before enabling hicn-light service.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3864fdab16b20f1cd03d421a356d8bb9227bdf6f

4 years ago[HICN-637] Remove hicn_plugin dependency from libtransport. 09/28709/2
Mauro Sardara [Tue, 8 Sep 2020 12:27:37 +0000 (14:27 +0200)]
[HICN-637] Remove hicn_plugin dependency from libtransport.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Iabfe133ffc2235fa2341538767ce83c2e5ad77b1
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-633] compute the correct data packet size in hiperf 68/27968/1
michele papalini [Fri, 17 Jul 2020 16:24:44 +0000 (18:24 +0200)]
[HICN-633] compute the correct data packet size in hiperf

Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: If3492136cfc41da94d4d80538694eae4428c6f8c

4 years ago[HICN-632] Do not send packets larger more than 1400 bytes over RTC socket 42/27942/3
Mauro Sardara [Thu, 16 Jul 2020 09:45:00 +0000 (11:45 +0200)]
[HICN-632] Do not send packets larger more than 1400 bytes over RTC socket

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ib0a3fbdd35d451c1892b66b22f1599141b92e213
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-630] Modify hicn-proxy file names to respect codestyle for filenames 41/27641/1
Mauro Sardara [Mon, 22 Jun 2020 14:26:58 +0000 (16:26 +0200)]
[HICN-630] Modify hicn-proxy file names to respect codestyle for filenames

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I49d62aee60f107a4e9722ac3b671d06bdee2b349

4 years ago[HICN-629] Add multithreading feature to hicn-http-proxy with SO_REUSEPORT socket... 39/27539/1
Mauro Sardara [Mon, 15 Jun 2020 15:35:46 +0000 (17:35 +0200)]
[HICN-629] Add multithreading feature to hicn-http-proxy with SO_REUSEPORT socket option.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I8930178ba09ca23bd593f2a4008cf0d75f502684

4 years ago[HIC-628] Update hicn-http-proxy usage output. 33/27533/1
Mauro Sardara [Mon, 15 Jun 2020 10:50:44 +0000 (12:50 +0200)]
[HIC-628] Update hicn-http-proxy usage output.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4981f866aae09952f9799bc0e85543dacdda1e6b

4 years agoMerge "[HICN-626] Return output from libhicnlight"
Angelo Mantellini [Mon, 15 Jun 2020 10:02:57 +0000 (10:02 +0000)]
Merge "[HICN-626] Return output from libhicnlight"

4 years ago[HICN-626] Return output from libhicnlight 71/27471/17
Angelo Mantellini [Tue, 9 Jun 2020 12:48:02 +0000 (14:48 +0200)]
[HICN-626] Return output from libhicnlight

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I2351ce4dcefa1311fa09049f87e8317c8fe449f4

4 years ago[HICN-627] CMake fix: consider local header files first and system ones after. 80/27480/3
Mauro Sardara [Wed, 10 Jun 2020 08:44:43 +0000 (10:44 +0200)]
[HICN-627] CMake fix: consider local header files first and system ones after.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I361c8e4f995dad976cc717c5027bcacdb2ba65f5
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years agoMerge "[HICN-624] http proxy proxy does not stop"
Angelo Mantellini [Tue, 9 Jun 2020 12:50:19 +0000 (12:50 +0000)]
Merge "[HICN-624] http proxy proxy does not stop"

4 years ago[HICN-623] Initialize is_async in ConsumerSocket constructor. 68/27468/3
Mauro Sardara [Mon, 8 Jun 2020 22:03:15 +0000 (00:03 +0200)]
[HICN-623] Initialize is_async in ConsumerSocket constructor.

Also force transports to use base method TransportProtocol::start() instead
of redefining their own start(), in order to have the callbacks and the
boolean is_async_ initialized upon protocol start.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I780b26cca5b8dc59f0def5c08a032bbc90371acd
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-625] Http Proxy: listen only on local connections 47/27447/1
Mauro Sardara [Fri, 5 Jun 2020 09:38:43 +0000 (11:38 +0200)]
[HICN-625] Http Proxy: listen only on local connections

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ida53353285633787ce96ad8d37507f15e99280b3

4 years ago[HICN-624] http proxy proxy does not stop 21/27421/1
Angelo Mantellini [Thu, 4 Jun 2020 11:15:16 +0000 (13:15 +0200)]
[HICN-624] http proxy proxy does not stop

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I810a983190ca273acc4be9bc2c1895b53b9c524d

4 years ago[HICN-623] Initialize all the callbacks before starting a new RTC session. 15/27415/1
Mauro Sardara [Wed, 3 Jun 2020 21:51:52 +0000 (23:51 +0200)]
[HICN-623] Initialize all the callbacks before starting a new RTC session.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ic4b08e7eb0f01c9e5710d4da1ca68c6120dcd57e

4 years agoMerge "[HICN-622] Add stop() functionality to http proxy."
Angelo Mantellini [Wed, 3 Jun 2020 14:47:16 +0000 (14:47 +0000)]
Merge "[HICN-622] Add stop() functionality to http proxy."

4 years agoMerge "[HICN-610] Override hicn prefix used by http-proxy with one received from...
Angelo Mantellini [Wed, 3 Jun 2020 14:47:06 +0000 (14:47 +0000)]
Merge "[HICN-610] Override hicn prefix used by http-proxy with one received from configuration."

4 years ago[HICN-622] Add stop() functionality to http proxy. 97/27397/6
Mauro Sardara [Tue, 2 Jun 2020 16:52:39 +0000 (18:52 +0200)]
[HICN-622] Add stop() functionality to http proxy.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I9091cd8ef0f9da869b886541a0116adf3f30e6b9
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
4 years ago[HICN-621] Upgrade libmemif to version 20.05 90/27390/1
Mauro Sardara [Tue, 2 Jun 2020 12:00:22 +0000 (14:00 +0200)]
[HICN-621] Upgrade libmemif to version 20.05

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I13728f2244d7e27498db5fd2e4c19e35a90e751f

4 years ago[HICN-610] Override hicn prefix used by http-proxy with one received 83/27383/2
Mauro Sardara [Tue, 2 Jun 2020 08:46:21 +0000 (10:46 +0200)]
[HICN-610] Override hicn prefix used by http-proxy with one received
from configuration.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ib7ec9032cf58ee1aff120ae676ce597b9428bbea
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-619] Compilation Error on Android 54/27354/2
Angelo Mantellini [Sun, 31 May 2020 09:58:28 +0000 (11:58 +0200)]
[HICN-619] Compilation Error on Android

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I96b6f50845d14a310a60287ca2680e94a55fc3d7

4 years ago[HICH-618] HTTP proxy automatic configuration. 92/27292/14
Mauro Sardara [Wed, 27 May 2020 17:16:27 +0000 (19:16 +0200)]
[HICH-618] HTTP proxy automatic configuration.

Change-Id: I6a76b31b743f155a2d9f7b88e84b838265aab6c8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-617] Prepare hicn-plugin for VPP 20.05 release. 62/27262/3
Mauro Sardara [Tue, 26 May 2020 08:19:47 +0000 (08:19 +0000)]
[HICN-617] Prepare hicn-plugin for VPP 20.05 release.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I701379bf0f088cad4a94209664de16e7bfe76f5e
Signed-off-by: Mauro Sardara <msardara@cisco.com>
4 years ago[HICN-616] Fix compilation issue with asio 1.16. 36/27236/1 v20.05-rc0
Mauro Sardara [Mon, 25 May 2020 18:49:51 +0000 (20:49 +0200)]
[HICN-616] Fix compilation issue with asio 1.16.

Change-Id: Id9af4820dae5ccbb9a5f41d604ede10958f30b69
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-614] Add client HTTP proxy (TCP->hICN) 90/27090/10
Mauro Sardara [Thu, 14 May 2020 18:27:11 +0000 (20:27 +0200)]
[HICN-614] Add client HTTP proxy (TCP->hICN)

Change-Id: Ieaa875edff98404676083bab91233b98ce50c8d0
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-613] Add io_service to ConsumerSocket constructor. 89/27089/4
Mauro Sardara [Thu, 14 May 2020 18:21:02 +0000 (20:21 +0200)]
[HICN-613] Add io_service to ConsumerSocket constructor.

Change-Id: Ic1952388e1d2b1e7457c71ae8a959d97aa0cd2d6
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-611] Remove unused fields on libhicnlibrary 82/27082/3
Angelo Mantellini [Thu, 14 May 2020 11:09:36 +0000 (13:09 +0200)]
[HICN-611] Remove unused fields on libhicnlibrary

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ia3a929c4734b660a8feb03d1656d2ff3e35de991
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
5 years agoMerge "[HICN-595] Bring TLS up to date"
Luca Muscariello [Wed, 13 May 2020 21:27:38 +0000 (21:27 +0000)]
Merge "[HICN-595] Bring TLS up to date"

5 years agoMerge "[HICN-606] Added doxygen documentation"
Luca Muscariello [Wed, 13 May 2020 21:25:17 +0000 (21:25 +0000)]
Merge "[HICN-606] Added doxygen documentation"

5 years ago[HICN-606] Added doxygen documentation 77/26877/6
Alberto Compagno [Tue, 5 May 2020 10:12:21 +0000 (12:12 +0200)]
[HICN-606] Added doxygen documentation

Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: If2bf7f4f310adf6adbbb9ea29eafcb2a0ee40d54

5 years ago[HICN-608] Added configuratin option to manage hicn behaviour with interfaces 88/26888/2
Alberto Compagno [Tue, 5 May 2020 16:26:18 +0000 (18:26 +0200)]
[HICN-608] Added configuratin option to manage hicn behaviour with interfaces

Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I8d48237b5dce737be443ec8949ac11721158d830

5 years ago[HICN-603] Cleanup code for managing route 63/26663/21
Alberto Compagno [Thu, 23 Apr 2020 12:23:36 +0000 (14:23 +0200)]
[HICN-603] Cleanup code for managing route

- Remove old code to add and remove hicn route. Routes are now
  added only through the ip route commands/apis
- Adjusted the cli to set the strategy for a particular prefix
- Adjusted libtransport consumer and producer app creation
- Adjusted sysrepo plugin. Added hicn enable and disable and removed old
  api related to hicn routes and hicn faces
- Adjusted libhicnctrl. Only routes api and listener are now available
  for hicn-plugin

Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: Ib4f7f45ba0b99253d60a9da2b295d6e783e5cd51

5 years ago[HICN-602] Added bidirectional udp tunnels 45/26645/15
Alberto Compagno [Wed, 22 Apr 2020 16:29:52 +0000 (18:29 +0200)]
[HICN-602] Added bidirectional udp tunnels

- Implemented a udp decapsulation node
- Added a hash table to identify the incoming udp tunnel when
  an interest or data packets are received
- Added udp punting through udp_register_dst_port

Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: Iffea4d81c5ea8ce8ccbbfd749113f06a698a2afe

5 years ago[HICN-592] Updating the vrf 0 (default fib) when a mapme event occurs 07/26607/10
Alberto Compagno [Fri, 17 Apr 2020 16:51:54 +0000 (18:51 +0200)]
[HICN-592] Updating the vrf 0 (default fib) when a mapme event occurs

Updates on the vrf 0 will be reflected on the hicn vrf thanks to the
fib entry tracking.

Change-Id: I4afd6256593f27172c4b0a613316fb8428fa8e50
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-591] Created new command "hicn enable <prefix>" that enable hicn on a given... 27/26427/26
Alberto Compagno [Tue, 7 Apr 2020 16:27:24 +0000 (18:27 +0200)]
[HICN-591] Created new command "hicn enable <prefix>" that enable hicn on a given prefix

The changes include:
 - we use now a different vrf for the hicn routes. The default vrf (fib) contains
   every route, we sync the route we marked as hicn on the hicn vrf. In the vrf
   we use a custom dpo to implement the forwarding strategy.

Change-Id: I399805eff8a62a5c41bf7b50831986a35bce4f76
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-590] Removed andjacency type specific face implementation 03/26403/20
Alberto Compagno [Tue, 7 Apr 2020 09:43:39 +0000 (11:43 +0200)]
[HICN-590] Removed andjacency type specific face implementation

Changes in the new implementation are:
 - the adjacency index is replaced with a dpo that allows the single face node
   to dispatch the packet to the right vlib node.
 - local and remote address in the face are replaced with a single nat address
   which is used to perform the nat operation when rewriting an interest or a
   data (in case of tunnels the nat address will be equal to 0)
 - the list of next hop in the load balance is no longer a list of dpos but
   a list of face id (this makes the code easier and increases the number of
   next hop we supports)

Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I4ac2b4eb09425bfe1b3ca9f82d7d0ff564297b0d

5 years ago[HICN-604] using host order port value to punt udp packet 16/26716/1
Alberto Compagno [Mon, 27 Apr 2020 10:52:23 +0000 (12:52 +0200)]
[HICN-604] using host order port value to punt udp packet

Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I9c135c76b881fecafe673517501d9539d2e30b2d

5 years ago[HICN-604] Added missing punting for udp faces 15/26715/1
Alberto Compagno [Mon, 27 Apr 2020 09:36:22 +0000 (11:36 +0200)]
[HICN-604] Added missing punting for udp faces

Every time a udp face is created, a punting on the source port of the face is added
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I2b6205cdeb0ef8f527e2ce9a2046c345275b3bca

5 years ago[HICN-600] correct hicn apps on windows 64/26664/2
Angelo Mantellini [Thu, 23 Apr 2020 13:08:44 +0000 (15:08 +0200)]
[HICN-600] correct hicn apps on windows

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I78656e5b3821024913b01b095e4368f53d02a5d1

5 years ago[HICN-601] Redefine TCP flags with HICN_ prefix 30/26630/1
Mauro Sardara [Wed, 22 Apr 2020 08:44:01 +0000 (10:44 +0200)]
[HICN-601] Redefine TCP flags with HICN_ prefix

Change-Id: I9263a65f3f151d55cdefcd14d39df4a70df9a83c
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years agoMerge "[HICN-596] Exporting hicn.api_types.h and hicn.api_enum.h"
Alberto Compagno [Mon, 20 Apr 2020 13:37:23 +0000 (13:37 +0000)]
Merge "[HICN-596] Exporting hicn.api_types.h and hicn.api_enum.h"

5 years ago[HICN-597] Add API to mark packet as interest/data. 65/26565/2
Mauro Sardara [Fri, 17 Apr 2020 11:41:08 +0000 (13:41 +0200)]
[HICN-597] Add API to mark packet as interest/data.

Change-Id: I1106211d3cac63d0817d4908bd03d6a0ccd2b8e0
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-596] Exporting hicn.api_types.h and hicn.api_enum.h 47/26547/1
Alberto Compagno [Thu, 16 Apr 2020 15:09:00 +0000 (17:09 +0200)]
[HICN-596] Exporting hicn.api_types.h and hicn.api_enum.h

Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: Iab0c363789215b5a5792bda8e228a1557c3b3a39

5 years ago[HICN-595] Bring TLS up to date 42/26442/11
Olivier Roques [Wed, 8 Apr 2020 13:29:55 +0000 (15:29 +0200)]
[HICN-595] Bring TLS up to date

HICN-2 would enable TLS only if OpenSSL 1.1.1 was present.
However the mechanism to do so was broken and hiperf always
ended up using normal consumer and producer sockets.

This patch fixes that by updating the build files. It also fixes
various bugs in the TLS implementation that went unnoticed and
cleans up the code.

Change-Id: Ifda75a9929e14460af43fe79d737d0c926bb671e
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-593] Fix higet crash when no uri is specified in command line 00/26400/1
Mauro Sardara [Tue, 7 Apr 2020 08:35:00 +0000 (10:35 +0200)]
[HICN-593] Fix higet crash when no uri is specified in command line

Change-Id: Iccf6740deaf853eed766dfae92489d2b0f7acd58
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years agoRegenerate the hicn packages 94/26394/1
Angelo Mantellini [Tue, 7 Apr 2020 00:15:26 +0000 (02:15 +0200)]
Regenerate the hicn packages

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ia6ef4905e1b1d45539aa3ebc5d6260fd48040792

5 years ago[HICN-587] Fix RAAQM default config path 85/26285/1
Olivier Roques [Wed, 1 Apr 2020 16:23:32 +0000 (18:23 +0200)]
[HICN-587] Fix RAAQM default config path

Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Change-Id: I5c371941fcd550c676823f3f994f4a18160d632a

5 years ago[HICN-581] update hicn stack to support windows, again 67/26267/1
Angelo Mantellini [Tue, 31 Mar 2020 15:50:43 +0000 (17:50 +0200)]
[HICN-581] update hicn stack to support windows, again

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I74f7c08ddd4494ce9ca6df7519785fe12cd1010f

5 years agoMerge "[HICN-581] update hicn stack to support windows, again"
Angelo Mantellini [Tue, 31 Mar 2020 11:10:00 +0000 (11:10 +0000)]
Merge "[HICN-581] update hicn stack to support windows, again"

5 years ago[HICN-581] update hicn stack to support windows, again 66/26166/15
Angelo Mantellini [Thu, 26 Mar 2020 11:02:23 +0000 (12:02 +0100)]
[HICN-581] update hicn stack to support windows, again

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ic5cfeae600fde8140a076807fa1e411da1933a02

5 years ago[HICN-583] Remove obsolete code from hiperf 19/26219/1
Olivier Roques [Fri, 27 Mar 2020 17:23:59 +0000 (18:23 +0100)]
[HICN-583] Remove obsolete code from hiperf

Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Change-Id: If8bea63ccb026be54293512d371d3a269e11385e

5 years ago[HICN-458] Setting data packet size socket option when the payload size is passed 98/23998/3
Alberto Compagno [Fri, 13 Dec 2019 20:51:05 +0000 (20:51 +0000)]
[HICN-458] Setting data packet size socket option when the payload size is passed

Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: Ie0ee26a1e8bff3279cc88c4e7c09b0fdb23924c1

5 years ago[HICN-580] Improve memory usage in signer and verifier 99/26099/1
Olivier Roques [Fri, 20 Mar 2020 11:12:28 +0000 (12:12 +0100)]
[HICN-580] Improve memory usage in signer and verifier

This patch reduces the amount of memory used by the signer and
verifier classes.

It also removes some logs from VPP collectd plugins.

Change-Id: I3dac7b9104b5586ac22dee60f506bee51ece2cbe
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
5 years agoMerge "[HICN-572] Updated sysrepo documentation"
Luca Muscariello [Mon, 23 Mar 2020 06:45:26 +0000 (06:45 +0000)]
Merge "[HICN-572] Updated sysrepo documentation"

5 years agoMerge "[HICN-551] Removed source code that uses acl"
Luca Muscariello [Mon, 23 Mar 2020 06:44:55 +0000 (06:44 +0000)]
Merge "[HICN-551] Removed source code that uses acl"

5 years agoMerge "[HICN-549] Refactored pg to use punting through fib"
Luca Muscariello [Mon, 23 Mar 2020 06:44:40 +0000 (06:44 +0000)]
Merge "[HICN-549] Refactored pg to use punting through fib"

5 years agoMerge "[HICN-548] Added node to perform a lookup in the fib with the src address...
Luca Muscariello [Mon, 23 Mar 2020 06:44:13 +0000 (06:44 +0000)]
Merge "[HICN-548] Added node to perform a lookup in the fib with the src address to punt data packets"

5 years agoMerge "[HICN-547] Removing punting through acl for interests"
Luca Muscariello [Mon, 23 Mar 2020 06:43:34 +0000 (06:43 +0000)]
Merge "[HICN-547] Removing punting through acl for interests"

5 years ago[HICN-551] Removed source code that uses acl 42/25942/12
Alberto Compagno [Tue, 17 Mar 2020 10:21:40 +0000 (11:21 +0100)]
[HICN-551] Removed source code that uses acl

- Removed punting from the sysrepo-plugin
- Removed calls to the punting functions of binary api in the libhicnctrl
- Added documentation in vpp-plugin.md and doxygen related to pg

Change-Id: I8936156d51524797441ec49f0d5e801a1ad3643a
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-549] Refactored pg to use punting through fib 20/25920/10
Alberto Compagno [Mon, 16 Mar 2020 14:26:41 +0000 (15:26 +0100)]
[HICN-549] Refactored pg to use punting through fib

- interest packet generator uses the fib to forward interests. The entry in the fib matching the interest name can be a regular IP fib entry or an hICN fib entry. It is up to who configure the forwarder to chose how the forwarding should be done
- the hicnpg-data is used to keep track of the number of data received in order to have statistics corresponding to the number of interests sent and data received (interest satisfied). This node punt packet registers himself as a node for satisfying local tcp packets (ip4_register_protocol or ip6_register_protocol), therefore tcp packets carrying a local address will be forwarded to it.
- The hicnpg-server node satisfies interest packets by creating the correspoding data packet. It punts packet by using a feature on the interface that is passed in the configuration. Every packet that arrives on such interface is threated as an hICN interest.

Change-Id: I75ffec4ce0a5afeaf321bcc48dd13fd307dd2925
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-573] Fixed match of data packet in the producer app face 49/26049/1
acompagn [Fri, 20 Mar 2020 13:21:22 +0000 (14:21 +0100)]
[HICN-573] Fixed match of data packet in the producer app face

- Now the match honor the prefix length specified in the producer app face

Signed-off-by: acompagn <acompagn@cisco.com>
Change-Id: Icdd80b02603bb79ceeb0ab14e2da51328c0f9b74

5 years ago[HICN-572] Updated sysrepo documentation 35/26035/1
Alberto Compagno [Fri, 20 Mar 2020 10:13:06 +0000 (11:13 +0100)]
[HICN-572] Updated sysrepo documentation

- Removed reference to the old sysrepod
- Added information for the authentication to netopee2-server

Change-Id: I435458bebb8f95eb8e63a45fa7fa8a3e060a08e4
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-548] Added node to perform a lookup in the fib with the src address to punt... 27/25827/6
Alberto Compagno [Thu, 12 Mar 2020 13:51:56 +0000 (14:51 +0100)]
[HICN-548] Added node to perform a lookup in the fib with the src address to punt data packets

Change-Id: Ia1d3a5d5b1df8bf17b289954289d449715803cfa
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-547] Removing punting through acl for interests 33/25733/12
Alberto Compagno [Mon, 9 Mar 2020 10:39:59 +0000 (11:39 +0100)]
[HICN-547] Removing punting through acl for interests

Change-Id: I71767f732ec6ede1efc66e5a99f09c3207367dcb
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-562] Add new options to VPP collectd plugins 80/25980/1
Olivier Roques [Tue, 17 Mar 2020 17:08:58 +0000 (18:08 +0100)]
[HICN-562] Add new options to VPP collectd plugins

Add two options to the vpp and vpp-hicn plugins:
* Verbose, to enable additional statistics
* Tag, to tag the data with a given string

Change-Id: Ifee6c979654f87a13787095dddab0076b218e334
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
5 years agoMerge "[HICN-553] Fixed path to root cmake folder that contains the macros definitions"
Mauro Sardara [Wed, 18 Mar 2020 09:45:48 +0000 (09:45 +0000)]
Merge "[HICN-553] Fixed path to root cmake folder that contains the macros definitions"

5 years ago[HICN-553] Fixed path to root cmake folder that contains the macros definitions 78/25978/1
Alberto Compagno [Wed, 18 Mar 2020 09:02:40 +0000 (10:02 +0100)]
[HICN-553] Fixed path to root cmake folder that contains the macros definitions

Change-Id: Ie8c1004ce7d08e686a3e4a28eee4108830ac94cc
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
5 years ago[HICN-552] don't use hicn socket on apple OS 67/25967/2
Angelo Mantellini [Tue, 17 Mar 2020 19:23:22 +0000 (20:23 +0100)]
[HICN-552] don't use hicn socket on apple OS

Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ib555fb14d3240c85f5aa4eef065faad8f2ff9795

5 years agoMerge "[HICN-546] Fix memory leak on producer side"
Alberto Compagno [Wed, 11 Mar 2020 13:42:39 +0000 (13:42 +0000)]
Merge "[HICN-546] Fix memory leak on producer side"

5 years ago[HICN-546] Fix memory leak on producer side 94/25794/1
Olivier Roques [Wed, 11 Mar 2020 13:20:22 +0000 (14:20 +0100)]
[HICN-546] Fix memory leak on producer side

Fix a memory leak caused during the signing of packets on the producer side
by releasing the signature when signing is done.

Change-Id: I352885913e3a16d03fcc77116238928edb090e01
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
5 years ago[HICN-545] Do not schedule callbacks during segmentation in a per packet basis. 92/25792/3
Mauro Sardara [Wed, 11 Mar 2020 13:01:41 +0000 (14:01 +0100)]
[HICN-545] Do not schedule callbacks during segmentation in a per packet basis.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I1531a1fe1d1fa51bb45edab20ee449faa34847c3

5 years ago[HICN-544] Do not block reading incoming messages in memif connector. 70/25770/3
Mauro Sardara [Tue, 10 Mar 2020 14:50:18 +0000 (15:50 +0100)]
[HICN-544] Do not block reading incoming messages in memif connector.

Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I844dfa64a977c9c41bfc103bb110c274802b1839
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years agoMerge "[HICN-540] Optimizations for libhicntransport"
Alberto Compagno [Mon, 9 Mar 2020 13:25:28 +0000 (13:25 +0000)]
Merge "[HICN-540] Optimizations for libhicntransport"

5 years ago[HICN-540] Optimizations for libhicntransport 55/25655/5
Mauro Sardara [Wed, 4 Mar 2020 15:21:54 +0000 (16:21 +0100)]
[HICN-540] Optimizations for libhicntransport

Change-Id: I8b46b4eb2ef5488c09041887cc8296a216440f33
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-541] Add custom type database of collectd plugins 94/25694/1
Olivier Roques [Thu, 5 Mar 2020 18:10:21 +0000 (19:10 +0100)]
[HICN-541] Add custom type database of collectd plugins

This patch adds the database containing the types that the two collectd
plugins, vpp and vpp-hicn, defines. It is useful when using InfluxDB
as it requires the type database for multi-value metrics
(see https://docs.influxdata.com/influxdb/v1.7/supported_protocols/collectd/).

Change-Id: Ia3e630b134e58e942be38cacb9b23379066c6e63
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
5 years ago[HICN-541] Change installation directory of collectd plugins 59/25659/2
Olivier Roques [Wed, 4 Mar 2020 17:54:21 +0000 (18:54 +0100)]
[HICN-541] Change installation directory of collectd plugins

Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Change-Id: Ic298e57c11a0b86976d52096a2f691dd511adc3f

5 years agoMerge "[HICN-537] Update telemetry documentation"
Luca Muscariello [Mon, 2 Mar 2020 19:57:39 +0000 (19:57 +0000)]
Merge "[HICN-537] Update telemetry documentation"

5 years ago[HICN-537] Update telemetry documentation 09/25509/2
Olivier Roques [Thu, 27 Feb 2020 15:57:29 +0000 (16:57 +0100)]
[HICN-537] Update telemetry documentation

Change-Id: I3f6c656164b27481e029eb72a63030bb592a6f1b
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
5 years agoMerge "[HICN-539] Expose portal APIs to applications"
Angelo Mantellini [Thu, 27 Feb 2020 16:06:50 +0000 (16:06 +0000)]
Merge "[HICN-539] Expose portal APIs to applications"

5 years ago[HICN-539] Expose portal APIs to applications 16/25516/3
Mauro Sardara [Thu, 27 Feb 2020 15:47:49 +0000 (16:47 +0100)]
[HICN-539] Expose portal APIs to applications

Change-Id: Icbaad69981193119714f5689faf3518d2e152e11
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years agoMerge "[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhere"
Angelo Mantellini [Thu, 27 Feb 2020 14:33:01 +0000 (14:33 +0000)]
Merge "[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhere"

5 years ago[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhere 10/25510/1
Mauro Sardara [Thu, 27 Feb 2020 14:22:51 +0000 (15:22 +0100)]
[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhere

Change-Id: Iddbc427611c888b28059170a70c0925ebb299cb5
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-536] Define asio standalone in libtransport includes 07/25507/1
Mauro Sardara [Thu, 27 Feb 2020 13:44:34 +0000 (14:44 +0100)]
[HICN-536] Define asio standalone in libtransport includes

Change-Id: Iac9f80a15877b4e9e5d450fcee3ed41b70dde97b
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-536] Define asio standalone in libtransport includes 00/25500/1
Mauro Sardara [Thu, 27 Feb 2020 13:02:34 +0000 (14:02 +0100)]
[HICN-536] Define asio standalone in libtransport includes

Change-Id: I27905885cad1bba8e657e47ed77202a574862b5b
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years agoMerge "[HICN-534] Major rework on libtransport organization"
Michele Papalini [Wed, 26 Feb 2020 16:59:39 +0000 (16:59 +0000)]
Merge "[HICN-534] Major rework on libtransport organization"

5 years ago[HICN-534] Major rework on libtransport organization 28/25428/6
Mauro Sardara [Fri, 21 Feb 2020 10:52:28 +0000 (11:52 +0100)]
[HICN-534] Major rework on libtransport organization

Change-Id: I361b83a18b4fd59be136d5f0817fc28e17e89884
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years ago[HICN-533] Update and format documentation 26/25426/4
Olivier Roques [Tue, 25 Feb 2020 17:00:42 +0000 (18:00 +0100)]
[HICN-533] Update and format documentation

This patch fixes misspells, improves readability and tries to make the different
source files consistent between each other.

It also updates hiperf usage and hicn + VPP installation (in utils.md) and fixes
some mistakes related to collectd plugins (in telemetry.md).

Change-Id: I100a1c7e40dbe9c485ae4548ffc653765f4421b9
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
5 years ago[HICN-532] Add docs target in build-package script 60/25360/4
Mauro Sardara [Fri, 21 Feb 2020 16:38:55 +0000 (17:38 +0100)]
[HICN-532] Add docs target in build-package script

Change-Id: I143509be32a3897880e02f55856a4ca1b2522269
Signed-off-by: Mauro Sardara <msardara@cisco.com>
5 years agoMerge "[HICN-2] Added P2P confidential communication on hICN"
Alberto Compagno [Fri, 21 Feb 2020 17:30:49 +0000 (17:30 +0000)]
Merge "[HICN-2] Added P2P confidential communication on hICN"

5 years ago[HICN-2] Added P2P confidential communication on hICN 16/24216/13
Alberto Compagno [Tue, 7 Jan 2020 10:46:02 +0000 (11:46 +0100)]
[HICN-2] Added P2P confidential communication on hICN

P2P confidential communications exploit the TLS 1.3 protocol to let a consumer to
establish a secure communication on an hICN name. Currently we don't support the
consumer authentication (mutual authentication in TLS) and the 0-rtt session
establishment.

Change-Id: I2be073847c08a17f28c837d444081920c5e57a07
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>