MCPcopy Index your code
hub / github.com/JieCaoSec/FastTraffic

github.com/JieCaoSec/FastTraffic @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
38 symbols 132 edges 6 files 2 documented · 5% updated 18mo ago★ 33
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

FastTraffic

The repository of FastTraffic, code for our Computer Networks Journal paper: FastTraffic: A lightweight method for encrypted traffic fast classification

Note: - ⭐ Please leave a STAR if you like this work!

Dependencies

  • Python 3.7
  • PyTorch 1.4.0

Dataset

Traffic preprocessing

  • Preprocessing method proposed in Deep Packet
  • python preprocess.py

Usage

Adjust ./dataset to your data

python run.py

Comparison baselines

  • Provided in ETC.

Please quote if it helps you

```bibtex @article{xu2023fasttraffic, title={FastTraffic: A lightweight method for encrypted traffic fast classification}, author={Xu, Yuwei and Cao, Jie and Song, Kehui and Xiang, Qiao and Cheng, Guang}, journal={Computer Networks}, volume={235}, pages={109965}, year={2023}, publisher={Elsevier} }

Core symbols most depended-on inside this repo

load_dataset
called by 3
utils_fasttraffic.py
build_iterator
called by 3
utils_fasttraffic.py
get_time_dif
called by 3
utils_fasttraffic.py
test
called by 2
train_eval.py
evaluate
called by 2
train_eval.py
_to_tensor
called by 2
utils_fasttraffic.py
get_parameter_number
called by 1
run.py
main
called by 1
run.py

Shape

Function 27
Method 8
Class 3

Languages

Python100%

Modules by API surface

utils_fasttraffic.py13 symbols
preprocess/preprocess_vpn.py11 symbols
models/FastTraffic.py5 symbols
train_eval.py4 symbols
run.py3 symbols
preprocess/utlis.py2 symbols

For agents

$ claude mcp add FastTraffic \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact