Update Python cffi bindings.
This commit is contained in:
+19
-20
@@ -1,7 +1,25 @@
|
|||||||
nDPI Python bindings
|
nDPI Python bindings
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
This directory contains the Python3 bindings for nDPI. We provide both ctypes and cffi based bindings.
|
This directory contains the Python3 bindings for nDPI. We provide both cffi and ctypes based bindings.
|
||||||
|
|
||||||
|
**cffi bindings**
|
||||||
|
|
||||||
|
Files:
|
||||||
|
|
||||||
|
* ndpi.py
|
||||||
|
|
||||||
|
Example (using `nfstream <https://github.com/aouinizied/nfstream>`_ package):
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
pip3 install nfstream
|
||||||
|
python3 flow_printer.py <interface>
|
||||||
|
python3 flow_printer.py <pcap_file>
|
||||||
|
|
||||||
|
Code courtesy:
|
||||||
|
|
||||||
|
* Zied Aouini
|
||||||
|
|
||||||
**ctypes bindings**
|
**ctypes bindings**
|
||||||
|
|
||||||
@@ -23,22 +41,3 @@ Code courtesy:
|
|||||||
|
|
||||||
* Massimo Puddu
|
* Massimo Puddu
|
||||||
* Zied Aouini
|
* Zied Aouini
|
||||||
|
|
||||||
**cffi bindings**
|
|
||||||
|
|
||||||
Files:
|
|
||||||
|
|
||||||
* ndpi.py
|
|
||||||
|
|
||||||
|
|
||||||
Example (using NFStream package):
|
|
||||||
|
|
||||||
.. code-block:: bash
|
|
||||||
|
|
||||||
pip3 install nfstream
|
|
||||||
python3 flow_printer.py <interface>
|
|
||||||
python3 flow_printer.py <pcap_file>
|
|
||||||
|
|
||||||
Code courtesy:
|
|
||||||
|
|
||||||
* Zied Aouini
|
|
||||||
+822
-744
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user