AI-IDS / kdd99_feature_extractor

Utility for extraction of subset of KDD '99 features from realtime network traffic or .pcap file
MIT License
119 stars 50 forks source link

The problem of writing output to files #11

Open kxkathy opened 6 years ago

kxkathy commented 6 years ago

Thank you for your contribution. When I was running, there was a mistake.When I use this command:sudo ./kdd99extractor -o file xxx.pcap There will be a mistake:segmentation fault (core dumped).I don't know if it's a mistake caused by my operational errors.If you can, please tell me.Thanks very much

usake commented 5 years ago

I met the same problem.

BenjaminLN commented 4 years ago

I met the same problem too.

bittomix commented 4 years ago

Hi guys,

thank you for interest in this tool. Can you please provide details about your environment (OS, compiler, ... with versions).

Thanks, bittomix

Mohamed-ElhajAbdou commented 3 years ago

im using ubuntu linux can you kindly give us how to get this information from our device (OS, compiler, ... with versions) to solve the problem

pkucp commented 3 years ago

I met the same problem too. Ubuntu 16.04, gcc 5.4.0. When I use gdb to see the core information, it says "Program terminated with signal SIGSEGV, Segmentation fault. "

pkucp commented 3 years ago

I give up fixing this problem and just use ">filename" in terminal to save the output to file.

Evanlin1224 commented 3 years ago

@pkucp hello, Can you share with what command did you use to save the output to file?

youngseok-joung commented 2 years ago

@pkucp hello, Can you share with what command did you use to save the output to file?

I think the segmentation fault cannot be solved yet. So, I use ubuntu command pipeline writing file from command output:

$ sudo ./build-files/src/kdd99extractor -i 2 >> data.csv

So, you can find data.csv file and keep storing captured dataset on it.