unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OpenBSD-3.6)
Page:
Section:
Apropos / Subsearch:
optional field

TCPDROP(8)              OpenBSD 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 ad-
     dress laddr, port lport and the foreign address faddr, port fport.  Ad-
     dresses and ports can be specified by name or numeric value.

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

           # fstat | egrep 'httpd.*internet.*<--'
           www      httpd      21307    3* internet stream tcp \
                   0xd1007ca8 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
     fstat(1), netstat(1)

OpenBSD 3.6                     March 21, 2004                               1