From: Gerry Reno <greno@verizon.net>
To: netfilter@vger.kernel.org
Subject: Re: fwknop: use with Fedora?
Date: Sun, 23 Sep 2007 12:26:57 -0400 [thread overview]
Message-ID: <46F693D1.2060909@verizon.net> (raw)
In-Reply-To: <46F6755D.9070407@verizon.net>
Gerry Reno wrote:
> Just trying to get port knock working first...
>
> When I run the client I see this error:
>
> $ ./knocklogin
> ++ fwknop --Server-mode knock -A tcp/12345 -s -r --offset 55500 -D
> XXX.XXX.XXX.XXX
> [+] Starting fwknop client.
> [+] Enter an encryption key. This key must match a key in the file
> /etc/fwknop/access.conf on the remote system.
>
> Encryption Key:
> [*] Must specify port to open. at /usr/bin/fwknop line 761, <STDIN>
> line 1. <------ I thought this is what the -A argument did????
> ++ ssh -p 12345 user@XXX.XXX.XXX.XXX
> ssh: connect to host XXX.XXX.XXX.XXX port 12345: Connection refused
> ++ set +x
>
Ok, I have not been able to get port knock working at all.
This problem refuses to go away:
[*] Must specify port to open. at /usr/bin/fwknop line 761, <STDIN> line 1.
even if I declare the client command like so:
fwknop --Server-mode knock -A tcp/12345 -s -r --offset 55500 -D
XXX.XXX.XXX.XXX <------ this version should open the port given by -A as
long as there is a PERMIT_CLIENT_PORTS: Y; in /etc/fwknop/access.conf on
the server.
fwknop --Server-mode knock -s -r --offset 55500 -D XXX.XXX.XXX.XXX
<------ this version should open the port given by the OPEN_PORT
directive in /etc/fwknop/access.conf on the server.
So either I'm completely misunderstanding the man pages and articles or
there is some kind of bug here.
Gerry
next prev parent reply other threads:[~2007-09-23 16:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-23 0:48 fwknop: use with Fedora? Gerry Reno
2007-09-23 1:29 ` Gerry Reno
2007-09-23 2:27 ` Gerry Reno
2007-09-23 4:30 ` Michael Rash
2007-09-23 12:33 ` Gerry Reno
2007-09-23 12:40 ` Gerry Reno
2007-09-23 13:28 ` Gerry Reno
2007-09-23 13:47 ` Gerry Reno
2007-09-23 13:53 ` Gerry Reno
2007-09-23 14:17 ` Gerry Reno
2007-09-23 15:17 ` Gerry Reno
2007-09-24 0:43 ` Michael Rash
2007-09-23 16:26 ` Gerry Reno [this message]
2007-09-23 23:50 ` Gerry Reno
2007-09-24 1:44 ` Gerry Reno
2007-09-24 2:47 ` Gerry Reno
2007-09-24 0:16 ` Michael Rash
2007-09-24 0:10 ` Michael Rash
2007-09-23 3:01 ` Gerry Reno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46F693D1.2060909@verizon.net \
--to=greno@verizon.net \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.