danieledesensi / peafowl Goto Github PK
View Code? Open in Web Editor NEWHigh performance Deep Packet Inspection (DPI) framework to identify L7 protocols and extract and process data and metadata from network traffic.
License: MIT License
High performance Deep Packet Inspection (DPI) framework to identify L7 protocols and extract and process data and metadata from network traffic.
License: MIT License
Can you, please, give an example how can I get a packet from live capture with pcap and classify it? For example:
if(packet.protocol == IP_ICMP){ dosomething(); }
I would like to use the peaflow.c / peaflow.h functions and not use js
Hi Daniele,
Is this project still considered active? I'd like to try add a few protocols but I can't quite bootstrap.
Since the original repo in the makefile is gone and info is vague, any indication where to get:
#include <ff/multinode.hpp>
#include <ff/fftree.hpp>
Also requirement for libboost-dev is undeclared
Thanks & Buon Weekend
Is it possible to inspect the HTTPs packet (its data/headers/complete URL)?
Patch to add
Dissector to add
Dissector to update or check
Dissector probably wrong or incomplete
RTCP fields not extracted unless a RTCP_*_ALL field is specified
I think what is the typo here:
Line 1124 in 4c479fe
Should be (*(tmp + 1) == 'I' || *(tmp + 1) == 'i') &&
Library had some problems when received tcp packet with new syn flag (new session) on already established session. In this case dpi thinks that protocol already detected. I think needed some code to handle this situation.
Hi,
Can you provide any working example with DPDK and classify traffic using peafowl.
Thank you,
Manoj
Building on arm64 Ubuntu Xenial fails with:
[ 94%] Building CXX object demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/http_pm_seq.cpp.o
In file included from /usr/src/peafowl/include/peafowl/external/fastflow/ff/dynqueue.hpp:46:0,
from /usr/src/peafowl/include/peafowl/external/fastflow/ff/ubuffer.hpp:73,
from /usr/src/peafowl/demo/http_pattern_matching/http_pm_seq.cpp:53:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp: In member function ‘bool ff::SWSR_Ptr_Buffer::push(void*)’:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp:225:17: error: ‘WMB’ was not declared in this scope
WMB();
^
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp: In member function ‘bool ff::SWSR_Ptr_Buffer::multipush(void* const*, int)’:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp:257:17: error: ‘WMB’ was not declared in this scope
WMB();
^
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp: In member function ‘bool ff::Lamport_Buffer::push(void*)’:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/buffer.hpp:456:17: error: ‘WMB’ was not declared in this scope
WMB();
^
In file included from /usr/src/peafowl/include/peafowl/external/fastflow/ff/ubuffer.hpp:73:0,
from /usr/src/peafowl/demo/http_pattern_matching/http_pm_seq.cpp:53:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/dynqueue.hpp: In member function ‘bool ff::dynqueue::push(void*)’:
/usr/src/peafowl/include/peafowl/external/fastflow/ff/dynqueue.hpp:168:13: error: ‘WMB’ was not declared in this scope
WMB();
^
demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/build.make:62: recipe for target 'demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/http_pm_seq.cpp.o' failed
make[2]: *** [demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/http_pm_seq.cpp.o] Error 1
CMakeFiles/Makefile2:520: recipe for target 'demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/all' failed
make[1]: *** [demo/http_pattern_matching/CMakeFiles/http_pm_seq.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.