How masrafisiam/nids-drafting works
NIDS-Drafting is an exploratory network-intrusion-detection project, not a deployed detection service. Its documented workflow captures packets, converts captures to flow features with CICFlowMeter, and explores CICIDS2017 data in notebooks; training is currently a data-loading starting point. The capture script is the only sampled implementation, so notebook and conversion relationships below rely on README documentation rather than inspected notebook code. No inference-serving or live classification stage is documented.
Main entry points: capture.py Packet capture · capture.pcap Captured PCAP · 1.ipynb EDA exploration · training.ipynb Training data prep
Components 11
Traffic capture
- Packet capture
Capture_packets/capture.py - Captured PCAP
Capture_packets/capture.pcap
Flow conversion
- CICFlowMeter
- Flow feature CSV
Dataset analysis
- CICIDS2017 CSVs
- EDA exploration
1.ipynb - Training data prep
training.ipynb
Feature schema
- Dataset columns
columns.txt - Flow columns
Capture_packets/columns.txt
Other components
- Operator
- Network interface
Connections 9
- Operator → Packet capture: runs
README.md - Packet capture → Network interface: sniffs packets
Capture_packets/capture.py - Packet capture → Captured PCAP: writes capture
Capture_packets/capture.py - Captured PCAP → CICFlowMeter: reads capture
README.md - CICFlowMeter → Flow feature CSV: extracts features
README.md - CICIDS2017 CSVs → EDA exploration: loads data
README.md - CICIDS2017 CSVs → Training data prep: loads and merges
README.md - EDA exploration → Dataset columns: exports columns
README.md - CICFlowMeter → Flow columns: uses feature names
README.md