port-mirroring
port-mirroring copied to clipboard
Threads not Working
Specifying multiple source interfaces doesn't appear to spawn multiple threads. #ifdef _ENABLE_THREADS
in doesn't appear to be recognized by the compiler.
I encountered this problem too: either eth0 or wlan0 can be monitored. Are there any temporary workarounds available?
You may be able to launch multiple instances of port-mirroring if you choose different PIDs for each.
You need to change pthread_join to pthread_detach on line 647 of the main.c in order to make thread works