I need the command for the following for using TCPDump:

  • Capture all packets on eth0
  • Send the line buffered output to standard out (STDOUT)
  • Set TCPDump to not perform name resolution for the observed traffic (or don't convert addresses).
  • You can do all of this with one instance of TCPDump.
New contributor
lyearg is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

put on hold as too broad by muru, X Tian, Shadur, Philip Couling, roaima May 16 at 12:38

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What research have you done? What have you learned? What part do you not understand? – Scott May 16 at 0:40
  • 2
  • 2
    why are you asking? .... this appears to be school work that you should be completing yourself – jsotola May 16 at 1:37
  • Hello lyerag. I should point out that this question has been put on hold not because it's homework, but because there's no evidence of you having tried anything at all. You might want to start with man tcpdump to see what options are available that could address the requirements. (There's also no such command as TCPDump; perhaps you meant tcpdump.) – roaima May 16 at 12:40

You could have looked this one up much faster then posting a question here.

tcpdump -i eth0 -n

Not the answer you're looking for? Browse other questions tagged or ask your own question.