I have an Arduino with an Ethernet shield and I want to capture all Ethernet data traffic that connects to the Arduino via [as?] a router. This is because I want to use the Arduino like a honeypot and at the same time resend the Ethernet traffic to the Raspberry, but only specific TCP traffic instead of UDP.
In other words, I want to resend all of the traffic data from an Arduino to a Raspberry Pi, but I need to only resend all of the TCP traffic because the Raspberry reads and parses this. However, I only see examples of UDP traffic but nothing related to TCP. It doesn't matter what kind of port the Arduino listens on, I just need the data out of the other side, can you help me?