summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-04-20Merge "[HICN-596] Exporting hicn.api_types.h and hicn.api_enum.h"Alberto Compagno1-2/+4
2020-04-17[HICN-597] Add API to mark packet as interest/data.Mauro Sardara9-39/+107
Change-Id: I1106211d3cac63d0817d4908bd03d6a0ccd2b8e0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-04-16[HICN-596] Exporting hicn.api_types.h and hicn.api_enum.hAlberto Compagno1-2/+4
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: Iab0c363789215b5a5792bda8e228a1557c3b3a39
2020-04-11[HICN-595] Bring TLS up to dateOlivier Roques21-625/+600
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-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-04-07Regenerate the hicn packagesAngelo Mantellini1-0/+2
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ia6ef4905e1b1d45539aa3ebc5d6260fd48040792
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-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini1-1/+3
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I74f7c08ddd4494ce9ca6df7519785fe12cd1010f
2020-03-31Merge "[HICN-581] update hicn stack to support windows, again"Angelo Mantellini27-76/+333
2020-03-31[HICN-581] update hicn stack to support windows, againAngelo Mantellini27-76/+333
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ic5cfeae600fde8140a076807fa1e411da1933a02
2020-03-27[HICN-583] Remove obsolete code from hiperfOlivier Roques1-7/+0
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: If8bea63ccb026be54293512d371d3a269e11385e
2020-03-27[HICN-458] Setting data packet size socket option when the payload size is ↵Alberto Compagno2-2/+7
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 Roques5-96/+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-23Merge "[HICN-572] Updated sysrepo documentation"Luca Muscariello1-6/+10
2020-03-23Merge "[HICN-551] Removed source code that uses acl"Luca Muscariello14-2251/+177
2020-03-23Merge "[HICN-549] Refactored pg to use punting through fib"Luca Muscariello3-252/+304
2020-03-23Merge "[HICN-548] Added node to perform a lookup in the fib with the src ↵Luca Muscariello3-1/+731
address to punt data packets"
2020-03-23Merge "[HICN-547] Removing punting through acl for interests"Luca Muscariello36-1035/+1007
2020-03-20[HICN-551] Removed source code that uses aclAlberto Compagno14-2251/+177
- Removed punting from the sysrepo-plugin - Removed calls to the punting functions of binary api in the libhicnctrl - Added documentation in vpp-plugin.md and doxygen related to pg Change-Id: I8936156d51524797441ec49f0d5e801a1ad3643a Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-20[HICN-549] Refactored pg to use punting through fibAlberto Compagno3-252/+304
- interest packet generator uses the fib to forward interests. The entry in the fib matching the interest name can be a regular IP fib entry or an hICN fib entry. It is up to who configure the forwarder to chose how the forwarding should be done - the hicnpg-data is used to keep track of the number of data received in order to have statistics corresponding to the number of interests sent and data received (interest satisfied). This node punt packet registers himself as a node for satisfying local tcp packets (ip4_register_protocol or ip6_register_protocol), therefore tcp packets carrying a local address will be forwarded to it. - The hicnpg-server node satisfies interest packets by creating the correspoding data packet. It punts packet by using a feature on the interface that is passed in the configuration. Every packet that arrives on such interface is threated as an hICN interest. Change-Id: I75ffec4ce0a5afeaf321bcc48dd13fd307dd2925 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-20[HICN-573] Fixed match of data packet in the producer app faceacompagn1-0/+18
- Now the match honor the prefix length specified in the producer app face Signed-off-by: acompagn <acompagn@cisco.com> Change-Id: Icdd80b02603bb79ceeb0ab14e2da51328c0f9b74
2020-03-20[HICN-572] Updated sysrepo documentationAlberto Compagno1-6/+10
- Removed reference to the old sysrepod - Added information for the authentication to netopee2-server Change-Id: I435458bebb8f95eb8e63a45fa7fa8a3e060a08e4 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-19[HICN-548] Added node to perform a lookup in the fib with the src address to ↵Alberto Compagno3-1/+731
punt data packets Change-Id: Ia1d3a5d5b1df8bf17b289954289d449715803cfa Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-19[HICN-547] Removing punting through acl for interestsAlberto Compagno36-1035/+1007
Change-Id: I71767f732ec6ede1efc66e5a99f09c3207367dcb Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-18[HICN-562] Add new options to VPP collectd pluginsOlivier Roques3-89/+188
Add two options to the vpp and vpp-hicn plugins: * Verbose, to enable additional statistics * Tag, to tag the data with a given string Change-Id: Ifee6c979654f87a13787095dddab0076b218e334 Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-03-18Merge "[HICN-553] Fixed path to root cmake folder that contains the macros ↵Mauro Sardara1-1/+1
definitions"
2020-03-18[HICN-553] Fixed path to root cmake folder that contains the macros definitionsAlberto Compagno1-1/+1
Change-Id: Ie8c1004ce7d08e686a3e4a28eee4108830ac94cc Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-03-17[HICN-552] don't use hicn socket on apple OSAngelo Mantellini3-4/+9
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ib555fb14d3240c85f5aa4eef065faad8f2ff9795
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 Sardara5-22/+40
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I844dfa64a977c9c41bfc103bb110c274802b1839 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-03-09Merge "[HICN-540] Optimizations for libhicntransport"Alberto Compagno24-224/+351
2020-03-09[HICN-540] Optimizations for libhicntransportMauro Sardara24-224/+351
Change-Id: I8b46b4eb2ef5488c09041887cc8296a216440f33 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-03-05[HICN-541] Add custom type database of collectd pluginsOlivier Roques3-4/+49
This patch adds the database containing the types that the two collectd plugins, vpp and vpp-hicn, defines. It is useful when using InfluxDB as it requires the type database for multi-value metrics (see https://docs.influxdata.com/influxdb/v1.7/supported_protocols/collectd/). Change-Id: Ia3e630b134e58e942be38cacb9b23379066c6e63 Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-03-04[HICN-541] Change installation directory of collectd pluginsOlivier Roques3-5/+5
Signed-off-by: Olivier Roques <oroques+fdio@cisco.com> Change-Id: Ic298e57c11a0b86976d52096a2f691dd511adc3f
2020-03-02Merge "[HICN-537] Update telemetry documentation"Luca Muscariello3-6/+12
2020-02-28[HICN-537] Update telemetry documentationOlivier Roques3-6/+12
Change-Id: I3f6c656164b27481e029eb72a63030bb592a6f1b Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-02-27Merge "[HICN-539] Expose portal APIs to applications"Angelo Mantellini10-64/+333
2020-02-27[HICN-539] Expose portal APIs to applicationsMauro Sardara10-64/+333
Change-Id: Icbaad69981193119714f5689faf3518d2e152e11 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-27Merge "[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm ↵Angelo Mantellini17-45/+39
everywhere"
2020-02-27[HICN-538] Use type utils::CryptoHashtype instead of HashAlgorithm everywhereMauro Sardara17-45/+39
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-26Merge "[HICN-534] Major rework on libtransport organization"Michele Papalini218-3909/+4469
2020-02-26[HICN-534] Major rework on libtransport organizationMauro Sardara218-3909/+4469
Change-Id: I361b83a18b4fd59be136d5f0817fc28e17e89884 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-25[HICN-533] Update and format documentationOlivier Roques11-425/+509
This patch fixes misspells, improves readability and tries to make the different source files consistent between each other. It also updates hiperf usage and hicn + VPP installation (in utils.md) and fixes some mistakes related to collectd plugins (in telemetry.md). Change-Id: I100a1c7e40dbe9c485ae4548ffc653765f4421b9 Signed-off-by: Olivier Roques <oroques+fdio@cisco.com>
2020-02-24[HICN-532] Add docs target in build-package scriptMauro Sardara1-13/+42
Change-Id: I143509be32a3897880e02f55856a4ca1b2522269 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-02-21Merge "[HICN-2] Added P2P confidential communication on hICN"Alberto Compagno63-638/+4198
2020-02-21[HICN-2] Added P2P confidential communication on hICNAlberto Compagno63-638/+4198
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>