R
R
ReD2016-03-04 12:32:02
linux
ReD, 2016-03-04 12:32:02

How to filter traffic with tcpdump based on criteria of equality of sender and recipient addresses?

It is necessary to trace packets containing the same sender and recipient addresses, i.e. like this:
src host = dst host
But tcpdump doesn't like this construction:

syntax error

Is there any way to create such a rule?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2016-03-04
@phplamer

tcpdump src host and dst host

I
Ivan, 2016-03-04
@t3mp

tcpdump src and dst host IP

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question