Skip to content

Characterization of Tor Traffic, Networking and Multimedia Lab, 2018 Spring NTUEE

Notifications You must be signed in to change notification settings

wayne1204/NMLab-final

 
 

Repository files navigation

NMLab Final Project

Networking and Multimedia Lab (2018 Spring) at National Taiwan University

Reference: [Packettotal]

Flow Detection

convert network flow to csv files

  • Usage
    • Real-time
    python pcap2csv.py realtime --packet_cnt[int]
    
    • Off-time
     python pcap2csv.py offtime --input[pcap directory] --output[csv directory]
    

Flow Classification

  • Usage:

    choose arch from [...] (K-nearest neighboring, decision tree, random forest for Scenario B)

    modify the config.json if other attributes specified

    • Scenario A

          python classifierA.py -k 10 --input-csv [csv_file] --config [config.json] --arch [knn, tree] 
      
    • Scenario B

          python classifierB.py -k 10 --input-csv [csv_file] --config [config.json] --arch [knn, tree, forest] 
      

About

Characterization of Tor Traffic, Networking and Multimedia Lab, 2018 Spring NTUEE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 40.5%
  • Python 39.2%
  • Batchfile 20.3%