Snort mailing list archives

snort3: capturing files not work by inspector file


From: Meridoff via Snort-devel <snort-devel () lists snort org>
Date: Wed, 11 Nov 2020 17:47:53 +0300

Hello, I can not capture file with inspecor file.

I configured all as in manual. Made debug messages in file_api.

Using http traffic (non encrypted).

And what I 've found by my debugging snort:

1.File recognizing by type is OK
2. Capturing file is OK and function store_file_assync() is called
3. BUT *writer_thread is never called *and never runs

I've added LogMEssage inside void FileCapture::writer_thread()  - and I see
it never runs.

Creation of writer_thread is OK:  file_storer = new
std::thread(writer_thread);

I see that filet_storer is not NULL.

*But writer_thread is not run by unknown reason.*

*So *files can't be dumped and saved to disk due-to this problem..

Please, help, why this happens..
_______________________________________________
Snort-devel mailing list
Snort-devel () lists snort org
https://lists.snort.org/mailman/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

Current thread: