An open API service indexing awesome lists of open source software.

https://github.com/zackiles/udp-flood

Flood a host with UDP packets in Node.js.
https://github.com/zackiles/udp-flood

Last synced: about 1 year ago
JSON representation

Flood a host with UDP packets in Node.js.

Awesome Lists containing this project

README

          

udp-flood
=====

Flood a host with UDP packets in Node.js.

## Installation

$ npm install udp-flood

## How to use

It's simple to use.

Usage: udp-flood.js [options]

Options:

-h, --help Output usage information.
-h, --host Host Name/IP.
-p, --port If not defined, program will use random ports.
-w, --workers Number of workers to fork in the cluster, default is CPU count.
-d, --delay Delay in ms between packet sending (per worker). Defaults to 0.
-s, --silent Silences printing the sent packet count on each cluster.

### Examples

Start UDP flood for `127.0.0.1` with 10 workers:

node flood.js -h 127.0.0.1 -w 10

Start UDP flood for `127.0.0.1` port `80`:

node flood.js -h 127.0.0.1 -p 80