When using the Knock Client on OS X and a hostname the client seems to only send the first port in the sequence.
OS X Version: 10.10.5
Knock Client Version: 0.7
Testing method:
watching logs on server while sending knock from command line client
behaves as expected when using an IP address as target
when a hostname is set instead only the first port in the sequence registers on the server
Stage 1 shows in logs then nothing else
ran knock from client with verbose flag and all ports in sequence are shown
original installation was from homebrew
Though it might be port related or number or ports
tested from a ubuntu 14.04 server, behaves as expected
tested from a OS X 10.9 machine, behaves as expected
Resolution:
I was able to get it working by compiling the client from source.
Edit: Actually it only seems to work when I use the -v flag
Not really sure why this worked, the homebrew formula pulls the source from zeroflux.org and compiles from source.
Homebrew/homebrew@c8cacdda1ac7a46eee0fd677e2983a85ee2e47ec
From looking at that commit it seems to be the same as the compile instructions.
When using the Knock Client on OS X and a hostname the client seems to only send the first port in the sequence. OS X Version: 10.10.5 Knock Client Version: 0.7
Testing method:
Resolution: I was able to get it working by compiling the client from source. Edit: Actually it only seems to work when I use the -v flag
Not really sure why this worked, the homebrew formula pulls the source from zeroflux.org and compiles from source. Homebrew/homebrew@c8cacdda1ac7a46eee0fd677e2983a85ee2e47ec
From looking at that commit it seems to be the same as the compile instructions.