Olivier Roques [Mon, 12 Sep 2022 07:34:37 +0000 (07:34 +0000)]
refactor: update INFO.yaml
Ref: HICN-779
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Change-Id: I3b1e93067bd005c29cf6d0c40867288bd5c5d04e
Mauro Sardara [Fri, 2 Sep 2022 14:34:36 +0000 (14:34 +0000)]
fix(sonar): make sonarqube happy
Ref: HICN-766 HICN-767 HICN-764 HICN-762 HICN-743 HICN-759 HICN-760 HICN-758 HICN-761 HICN-756
Change-Id: Ic2accf6b6771c7a78d2b22d9bdb8e5a5be9ead8a
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 2 Sep 2022 11:17:49 +0000 (11:17 +0000)]
fix: correct bugs in interest processing pipeline
ResHHICN-748
Change-Id: I8e55932fda2c77891f7b2aaf7fa5d7087f1aa2bf
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 26 Aug 2022 15:02:12 +0000 (15:02 +0000)]
feat(hicn-plugin): interest manifest
Ref: HICN-748
Change-Id: Ie403de53a93094dca997cec379db6f5d3ce8e6be
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Mon, 29 Aug 2022 18:12:50 +0000 (18:12 +0000)]
ci(sonar): add test coverage in sonar cloud
Ref: HICN-749
Change-Id: I1523b548df9254949d164b995d24c0210252809f
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Luca Muscariello [Mon, 29 Aug 2022 17:10:27 +0000 (17:10 +0000)]
Merge "ci(sonar): build with coverage information"
Mauro Sardara [Mon, 29 Aug 2022 17:05:25 +0000 (17:05 +0000)]
ci(sonar): build with coverage information
Also:
- Install clang-11 as default compiler with make deps
Ref: HICN-752
Change-Id: Id6faf99ddd9c43a1c5804b8ace8df9dad27b82e6
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 25 Aug 2022 15:19:33 +0000 (15:19 +0000)]
feat: resize hicn_buffer_t to 24 byes
Ref: HICN-746
Change-Id: I70d526aa81c158a128408cff7e7a2d8e09ceb01a
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 19 Aug 2022 09:02:27 +0000 (11:02 +0200)]
ci(functions.sh): fallback to full image build if artifacts cannot be retrieved
Ref: HICN-743
Change-Id: I9690f541e985fa6cde65bb892f0b8a7787fd2e93
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 18 Aug 2022 09:11:20 +0000 (11:11 +0200)]
test(hicn-light): fix hicn-light functional tests
Ref: HICN-743
Change-Id: Id49ab872b5cf545c9e021a51a877341ff7ab9337
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Tue, 16 Aug 2022 07:43:05 +0000 (09:43 +0200)]
ci(functional-tests): add functional tests scripts
- Add scripts/functional-tests.sh script
- Add `download_artifacts` functions, allowing to retrieve artifacts of a gerrit patch
- Robot: redirect output of topology build to files, thus preventing robot from hanging
- Share folders between host and containers with the :z flag
- Use sudo to install executable in docker-compose scripts, as the user of the docker is not root anymore
- Makefile: decouple installation and build
Ref: HICN-732
Change-Id: Ib945cf7bd0ee331e33270cf1005dfebd085862eb
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Luca Muscariello [Fri, 12 Aug 2022 20:27:03 +0000 (20:27 +0000)]
Merge "ci: add initial support to build against VPP master"
Mauro Sardara [Fri, 12 Aug 2022 14:31:43 +0000 (16:31 +0200)]
ci: add initial support to build against VPP master
Ref: HICN-742
Change-Id: Ifdf3597846fdfe0ba91516e9c0bf4e2a9ed2f1a3
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 12 Aug 2022 13:21:00 +0000 (15:21 +0200)]
ci(sonarqube): force job to fail if any command fails
Ref: HICN-741
Change-Id: Ib789432e5419d70188836f5391997067e2e9e8c3
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 12 Aug 2022 12:48:51 +0000 (14:48 +0200)]
ci(sonarscan): fixes for sonar build
- Configure safe directories for git
Ref: HICN-741
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I2c9da853f57ca4576fb4ad35c3ca81de575c7c65
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Fri, 12 Aug 2022 10:28:13 +0000 (12:28 +0200)]
ci(sonarscan): fixes for sonar build
- Add submodule init before running the docker compose up command
- Mount workspace with the :z flag to modify the selinux label of the directory
- Build docker image with amd64 architecture, as sonar build wrapper only exists for x64
Ref: HICN-741
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3cc3e285ce216eec9795011f67758df590dc6fec
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Luca Muscariello [Fri, 12 Aug 2022 08:51:40 +0000 (10:51 +0200)]
feat: fix sonarcloud build
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: I569ede7040d0f1e168af87a67e31d494fd11bc77
Mauro Sardara [Thu, 11 Aug 2022 17:01:39 +0000 (19:01 +0200)]
ci(sonarscan): fix typo
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ibadcc7b1a79ef92149b032becc800f1ed8ba00c5
Mauro Sardara [Thu, 11 Aug 2022 16:44:10 +0000 (18:44 +0200)]
ci: install docker-compose as part of sonarcloud scan
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I2216084a415abbb874dfa49051ca3ca0fcb7c41d
Luca Muscariello [Thu, 11 Aug 2022 16:30:53 +0000 (18:30 +0200)]
feat: drop sysrepo and netconf/yang support
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: I215af1b77a3f9da878f3894708f687a7e7ea03a2
Mauro Sardara [Thu, 11 Aug 2022 15:14:16 +0000 (17:14 +0200)]
ci: call docker-compose in sonarcloud trigger
Ref: HICN-739
Change-Id: I33c4948f6f7a1a27a30051da4a1bdbfc6de90951
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Luca Muscariello [Wed, 10 Aug 2022 18:25:53 +0000 (18:25 +0000)]
Merge "ci: add functional tests to verification/merge jobs"
Luca Muscariello [Wed, 10 Aug 2022 13:14:59 +0000 (13:14 +0000)]
Merge "feat: Sonarcloud"
Luca Muscariello [Mon, 8 Aug 2022 11:55:31 +0000 (13:55 +0200)]
feat: Sonarcloud
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: I2da6c9dfa1d05968555e8f43176de6a0ab37892e
Mauro Sardara [Fri, 8 Jul 2022 16:10:13 +0000 (16:10 +0000)]
feat: add interest manifest serialization/deserialization
Also:
add helpers for interest manifest
Ref: HICN-738
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ia531605148e00ccbe446da0f4f2d8caae2b098be
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Tue, 9 Aug 2022 12:18:05 +0000 (14:18 +0200)]
ci: add functional tests to verification/merge jobs
Ref: ICN-732
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Iabfce26c446c502dc1d8f50da0d607791ce392e9
Mauro Sardara [Mon, 8 Aug 2022 15:20:42 +0000 (17:20 +0200)]
ci: add checkstyle to verify jobs
Ref: HICN-731
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I34f7abc5949ed02f7926a72ea54a2014ed255d6d
Luca Muscariello [Thu, 4 Aug 2022 14:06:34 +0000 (16:06 +0200)]
feat: Due to the deep modifications related to names and packet format,
this task cover a large part of the codebase and involves several changes:
- the library provides a name data structure (hicn_name_t ), which is composed
of a name prefix (hicn_name_prefix_t) and a name suffix (hicn_name_suffix_t),
and it has been extended to provide all support functions required for name
manipulation, including common prefix computation, as required for the Longest
Prefix Match (LPM)in the forwarder, in addition to Exact Prefix Match (EPM).
- all code has been rewritten to use this data structure instead of having for
instance the forwarder define its own name class (used to be Name and NameBitVector)
the code has been refactored to minimize name allocations and copies, one remaining
aspect is the difference of name storage between PIT and CS entries (respectively
in the PIT entry, and in the message buffer), which causes the packet cache
index to be updated when a PIT entry is converted into a CS entry. By storing
the name in the PIT/CS entry everytime, we might save on this operation).
- hicn-light FIB has been rewritten : code has been refactored and should now be
shorter and documented; unit tests have been drafted but more would be required
to cover all cases and match the algorithms to add/remove nodes, as specified in the doc.
all protocol details and hICN header formats are now abstracted by the library
for the forwarder (and thus header.h and protocols/*.h have been removed from
public includes, and replaced by packet.h providing protocol agnostic packet
level functions, completely replacing the compat.h header that used to provide
similar functions.
- this works by exposing a opaque buffer to the application (a kind of socket buffer)
which is used by the lib to cache the packet format and offsets of the different
layers in the buffer and provider efficient operations (the packet format is
either defined for packet construction, or guessed at ingress, and this structure
is updated accordingly only once).
Co-authored-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: I31e321897f85f0267fe8ba4720363c180564492f
Luca Muscariello [Thu, 30 Jun 2022 11:58:25 +0000 (13:58 +0200)]
Revision and refactor of the VPP plugin with fixes for the
packet generator. Hash table for the packet cache has been
changed with the bihash.
Co-authored-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Change-Id: I0e0191a9f109d37081d32cc55d577ea43533f8c0
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Luca Muscariello [Thu, 9 Jun 2022 19:34:09 +0000 (21:34 +0200)]
refactor(lib, hicn-light, vpp, hiperf): HICN-723
- move infra data structure into the shared lib
- new packet cache using double hashing and lookup on prefix suffix
- testing updates
- authenticated requests using interest manifests
Co-authored-by: Mauro Sardara <msardara@cisco.com>
Co-authored-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Co-authored-by: Michele Papalini <micpapal@cisco.com>
Co-authored-by: Olivier Roques <oroques+fdio@cisco.com>
Co-authored-by: Enrico Loparco <eloparco@cisco.com>
Change-Id: Iaddebfe6aa5279ea8553433b0f519578f6b9ccd9
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Luca Muscariello [Fri, 22 Apr 2022 15:55:01 +0000 (17:55 +0200)]
HICN-722: Updates on transport, RTC, manifest usage for RTC, infra.
Co-authored-by: Mauro Sardara <msardara@cisco.com>
Co-authored-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Co-authored-by: Michele Papalini <micpapal@cisco.com>
Co-authored-by: Angelo Mantellini <manangel@cisco.com>
Co-authored-by: Jacques Samain <jsamain@cisco.com>
Co-authored-by: Olivier Roques <oroques+fdio@cisco.com>
Co-authored-by: Enrico Loparco <eloparco@cisco.com>
Co-authored-by: Giulio Grassi <gigrassi@cisco.com>
manifest: optimize manifest processing
manifest: add FEC parameters to manifests
manifest: refactor verification process
manifest: report auth alerts in hiperf instead of aborting
manifest: remove FEC buffer callback in consumer
manifest: refactor and enable manifests by default
manifest: update manifest header with transport parameters
manifest: batch interests for first manifest from RTC producer
manifest: refactor processing of RTC manifests
manifest: update manifest-related socket options of consumers
manifest: update unit tests for manifests
manifest: pack manifest headers
manifest: verify FEC packets
auth: add consumer socket option to set max unverified delay
manifest: process manifests after full FEC decoding
manifest: manage forward jumps in RTC verifier
fec: remove useless fec codes
rs: add new code rate
rs: add new code rate
rs: add new code rate
rs: add new code rate
libtransport: increase internal packet cache size
remove internal cisco info in cmake
manifest: add option to set manifest capacity
data_input_node.c: add information about adj_index[VLIB_RX] on received data packetsi
sysrepo plugin: update build
Change-Id: I0cf64d91bd0a1b7cad4eeaa9871f58f5f10434af
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Mauro Sardara [Fri, 1 Apr 2022 08:26:41 +0000 (10:26 +0200)]
ci(scripts/install-vpp.sh): improve install-vpp.sh script
Ref: HICN-720
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I6586573da1e415b596bad8e6d3e77dba38de8147
Luca Muscariello [Wed, 30 Mar 2022 20:29:28 +0000 (22:29 +0200)]
feat: boostrap hicn 22.02
The current patch provides several new features, improvements,
bug fixes and also complete rewrite of entire components.
- lib
The hicn packet parser has been improved with a new packet
format fully based on UDP. The TCP header is still temporarily
supported but the UDP header will replace completely the new hicn
packet format. Improvements have been made to make sure every
packet parsing operation is made via this library. The current
new header can be used as header between the payload and the
UDP header or as trailer in the UDP surplus area to be tested
when UDP options will start to be used.
- hicn-light
The portable packet forwarder has been completely rewritten from
scratch with the twofold objective to improve performance and
code size but also to drop dependencies such as libparc which is
now removed by the current implementation.
- hicn control
the control library is the agent that is used to program the
packet forwarders via their binary API. This component has
benefited from significant improvements in terms of interaction
model which is now event driven and more robust to failures.
- VPP plugin has been updated to support VPP 22.02
- transport
Major improvement have been made to the RTC protocol, to the
support of IO modules and to the security sub system. Signed
manifests are the default data authenticity and integrity framework.
Confidentiality can be enabled by sharing the encryption key to the
prod/cons layer. The library has been tested with group key based
applications such as broadcast/multicast and real-time on-line
meetings with trusted server keys or MLS.
- testing
Unit testing has been introduced using GoogleTest. One third of
the code base is covered by unit testing with priority on
critical features. Functional testing has also been introduce
using Docker, linux bridging and Robot Framework to define
test with Less Code techniques to facilitate the extension
of the coverage.
Co-authored-by: Mauro Sardara <msardara@cisco.com>
Co-authored-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Co-authored-by: Michele Papalini <micpapal@cisco.com>
Co-authored-by: Angelo Mantellini <manangel@cisco.com>
Co-authored-by: Jacques Samain <jsamain@cisco.com>
Co-authored-by: Olivier Roques <oroques+fdio@cisco.com>
Co-authored-by: Enrico Loparco <eloparco@cisco.com>
Co-authored-by: Giulio Grassi <gigrassi@cisco.com>
Change-Id: I75d0ef70f86d921e3ef503c99271216ff583c215
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Wed, 21 Jul 2021 10:18:37 +0000 (12:18 +0200)]
HICN-717 Packages for libmemif v21.06
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I85b1e9a0084373934ae0c450989d63baa8e191e6
Mauro Sardara [Wed, 21 Jul 2021 10:01:06 +0000 (12:01 +0200)]
HICN-715 Correct debs dependencies for libhicntransport package.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I5acf591facdf61cf981a7de9bb1a4f88782fe708
Mauro Sardara [Mon, 22 Feb 2021 17:06:06 +0000 (17:06 +0000)]
[HICN-687] Add clang-format for libhicn.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ie401d35998f1efd8019b3db7236120a69fcf3c2a
Mauro Sardara [Tue, 20 Jul 2021 11:20:35 +0000 (13:20 +0200)]
HICN-716 Upgrade to VPP 21.06
Also:
- Format hicn-plugin code
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I0f4626fdeaf0fc5ae1f43904ca006b092e3e9d5f
Mauro Sardara [Thu, 15 Jul 2021 09:47:19 +0000 (11:47 +0200)]
[HICN-714] Update build scripts
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ica3b4f66087446551230a3742fd7bd4db87a4a7e
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro [Wed, 30 Jun 2021 07:57:22 +0000 (07:57 +0000)]
[HICN-713] Transport Library Major Refactoring 2
Co-authored-by: Luca Muscariello <muscariello@ieee.org>
Co-authored-by: Michele Papalini <micpapal@cisco.com>
Co-authored-by: Olivier Roques <oroques+fdio@cisco.com>
Co-authored-by: Giulio Grassi <gigrassi@cisco.com>
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I5b2c667bad66feb45abdb5effe22ed0f6c85d1c2
Angelo Mantellini [Wed, 2 Jun 2021 06:49:27 +0000 (08:49 +0200)]
[HICN-705] correct package for windows
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I29a6be1d5dff2a58c014a46c183eeb801a7be909
Mauro Sardara [Tue, 1 Jun 2021 12:56:43 +0000 (12:56 +0000)]
Merge "[HICN-706] libhicn: don't use designated initializers on Android"
Mauro Sardara [Tue, 1 Jun 2021 12:28:22 +0000 (12:28 +0000)]
Merge "[HICN-704] facemgr: fix compilation issue for CLI on Android"
Jordan Augé [Tue, 1 Jun 2021 12:16:04 +0000 (14:16 +0200)]
[HICN-706] libhicn: don't use designated initializers on Android
Change-Id: Iab68f157d9dde478ff10e39faa50d3f43949be7f
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Angelo Mantellini [Wed, 26 May 2021 09:18:35 +0000 (11:18 +0200)]
[HICN-705] create packages for windows and mac os
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ie408cf35737b8c66d6de3ef49c2990ff4c868a50
Mauro Sardara [Mon, 17 May 2021 09:42:53 +0000 (09:42 +0000)]
Merge "[HICN-701] facemgr: add priority controller mobility example"
Mauro Sardara [Mon, 17 May 2021 09:41:49 +0000 (09:41 +0000)]
Merge "[HICN-695] facemgr: add systemd service"
Jordan Augé [Mon, 17 May 2021 09:34:00 +0000 (11:34 +0200)]
[HICN-704] facemgr: fix compilation issue for CLI on Android
Change-Id: I45899d0e21e0e7ce9b970d550491fef39dec4c31
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Angelo Mantellini [Mon, 3 May 2021 10:43:15 +0000 (12:43 +0200)]
[HICN-703] correct minor cmake issues and memset in manifest_format_fixed.cc
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I3ed763941fa58bdfc61b9462d3f3bd268d5a76ed
Angelo Mantellini [Fri, 30 Apr 2021 10:26:57 +0000 (12:26 +0200)]
[HICN-703] Update windows-sdk and hicn code
Signed-off-by: Angelo Mantellini <@ngelo.mantellini@cisco.com>
Change-Id: I05e4c92ce7de3640f0272afae127e1377862bd3e
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Mauro Sardara [Tue, 27 Apr 2021 10:06:25 +0000 (12:06 +0200)]
[HICN-694] Do not use prefix received by server when autoconfiguring http-proxy
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3b7db1357e705e6f3c79176ad48a26284687c8a1
Jordan Augé [Thu, 8 Apr 2021 08:05:52 +0000 (10:05 +0200)]
[HICN-695] facemgr: add systemd service
Change-Id: I6b345944ce3fb4714832798e32ac840a162dc268
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Mon, 26 Apr 2021 13:51:22 +0000 (15:51 +0200)]
[HICN-701] facemgr: add priority controller mobility example
Change-Id: Id2c41164a59329e206e430e82f107cf5d4db8ae1
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Tue, 20 Apr 2021 23:25:44 +0000 (01:25 +0200)]
[HICN-700] hicn-light: more informative MAP-Me logs
Change-Id: I6e6b5ca716e029f6dff539730ddf3a877fd80b41
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Mon, 19 Apr 2021 21:57:14 +0000 (23:57 +0200)]
[HICN-699] facemgr: cleaner logs for face interaction
Change-Id: Ic0c941812f758868498e4d087e237047f91d452b
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Luca Muscariello [Thu, 15 Apr 2021 07:05:46 +0000 (09:05 +0200)]
[HICN-690] Transport Library Major Refactory
The current patch provides a major refactory of the transportlibrary.
A summary of the different components that underwent major modifications is
reported below.
- Transport protocol updates
The hierarchy of classes has been optimized to have common transport services
across different transport protocols. This can allow to customize a transport
protocol with new features.
- A new real-time communication protocol
The RTC protocol has been optimized in terms of algorithms to reduce
consumer-producer synchronization latency.
- A novel socket API
The API has been reworked to be easier to consumer but also to have a more
efficient integration in L4 proxies.
- Several performance improvements
A large number of performance improvements have been included in
particular to make the entire stack zero-copy and optimize cache miss.
- New memory buffer framework
Memory management has been reworked entirely to provide a more efficient infra
with a richer API. Buffers are now allocated in blocks and a single buffer
holds the memory for (1) the shared_ptr control block, (2) the metadata of the
packet (e.g. name, pointer to other buffers if buffer is chained and relevant
offsets), and (3) the packet itself, as it is sent/received over the network.
- A new slab allocator
Dynamic memory allocation is now managed by a novel slab allocator that is
optimised for packet processing and connection management. Memory is organized
in pools of blocks all of the same size which are used during the processing of
outgoing/incoming packets. When a memory block Is allocated is always taken
from a global pool and when it is deallocated is returned to the pool, thus
avoiding the cost of any heap allocation in the data path.
- New transport connectors
Consumer and producer end-points can communication either using an hicn packet
forwarder or with direct connector based on shared memories or sockets.
The usage of transport connectors typically for unit and funcitonal
testing but may have additional usage.
- Support for FEC/ECC for transport services
FEC/ECC via reed solomon is supported by default and made available to
transport services as a modular component. Reed solomon block codes is a
default FEC model that can be replaced in a modular way by many other
codes including RLNC not avaiable in this distribution.
The current FEC framework support variable size padding and efficiently
makes use of the infra memory buffers to avoid additiona copies.
- Secure transport framework for signature computation and verification
Crypto support is nativelty used in hICN for integrity and authenticity.
Novel support that includes RTC has been implemented and made modular
and reusable acrosso different transport protocols.
- TLS - Transport layer security over hicn
Point to point confidentiality is provided by integrating TLS on top of
hICN reliable and non-reliable transport. The integration is common and
makes a different use of the TLS record.
- MLS - Messaging layer security over hicn
MLS integration on top of hICN is made by using the MLSPP implemetation
open sourced by Cisco. We have included instrumentation tools to deploy
performance and functional tests of groups of end-points.
- Android support
The overall code has been heavily tested in Android environments and
has received heavy lifting to better run natively in recent Android OS.
Co-authored-by: Mauro Sardara <msardara@cisco.com>
Co-authored-by: Michele Papalini <micpapal@cisco.com>
Co-authored-by: Olivier Roques <oroques+fdio@cisco.com>
Co-authored-by: Giulio Grassi <gigrassi@cisco.com>
Change-Id: If477ba2fa686e6f47bdf96307ac60938766aef69
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
Mauro Sardara [Fri, 9 Apr 2021 11:26:52 +0000 (11:26 +0000)]
Merge "[HICN-696] packethicn: add support for native hicn and fix find wireshark for macOS"
Marco Trinelli [Thu, 8 Apr 2021 09:33:02 +0000 (11:33 +0200)]
[HICN-696] packethicn: add support for native hicn and fix find wireshark for macOS
Allow wireshark to parse native hicn traffic (decode IPv6 traffic as HICN, by default)
Fix find_package(wireshark) for macOS, to automatically find wireshark sources in macOS
Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
Change-Id: I95599a894b91685ab1f274b1fa8d75efe6b96178
Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
Mauro Sardara [Tue, 6 Apr 2021 09:47:12 +0000 (09:47 +0000)]
Merge "[HICN-692] Fix deb package installation of packethicn"
Marco Trinelli [Tue, 6 Apr 2021 09:11:02 +0000 (11:11 +0200)]
[HICN-692] Fix deb package installation of packethicn
Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
Change-Id: I3c916807904d78c17a3444808f904b9c0cf0a4f5
Jacques SAMAIN [Thu, 1 Apr 2021 17:07:52 +0000 (17:07 +0000)]
Merge "[HICN-694] Do not use prefix received by server when autoconfiguring http-proxy"
Mauro Sardara [Thu, 1 Apr 2021 16:58:59 +0000 (18:58 +0200)]
[HICN-694] Do not use prefix received by server when autoconfiguring http-proxy
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ibe623ddffbde7679d41946c18e3381854db0b779
Luca Muscariello [Thu, 25 Mar 2021 21:28:23 +0000 (21:28 +0000)]
Merge "[HICN-688] Include packethicn in hicn build"
Marco Trinelli [Tue, 23 Mar 2021 14:55:01 +0000 (15:55 +0100)]
[HICN-688] Include packethicn in hicn build
Add license headers
Add dependencies
Fix build for Ubuntu 18.04
Move doc
Signed-off-by: Marco Trinelli <marcotrinelli@gmail.com>
Change-Id: Ie92268d2d3a47c47746107ac6f9c34b21949671c
Mauro Sardara [Tue, 16 Feb 2021 15:51:44 +0000 (15:51 +0000)]
HICN-686 Wrong type definition for HICN_TYPE_IPV4_TCP_AH and HICN_TYPE_IPV4_ICMP_AH
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3a9f3a26bafd0d3711090dc151f587148851f5b6
Mauro [Thu, 11 Feb 2021 11:03:12 +0000 (11:03 +0000)]
[HICN-683] Add clang format for hicn-plugin.
As vpp has moved away from the dear old indent, also
the hicn plugin should do the same and use clang-format.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Iee896f3ce01cef53b1acfccbebeef66ca77add7d
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 11 Feb 2021 11:10:01 +0000 (12:10 +0100)]
HICN-685 Fix package script for centos8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4a683dc37e6669d51e001604c41221efb26fb0de
Mauro Sardara [Thu, 11 Feb 2021 11:04:44 +0000 (12:04 +0100)]
HICN-685 Fix package script for centos8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I9973034088879b23cc0de6116d65c3a70272a706
Mauro Sardara [Thu, 11 Feb 2021 10:18:58 +0000 (11:18 +0100)]
HICN-685 Fix package script for centos8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I84c0461d5a7869b38a676f3a02a53080e32d271c
Mauro Sardara [Wed, 10 Feb 2021 15:34:47 +0000 (16:34 +0100)]
[HICN-682] Fix hicn-plugin to be compatible with version 21.01
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ia116ad74ce78e2ca2d7ee624eea75a38936d27f8
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Wed, 10 Feb 2021 14:26:52 +0000 (14:26 +0000)]
Merge "[HICN-679] Do not throw exception when receiving corrupted/not-hicn packet from network layer"
Mauro Sardara [Thu, 4 Feb 2021 12:37:30 +0000 (13:37 +0100)]
[HICN-681] Remove compilation warning in ubuntu 20.04 jobs.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Id9666941d2a84d5deb75716a410abe9305923531
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 4 Feb 2021 11:20:30 +0000 (12:20 +0100)]
[HICN-679] Do not throw exception when receiving corrupted/not-hicn packet from network layer
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I082e3c1b5fc9f535089114cfe14940f094947b66
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Michele Papalini [Wed, 27 Jan 2021 16:09:08 +0000 (16:09 +0000)]
Merge "[HICN-677] Add link flag to workaround undefined symbols referenced in vpp libraries."
Mauro Sardara [Wed, 27 Jan 2021 15:34:28 +0000 (16:34 +0100)]
[HICN-677] Add link flag to workaround undefined symbols referenced in vpp libraries.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I9d628826374a38aaab749270dac1ca88fc9ebb35
Jacques SAMAIN [Wed, 27 Jan 2021 14:12:07 +0000 (14:12 +0000)]
Merge "[HICN-668] Fix leaks + double free"
Jordan Augé [Wed, 20 Jan 2021 15:32:34 +0000 (16:32 +0100)]
[HICN-668] Fix leaks + double free
Change-Id: I88795e5dc2a55df7ffee5cf66a9bd4fa5652e353
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Tue, 26 Jan 2021 18:01:02 +0000 (19:01 +0100)]
[HICN-677] Fix compilation error for tests in ubuntu bionic.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I5ee18d4039a40bf47e889b90748bdbd94987a5ed
Mauro Sardara [Tue, 26 Jan 2021 16:00:34 +0000 (17:00 +0100)]
[HICN-677] Add support for unit testing across all subprojects
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I7fa6442f53860fe8dcda3c17b63cfca15aa26c63
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Jacques Samain [Fri, 22 Jan 2021 09:44:31 +0000 (10:44 +0100)]
[HICN-676] Memory leak fix in Verifier
Signed-off-by: Jacques Samain <jsamain@cisco.com>
Change-Id: If4f45a48734ac8220701899ef179ec5498b0c49d
Jordan Augé [Wed, 20 Jan 2021 10:29:17 +0000 (11:29 +0100)]
[HICN-668] Fix leaks + double free
Change-Id: I976659b160654b511f712e65c8439b91d1cabd55
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jacques Samain [Wed, 20 Jan 2021 08:32:11 +0000 (09:32 +0100)]
[HICN-668] Fix leaks + double free
Signed-off-by: Jacques Samain <jsamain@cisco.com>
Change-Id: Ic52adacaeee737120f08e4fece93eff44fa29f87
Mauro Sardara [Tue, 19 Jan 2021 17:25:49 +0000 (17:25 +0000)]
Merge "[HICN-668] Fix various leaks across codebase"
Jordan Augé [Tue, 19 Jan 2021 16:32:41 +0000 (17:32 +0100)]
[HICN-668] Fix various leaks across codebase
Change-Id: I0d2e9846ebb9f784220de78d6103295c19d73409
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Mauro Sardara [Tue, 19 Jan 2021 13:12:25 +0000 (13:12 +0000)]
Merge "[HICN-653] Add hicn repo to build script"
Olivier Roques [Thu, 19 Nov 2020 09:36:59 +0000 (09:36 +0000)]
[HICN-657] Remove common.h dependency in collectd plugins
In Ubuntu 20.04, the file common.h is not shipped with collectd
packages anymore. This patch removes that dependency from the collectd
plugins.
Change-Id: I234389ee9cbfd1f1820efdb34d532a7b11618206
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
Jordan Augé [Tue, 19 Jan 2021 08:40:15 +0000 (09:40 +0100)]
[HICN-675] Handle invalid face polled from hicn-light in facemgr
Change-Id: Icf2868033d98f6bbd091418c3632dab733621894
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Angelo Mantellini [Sat, 16 Jan 2021 13:20:24 +0000 (14:20 +0100)]
[HICN-674] change android class in facemgr
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I585b4e03e7e01513b553c685e9845943ff02508a
Angelo Mantellini [Wed, 13 Jan 2021 11:25:16 +0000 (12:25 +0100)]
[HICN-667] http proxy does not compile on android with ndk 22
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ib372cdda8096083412f202377ac0310f497a950b
Angelo Mantellini [Mon, 11 Jan 2021 09:04:49 +0000 (10:04 +0100)]
[HICN-672] comment by default the use the priority controller in android
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I83832c6dff83a543dc5c92429a4b261a390c54b1
Jordan Augé [Fri, 8 Jan 2021 09:55:23 +0000 (10:55 +0100)]
[HICN-670] -Wno-c99-designator does not existing in order clang versions
Change-Id: Ia56f828fe086be6b01e5366f601fcd0a3066ff2f
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Angelo Mantellini [Fri, 8 Jan 2021 08:44:35 +0000 (08:44 +0000)]
Merge "[HICN-669] policy_t yet used in mac os 11"
Angelo Mantellini [Fri, 8 Jan 2021 08:31:56 +0000 (09:31 +0100)]
[HICN-669] policy_t yet used in mac os 11
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I8d5d5c37eaab3f84a920f1753591fa4ab09f4799
Jordan Augé [Thu, 7 Jan 2021 15:34:25 +0000 (16:34 +0100)]
[HICN-668] Fix various leaks across codebase
Change-Id: If08eeebd4ab033e33e15809ad3b1a5cb74e83d90
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Jordan Augé [Tue, 5 Jan 2021 17:05:48 +0000 (18:05 +0100)]
[HICN-668] Fix various leaks across codebase
Change-Id: I114e4e5d3e5bf4feb3d367b3f442c165ee193755
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Angelo Mantellini [Mon, 21 Dec 2020 23:13:33 +0000 (00:13 +0100)]
[HICN-667] http proxy does not compile on android with ndk 22
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: Ib3f3bd89678f1b29eb25bf502a1e8bd5285d7d84
Mauro Sardara [Thu, 17 Dec 2020 19:50:55 +0000 (19:50 +0000)]
Merge "[HICN-666] Fix libhicnctrl-memif dependencies."
Mauro Sardara [Thu, 17 Dec 2020 19:48:54 +0000 (20:48 +0100)]
[HICN-666] Fix libhicnctrl-memif dependencies.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I3a26082859fcfada51d59511b7eda4f03313a68b
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Mauro Sardara [Thu, 17 Dec 2020 19:06:33 +0000 (19:06 +0000)]
Merge "[HICN-666] Fix libhicntransport-memif dependencies."
Mauro Sardara [Thu, 17 Dec 2020 18:47:03 +0000 (19:47 +0100)]
[HICN-666] Fix libhicntransport-memif dependencies.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I5315d3e4d591c35c57b3a11cd49e676c3391056c
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Luca Muscariello [Mon, 14 Dec 2020 19:17:06 +0000 (19:17 +0000)]
Merge "[HICN-665] Convert headers to lower-case before storing them."