Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Michael Rash <mbr@cipherdyne.org>
To: netfilter@vger.kernel.org
Subject: Re: fwknop: use with Fedora?
Date: Sun, 23 Sep 2007 20:16:07 -0400	[thread overview]
Message-ID: <20070924001607.GD11683@minastirith> (raw)
In-Reply-To: <46F6755D.9070407@verizon.net>

On Sep 23, 2007, 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, thanks for reporting that; I'll fix it for the next release.  Still,
this is the legacy port knocking mode.  How about trying this?:

$ fwknop -A tcp/12345 -R -D XXX.XXX.XXX.XXX

...and setting your /etc/fwknop/access.conf file per one of my previous
emails?  This will get you going with SPA mode.

--Mike

  parent reply	other threads:[~2007-09-24  0:16 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
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 [this message]
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=20070924001607.GD11683@minastirith \
    --to=mbr@cipherdyne.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox