aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2021-04-15[HICN-690] Transport Library Major RefactoryLuca Muscariello6-12/+28
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>
2021-04-01[HICN-694] Do not use prefix received by server when autoconfiguring http-proxyMauro Sardara1-1/+0
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ibe623ddffbde7679d41946c18e3381854db0b779
2021-01-13[HICN-667] http proxy does not compile on android with ndk 22Angelo Mantellini1-1/+1
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ib372cdda8096083412f202377ac0310f497a950b
2021-01-08[HICN-670] -Wno-c99-designator does not existing in order clang versionsJordan Augé1-1/+11
Change-Id: Ia56f828fe086be6b01e5366f601fcd0a3066ff2f Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-12-22[HICN-667] http proxy does not compile on android with ndk 22Angelo Mantellini1-0/+2
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ib3f3bd89678f1b29eb25bf502a1e8bd5285d7d84
2020-11-06[HICN-653] Cleanup build scripts.Mauro Sardara1-0/+10
Main changes: - Next VPP version is now counted 4 months (instead of 3) from the current one - CMake will now use Ninja as generator - Build functions are gathered under build/functions.sh and they are shared instead of being duplicated in build-extras and build-packages - Various bug fixes for dependencies and versioning. Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I3f482d2c87847a465019dd0992ee9375c88bb412 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-06-22[HICN-630] Modify hicn-proxy file names to respect codestyle for filenamesMauro Sardara6-11/+6
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I49d62aee60f107a4e9722ac3b671d06bdee2b349
2020-06-15[HICN-629] Add multithreading feature to hicn-http-proxy with SO_REUSEPORT ↵Mauro Sardara2-19/+24
socket option. Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I8930178ba09ca23bd593f2a4008cf0d75f502684
2020-06-15[HIC-628] Update hicn-http-proxy usage output.Mauro Sardara1-4/+20
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I4981f866aae09952f9799bc0e85543dacdda1e6b
2020-06-09Merge "[HICN-624] http proxy proxy does not stop"Angelo Mantellini1-0/+2
2020-06-05[HICN-625] Http Proxy: listen only on local connectionsMauro Sardara1-1/+2
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ida53353285633787ce96ad8d37507f15e99280b3
2020-06-04[HICN-624] http proxy proxy does not stopAngelo Mantellini1-0/+2
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I810a983190ca273acc4be9bc2c1895b53b9c524d
2020-06-03[HICN-622] Add stop() functionality to http proxy.Mauro Sardara15-57/+173
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I9091cd8ef0f9da869b886541a0116adf3f30e6b9 Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
2020-06-02[HICN-610] Override hicn prefix used by http-proxy with one receivedMauro Sardara3-32/+36
from configuration. Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ib7ec9032cf58ee1aff120ae676ce597b9428bbea Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-05-31[HICN-619] Compilation Error on AndroidAngelo Mantellini1-1/+4
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I96b6f50845d14a310a60287ca2680e94a55fc3d7
2020-05-29[HICH-618] HTTP proxy automatic configuration.Mauro Sardara12-77/+796
Change-Id: I6a76b31b743f155a2d9f7b88e84b838265aab6c8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-05-25[HICN-616] Fix compilation issue with asio 1.16.v20.05-rc0Mauro Sardara1-1/+6
Change-Id: Id9af4820dae5ccbb9a5f41d604ede10958f30b69 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-05-20[HICN-614] Add client HTTP proxy (TCP->hICN)Mauro Sardara11-155/+729
Change-Id: Ieaa875edff98404676083bab91233b98ce50c8d0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-04-23[HICN-600] correct hicn apps on windowsAngelo Mantellini2-13/+18
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I78656e5b3821024913b01b095e4368f53d02a5d1
2020-04-07[HICN-593] Fix higet crash when no uri is specified in command lineMauro Sardara1-2/+5
Change-Id: Iccf6740deaf853eed766dfae92489d2b0f7acd58 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-26[HICN-534] Major rework on libtransport organizationMauro Sardara2-2/+5
Change-Id: I361b83a18b4fd59be136d5f0817fc28e17e89884 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-21Merge "[HICN-2] Added P2P confidential communication on hICN"Alberto Compagno1-0/+1
2020-02-21[HICN-2] Added P2P confidential communication on hICNAlberto Compagno1-0/+1
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>
2020-02-19[HICN-530] Add support for chunked Transfer-Encoding in higet and http-proxyMauro Sardara5-29/+177
Change-Id: Ibf954e5e886412a934542a10d94d89bb8a55a676 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-18Merge "[HICN-528] Add progress bar to higet."Angelo Mantellini1-46/+166
2020-02-18[HICN-528] Add progress bar to higet.Mauro Sardara1-46/+166
Change-Id: I645ef2b8834f4310933793fb1f59e8f37e3d6aef Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-18[HICN-527] Add component for libhttpproxy.Mauro Sardara1-0/+1
Change-Id: I6396bbab63cc8d5e8c303df83240cf458b5eb8d7 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-17[HICN-524 HICN-526] Add manifest and content lifetime options to hproxy ↵Mauro Sardara3-13/+28
command line Change-Id: I565e4edb39b2c3d18fd9b2ef8b2a638a53b9eefe Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-14Merge "[HICN-520] Read correct number of bytes in HTTP proxy."Michele Papalini2-11/+23
2020-02-14[HICN-520] Read correct number of bytes in HTTP proxy.Mauro Sardara2-11/+23
Change-Id: If22ad9db54bae0c1bde8f8bc0895c24e9ae23d65 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-14Merge "[HICN-520] Read correct number of bytes during HTTP response ↵Michele Papalini1-1/+2
reception performed by the http-proxy."
2020-02-13[HICN-520] Read correct number of bytes during HTTP response reception ↵Mauro Sardara1-1/+2
performed by the http-proxy. Change-Id: I06879276c76aacf55715e34590afe0babc89a132 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-12[HICN-508] [HICN-509] [HICN-506] Manifest reworkMauro Sardara2-2/+14
Change-Id: I992205148910be008d66b5acb7f6f1365770f9e8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-12[HICN-512] documentation bundle using sphinxLuca Muscariello1-304/+0
Change-Id: I1dcbca50f7406ef2714683547b6bb32463e1baf8 Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2020-02-03[HICN-489] Add iOS support to hicn stackAngelo Mantellini2-16/+20
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I8fa8c4eaa3218eb4be46f713b15ab789c6930aa0
2019-12-10[HICN-430] Rework on CMakeMauro Sardara1-1/+3
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>
2019-11-22[HICN-412] Added option LINK_FLAGSgto build_executable to specify link flagsAlberto Compagno3-1/+4
Change-Id: I6b382abe374d896c9ea1e0ef5573ba166fafec94 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-11-04[HICN-262] Fix binary api to prevent byteswapping of ip addresses in vapiAlberto Compagno1-0/+1
Change-Id: If3f9a7db1e1310fdc08d1003b28e5e1d4006b61e Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-10-07[HICN-298] Release new hICN app for AndroidJordan Augé1-1/+1
Change-Id: I43adc62fadf00690b687078d739788dffdc5e566 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2019-09-24[HICN-279] Added libmemif packaging.Mauro Sardara2-2/+2
Change-Id: Ie8662059163b7a01211bb18fb8f6b77bbbc07279 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-08-22[HICN-267] Fixed dependencies on hicn-apps and hicn-light packagesAlberto Compagno1-0/+10
Change-Id: If6615a0b263287b6c1660b636b5b6770da1a3b24 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2019-07-29[HICN-252] Add per-application policy framework to hicn-light forwarderJordan Augé2-3/+2
Change-Id: I0531cd7a7de179581295ae34766c81cd9cf3e172 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com> Signed-off-by: Mauro Sardara <msardara@cisco.com> Co-authored-by: Mauro Sardara <msardara@cisco.com>
2019-07-26[HICN-253] Mark cmake target for library as static or shared.Mauro Sardara3-10/+9
Change-Id: I1e8a14f9255f04bddbb87f74a6d6163a02dedb22 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-05Merge "[HICN-236] Add tutorials for setting up server with hicn-plugin ↵Alberto Compagno1-53/+138
(docker and packages version)."
2019-07-05[HICN-236] Add tutorials for setting up server with hicn-plugin (docker and ↵Mauro Sardara1-53/+138
packages version). Change-Id: Icf2f41ac62862841c7d55ac4f08f9ac27ec9e79a Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-07-04[HICN-235] remove libcurlo from hicn app cmake moduleAngelo Mantellini1-10/+0
Change-Id: I1514a4528c09d3f5be658a63cdcb73d837b1ed2c Signed-off-by: Angelo Mantellini <manangel@cisco.com>
2019-06-24[HICN-223] Apps tutorial.Mauro Sardara1-48/+169
Change-Id: I5c17f4f72e1929f40f92718c9e479a6141b280f0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-06-24[HICN-224] Dismiss legacy http proxy.Mauro Sardara29-2083/+2
Change-Id: Ica1c51ab5e117564ff3d49ecbcce3be6231f3afc Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-06-06[HICN-213] Fix pthread linking in appsMauro Sardara2-1/+1
Change-Id: I3ec3026c439ab7630333e24312443de16c7249cb Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-05-24[HICN-206] Customize first part of the name for HTTP.Mauro Sardara4-23/+35
Change-Id: Ic2dd9cfce5b7d4eb82bef15cc40da16ea99230d8 Signed-off-by: Mauro Sardara <msardara@cisco.com>