Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CICFLOWMeter does not output anything on directory #92

Closed
KaranNair97 opened this issue Jul 14, 2020 · 12 comments
Closed

CICFLOWMeter does not output anything on directory #92

KaranNair97 opened this issue Jul 14, 2020 · 12 comments

Comments

@KaranNair97
Copy link

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
Copy link

RizkyAlmsyah commented Jul 18, 2020

same i have problem too like this too
image

@RizkyAlmsyah
Copy link

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

@KaranNair97
Copy link
Author

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
Copy link

RizkyAlmsyah commented Jul 19, 2020

yeah i'm using last official and worked
image

check your logs again maybe you have another problem

@KaranNair97
Copy link
Author

KaranNair97 commented Jul 19, 2020

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
Copy link
Author

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
Copy link

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

@Mambo1818
Copy link

Mambo1818 commented Jul 31, 2020

@RizkyAlmsyah
Copy link

@NguyenQuangMinh0504
Copy link

i met the same issue with Ubuntu 20.04 and solve it by follow instruction from #85

@daetz-coder
Copy link

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.

@ahlashkari
Copy link
Owner

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants