aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport
AgeCommit message (Collapse)AuthorFilesLines
2020-05-29[HICH-618] HTTP proxy automatic configuration.Mauro Sardara4-7/+88
Change-Id: I6a76b31b743f155a2d9f7b88e84b838265aab6c8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-05-20[HICN-613] Add io_service to ConsumerSocket constructor.Mauro Sardara22-73/+184
Change-Id: Ic1952388e1d2b1e7457c71ae8a959d97aa0cd2d6 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-05-14[HICN-611] Remove unused fields on libhicnlibraryAngelo Mantellini1-2/+0
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ia3a929c4734b660a8feb03d1656d2ff3e35de991 Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
2020-05-13Merge "[HICN-595] Bring TLS up to date"Luca Muscariello20-377/+369
2020-05-04[HICN-603] Cleanup code for managing routeAlberto Compagno6-18/+40
- 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
2020-04-11[HICN-595] Bring TLS up to dateOlivier Roques20-377/+369
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>
2020-04-01[HICN-587] Fix RAAQM default config pathOlivier Roques1-1/+1
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: I5c371941fcd550c676823f3f994f4a18160d632a
2020-03-31Merge "[HICN-581] update hicn stack to support windows, again"Angelo Mantellini6-15/+15
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini6-15/+15
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ic5cfeae600fde8140a076807fa1e411da1933a02
2020-03-27[HICN-458] Setting data packet size socket option when the payload size is ↵Alberto Compagno1-1/+1
passed Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: Ie0ee26a1e8bff3279cc88c4e7c09b0fdb23924c1
2020-03-24[HICN-580] Improve memory usage in signer and verifierOlivier Roques4-92/+91
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>
2020-03-11Merge "[HICN-546] Fix memory leak on producer side"Alberto Compagno2-13/+7
2020-03-11[HICN-546] Fix memory leak on producer sideOlivier Roques2-13/+7
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>
2020-03-11[HICN-545] Do not schedule callbacks during segmentation in a per packet basis.Mauro Sardara2-38/+57
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I1531a1fe1d1fa51bb45edab20ee449faa34847c3
2020-03-10[HICN-544] Do not block reading incoming messages in memif connector.Mauro Sardara4-15/+20
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I844dfa64a977c9c41bfc103bb110c274802b1839 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-03-09[HICN-540] Optimizations for libhicntransportMauro Sardara23-205/+341
Change-Id: I8b46b4eb2ef5488c09041887cc8296a216440f33 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-27Merge "[HICN-539] Expose portal APIs to applications"Angelo Mantellini9-60/+326
2020-02-27[HICN-539] Expose portal APIs to applicationsMauro Sardara9-60/+326
Change-Id: Icbaad69981193119714f5689faf3518d2e152e11 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-27Merge "[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm ↵Angelo Mantellini15-37/+31
everywhere"
2020-02-27[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhereMauro Sardara15-37/+31
Change-Id: Iddbc427611c888b28059170a70c0925ebb299cb5 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-27[HICN-536] Define asio standalone in libtransport includesMauro Sardara2-2/+5
Change-Id: Iac9f80a15877b4e9e5d450fcee3ed41b70dde97b Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-27[HICN-536] Define asio standalone in libtransport includesMauro Sardara2-1/+4
Change-Id: I27905885cad1bba8e657e47ed77202a574862b5b Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-26[HICN-534] Major rework on libtransport organizationMauro Sardara212-3886/+4428
Change-Id: I361b83a18b4fd59be136d5f0817fc28e17e89884 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-21Merge "[HICN-2] Added P2P confidential communication on hICN"Alberto Compagno53-347/+3648
2020-02-21[HICN-2] Added P2P confidential communication on hICNAlberto Compagno53-347/+3648
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 Sardara2-16/+36
Change-Id: Ibf954e5e886412a934542a10d94d89bb8a55a676 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-18[HICN-528] Add progress bar to higet.Mauro Sardara8-169/+110
Change-Id: I645ef2b8834f4310933793fb1f59e8f37e3d6aef Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-18[HICN-510] Adding collectd plugins to get telemetry from vpp and hicn-pluginAlberto Compagno1-2/+0
Change-Id: Idb322dc712b52301c66c5256ad8d1a6a65b503b9 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-02-12[HICN-508] [HICN-509] [HICN-506] Manifest reworkMauro Sardara40-1038/+1714
Change-Id: I992205148910be008d66b5acb7f6f1365770f9e8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-12Merge "[HICN-512] documentation bundle using sphinx"Mauro Sardara2-134/+0
2020-02-12[HICN-512] documentation bundle using sphinxLuca Muscariello2-134/+0
Change-Id: I1dcbca50f7406ef2714683547b6bb32463e1baf8 Signed-off-by: Luca Muscariello <muscariello@ieee.org>
2020-02-12[HICN-513] fix uninitialized batching parameter in libtransport's rate ↵Jordan Augé1-1/+2
estimation Change-Id: I5e3855439994dea453d68cda446b6756240265a9 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2020-02-11[HICN-511] Added android log for libhicntransportMauro Sardara1-6/+4
Change-Id: I566939e02d7f2c8be6be9665d32c09f4737f69e1 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-05Merge "[HICN-503] correctly compute drop probability in RAAQM"Alberto Compagno1-1/+2
2020-02-05Merge "[HICN-501] Change calculation of next reassembly segment when ↵Michele Papalini4-39/+57
manifests are enabled"
2020-02-05[HICN-503] correctly compute drop probability in RAAQMmichele papalini1-1/+2
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I1b74a88c4d46aae178599f43ac6f223b29d4dfc5
2020-02-05[HICN-502] fix min_filter max sizemichele papalini1-1/+1
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I108240376b67c221d440f43496a17513b89db0a3
2020-02-04[HICN-501] Change calculation of next reassembly segment when manifests are ↵Olivier Roques4-39/+57
enabled When manifests are enabled, the current way of computing the next reassembly segment is broken: if manifests are received out of order, which can happen if a interest for a manifest timeouts, reassembly will also be out of order. This patch makes uses of the SuffixContent class introduced in HICN-392 to correctly compute the index of the next segment to reassemble. Change-Id: I2784f3da544fef7b48a110dd6c233657610f44b8 Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-02-03Merge "[HICN-489] Add iOS support to hicn stack"Jordan Augé2-2/+2
2020-02-03[HICN-489] Add iOS support to hicn stackAngelo Mantellini2-2/+2
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I8fa8c4eaa3218eb4be46f713b15ab789c6930aa0
2020-01-31[HICN-499] RAAQM: do not reinitialize window at every call of consume.Mauro Sardara1-1/+0
Change-Id: I557164a31997574cbf93b0612cdd87e21be76c74 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-01-30[HICN-492] Initialization of vapi_ctx_t before calling vapi_safe_connect()Alberto Compagno2-12/+12
Change-Id: I26aeaffe40cfff460d9780319e54fcb74114cee4 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-30[HICN-445] Update to vpp 20.01Alberto Compagno1-13/+1
Change-Id: I19a442080b6ca8b0477a8f92f161282288c395ee Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-27[HICN-488] Adding lock to vapi calls and manage vapi_connect in order to ↵Alberto Compagno5-41/+75
connect only once. - Added library to hicn-plugin called safe_vapi that takes care of handling concurrent calls to the vapi. - Removed dependency of libhicnctrl from libtransport and added dependency to safe_vapi. - Added dependency to safe_vapi on libhicnctrl Change-Id: Ie49e8319f64a50e7ed6a56e041db977c3b184cc5 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-20[HICN-479] Fixed dependency on libhicnctrl-memif in libtransport-memif deb ↵Alberto Compagno1-2/+2
and rpm package Change-Id: I89e24f923a67192c2c57dbbd510c65a6b5a49457 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-01-09[HICN-471] Fix wrong callback check in RAAQMOlivier Roques1-1/+1
The wrong callback is null-checked before it is used in RAAQM. Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: Id602453ad18d0297663b7cef66daa58cc5c0891a
2019-12-20[HICN-466] expose rtt stats to appliaction in rtc transportmichele papalini1-0/+1
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: If7af2154f5054a475521bf84c8d455ad3058bbb9
2019-12-19[HICN-463] Initialize memory before sending message to hicn-light-forwarderMauro Sardara1-1/+1
Change-Id: I4cfd1d45fb754d9efb71ff80ae97ca4fe27e47a2 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-11Merge "[HICN-430] Rework on CMake"Luca Muscariello1-12/+12
2019-12-10[HICN-430] Rework on CMakeMauro Sardara1-12/+12
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>