aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-02-24fix hyperscan and udpi's buildingJunfeng Wang5-43/+34
Change-Id: I004a2d0ac46ebc452d65a0dfbdb8272d7788d5a8 Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-12-19fix Makefile typo and use devtoolset-7's absolute path in CAMEv20.05-rc0Junfeng Wang1-4/+6
Change-Id: I5f001a3db57d1e610da925c349b6558653844db5 Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-12-11Fix the problem of excessive memory usage of build-hyperscan-packagefeng-zhu1-1/+1
Signed-off-by: feng-zhu <feng.zhu@intel.com>Junfeng Wang<drenfong.wang@intel.com> Change-Id: I100d791e32de0ad15286938cdeacb7f5ea8fd73f
2019-12-04fix tab/space issue in makefileJunfeng Wang1-2/+3
Change-Id: I2a4ad8e6523df23fd1abbf8cbe68e4e7b6ca6076 Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-11-26Fix the bug of udpi_plugin.so installed in wrong path.feng-zhu1-6/+5
Signed-off-by: feng-zhu <feng.zhu@intel.com>;Junfeng Wang <drenfong.wang@intel.com> Change-Id: I5c8c91ea85b6225841bea55649e902e3e65e34b4
2019-11-18add build infra for udpiJunfeng Wang3-0/+566
Change-Id: Ic17ddac579a8eb66e984ed5c075a16e4dabe06ce Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-11-06Merge "enable dpi hw-offload basic feature"Hongjun Ni5-61/+94
2019-10-22enable dpi hw-offload basic featureJunfeng Wang5-61/+94
Change-Id: Id715d39be418471838feaa2e14f6ad805650b177 Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-10-16Fix typo in readmeWang Xiang W1-1/+1
Signed-off-by: Wang Xiang W <xiang.w.wang@intel.com> Change-Id: Ia32fa708dd68a7e0401bfba097ea6a5ed1ed3924
2019-09-10fix dpi_flow_input pkt's Pointer offsetJunfeng Wang3-197/+65
Change-Id: I584c3abac30136c7d106d055c7c96eea9bb94381 Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-09-09add included pathJunfeng Wang1-3/+3
Change-Id: I292eb718cafbaebe8e0f516f52cd685a885db501 Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-09-09Merge "modify source code"Hongjun Ni10-71/+723
2019-09-09modify source codev0.0Junfeng Wang10-71/+723
1. add CMakeList for udpi 2. modify code to make it can be compiled without vpp source code Change-Id: Iabb7337a0db95d981f4ecc4e3e0cc3a3545dd5cf Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-09-09Add initial codeHongjun Ni10-0/+3176
The inital code is from this patch: https://gerrit.fd.io/r/#/c/vpp/+/16580/ It is contributed by Intel and Travelping. Jerome Tollet, Ed Warnicke, Dave Barach, Damjan Marion from Cisco and other guys have gave lots of useful comments on it. The initial code is used for identifying layer-7 applications for HTTPS/TLS traffic - Below is the brief design info. - Provides a default APPID database for scan. - Dynamically create new SW mapping has been supported now. - Support TCP connection state tracking. - Support TCP segments reassembly on the fly, which handles out-of-order tcp segments and overlapping segments. It means that we do not need to reassembly segments first, then dedect applicaion, and then fragment segments again, which helps to improve performance. - Support Hyperscan Stream mode, which can scan rules straddling into different tcp segments. It means that if there is a rule "abcde", then "abc" can be in packet 1, and "de" can be in packet 2. - Configure static dpi flows with 5-tuple and VRF-aware, and supports both ipv4 and ipv6 flows. These flows will first try to HW offload to NIC based on DPDK rte_flow mechanism and vpp/vnet/flow infrastructure. If failed, then will create static SW flow mappings. Each flow configuration will create two HW or SW flow mappings, i.e. for forward and reverse traffic. And both flow mappings will be mapped to the same dpi flow. SW entry aging out mechanism will be added later. "dpi flow [add | del] " "[src-ip <ip-addr>] [dst-ip <ip-addr>] " "[src-port <port>] [dst-port <port>] " "[protocol <protocol>] [vrf-id <nn>]", "dpi set flow-offload hw <interface-name> rx <flow-id> [del]", "dpi set ip4 flow-bypass <interface> [del]", - When HW flow offload matched, packets will be redirected to DPI plugin with dpi flow_id in packet descriptor. If not, packets will be bypassed to DPI plugin from ip-input, and then lookup SW flow mapping table. - Then will detect layer 7 applications. This first patch only detect sub protocls within SSL/TLS. 1). Identify SSL/TLS certificate message and subsequent segments. 2). Scan SSL/TLS certificate message through hyperscan, and get application id if matched. 3). If maximum packets for this flow are checked and not found matched application, the detection will end up. Ticket: Type: feature Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Signed-off-by: Andreas Schultz <andreas.schultz@travelping.com> Signed-off-by: Mathias Gumz <mathias.gumz@travelping.com> Change-Id: I839cc70ddc80ea594d22a04e2cabf92a7b9c74e7
2019-09-09Fix: src_port set wrongly in dpi_add_del_rx_flowMichael Yu1-1/+1
Type: fix Signed-off-by: Michael Yu <michael.a.yu@nokia-sbell.com> Change-Id: Ie9c62184492e90ac68af330572d6e30ac5020528
2019-09-09Revert "add source code"Junfeng Wang14-4016/+10
This reverts commit 4b0f20eed87e8b1542f991e06f4868b05f36dd64. Reason for revert: <INSERT REASONING HERE> Change-Id: I81a3d178c661bbc4e6fd9b0d6063a12bbfc0817c Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-09-09Revert "modify readme"Junfeng Wang1-8/+8
This reverts commit 656ec664092100387c6a0d338c1251b4ceb177e6. Reason for revert: <INSERT REASONING HERE> Change-Id: Ic796fa1111cfac8df5c006856dde51c77fcd1c7d Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-09-09modify readmeJunfeng Wang1-8/+8
Change-Id: I5b5aa90f181b3ef34f032ce87846a6dc056f916f Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-09-06add source codeJunfeng Wang14-10/+4016
Change-Id: I70aa9a0e05bbb5f38b2d6fb74c9d21db356dc889 Signed-off-by: Junfeng Wang <drenfong.wang@intel.com>
2019-08-30Add README file for initializationHongjun Ni1-0/+28
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com> Change-Id: I782abbca992f0a2ff35423c90357b2ad6b15ba94
2019-08-29Forcing .gitreview into repoVanessa Rene Valderrama1-0/+5
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-08-29Initial empty repositoryVanessa Rene Valderrama0-0/+0