I'd like to route traffic from one Ethernet to another only if a given rule is met. The "rule" is as follows : if a specif value (numeric or string) is found within the packet - the traffic is forwarded, otherwise - discard it. The "rule" should be able to search from a given offset. ( Packet inspection )
Can this be achieved using Linux Standard tools ? ( iproute2\ethtool\ etc' ) ?