Dependency
- DPDK 20.02(latest version is recommended)
- To install https://doc.dpdk.org/guides/index.html
- gcc 7.5.0
- sqlite3
- libsqlite3-dev(debian machine)
- libsqlite3x-devel.x86_64(centos,redhat machine)
Installation Guide
- Install latest version of DPDK
- as suggest before please go to https://doc.dpdk.org/guides/index.html and follow the guide
- clone this repo into your machine
- compile this repo by using make(GNU make not cmake)
- done!!!
Use Guide
- Please study about the dpdk parameter
- link about parameter http://doc.dpdk.org/guides/linux_gsg/linux_eal_parameters.html
Log file format
- Destination folder
- It's will live in the relative path that you run the session
- the storing path will be like this
- PATH_THAT_YOU_CALLED_PROGRAM/data/src/month-year/date(in that month)/hour(in 24 hour format)
- if you interest in dst just change src to dst
- forexample if you run in your home and you want to see src ip log in noon ~/data/src/06-2020/09/12
- File name and its format
- This program will save log file in csv format
- The file name format will be like this
- min(in that hour):sec(in that min)_no of packets in 1 min-tot frame size in 1 min.csv
- forexample 1:1_42069-555555.csv
- Log format
- There are 7 column in every log
- The information of each columns
- ip addr,destination port,no of packet,sum of frame size,ip version,packet/s(avg),Throughput
- ***no of packet and sum of frame size are stored only the packet that has this ip
- ip addr,destination port,no of packet,sum of frame size,ip version,packet/s(avg),Throughput