Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > e2ec330d3ecf5110b4aa890342e53d96 > files > 905

systemtap-client-2.1-2.fc17.i686.rpm

title: System-Wide Network Packet Dropping Tool
name: netfilter_drop.stp
keywords: network drop packets
subsystem: network
status: experimental
exit: user-controlled
scope: system-wide
description: The script drops the specified number of packets of the specified protocol. Valid protocols are TCP, UDP, or ALL. If ALL is specified, all incoming packets are dropped. The number of packets to drop can be specified with a positive integer. A value of 0 indicates that packets should be dropped until the user manually exits.
test_check: stap -g -p4 netfilter_drop.stp TCP 1
test_installcheck: stap -g netfilter_drop.stp TCP 1 -c "sleep 2"