Date: Wed, 30 Jan 2013 15:02:59 -0500 From: John Baldwin <jhb@freebsd.org> To: Andrey Zonov <zont@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r246129 - head/usr.sbin/tcpdrop Message-ID: <201301301502.59264.jhb@freebsd.org> In-Reply-To: <51097485.9070904@FreeBSD.org> References: <201301301824.r0UIOTED039633@svn.freebsd.org> <51097485.9070904@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301301502.59264.jhb>