Skip to main content

UDP port knocking suite with HMAC-PSK authentication

Project description

pyknock

UDP port knocking suite with HMAC-PSK authentication.

Requirements

Only Python 2.6+ or 3.3+ required.

Installation

Place file anywhere you want and run.

Usage

Server example:

./pyknock-server MySecretPSK 'ipset add -exist myallowedset $ip timeout 3600' 'ipset del -exist myallowedset $ip'

Client example:

./pyknock-client open my-protected-host.com MySecretPSK

Client behind NAT example:

./pyknock-client -S $(curl -s https://canihazip.com/s) open my-protected-host.com MySecretPSK

See help for more options.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyknock-0.4.1.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

pyknock-0.4.1-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page