Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ie3b48148dcb3f782a1ca906a5ba59d605f17f93e
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: If3492136cfc41da94d4d80538694eae4428c6f8c
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: Ib0a3fbdd35d451c1892b66b22f1599141b92e213
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
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>
|
Alberto Compagno | 3 | -279/+532 |
|
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>
|
|
Change-Id: I1dcbca50f7406ef2714683547b6bb32463e1baf8
Signed-off-by: Luca Muscariello <muscariello@ieee.org>
|
|
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
Change-Id: I8fa8c4eaa3218eb4be46f713b15ab789c6930aa0
|
|
dependencies for centos.
Change-Id: I92afec16346929e101e57466d5621e4ebe4dc4d2
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change way targets are defined: each project defines targets.
Fix project BUILD flags
Add build-extras bash script
Rework build tree of extras folder, using ExternalProject_Add
Change-Id: I82fa29896e54c8a033490eba013c3f0431bec9d0
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I6b382abe374d896c9ea1e0ef5573ba166fafec94
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I654843c3361c7bdb4b160f2441f08e8d91e97384
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: Ie22572822b9ac1e6c300fd7982035c799546bd76
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
packet at consumer side before the content is completely downloaded in order to allow to use an endless hiper producer."
|
|
data packet at consumer side before the content is completely
downloaded in order to allow to use an endless hiper producer.
Change-Id: I3613b5310a4f8b696818f9453d03682fd61b1f93
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
Change-Id: I43adc62fadf00690b687078d739788dffdc5e566
Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
|
|
Change-Id: I6e577a4122042248900b4f48fd9f4fd45825aae9
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: Ie8662059163b7a01211bb18fb8f6b77bbbc07279
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Signed-off-by: mhemmatp <mhemmatp@cisco.com>
Change-Id: I838da25116f5fc4a674957510699bf5a00c99cad
|
|
Change-Id: I1e8a14f9255f04bddbb87f74a6d6163a02dedb22
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
installation path to cope with x86_64-linux-gnu
Change-Id: I5314b871bd4143f7249f3a3f639e17a25b22380b
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
|
|
|
|
The original package is https://gerrit.fd.io/r/#/c/15062/ which was
compatible with VPP 18.10. This patch is the modification of the original
to be compatible with VPP 19.04. It was tested with FRR (i.e., OSPF).
Change-Id: I85d579b26be2ef68f1b4a1d54e5c599b3665574b
Signed-off-by: masoud hemmatpour <mhemmatp@cisco.com>
|
|
Change-Id: Ib4628d0a7711e2d7175b3dbb5c152dd22616ff32
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: I5978776bde6b013a0a9829d62d3d77d6ab1675ad
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: Icfa91c6f939d073c358c146cd0cf2ab13733c603
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
|
|
Change-Id: I23680a4a4f3863e9aef396dbb9aebe7cc75c3353
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
Change-Id: Ib78e0ba5108713c6fac0e422eb7bb6f7ba10abc7
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
|
|
|
|
Change-Id: I11a614709152035784e492ccd99bc383765a0aa1
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
|
|
Change-Id: I85ceabb1bde847edf030c6ccb3943be047d167f5
Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
|
|
Change-Id: I50f381540e171fe2808d4e56cc24ba6d66e8a2ab
Signed-off-by: Masoud Hemmatpour <mhemmatp@cisco.com>
|
|
Change-Id: I9a07c6c806ceba10f80a5f67337dce2eee76120d
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
where N is defined by the application.
Change-Id: Ib20309b40e43e4c0db09b9b484e18cd2e3ebf581
Signed-off-by: Mauro Sardara <msardara@cisco.com>
|
|
case of RTC
Change-Id: Ie418b4cdba3e4e17cfe302c0e79e9d786e40cbd4
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I17eae19aaf717255c8812738868c27e4e5a9bb95
Signed-off-by: michele papalini <micpapal@cisco.com>
|
|
Change-Id: I6a6d791e97446aab03ea463046d24f98444e9a1c
Signed-off-by: michele papalini <micpapal@cisco.com>
|