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?pr=bin/151996 It adds an interactive use flag(-i) so the user can drop connections interactively:
lab# tcpdrop -ia drop 192.168.73.195 16456 195.167.100.39 80? drop 192.168.73.195 37746 195.167.100.39 80? y 192.168.73.195 37746 195.167.100.39 80: dropped drop 192.168.73.195 41749 195.167.100.39 80? yes 192.168.73.195 41749 195.167.100.39 80: dropped drop 192.168.73.60 22 192.168.73.192 60763? drop 192.168.73.60 22 192.168.73.192 60585?
Thanks, Nikos _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"