Skip to content

ipshuffle transforms a stream of IPs into a stream of services across all ports.

License

Notifications You must be signed in to change notification settings

stanford-esrg/ipshuffle

Repository files navigation

ipshuffle

ipshuffle transforms a stream of IPs into a stream of services across all ports. This tool is an efficient way to create a random sub-sample of IPv4 services across all 65K ports.

Building

Set up $GOPATH (see https://golang.org/doc/code.html).

$ go install github.com/stanford-esrg/ipshuffle@latest
$ cd $GOPATH/src/github.com/stanford-esrg/ipshuffle

To provide a stream of IPs, we recommend to install and set up ZMap, in order to provide access to its ziterate functionality.

Usage

To convert a stream of IPs (produced by ziterate) into a stream of services across all 65K ports:

ziterate | ./ipshuffle 

Parameters

ipshuffle can optionally take in one paramater: the # of random ports to generate per IP. With no parameter, the default is 1.

About

ipshuffle transforms a stream of IPs into a stream of services across all ports.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published