Hello everyone,
I am working on a project to raise awareness about the use of HUBs. I have used the port-mirroring package to capture packets from port 2 to port 4. It works well because I was able to obtain the login and password that I entered on an insecure website (http://testphp.vulnweb.com/login.php).
However, my problem lies in the configuration of this package. Apparently, you can mirror ports to multiple destinations, but when I enter two ports, only the packets from port 2 pass through, not those from port 3.
I also have another problem where when I choose port lan4, the transfer does not occur. I am required to enter the IP of the PC connected to the port, and personally, I would prefer not to have to know the IP of the connecting device.
Here is the GitHub link to the package and the configuration I have used:
config port-mirroring
option source_ports 'lan2'
option promiscuous '1'
option target '192.169.1.142'
option protocol 'TZSP'
Configurations I've tried but didn't work:
config port-mirroring
option source_ports 'lan2,lan3'
option promiscuous '1'
option target 'lan4'
option protocol 'TZSP'
Thank you for your help!