aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src
AgeCommit message (Collapse)AuthorFilesLines
2020-04-11[HICN-595] Bring TLS up to dateOlivier Roques17-370/+362
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 Mantellini4-11/+10
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini4-11/+10
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 Roques2-76/+89
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 Sardara1-37/+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 Sardara18-196/+137
Change-Id: I8b46b4eb2ef5488c09041887cc8296a216440f33 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-27Merge "[HICN-539] Expose portal APIs to applications"Angelo Mantellini7-60/+118
2020-02-27[HICN-539] Expose portal APIs to applicationsMauro Sardara7-60/+118
Change-Id: Icbaad69981193119714f5689faf3518d2e152e11 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-27[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhereMauro Sardara12-30/+24
Change-Id: Iddbc427611c888b28059170a70c0925ebb299cb5 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-26[HICN-534] Major rework on libtransport organizationMauro Sardara196-9194/+3790
Change-Id: I361b83a18b4fd59be136d5f0817fc28e17e89884 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-21Merge "[HICN-2] Added P2P confidential communication on hICN"Alberto Compagno52-347/+3640
2020-02-21[HICN-2] Added P2P confidential communication on hICNAlberto Compagno52-347/+3640
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-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é1-1/+1
2020-02-03[HICN-489] Add iOS support to hicn stackAngelo Mantellini1-1/+1
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 Compagno4-36/+70
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-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-06[HICN-437] concurrency problem in rtc producer socketmichele papalini2-3/+3
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: I629914f48e00814796f16b201e03549e9c7941bd
2019-12-04Merge "[HICN-433] fix and tune parameters in rtc transport"Mauro Sardara1-2/+2
2019-12-04[HICN-433] fix and tune parameters in rtc transportmichele papalini1-2/+2
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ib67d395e0c7c4ac4c11dabe44cbde417faa70e20
2019-12-04[HICN-427] Producer and consumer socket created with vapiAlberto Compagno13-984/+402
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I44142385b191b4c9b5c4bb418bfbd06a5e102eec
2019-12-02Merge "[HICN-425] RTC min window"Alberto Compagno1-3/+0
2019-12-02[HICN-425] RTC min windowmichele papalini1-3/+0
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ic75e11dcf43b7ed947a8f577d9aa5d345d5662ee
2019-12-02[HICN-426] Add isRunning API to consumer and producer socket.Mauro Sardara3-0/+9
Change-Id: I5a144f804b87c3575f24c57ba5086136ec02efcd Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-12-02Merge "[HICN-425] RTC min window"Alberto Compagno2-2/+8
2019-12-02[HICN-425] RTC min windowmichele papalini2-2/+8
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ieb41ffff61ed4341dc9aacb58d3e7c397e72fc41
2019-11-29[HICN-423] Handle exception of producer socket thrown upon socket disposing.Mauro Sardara1-1/+7
Change-Id: I2458d054150ca307cf7ac0391f7698ebf2e7466e Signed-off-by: Mauro Sardara <msardara@cisco.com>
2019-11-25Merge "[HICN-406] Adding face deletion on the hicn-plugin when the ↵Mauro Sardara4-7/+95
corresponding socket is destroyed"
2019-11-22[HICN-413] rtc client improvementsmichele papalini2-9/+20
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: Ia23dee91776ccaa0bdf667eefc850e298f966cec
2019-11-22Merge "[HICN-411] Change how manifests are requested"Alberto Compagno3-90/+73