#sequence #tcp #hostname #port #ipv4 #connect #seqknock

app seqknock-proxycmd

TCP Sequence number-based knocking; OpenSSH-style proxycmd implementation

1 unstable release

0.2.0 Feb 25, 2023

#16 in #hostname

GPL-2.0 OR Apache-2.0

34KB
482 lines

NAME

seqknock-proxycmd - Connect to a remote host using seqknock sequence numbers,

SYNOPSIS

seqknock-proxycmd [ OPTIONS ] HOSTNAME

seqknock-proxycmd [ -h|--help ]

seqknock-proxycmd [ -V|--version ]

OPTIONS

-c file, --config file

Use file as the configuration file, instead of the default path /etc/seqknock-nftables/config.yaml.

-4, --ipv4

Force usage of IPv4.

-6, --ipv6

Force usage of IPv4.

-p psk, --psk psk

Set pre-shared key to use to psk.

-P port, --port port

Connect to port.

-R fudge-port, --fudge-port fudge-port

Use fudge-port as port value in seqknock algorithm, rather than port supplied with -p/--port.

-t period, --period period

Configure the seqknock algorithm period to period.

-T fudge-time, --fudge-time fudge-time

Adjust time by fudge-time (positive or negative) before applying seqknock algorithm to current system time.

--debug

Enable debug-level logging.

-h, --help

Show help and exit.

-v, --version

Show version and exit.

DESCRIPTION

seqknock-proxycmd will open a connection using the calculated seqknock TCP sequence number towards HOSTNAME, and forward stdin/stdout to this socket. It can be used as a OpenSSH style ProxyCommand.

AUTHOR

Jonas Eriksson

HOMEPAGE

https://git.sr.ht/~upto/seqknock/

SEE ALSO

seqknock(1), seqknock-nftables-config(5), seqknock-proxycmd(1)

Dependencies

~11–21MB
~287K SLoC