Open Ownasaurus opened 2 years ago
Of note -- I just set up VS Studio on my windows machine to build from source remotely. The -w
option works perfectly in this manner on the compiled binary
EDIT: And, in fact, the original binary now works fine too! Probably because the appropriate .so is in /usr/lib/USBProxy now
Hey @Ownasaurus!
That is a very good observation! I think you spotted a bug in the GitHub actions workflow which accidentally disabled the pcap functionality for the latest stable release. That probably happens because pcap is not found in the build pipeline somewhere around here: https://github.com/nesto-software/USBProxy/blob/master/src/Plugins/Filters/CMakeLists.txt#L15 (PCAP_FOUND and/or USE_PCAP)
Glad you found a workaround by building from source in the meantime. Have to fix this when I have some time.
Thanks for your reply, @MartinLoeper . Another thing I noticed today is that the first packet written to file is the descriptor request for a string. Is it possible to capture earlier packets, such as the device descriptor request, with this tool? If not, could we please put that down for a feature request? Thanks!
Hi @Ownasaurus, I guess what you want to do can be achieved using a filter and the SetupPacket parameter. What do you think?
You just have to write a custom filter like I did for ZeroMQ and activate it on the command-line using the -P
option.
First of all, thanks so much for this project! I am trying to use this on a fresh Raspberry Pi 4b to log some USB traffic. After using the
install-from-release.sh
script, I was able to run it successfully, with -v to select the appropriate VID. The data is being passed through properly. -l works great, allowing me to see a live stream of packets. However what I would really like to do is log to a file. Unfortunately the -w option is not working for me. Am I doing something wrong, or is there a bug?Here is some information which may be relevant:
Thanks for your time, and thanks for a great project!