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.
- Host: GitHub
- URL: https://github.com/zackiles/udp-flood
- Owner: zackiles
- Created: 2015-12-09T07:55:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T18:26:21.000Z (over 9 years ago)
- Last Synced: 2025-04-03T11:53:57.773Z (about 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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