Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-27 Thread Aaron Conole
Russell Bryant writes: > On Fri, May 27, 2016 at 2:02 PM, Aaron Conole wrote: > > > Russell Bryant writes: > > > On Tue, May 24, 2016 at 4:35 PM, Aaron Conole wrote: > > > > > > Currently, there is some documentation which describes setting up and > > using port mirrors for bridges. This

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-27 Thread Russell Bryant
On Fri, May 27, 2016 at 2:02 PM, Aaron Conole wrote: > Russell Bryant writes: > > > On Tue, May 24, 2016 at 4:35 PM, Aaron Conole > wrote: > > > > > > Currently, there is some documentation which describes setting up and > > using port mirrors for bridges. This documentation is helpful to set

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-27 Thread Aaron Conole
Russell Bryant writes: > On Tue, May 24, 2016 at 4:35 PM, Aaron Conole wrote: > > > Currently, there is some documentation which describes setting up and > using port mirrors for bridges. This documentation is helpful to setup > a packet capture for specific ports. > > However, a utility to

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-27 Thread Russell Bryant
On Tue, May 24, 2016 at 4:35 PM, Aaron Conole wrote: > Currently, there is some documentation which describes setting up and > using port mirrors for bridges. This documentation is helpful to setup > a packet capture for specific ports. > > However, a utility to do such packet capture would be va

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-26 Thread Aaron Conole
Flavio Leitner writes: > On Wed, May 25, 2016 at 11:08:37AM -0400, Aaron Conole wrote: >> Flavio Leitner writes: >> > On Tue, May 24, 2016 at 04:35:29PM -0400, Aaron Conole wrote: > [...] >> >> + >> >> +ovsdb = OVSDB(db_sock) >> >> +if mirror_interface is None: >> > >> > mirror_interfac

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-25 Thread Flavio Leitner
On Wed, May 25, 2016 at 11:08:37AM -0400, Aaron Conole wrote: > Flavio Leitner writes: > > On Tue, May 24, 2016 at 04:35:29PM -0400, Aaron Conole wrote: [...] > >> + > >> +ovsdb = OVSDB(db_sock) > >> +if mirror_interface is None: > > > > mirror_interface is referenced but it hasn't been i

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-25 Thread Aaron Conole
Lance Richardson writes: > - Original Message - >> From: "Aaron Conole" >> To: dev@openvswitch.org >> Sent: Tuesday, May 24, 2016 4:35:29 PM >> Subject: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility >> >> Currently, there

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-25 Thread Aaron Conole
Flavio Leitner writes: > On Tue, May 24, 2016 at 04:35:29PM -0400, Aaron Conole wrote: >> Currently, there is some documentation which describes setting up and >> using port mirrors for bridges. This documentation is helpful to setup >> a packet capture for specific ports. >> >> However, a utili

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-25 Thread Lance Richardson
- Original Message - > From: "Aaron Conole" > To: dev@openvswitch.org > Sent: Tuesday, May 24, 2016 4:35:29 PM > Subject: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility > > Currently, there is some documentation which describes setting up

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-25 Thread Markos Chandras
Hi Aaron, On 05/24/2016 09:35 PM, Aaron Conole wrote: > [...] > +except OVSDBException as oe: > +print "ERROR: Unable to properly setup the mirror: %s." % str(oe) > +sys.exit(1) > + > +time.sleep(1) I am curious about this 1s delay. Is this necessary? And if so, maybe wort

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-24 Thread Ben Pfaff
On Tue, May 24, 2016 at 04:35:29PM -0400, Aaron Conole wrote: > Currently, there is some documentation which describes setting up and > using port mirrors for bridges. This documentation is helpful to setup > a packet capture for specific ports. > > However, a utility to do such packet capture wou

Re: [ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-24 Thread Flavio Leitner
On Tue, May 24, 2016 at 04:35:29PM -0400, Aaron Conole wrote: > Currently, there is some documentation which describes setting up and > using port mirrors for bridges. This documentation is helpful to setup > a packet capture for specific ports. > > However, a utility to do such packet capture wou

[ovs-dev] [RFC] ovs-tcpdump: Add a tcpdump wrapper utility

2016-05-24 Thread Aaron Conole
Currently, there is some documentation which describes setting up and using port mirrors for bridges. This documentation is helpful to setup a packet capture for specific ports. However, a utility to do such packet capture would be valuable, both as an exercise in documenting the steps an addition