Re: [PATCH] Allow tcpdrop to use non-space separators

2013-01-30 Thread Nikos Vassiliadis
On 1/29/2013 7:05 PM, John Baldwin wrote: A common use case I have at work is to find a busted connection using netstat -n or sockstat and then want to tcpdrop it. However, tcpdrop requires spaces Hi, While you are there, could you please review this? http://www.freebsd.org/cgi/query-pr.cgi?p

Re: [PATCH] Allow tcpdrop to use non-space separators

2013-01-30 Thread Adrian Chadd
... guys, Just add a new feature to netstat that takes the host:port delimiter character on the command line. Default to the existing semantics. Done/done. Adrian (yay, linux solutions!) ___ freebsd-net@freebsd.org mailing list http://lists.freebsd

Re: [PATCH] Allow tcpdrop to use non-space separators

2013-01-30 Thread John Baldwin
On Tuesday, January 29, 2013 6:10:42 pm Mark Delany wrote: > On 29Jan13, John Baldwin allegedly wrote: > > A common use case I have at work is to find a busted connection using > > netstat > > -n or sockstat and then want to tcpdrop it. However, tcpdrop requires > > spaces > > between the addr

Re: [PATCH] Allow tcpdrop to use non-space separators

2013-01-30 Thread John Baldwin
On Tuesday, January 29, 2013 6:17:03 pm Luigi Rizzo wrote: > On Tue, Jan 29, 2013 at 3:11 PM, Andre Oppermann wrote: > > > On 29.01.2013 18:05, John Baldwin wrote: > > > >> A common use case I have at work is to find a busted connection using > >> netstat > >> -n or sockstat and then want to tcpd

Re: [PATCH] Allow tcpdrop to use non-space separators

2013-01-29 Thread Mark Delany
On 29Jan13, John Baldwin allegedly wrote: > A common use case I have at work is to find a busted connection using netstat > -n or sockstat and then want to tcpdrop it. However, tcpdrop requires spaces > between the address and port so I can't simply cut and paste from one > terminal > window i

Re: [PATCH] Allow tcpdrop to use non-space separators

2013-01-29 Thread Luigi Rizzo
On Tue, Jan 29, 2013 at 3:11 PM, Andre Oppermann wrote: > On 29.01.2013 18:05, John Baldwin wrote: > >> A common use case I have at work is to find a busted connection using >> netstat >> -n or sockstat and then want to tcpdrop it. However, tcpdrop requires >> spaces >> between the address and p

Re: [PATCH] Allow tcpdrop to use non-space separators

2013-01-29 Thread Andre Oppermann
On 29.01.2013 18:05, John Baldwin wrote: A common use case I have at work is to find a busted connection using netstat -n or sockstat and then want to tcpdrop it. However, tcpdrop requires spaces between the address and port so I can't simply cut and paste from one terminal window into another t

[PATCH] Allow tcpdrop to use non-space separators

2013-01-29 Thread John Baldwin
A common use case I have at work is to find a busted connection using netstat -n or sockstat and then want to tcpdrop it. However, tcpdrop requires spaces between the address and port so I can't simply cut and paste from one terminal window into another to generate the tcpdrop command. This pa