CICFlowMeter icon indicating copy to clipboard operation
CICFlowMeter copied to clipboard

CICFLOWMeter does not output anything on directory

Open KaranNair97 opened this issue 4 years ago • 10 comments

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!

KaranNair97 avatar Jul 14 '20 15:07 KaranNair97

same i have problem too like this too image

RizkyAlmsyah avatar Jul 18 '20 11:07 RizkyAlmsyah

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

RizkyAlmsyah avatar Jul 18 '20 12:07 RizkyAlmsyah

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.

KaranNair97 avatar Jul 18 '20 15:07 KaranNair97

yeah i'm using last official and worked image

check your logs again maybe you have another problem

RizkyAlmsyah avatar Jul 19 '20 05:07 RizkyAlmsyah

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 avatar Jul 19 '20 06:07 KaranNair97

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.

KaranNair97 avatar Jul 19 '20 06:07 KaranNair97

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

RizkyAlmsyah avatar Jul 19 '20 12:07 RizkyAlmsyah

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

Mambo1818 avatar Jul 31 '20 12:07 Mambo1818

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

RizkyAlmsyah avatar Aug 01 '20 12:08 RizkyAlmsyah

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

NguyenQuangMinh0504 avatar Nov 29 '23 08:11 NguyenQuangMinh0504

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 the sc query npf command to check it out. Alternatively, you can uninstall Npcap; WinPcap alone is sufficient.

astudent2020 avatar Feb 06 '24 11:02 astudent2020