Ask Your Question
0

How to setup CICFlowmeter on Ubuntu?

asked 2023-02-22 22:40:13 +0000

mr_x gravatar image

I am trying to use CICFlowmeter (https://pypi.org/project/cicflowmeter/) which is a tool that extracts feature from pcap file and converts them into a csv file. I have tried on windows 10,11 but for that we need Tcpdump which is incompatible with windows. If someone could help with setting up on Ubuntu I would really appreciate it.

Tried Windows 10,11. Tried on Ubuntu but as I am new to it, I feel I am having issues with directories. I have installed CICFlowmeter from the link ( from python) but unable to run it.

edit retag flag offensive close merge delete

Comments

Would it help if the Ubuntu system were on your Windows machine?
What is the Windows Subsystem for Linux?

Chuckc gravatar imageChuckc ( 2023-02-22 22:56:19 +0000 )edit

Hi, I am using Ubuntu in VirtualBox. If you see the link I provided, I am unable to download CICFlowmeter using python on Ubuntu.

mr_x gravatar imagemr_x ( 2023-02-22 23:05:15 +0000 )edit

So the pip install fails? Did you try git clone?

Chuckc gravatar imageChuckc ( 2023-02-22 23:53:46 +0000 )edit

I have tried the git clone and cloned the CICFlowmeter in Home on my Ubuntu Desktop. After going to the cicflowmeter directory and running: cicflowmeter -f example.pcap -c flows.csv, it shows that: "No module named 'requests' along with a few other lines of error. It might be something very basic that I am missing. I can't seem to post screenshots here, if you are on discord do let me know and I can send some screenshots.

mr_x gravatar imagemr_x ( 2023-02-26 16:17:46 +0000 )edit

You ran the setup step (python setup.py install) and are using python3?
(**REQUIRES_PYTHON = ">=3.7.0"**)

Maybe the setup step should be python3 setup.py install ?

Chuckc gravatar imageChuckc ( 2023-02-26 21:41:51 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-03-04 11:56:45 +0000

mr_x gravatar image

The Solution:

I was unable to set it up on linux however, the tool works fine with Windows 10, 11. It can be downloaded from the following link: https://drive.google.com/drive/folder...

Once downloaded, extract it, go to bin and open the batch file and you will see GUI asking you to perform offline or real time analysis.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2023-02-22 22:40:13 +0000

Seen: 1,654 times

Last updated: Mar 04 '23