Giter Site home page Giter Site logo

runtest007 / dpdk_surcata_4.1.1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vipinpv85/dpdk_suricata-4_1_1

0.0 0.0 0.0 15.06 MB

suricata4.1.1增加dpdk数据采集

License: MIT License

Makefile 2.78% Shell 3.71% M4 0.84% Perl 0.30% Python 1.60% C 80.06% CSS 0.01% Roff 0.05% PHP 0.04% C++ 6.90% Lua 0.01% Rust 3.67% Objective-C 0.01% Dockerfile 0.01% SmPL 0.04% Raku 0.01%

dpdk_surcata_4.1.1's Introduction

DPDK_SURICATA-4_1_1

Planning to merge ACL from 3.0 with dpdk 19.11.

Motivation

Create simple DPDK RX-TX to allow packets into SURICATA processing pipeiline mode. First step to speed up suricata open source user space application using DPDK PMD

dpdk-suricata

Things to do

  • allow packets to captured by Recieve and Decode threads
  • implement SW or HW Symmetric Hashing for reassembled packets.
  • flatten the packet buffer for full zero-copy mode.
  • use SW or HW ACL for classification on directional rules.

How to Build?

dependency

version:

software release
DPDK dpdk-stable-18.11.1
Suricata suricata-4.1.4

Build and Run

DPDK 18.11.3

  • Download DPDK from dpdk.org.
  • Untar DPDK tar file.
  • Execute the following commands
 cd <to unatar dpdk folder>
 make config T=x86_64-native-linuxapp-gcc O=x86_64-native-linuxapp-gcc
 export RTE_SDK=$PWD
 export RTE_TARGET=x86_64-native-linuxapp-gcc
 cd x86_64-native-linuxapp-gcc
 make -j 4
  • Test the custom build by cross checking examples like helloworld & l2fwd.

modified suricata:

steps explanation
autoconf to build the configure script with DPDK support
./configure --enable-dpdk makes configuration with dpdk
make -j 10 build suricata with 10 threads

How to Run?

command purpose
./src/suricata --build-info; ./src/suricata --list-runmodes get suricata version and supported modes
./src/suricata --list-dpdkports list DPDK available ports
./src/suricata --dpdk=<path to to config>/mysuricata.cfg Run DPDK suircata with mysuricata.cfg

dpdk_surcata_4.1.1's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.