ahlashkari / CICFlowMeter

CICFlowmeter-V4.0 (formerly known as ISCXFlowMeter) is an Ethernet traffic Bi-flow generator and analyzer for anomaly detection that has been used in many Cybersecurity datsets such as Android Adware-General Malware dataset (CICAAGM2017), IPS/IDS dataset (CICIDS2017), Android Malware dataset (CICAndMal2017) and Distributed Denial of Service (CICDDoS2019).
Other
525 stars 266 forks source link

CICFLOWMeter does not output anything on directory #92

Closed KaranNair97 closed 5 months ago

KaranNair97 commented 4 years ago

Hey there, I tried running the program by loading a .pcap file and setting an output directory, but no file is generated as an output. I also tried setting the output directory as a .csv file, which gave me no result either. Program Log - "

CICFlowMeter received 1 pcap file " debug log:

2020-07-14 23:08:21 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane    java.lang.UnsatisfiedLinkError: 'long com.slytechs.library.NativeLibrary.dlopen(java.lang.String)'
2020-07-14 23:08:21 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane    java.lang.UnsatisfiedLinkError: 'long com.slytechs.library.NativeLibrary.dlopen(java.lang.String)'
2020-07-14 23:08:29 DEBUG swing.common.SwingUtils    C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\gradle (Access is denied)
2020-07-14 23:08:29 DEBUG swing.common.SwingUtils    C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\jnetpcap (Access is denied)
2020-07-14 23:08:29 DEBUG swing.common.SwingUtils    C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\logs (Access is denied)
2020-07-14 23:08:29 DEBUG swing.common.SwingUtils    C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\src (Access is denied)
2020-07-14 23:08:29 DEBUG swing.common.SwingUtils    C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\target (Access is denied)

Please help me on how to proceed with this issue, Thanks!

RizkyAlmsyah commented 4 years ago

same i have problem too like this too image

RizkyAlmsyah commented 4 years ago

if u using windows install this https://www.winpcap.org/install/default.html and it'll worked

KaranNair97 commented 4 years ago

if u using windows install this https://www.winpcap.org/install/default.html and it'll worked Hey there, according to the winpcap site, the last official WinPcap release was 4.1.3. So you are suggesting to download this and run the process again to get it working? Because I already have it installed but it is still giving the same error. Please advise.

RizkyAlmsyah commented 4 years ago

yeah i'm using last official and worked image

check your logs again maybe you have another problem

KaranNair97 commented 4 years ago

yeah i'm using last official and worked image

check your logs again maybe you have another problem

Yea I think I do, this is what I see in my log file. Maybe something is wrong with my jnetpcap setup? I am not sure. Pls advise.

2020-07-14 22:51:48 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.NoClassDefFoundError: Could not initialize class org.jnetpcap.Pcap 2020-07-14 22:51:48 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.NoClassDefFoundError: Could not initialize class org.jnetpcap.Pcap 2020-07-14 22:51:49 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.NoClassDefFoundError: Could not initialize class org.jnetpcap.Pcap 2020-07-14 22:51:49 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.NoClassDefFoundError: Could not initialize class org.jnetpcap.Pcap 2020-07-14 22:51:49 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.NoClassDefFoundError: Could not initialize class org.jnetpcap.Pcap 2020-07-14 22:51:49 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.NoClassDefFoundError: Could not initialize class org.jnetpcap.Pcap 2020-07-14 22:51:49 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.NoClassDefFoundError: Could not initialize class org.jnetpcap.Pcap 2020-07-14 22:51:49 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.NoClassDefFoundError: Could not initialize class org.jnetpcap.Pcap 2020-07-14 22:52:25 DEBUG cic.cs.unb.ca.flow.ui.FlowOfflinePane offline select output C:\Users\Karan Nair\Desktop\iTrust Data 2020-07-14 23:08:21 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.UnsatisfiedLinkError: 'long com.slytechs.library.NativeLibrary.dlopen(java.lang.String)' 2020-07-14 23:08:21 DEBUG cic.cs.unb.ca.flow.ui.FlowMonitorPane java.lang.UnsatisfiedLinkError: 'long com.slytechs.library.NativeLibrary.dlopen(java.lang.String)' 2020-07-14 23:08:29 DEBUG swing.common.SwingUtils C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\gradle (Access is denied) 2020-07-14 23:08:29 DEBUG swing.common.SwingUtils C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\jnetpcap (Access is denied) 2020-07-14 23:08:29 DEBUG swing.common.SwingUtils C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\logs (Access is denied) 2020-07-14 23:08:29 DEBUG swing.common.SwingUtils C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\src (Access is denied) 2020-07-14 23:08:29 DEBUG swing.common.SwingUtils C:\Users\Karan Nair\PycharmProjects\CICFlowMeter\target (Access is denied)

KaranNair97 commented 4 years ago

flowmeter error

This is what I see in the flowmeter. The files are found but they are not being parsed as there is no output.

RizkyAlmsyah commented 4 years ago

Where directory u using? maybe cannot access because directory on admin system. Or maybe reinstall again

Mambo1818 commented 4 years ago

Mr RizkyAlmsyah, Are you using .zip package provided via link????https://www.researchgate.net/publication/326991554_CICFlowmeter-V40_formerly_known_as_ISCXFlowMeter_is_a_network_traffic_Bi-flow_generator_and_analyser_for_anomaly_detection_httpsgithubcomISCXCICFlowMeter

RizkyAlmsyah commented 4 years ago

Mr RizkyAlmsyah, Are you using .zip package provided via link????https://www.researchgate.net/publication/326991554_CICFlowmeter-V40_formerly_known_as_ISCXFlowMeter_is_a_network_traffic_Bi-flow_generator_and_analyser_for_anomaly_detection_httpsgithubcomISCXCICFlowMeter

No, i'm just clone from here

NguyenQuangMinh0504 commented 9 months ago

i met the same issue with Ubuntu 20.04 and solve it by follow instruction from https://github.com/ahlashkari/CICFlowMeter/pull/85

daetz-coder commented 7 months ago

flowmeter error

This is what I see in the flowmeter. The files are found but they are not being parsed as there is no output. Maybe you should check if the service starts up properly. You can use thesc query npf command to check it out. Alternatively, you can uninstall Npcap; WinPcap alone is sufficient.

ahlashkari commented 5 months ago

Hi, We are pleased to announce that the first version of the Network and Transportation Layers Flow Analyzer (NTLFlowLyzer) is now available as part of the Understanding Cybersecurity Series (UCS) knowledge mobilization program. This Python open-source project has been designed and developed to address many issues encountered with CICFlowMeter. It extracts over 300 features from TCP-based network traffic, tailored explicitly for Anomaly Profiling (AP). NTLFlowLyzer serves as a key component of the upcoming NetFlowLyzer.

https://github.com/ahlashkari/NTLFlowLyzer

Best, BCCC Team https://www.yorku.ca/research/bccc/