-
-
Notifications
You must be signed in to change notification settings - Fork 570
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
Question about the report.txt file in Linux : still there ? #609
Comments
Hi @Alex47260, I really appreciate your kind words. As you mentioned, no one asked this specific question in the past months, and this isn't even very well documented. To answer your question – no, there isn't a way to generate the textual report in the 1.3.x versions of the app, and the It was a hard decision, but in the end I decided to replace it with PCAP which is a well known and standardised format. Feel free to let me know your thoughts about it. |
Added the answer to this question in the FAQs. |
Hi @GyulyVGC , many thanks for your swift reply! Well, well, that's a kind of sad then :-/ My thoughts are that this report is actually a powerful feature, and that it complements a pcap capture very well. As you mentioned it in the wiki, a pcap file provides much insight but the files can become quite big too, and fill a disk. This makes it something that users start for rather short moments or specific operations, in addition to the live GUI. The report.txt, in contrast, are light weight but provide interesting information that can be collected for the whole day, and kept as logs (eg 7 rolling days). This can be very helpful for instance both for network monitoring or cybersecurity. And again, the size of it makes it very easy to record and store it - personally, I don't have a report.txt that reaches 1Mb, but I suppose that even active users (eg SOHO) wouldn't get daily files that exceed a few Mb, making it very manageable. Would something such as getting a second tick-box (back) would be an option? Or maybe a setting that enables users to produce these files in the background (either up to user to chose how many rolling days they want, or just to have the file produced or not). And I agree with you too when you wrote that people are interested in the live GUI : personally, Sniffnet runs almost always, in the background or on a second screen :) |
As you said PCAP files are way bigger. Something I forgot to mention is that the current Inspect page is what is really taking place of the textual report; in fact, such table reports in GUI the same exact structure of the old report file – the difference is that now you can easily sort it, filter it, and examine more in detail each entry by clicking on it. That being said, this is the real reason why I removed the Anyway, I also understand that you may be interested in having reports of past captures available. A possible solution for you request that comes to my mind is to add a button in the Inspect page of the app to export the current table view (with or without filters and/or sorting applied) to a custom file; in this way we'd lose the ability to generate it automatically but at the same time it'd be more powerful since it'd allow to save a version possibly filtered and sorted according to different criteria. |
Hi @GyulyVGC, great response, thanks again for responsiveness! About the pcap and the concept behind Sniffnet, fully in sync with your approach again : providing an easy-to-read set of network data grouped by connection/host/protocol is a powerful tool. I also use the Inspect panel, and often drill into the host data : btw, the country/ASN data a just great information to figure out what kind of network traffic is really going on. The Inspect panel is also fine to get further insight and pick a service to view related connections : eg. what's happening to my computer's NTP? or why is the DNS not responding? So, indeed, the Inspect panel provides great insight, and in live mode compared to the report.txt. And if it were possible to press a button and export the Inspect panel data to get the enriched 5-tuple formerly provided by Sniffnet, that would be great. Just adding something that is probably obvious : the report exported from the Inspect panel would also benefit to include the timestamps (start/end), such as it was in report.txt (not easy to display that information on a screen, but in the file it should be ok). This timestamp topic leads me to the point you made about the former report.txt file that could be erased by the following report if you didn't rename it, is that what you meant? If yes, I know that topic too, as that caused me a few "Oh noooo!" moments :-D when I forgot to rename the previous report.txt which got erased by the following one. Actually, this was the only thing that I would have thought to modify back then in Sniffnet: eg. would it have been possible to make it error-proof so that the name of the report.txt be automatically produced, including the start timestamp (kind of YYYY-MM-DD_HHMM_report.txt or something like the format of the "'initial timestamp" from the report.txt )? In a nutshell, with an export button in the Inspect panel, that would be fantastic! :) Cheers, Alex |
Yes, exactly.
Now it makes sense, if you're used to save past capture data and at the same time you don't want the size bloat of a PCAP, having textual reports is the best solution. The only pitfall is that since it's not an automatic process, users should remember to export the file otherwise the data would be lost. |
Hi @GyulyVGC , Thanks for your follow up.
In sync, that's why I think a timestamp+"sniffnet_report.txt" could mitigate loss of data - especially when it might be started in a hurry to observe some events - but still, it should be manageable as it is currently with the naming of pcap captures.
Exactly, that would enable a focus when needed, and get the 5-tuple from the Inspection panel in cases the pcap capture wasn't started and more information would be useful. Cheers, Alex |
Is there an existing issue for this?
What's the problem?
Hi Giuliano,
Thanks very much for developing Sniffnet : it's a great tool, and I have been a keen user of this software on Linux for some time now :)
The introduction of the pcap recording has been a very good feature too, and it's easy and practical to use. My question pertains to the report.txt file that could be previously produced before the pcap. Is it still there or possible to have it produced ?
I am running Sniffnet on Fedora and I used to be a fan of those report files.
From what I can see, there is still a report.txt in /home/.config/sniffnet but the file seems to remain empty. Checked also the Wiki Sniffnet (and the Master thesis), read through the issue - including issue #77 but it looks that the question hasn't been asked yet (or maybe no one has met the same issue ?)
Your insights would be most welcome!
Cheers,
Alex
How did you install the app?
downloaded one of the provided packages
Operating System
Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: