-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
[Feature Request] Add the possibility to dump the connection to a PCAP #557
Comments
Maybe the method used by this project can help to achieve this : nsntrace/nsntrace: Perform network trace of a single process by using network namespaces. |
Interesting 👍 The problem is how to implement it. The daemon may be installed on a remote computer, so we should either dump the connections to a file and then send the file to the GUI (aka, the server), or send the bytes of every packet to the GUI and save it to a file on the server side. Technically it could be added just as another logger in the Statistics module (stats.onConnection)). Right now we only write events to a log file, but we could have a generic Logger package with subpackages like Syslog, Postgres, Elastic, etc... that would write connections to all the submodules configured. |
It would be interesting to be able to capture TLS-encrypted traffic as well, maybe using the same method describe in this post : Debugging with eBPF Part 3: Tracing SSL/TLS connections | Pixie Labs Blog. An other tool that could be interesting too : tls-tracing-with-ebpf/c-cpp-version at main · bmiguel-teixeira/tls-tracing-with-ebpf. |
There was some work on this regard here: https://github.com/evilsocket/opensnitch/tree/passive-tls-query Probably passively sniff tls traffic would be doable, as we do with dns queries. Btw! latest release v1.6.0 doesn't match the version of the packages. |
Oh great, I didn't know that there where some tests about this. Don't worry, I had noticed that the version was not consistent for v1.6.0 packages. I'll just adapt my script a little bit, no problem. :) |
Maybe this project can help to be able to capture TLS-encrypted traffic : fkie-cad/friTap: The goal of this project is to help researchers to analyze traffic encapsulated in SSL or TLS. |
Hi @gustavo-iniguez-goya
Sometimes, there are some connections that are a little weird (opensource tool that make outside connection that they don't seem to need..) and it could be very useful to add an option in the advanced connection view to dump the connection.
I think that we can create a PCAP of the connection or launch a tshark dump in a new terminal.
I don't really know how we can implement this, but this functionality could definitely be useful.
Thanks again for this great tool and all of your work on it 👍
The text was updated successfully, but these errors were encountered: