select one of multiple eth interfaces

Bug #632486 reported by Kristian Köhntopp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tcprstat
New
Undecided
Unassigned

Bug Description

I have a span port on which three different master databases are being replicated. This is eth1 on the current machine.

I can listen to

tcpdump -w out -s 1500 -i eth1 port 3306 and host one-masters-name

to record to a file, but I cannot do this directly with tcprstat, as it is missing an option to select an interface.

Revision history for this message
Alex Samorukov (samm-os2) wrote :

yes, it is currently working on "any" interface. In Linux it is equal for all interface traffic. Patch is very trivial, i am going to do it, because on FreeBSD "any" looks like to be broken

Revision history for this message
Alex Samorukov (samm-os2) wrote :

This patch will add -i (--interface) switch to the tcprstat.

Revision history for this message
Alex Samorukov (samm-os2) wrote :

And bug is critical for all non-linux platforms, because "any" interface is implemented only on modern (2.6) linux kernels.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.