Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 312-50 All Questions

View all questions & answers for the 312-50 exam

Exam 312-50 topic 4 question 42 discussion

Actual exam question from ECCouncil's 312-50
Question #: 42
Topic #: 4
[All 312-50 Questions]

What is the correct PCAP filter to capture all TCP traffic going to or from host 192.168.0.125 on port 25?

  • A. tcp.src == 25 and ip.host == 192.168.0.125
  • B. host 192.168.0.125:25
  • C. port 25 and host 192.168.0.125
  • D. tcp.port == 25 and ip.host == 192.168.0.125
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
dehamedah
10 months ago
Selected Answer: C
C is the right answer
upvoted 1 times
NikoTomas
8 months, 2 weeks ago
No, D is correct: tcp.port == 25 and ip.host == 192.168.0.125. Syntax of C does not work in Wireshark (it is not tcpdump!) and moreover C does not specifi TCP, which is requirement in the question.
upvoted 1 times
Chogi_
2 months ago
but ip.host == 192.168.0.125 is not a valid Wireshark filter. Wireshark uses ip.addr to refer to both source and destination IP addresses, not ip.host.
upvoted 1 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...