Closed frankvandenhurk closed 2 years ago
Commented out the check in spind.c:
// if (extsrc_listen_addr && extsrc_socket_path) {
// fprintf(stderr, "Error: cannot specify both an extsrc listen address and socket path\n");
// print_help();
// exit(1);
// }
recompiled, and now I have a working setup!
I am running multiple spin-pcap-reader's on my router (one for each client VLAN), sending their data over the network to a spind running on another machine. Really nice, I love this tool!
For everyone who has a Unifi Dream Machine Pro and wants to run the spin-pcap-reader on it: I compiled it on a Raspberry running a 64-bit OS (to prevent the issues you run into when you start cross compiling) and copied spin-pcap-reader to the UDM Pro. You also have to copy libcrypto.so.1.1, libldns.so.3, libpcap.so.0.8 and libssl.so.1.1 to /usr/lib on the UDM Pro.
Thanks again for your report. Can you try the issue-87
branch to see whether that commit fixes the problem for you as well?
Also: cool to hear that you got it working and that you like it! Appreciate the comment.
Yes! No build error's and working -E option.
The commit is now on the master branch, thanks for your confirmation.
What I am trying to accomplish:
But when I try to start spind to listen to messages from an exteral source (my router):
Problem is that I haven't configured a local socket path. Is it possible it uses a hardcoded socket path that conflicts with the -E option? Or am I doing something wrong?