Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
TCPDROP(8)		FreeBSD	System Manager's Manual		    TCPDROP(8)

NAME
     tcpdrop --	drop a TCP connection

SYNOPSIS
     tcpdrop laddr lport faddr fport

DESCRIPTION
     The tcpdrop command drops the TCP connection specified by the local
     address laddr, port lport and the foreign address faddr, port fport.
     Addresses and ports can be	specified by name or numeric value.

EXIT STATUS
     The tcpdrop utility exits 0 on success, and >0 if an error	occurs.

EXAMPLES
     If	a connection to	httpd(8) is causing congestion on a network link, one
     can drop the TCP session in charge:

	   # sockstat -c | grep	httpd
	   www	    httpd      16525 3	tcp4 \
		   192.168.5.41:80	192.168.5.1:26747

     The following command will	drop the connection:

	   # tcpdrop 192.168.5.41 80 192.168.5.1 26747

SEE ALSO
     netstat(1), sockstat(1)

AUTHORS
     Markus Friedl <markus@openbsd.org>

FreeBSD	10.1			March 21, 2004			  FreeBSD 10.1

NAME | SYNOPSIS | DESCRIPTION | EXIT STATUS | EXAMPLES | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=tcpdrop&sektion=8&manpath=FreeBSD+5.4-RELEASE>

home | help