From 3e355c7f366a8bbffc1bb32613e08591b54b15c5 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Wed, 6 Jan 2016 22:30:53 +0530 Subject: [PATCH] tcpdump: fixed syntax error and added better params --- pages/common/tcpdump.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/tcpdump.md b/pages/common/tcpdump.md index 8a62767a1..f3e427d11 100644 --- a/pages/common/tcpdump.md +++ b/pages/common/tcpdump.md @@ -14,9 +14,9 @@ `tcpdump host {{www.example.com}}` -- capture the traffic from a specific interface, source, destination and port +- capture the traffic from a specific interface, source, destination and destination port -`tcpdump -i {{eth0}} src {{192.168.1.1}} dest {{192.168.1.2}} and port 80` +`tcpdump -i {{eth0}} src {{192.168.1.1}} and dst {{192.168.1.2}} and dst port 80` - capture the traffic of a network