1knock(1) knock(1)
2
3
4
6 knock - port-knock client
7
9 knock [options] <host> <port[:proto]> [port[:proto]] ...
10
12 knock is a port-knock client. It sends TCP/UDP packets to each speciā
13 fied port on host, creating a special knock sequence on the listening
14 server (see the knockd manpage for more info on this).
15
17 -u, --udp
18 Make all port hits use UDP (default is TCP). If you want each
19 port to use a different protocol (TCP or UDP), then you can
20 specify the protocol on a per-port basis. See the example
21 below.
22
23 -d <t>, --delay <t>
24 Wait <t> milliseconds between each port hit. This can be used
25 in situations where a router mistakes your stream of SYN packets
26 as a port scan and blocks them. If the packet rate is slowed
27 with --delay, then the router should let the packets through.
28
29 -v, --verbose
30 Output verbose status messages.
31
32 -V, --version
33 Display the version.
34
35 -h, --help
36 Syntax help.
37
39 knock myserver.example.com 123:tcp 456:udp 789:tcp
40 knock -u myserver.example.com 8284 4721 18592 42912
41
43 knockd is the accompanying port-knock server.
44
46 Judd Vinet <jvinet@zeroflux.org>
47
48
49
50knockd 0.7.8 June 26, 2005 knock(1)