svn commit: r246129 - head/usr.sbin/tcpdrop

John Baldwin jhb at freebsd.org
Wed Jan 30 20:03:46 UTC 2013


On Wednesday, January 30, 2013 2:29:09 pm Andrey Zonov wrote:
> On 1/30/13 10:24 PM, John Baldwin wrote:
> > Author: jhb
> > Date: Wed Jan 30 18:24:29 2013
> > New Revision: 246129
> > URL: http://svnweb.freebsd.org/changeset/base/246129
> > 
> > Log:
> >   Allow the address and ports to be separated by a colon or period rather
> >   than a space to permit directly pasting the output of commands such as
> >   netstat and sockstat on the command line.
> >   
> 
> We already have 'tcpdrop -la | grep $port | sh'.  Why don't you like it?

Because that isn't my workflow.

My workflow is to stare at a long output of netstat -np tcp output (or some 
such) and find a broken connection based on examining some other stats, then 
cut and paste that connection info onto a tcpdrop command line.  That is, I 
start by finding a broken connection and then want to just invoke tcpdrop 
directly.

-- 
John Baldwin


More information about the svn-src-all mailing list