Skip to main content

Distributed Network Packet Analysis Pipeline for Layer 2, 3 and 4 Frames

Project description

Python 3 AI-ready framework for recording network traffic in a data pipeline. Once recorded, you can train a deep neural network (DNN) to identify attack and non-attack traffic on your network. Included demo DNN has over 83% accuracy predicting attack vs non-attack records. Currently supports recording ethernet and arp (layer 2), ipv4, ipv6 and icmp (layer 3) and also tcp, udp frames (layer 4) frames and datagrams. Messages are auto-forwarded over to redis or rabbitmq for distributed processing in realtime. Why should I use this? This framework can help build, train and tune your own defensive machine learning models to help defend your own infrastructure at the network layer. Once the data is auto-saved as a csv file, then you can build models within Jupyter notebooks: https://github.com/jay-johnson/celery-connectors#running-jupyterhub-with-postgres-and-ssl or your ML/AI framework of choice. This pip also has an example for training a Keras Deep Neural Network model to predict attack and non-attack records using a captured and prepared dataset. There are test tools installed with this pip to quickly send mock: TCP, UDP, ARP and ICMP packets. This build currently utilizes scapy-python3 for packet recording: https://github.com/phaethon/scapy Future builds will utilize the multiprocessing engine included but does not filter src/dst ports correctly yet.The license will be full Apache 2 once that migration is done.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

network-pipeline-1.2.6.tar.gz (47.9 kB view details)

Uploaded Source

Built Distribution

network_pipeline-1.2.6-py2.py3-none-any.whl (83.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file network-pipeline-1.2.6.tar.gz.

File metadata

  • Download URL: network-pipeline-1.2.6.tar.gz
  • Upload date:
  • Size: 47.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for network-pipeline-1.2.6.tar.gz
Algorithm Hash digest
SHA256 e704b28d60f05101f9fe2b8b35e90a077ab6eb6610304dceae83fca8936ef192
MD5 4b7cef1e4c66f6bad5721791d842f08c
BLAKE2b-256 eea2e535a392babc69297126b24b5ea1e066a4a8c18bd466b5e3cbf2d6c7bffc

See more details on using hashes here.

File details

Details for the file network_pipeline-1.2.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for network_pipeline-1.2.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4e174f429e2b3c0845f20196ca0d18ccddf92f43ba71130cc767c9973d02961e
MD5 f23f3b61c3570e13e6c69fab8204d536
BLAKE2b-256 ac934a286ae7c5367c7fd70d55d0467d5fb2c46f05156924e837f153820c9b6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page