aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-02-09fix: do not always set adj_index of incoming packetsMauro Sardara1-1/+9
Ticket: HICN-839 Change-Id: I67faf5a158a0b58b9ec6d7dfdb234ae3155083b0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-02-08feat: libhicnctrl: new API to allow sending MAP-Me command on specific faceJordan Augé41-335/+925
Change-Id: Iac39a1d145a5c1b4f19e1fa35d713ca720393760 Ticket: HICN-832 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2023-02-07fix(hicn): fix bugs reported by sonarqubeMichele Papalini15-31/+38
Ref: HICN-837 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I0d02a11361b1ba5ad50123b2dd142c961998922f
2023-02-02fix(apps): fix issues reported by sonarqubeMichele Papalini19-231/+229
Ref: HICN-836 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: Ie76771ca75bd224084ce3c893aba661b97064419
2023-01-31Merge "feat(tests): add HMAC to functional tests"Luca Muscariello8-8/+11
2023-01-30Merge "fix(vpp): remove unused variables Ref: HICN-835"Michele Papalini1-8/+1
2023-01-30fix(vpp): remove unused variablesMichele Papalini1-8/+1
Ref: HICN-835 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I2d2eedff244077c6378cdf731873ba2d1c4f8ae7
2023-01-30fix(fib): fix lmp on hicn-light fibMichele Papalini2-47/+204
Ref: HICN-834 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: Ia5648c8784f2c90fb23d1860f8ee20e21158e5e7
2023-01-27feat(tests): add HMAC to functional testsOlivier Roques8-8/+11
Ref: HICN-833 Signed-off-by: Olivier Roques <oroques@cisco.com> Change-Id: I40df138798f980f8a89e5fd13db54c2ac89f34b7
2023-01-23fix(libhicnctrl): do not swap bytes when using vapiMauro Sardara1-1/+1
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: If1666dd5c31c662570ed10991b3d42d6095693ff
2023-01-23feat(hicn-plugin): reuse strategy node to forward interestsMauro Sardara4-196/+91
Before the interest forwarding was duplicated in 2 different nodes, the strategy_node and the interest_hitpit_node. Reuse the strategy node so that the nexthop selection via the strategy is done only in one place - teh strategy node. Change-Id: I2c72ec35b1df4e6ed8ce0877e9f3e6f5c1ae68f8 Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit 4ec2784197db60e4f287a88b7944ecb1067bfc08)
2023-01-21fix(vpp): remove unused variables in VPPMichele Papalini1-2/+0
Ref: HICN-831 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I486806b6555ad39b050b97d91fbb428fd0f81387
2023-01-20fix(hicn-plugin): handle inflight interest coming from deleted faceMauro Sardara4-46/+115
Ticket: HICN-830 Change-Id: I14ed32bba2b07575ee604850080309706eb8ce85 Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit 64fa723904d35eda3406058469b890a39c3f628c)
2023-01-20feat: implement set strategy API for hicn-pluginMauro Sardara10-180/+317
Ticket: HICN-829 Change-Id: I3dabc38e9cc2e06ebed14b9ed265d027f77b7e5f Signed-off-by: Mauro Sardara <msardara@cisco.com> (cherry picked from commit da0d60997bce1e40cc0b1c7b7f4f58df56bbead3)
2023-01-20Merge "fix(libhicnctrl)/hicn_plugin): copy address to correct offset"Mauro Sardara1-2/+2
2023-01-20fix: interest aggregationMauro Sardara2-40/+66
Interests processed in the same vector were not aggregated properly. Ticket: HICN-827 Change-Id: I9aa83e8689ec11642525fd3406972f1b2dea4d8f Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-20Merge "fix: correctly set next node for ifaces and faces"Mauro Sardara8-71/+67
2023-01-20fix(libhicnctrl)/hicn_plugin): copy address to correct offsetMauro Sardara1-2/+2
Copy address received from vapi into correct ip46address offset Ticket: HICN-826 Change-Id: I1bf23cc0920539f8883b499981f216038e51a8c0 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-20fix: correctly set next node for ifaces and facesMauro Sardara8-71/+67
Ticket: HICN-828 Change-Id: I7853bc37e34ca4f2303a537396aef4cb8b06ec98 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-20feat(vpp): improve tracingMauro Sardara2-2/+6
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ic20b5cc7f34b35c86b6c100f9a7c868b119bd129
2023-01-18fix: correctly print fib prefixesMauro Sardara1-3/+3
Change-Id: Icd00882577be78fe8996f53f737d87d5c8e2da99 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-17feat: local-remote strategyMauro Sardara27-186/+774
Ticket: HICN-824 Change-Id: Iea285cb499b13c943a142fa39328ee36c91ae913 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-16feat: forward local interest if PIT entry exists in case of local remote ↵Michele Papalini2-1/+48
strategy Ref: HICN-823 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I9e4b5da6ae1011e29e128d7811e29b3020a4a3cc
2023-01-13feat: update cmake modules versionMauro Sardara1-0/+0
Change-Id: I3154e22faa5c274dda3645f3a4e81cf5b6ea526b Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-12feat: set STREAM parameters in functional testsv23.02-rc0Mauro Sardara1-3/+6
Ticket: HICN-822 Change-Id: I0b05a3d4b01fe2ab35682eb7d70fa0f0bdf05176 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2023-01-10Merge "feat: upgrade to VPP 22.10"Luca Muscariello21-217/+605
2023-01-10feat: upgrade to VPP 22.10v22.10-rc0Mauro Sardara21-217/+605
Change-Id: I556bd8c44f0ff7a631a0df34b498ffd7952fcf4a Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-12-02fix(libtransport): fix variable type for port numberMichele Papalini1-3/+3
Ref: HICN-820 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: Ibad1b02abcc40734143ca3dad1d3e37c93ae8eaf
2022-12-02feat: configure hicnlight port in libtransport and libconfigMauro Sardara4-36/+65
Change-Id: Ib55747b4589150ce4a88938e28371c6cf5ab979b Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: Michele Papalini <micpapal@cisco.com>
2022-12-01feat(libtransport): add configuration section for hicnlight io_moduleMauro Sardara2-5/+56
And add configuration for hicnlight url. Ticket: HICN-819 Change-Id: I0c2557ca49078e1e405d078da2768372e5f44525 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2022-11-22feat(auth): add support for ED25519 and ED448Olivier Roques9-271/+194
Ref: HICN-818 Signed-off-by: Olivier Roques <oroques@cisco.com> Change-Id: I8672f022b74be387e16496660a78edf3c1da4bf1
2022-10-21Merge "fix(hicn-light): fib_contains incorrectly matches subprefixes"Michele Papalini2-2/+53
2022-10-21fix(libhicnctrl): hc_face_create does not update face id in parameterJordan Augé1-1/+4
Change-Id: I30090edb7d365befdc838e0b08ae22bdde377ea2 Ticket: HICN-817 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-19fix(sonar): False positives Identical sub-expressions on both sides of operatorLuca Muscariello3-5/+5
Ref: HICN-816 Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: Ifdbcad287f89378dc2a35110fac01dba9c341ef9
2022-10-19Merge "fix(libhicn): Out of bound memory access"Luca Muscariello1-2/+2
2022-10-18fix: show forwarder log after test executionMauro Sardara1-2/+2
The command to show the log should be executed with "sudo", as the log file is owned by the root user. Ticket: HICN-815 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I3c1bf40691037d32c09e095e6011992212b19e38
2022-10-18Merge "fix(hicn-light): access to field 'local' results in a dereference of ↵Luca Muscariello1-0/+5
a null pointer"
2022-10-17fix(sonar): Nodejs LTS updateLuca Muscariello1-1/+1
Ref: HICN-814 Signed-off-by: Luca Muscariello <muscariello@ieee.org> Change-Id: I3da9837c9e42d9b509dfb863c0f01302fe39aa97
2022-10-17fix(libhicn): Out of bound memory accessJordan Augé1-2/+2
Change-Id: If7ef58bc05dd62f58bf5d5a8bce0491afab37d42 Ticket: HICN-813 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-17fix(hicn-light): access to field 'local' results in a dereference of a null ↵Jordan Augé1-0/+5
pointer Change-Id: I7251e7024c2e0a29629df2a1a7d9b0561ec0e9a6 Ticket: HICN-812 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-17fix(hicn-light): fib_contains incorrectly matches subprefixesJordan Augé2-2/+53
Change-Id: I9575012a4980649a05a490057bf4a71675792396 Ticket: HICN-811 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-14refactor(hicn-light): cleanup towards optimizations to UDP socket faceJordan Augé12-59/+87
Change-Id: If5bc3c4dfcdde386ac02674f3c03d32d495b2231 Ticket: HICN-771 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-14Merge "fix(hicn-light): error handling for invalid connections + local ↵Mauro Sardara2-43/+36
bind/remote connect returning EINVAL in tests"
2022-10-14fix(hicn-light): error handling for invalid connections + local bind/remote ↵Jordan Augé2-43/+36
connect returning EINVAL in tests Change-Id: I7398ff034ce0b96ea31bc3fa9d5ba515a5c14804 Ticket: HICN-809 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-14fix(libhicnctrl): new create/face&route command failJordan Augé9-28/+169
Change-Id: I49d80a741672c4f9da75e36cc816fc53f37ac158 Ticket: HICN-808 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
2022-10-12test: instrument functional tests with more logsMauro Sardara18-322/+708
Also: - Do not tun tests with privileged containers HICN-806 - Refactor robot test files and config.sh Currently some logs are missing from the robot output of the functional tests. This patch adds them. Ticket: HICN-805 Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I9893eb356a4dd12f4bc6347b8fe02e358c9bf737
2022-10-11Merge "feat(strategy): forwarding strategy for local faces Ref: HICN-802"Michele Papalini11-1/+401
2022-10-11feat(strategy): forwarding strategy for local facesMichele Papalini11-1/+401
Ref: HICN-802 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I22b48d700b1b46599e570d841932d74c5ac65891
2022-10-07Merge "refactor(hicn-light): cleanup and optimizations to UDP socket face"Mauro Sardara17-129/+54
2022-10-07refactor(hicn-light): cleanup and optimizations to UDP socket faceJordan Augé17-129/+54
Ticket: HICN-771 Change-Id: Ie84dc2f61888c3fdd7b3728b2a13cacbac503d1a Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>