DragonFly BSD
DragonFly submit List (threaded) for 2004-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

tcpdrop(8) for DragonFly

From: "Andre Nathan" <andre@xxxxxxxxxxxxxxx>
Date: Sat, 13 Nov 2004 20:09:48 -0200 (BRST)


tcpdrop is an utility that shipped with OpenBSD 3.6. As the name
indicates, it can be used to drop a TCP connection from the command line,
which can be useful during denial of service attacks, or if some
connection is causing congestion on a link.

The patch at


adds the "net.inet.tcp.drop" and "net.inet6.tcp6.drop" sysctls. I don't
have how to test the inet6 one, so I just based it on the other existing
sysctls. The inet4 one worked fine.

The code for the tcpdrop utility is at


These are the corresponding commit messages on OpenBSD:


Best regards,

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]