Hello, I am brand new to these forums so I apologize if I posted this in the wrong place but I had an idea that originated when I heard about the RPI Zero's ability to act as a USB Gadget or HID Device and I wondered if the same could be done with ethernet.
My idea was as follows, I have a PS4 that is connected to ethernet via a powerline ethernet cable, and I was wondering if I could put a Raspberry PI in the middle of the ethernet cable and the PS4. Would it be possible for me to log the traffic as it comes from the PS4 to the Raspberry Pi before sending it across the Pi to the ethernet cable that connects to the powerline ethernet cable? This would have a lot of possibilities as the PI could control or log the connection. Is this even achievable?
If this is hard to picture here is a diagram it my wording doesn't make sense to others as it often doesn't.
Original Connection(What I have now)-
New Connection(What I'm Theorizing)-
The arrow just signal the bidirectional flow of data between the devices.
I feel like there is some rule of networking that doesn't allow this but I have no idea.