Hi, I want to sniff only those packets that do not belong to my machine.
I rephrase it as:
Suppose my machine has 2 ether-net ports. Having IP addresses as A.A.A.A and B.B.B.B
Moreover, I want to use my machine like a router, you can assume. I want to sniff only the traffic that doesn't belong to my machine. i.e. the traffic whose source != A.A.A.A or source != B.B.B.B or destination != A.A.A.A or destination != B.B.B.B
Is there any efficient way to do this because, I need to deal with Gbps of traffic.