Pyknock-UDP port knocking suite with HMAC-PSK authentication.

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:
./pyknockd.py MySecretPSK 'ipset add -exist myallowedset 
$ip timeout 3600' 'ipset del -exist myallowedset $ip'
Client example:
./pyknock.py open my-protected-host.com MySecretPSK
Client behind NAT example:
./pyknock.py -S $(curl -s https://canihazip.com/s) 
open my-protected-host.com MySecretPSK
See help for more options.

                                     Source and download

No comments