LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2015, 10:19 AM   #1
pandeyrajiv23
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
tcpdump and httpry not capturing tcp packets


I have recently formatted my machine with Centos 7. My two interfaces are named enp3s0 and enp4s1. I have used to switch to set port mirroring on both interfaces. I have used httpry and tcpdump -i enp4s1 tcp, but they both are now working. When I run the command tcpdump -i enp4s1 -v, it shows only upd packets. However, tcp packets are not capturing. My primary motive is to capture the websites, which are browsed by the users.

I have configured enp3s0 with static ip address.

Ip Address- 172.30.*.*
Sn Mask - default
Gateway and DNS for enp4s1

Ip Addreess- 0.0.0.0
Sn Mask- Default
#Bridge=br0
I have not set bridge right now. My previous machine had this, so I have just copied it. How can I capture tcp packets?
 
Old 03-26-2015, 04:35 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
I have used to switch to set port mirroring on both interfaces
So, which one is the target and which is the capture port?
Don't you want to mirror enp3s0 and capture it on enp4s1?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to capture TCP SYN, ACK and FIN packets with tcpdump LXer Syndicated Linux News 0 09-14-2014 04:54 PM
capturing packets with tcpdump BMWE Linux - Networking 5 06-15-2012 04:18 PM
[DD-WRT] Reading TCP-Packets via TCPDUMP trough SSH zeroXcool Linux - Networking 6 03-05-2009 01:14 PM
Tcpdump : Capturing TCP packets with particular flag combinations apit Linux - Networking 9 09-20-2008 09:45 PM
capturing loopback with tcpdump trek413 Linux - Networking 3 12-06-2006 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration