From: Gerry Reno <greno@verizon.net>
To: netfilter@vger.kernel.org
Subject: Re: fwknop: use with Fedora?
Date: Sun, 23 Sep 2007 19:50:37 -0400 [thread overview]
Message-ID: <46F6FBCD.2070203@verizon.net> (raw)
In-Reply-To: <46F693D1.2060909@verizon.net>
Working with this some more...
I followed the code in /usr/bin/fwknop and there was no case to handle
tcp so I created this patch which fixed the problem:
750c750,755
< if ($access_str =~ /udp/i) {
---
> if ($access_str =~ /tcp/i) {
> $proto_num = 6;
> if ($access_str =~ /(\d+)/) {
> $enc_allow_port = $1;
> }
> } elsif ($access_str =~ /udp/i) {
So now when I run the client I get the knock sequence sent to the
server, however the server is still not opening the port so now to
investigate that.
Gerry
next prev parent reply other threads:[~2007-09-23 23:50 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 [this message]
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=46F6FBCD.2070203@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.