aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-09-14[HICN-574] Host stack plugin for VPP.Mauro Sardara141-340/+5747
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I8d8fdffef31a7013265d6529c5f52f3d5ec70d18 Signed-off-by: Mauro Sardara <msardara@cisco.com> Signed-off-by: Mauro <you@example.com> Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-09-14[HICN-635] Expose protocol API in libtransport.Mauro Sardara11-330/+592
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I626acb5f79a85b167d50da5c07fa597a9ff4d239
2020-09-14[HICN-598] [HICN-599] Fix hicn_name_t definition conflicts.Mauro Sardara10-534/+107
Change-Id: Ica8db44e27c3a4911ea869e91f96b781809373d8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-09-11[HICN-638] Check if systemd is running before enabling hicn-light service.Mauro Sardara1-1/+3
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I3864fdab16b20f1cd03d421a356d8bb9227bdf6f
2020-09-09[HICN-637] Remove hicn_plugin dependency from libtransport.Mauro Sardara2-16/+15
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Iabfe133ffc2235fa2341538767ce83c2e5ad77b1 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-07-17[HICN-633] compute the correct data packet size in hiperfmichele papalini1-1/+4
Signed-off-by: michele papalini <micpapal@cisco.com> Change-Id: If3492136cfc41da94d4d80538694eae4428c6f8c
2020-07-17[HICN-632] Do not send packets larger more than 1400 bytes over RTC socketMauro Sardara1-217/+236
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ib0a3fbdd35d451c1892b66b22f1599141b92e213 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-15Merge "[HICN-626] Return output from libhicnlight"Angelo Mantellini45-566/+984
2020-06-15[HICN-626] Return output from libhicnlightAngelo Mantellini45-566/+984
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I2351ce4dcefa1311fa09049f87e8317c8fe449f4
2020-06-10[HICN-627] CMake fix: consider local header files first and system ones after.Mauro Sardara2-3/+3
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I361c8e4f995dad976cc717c5027bcacdb2ba65f5 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-06-09Merge "[HICN-624] http proxy proxy does not stop"Angelo Mantellini1-0/+2
2020-06-09[HICN-623] Initialize is_async in ConsumerSocket constructor.Mauro Sardara4-23/+18
Also force transports to use base method TransportProtocol::start() instead of redefining their own start(), in order to have the callbacks and the boolean is_async_ initialized upon protocol start. Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I780b26cca5b8dc59f0def5c08a032bbc90371acd Signed-off-by: Mauro Sardara <msardara@cisco.com>
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-623] Initialize all the callbacks before starting a new RTC session.Mauro Sardara2-20/+2
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: Ic4b08e7eb0f01c9e5710d4da1ca68c6120dcd57e
2020-06-03Merge "[HICN-622] Add stop() functionality to http proxy."Angelo Mantellini17-64/+177
2020-06-03Merge "[HICN-610] Override hicn prefix used by http-proxy with one received ↵Angelo Mantellini3-32/+36
from configuration."
2020-06-03[HICN-622] Add stop() functionality to http proxy.Mauro Sardara17-64/+177
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I9091cd8ef0f9da869b886541a0116adf3f30e6b9 Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com>
2020-06-02[HICN-621] Upgrade libmemif to version 20.05Mauro Sardara1-1/+1
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I13728f2244d7e27498db5fd2e4c19e35a90e751f
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 Sardara17-86/+885
Change-Id: I6a76b31b743f155a2d9f7b88e84b838265aab6c8 Signed-off-by: Mauro Sardara <msardara@cisco.com>
2020-05-28[HICN-617] Prepare hicn-plugin for VPP 20.05 release.Mauro Sardara4-154/+148
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I701379bf0f088cad4a94209664de16e7bfe76f5e 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-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 Mantellini2-9/+1
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 Muscariello21-625/+600
2020-05-13Merge "[HICN-606] Added doxygen documentation"Luca Muscariello51-900/+840
2020-05-06[HICN-606] Added doxygen documentationAlberto Compagno51-900/+840
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: If2bf7f4f310adf6adbbb9ea29eafcb2a0ee40d54
2020-05-05[HICN-608] Added configuratin option to manage hicn behaviour with interfacesAlberto Compagno5-7/+28
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I8d48237b5dce737be443ec8949ac11721158d830
2020-05-04[HICN-603] Cleanup code for managing routeAlberto Compagno21-2328/+1334
- 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-05-04[HICN-602] Added bidirectional udp tunnelsAlberto Compagno22-54/+1343
- Implemented a udp decapsulation node - Added a hash table to identify the incoming udp tunnel when an interest or data packets are received - Added udp punting through udp_register_dst_port Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: Iffea4d81c5ea8ce8ccbbfd749113f06a698a2afe
2020-05-04[HICN-592] Updating the vrf 0 (default fib) when a mapme event occursAlberto Compagno13-202/+337
Updates on the vrf 0 will be reflected on the hicn vrf thanks to the fib entry tracking. Change-Id: I4afd6256593f27172c4b0a613316fb8428fa8e50 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-05-04[HICN-591] Created new command "hicn enable <prefix>" that enable hicn on a ↵Alberto Compagno20-292/+790
given prefix The changes include: - we use now a different vrf for the hicn routes. The default vrf (fib) contains every route, we sync the route we marked as hicn on the hicn vrf. In the vrf we use a custom dpo to implement the forwarding strategy. Change-Id: I399805eff8a62a5c41bf7b50831986a35bce4f76 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
2020-05-04[HICN-590] Removed andjacency type specific face implementationAlberto Compagno65-7077/+2021
Changes in the new implementation are: - the adjacency index is replaced with a dpo that allows the single face node to dispatch the packet to the right vlib node. - local and remote address in the face are replaced with a single nat address which is used to perform the nat operation when rewriting an interest or a data (in case of tunnels the nat address will be equal to 0) - the list of next hop in the load balance is no longer a list of dpos but a list of face id (this makes the code easier and increases the number of next hop we supports) Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I4ac2b4eb09425bfe1b3ca9f82d7d0ff564297b0d
2020-04-27[HICN-604] using host order port value to punt udp packetAlberto Compagno1-2/+2
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I9c135c76b881fecafe673517501d9539d2e30b2d
2020-04-27[HICN-604] Added missing punting for udp facesAlberto Compagno1-1/+8
Every time a udp face is created, a punting on the source port of the face is added Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I2b6205cdeb0ef8f527e2ce9a2046c345275b3bca
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-22[HICN-601] Redefine TCP flags with HICN_ prefixMauro Sardara3-49/+41
Change-Id: I9263a65f3f151d55cdefcd14d39df4a70df9a83c Signed-off-by: Mauro Sardara <msardara@cisco.com>
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