From owner-svn-src-all@FreeBSD.ORG Wed Jan 30 20:03:45 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E7810E10; Wed, 30 Jan 2013 20:03:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id B848B21A; Wed, 30 Jan 2013 20:03:45 +0000 (UTC) Received: from pakbsde14.localnet (unknown [38.105.238.108]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 311D9B985; Wed, 30 Jan 2013 15:03:45 -0500 (EST) From: John Baldwin To: Andrey Zonov Subject: Re: svn commit: r246129 - head/usr.sbin/tcpdrop Date: Wed, 30 Jan 2013 15:02:59 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p22; KDE/4.5.5; amd64; ; ) References: <201301301824.r0UIOTED039633@svn.freebsd.org> <51097485.9070904@FreeBSD.org> In-Reply-To: <51097485.9070904@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201301301502.59264.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 30 Jan 2013 15:03:45 -0500 (EST) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 20:03:46 -0000 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