notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
knock Flexible port-knocking server and client
0.8_1,1 security on this many watch lists=4 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.8,1Version of this port present on the latest quarterly branch.
Maintainer: sbz@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2006-07-12 18:03:45
Last Update: 2024-01-10 15:29:49
Commit Hash: e4610fc
People watching this port, also watch:: rsync, nmap, screen, openvpn, iftop
License: GPLv2
WWW:
https://github.com/jvinet/knock
Description:
knockd is a port-knock server. It listens to all traffic on an ethernet (or PPP) interface, looking for special "knock" sequences of port-hits. A client makes these port-hits by sending a TCP (or UDP) packet to a port on the server. This port need not be open -- since knockd listens at the link-layer level, it sees all traffic even if it's destined for a closed port. When the server detects a specific sequence of port-hits port-hits, it runs a command defined in its configuration file. This can be used to open up holes in a firewall for quick access.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (8 items)
Collapse this list.
  1. bin/knockd
  2. etc/knockd.conf.sample
  3. share/man/man1/knockd.1.gz
  4. bin/knock
  5. share/man/man1/knock.1.gz
  6. /usr/local/share/licenses/knock-0.8_1,1/catalog.mk
  7. /usr/local/share/licenses/knock-0.8_1,1/LICENSE
  8. /usr/local/share/licenses/knock-0.8_1,1/GPLv2
Collapse this list.
Dependency lines:
  • knock>0:security/knock
Conflicts:
CONFLICTS:
  • doorman
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/security/knock/ && make install clean
To add the package, run one of these commands:
  • pkg install security/knock
  • pkg install knock
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: knock
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1690093412 SHA256 (knock-0.8.tar.gz) = 698d8c965624ea2ecb1e3df4524ed05afe387f6d20ded1e8a231209ad48169c7 SIZE (knock-0.8.tar.gz) = 377107

Packages (timestamps in pop-ups are UTC):
knock
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.8_1,10.8_1,10.5_1,10.8_1,10.8_1,1-0.5_1,1-
FreeBSD:13:quarterly0.8,10.8,10.5_1,10.8,10.8,10.8,10.8,10.8,1
FreeBSD:14:latest0.8_1,10.8_1,10.5_1,10.8_1,10.8_1,10.5_1,1-0.5_1,1
FreeBSD:14:quarterly0.8,10.8,1-0.8,10.8,10.8,10.8,10.8,1
FreeBSD:15:latest0.8_1,10.8_1,1n/a0.8_1,1n/a0.8_1,10.8_1,10.8_1,1
FreeBSD:15:quarterly--n/a-n/a---
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for knock-0.8_1,1: ====> Options available for the multi MT1: you have to choose at least one of them CLIENT=on: Install knock client SERVER=on: Install knockd server ===> Use 'make config' to modify these settings
Options name:
security_knock
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (5 items)
Collapse this list.
  1. http://distcache.FreeBSD.org/local-distfiles/sbz/
  2. http://distcache.eu.FreeBSD.org/local-distfiles/sbz/
  3. http://distcache.us-east.FreeBSD.org/local-distfiles/sbz/
  4. http://distcache.us-west.FreeBSD.org/local-distfiles/sbz/
  5. https://github.com/jvinet/knock/releases/download/v0.8/
Collapse this list.

Number of commits found: 30

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.8_1,1
10 Jan 2024 15:29:49
commit hash: e4610fcb8b73442ad40b744bb87c1bc428ef7c1ccommit hash: e4610fcb8b73442ad40b744bb87c1bc428ef7c1ccommit hash: e4610fcb8b73442ad40b744bb87c1bc428ef7c1ccommit hash: e4610fcb8b73442ad40b744bb87c1bc428ef7c1c files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
MAN?PREFIX: eleminate its usage  and move man to share/man
0.8,1
11 Aug 2023 10:35:44
commit hash: 90c6ae5ae8bf264a481d08c63e7df87b4a621abacommit hash: 90c6ae5ae8bf264a481d08c63e7df87b4a621abacommit hash: 90c6ae5ae8bf264a481d08c63e7df87b4a621abacommit hash: 90c6ae5ae8bf264a481d08c63e7df87b4a621aba files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
security/knock: restore PORTEPOCH

This was accidentally removed in a previous commit.

Reported by:	garga
Approved by:	portmgr (build fix blanket)
Fixes:		b10e091f6f2df5d65453e060d8e82a9a8d603e33
0.8
09 Aug 2023 13:01:18
commit hash: b10e091f6f2df5d65453e060d8e82a9a8d603e33commit hash: b10e091f6f2df5d65453e060d8e82a9a8d603e33commit hash: b10e091f6f2df5d65453e060d8e82a9a8d603e33commit hash: b10e091f6f2df5d65453e060d8e82a9a8d603e33 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Michelangelo De Simone
security/knock: update to 0.8

 - chase to new home

Changelog: https://github.com/jvinet/knock/blob/master/ChangeLog

PR:		267232
Approved by:	sbz (maintainer timeout)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.5_1,1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.5_1,1
20 Jul 2022 14:22:56
commit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fe files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
security: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Kapranoff <kappa@rambler-co.ru>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexander Kriventsov <avk@vl.ru>
  *  Alexander Leidinger <netchild@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.5_1,1
29 Oct 2021 09:50:18
commit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08acommit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08acommit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08acommit hash: 819f25b36d45b8ac5593ec8e6f470d9ad454b08a files touched by this commit
Stefan Eßer (se) search for other commits by this committer
*/*: Remove redundant '-[0-9]*' from CONFLICTS

The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".

Approved by:	portmgr (blanket)
0.5_1,1
06 Apr 2021 14:31:13
commit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937dcommit hash: 135fdeebb99c3569e42d8162b265e15d29bd937d files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
all: Remove all other $FreeBSD keywords.
0.5_1,1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.5_1,1
04 Apr 2014 13:54:42
Revision:350122Original commit files touched by this commit
bapt search for other commits by this committer
Support stage
Simplify a bit
0.5_1,1
20 Sep 2013 22:55:26
Revision:327769Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
security)
0.5_1,1
04 Apr 2013 11:49:16
Revision:315715Original commit files touched by this commit
bapt search for other commits by this committer
Fix building by fixing conversion to optionsng.
It now behaves the same as it used to do before conversion.

Reported by:	pointyhat
Approved by:	portmgr (implicit)
With hat:	portmgr
0.5_1,1
15 Mar 2013 08:33:40
Revision:314279Original commit files touched by this commit
sbz search for other commits by this committer
- Use OPTIONS_SINGLE

PR:		ports/176257
Submitted by:	Jed Clear <jclear at speakeasy.net>
Reviewed by:	jgh
0.5_1,1
20 Jan 2013 18:28:50
Revision:310711Original commit files touched by this commit
sbz search for other commits by this committer
- Convert to new option framework
- Update MASTER_SITES
0.5_1,1
29 Aug 2012 10:54:47
Original commit files touched by this commit
sbz search for other commits by this committer
- Fix duplicated flags

PR:		ports/171117
Submitted by:	Lung-Pin Chang <changlp at cs.nctu.edu.tw>
0.5,1
05 Aug 2012 23:19:40
Original commit files touched by this commit
dougb search for other commits by this committer
Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
0.5,1
04 Jul 2012 21:51:43
Original commit files touched by this commit
sbz search for other commits by this committer
- Fix CONFLICTS with security/doorman

Reported by:    FreeBSD Ports conflicts checker
0.5,1
14 Jan 2012 08:57:23
Original commit files touched by this commit
dougb search for other commits by this committer
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
0.5,1
01 Oct 2011 15:30:49
Original commit files touched by this commit
sbz search for other commits by this committer
- Fix build

Reported by:    pav@
Approved by:    jadawin@ (mentor)
0.5,1
26 Sep 2011 08:26:18
Original commit files touched by this commit
sbz search for other commits by this committer
- Add LICENSE
- Add support for tun devices [1]
- Update MASTER_SITES
- Make happy portlint
- Bump PORTEPOCH

PR:             ports/159078 [1]
Submitted by:   Lung-Pin Chang <changlp at cs.nctu.edu.tw>
Approved by:    jadawin@ (mentor)
0.5.20051124_1
03 Jul 2011 14:03:52
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
0.5.20051124_1
18 Mar 2011 10:04:54
Original commit files touched by this commit
sbz search for other commits by this committer
Update my MAINTAINER address to sbz at FreeBSD.org.

Approved by:    jadawin@ (mentor)
0.5.20051124_1
27 Mar 2010 00:15:24
Original commit files touched by this commit
dougb search for other commits by this committer
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
0.5.20051124_1
19 Jul 2009 18:59:40
Original commit files touched by this commit
shaun search for other commits by this committer
Remove references to my mirror, which will be decommissioned shortly;
fall back to FreeBSD mirrors in case the port has no others.
0.5.20051124_1
23 Jun 2009 12:21:12
Original commit files touched by this commit
jadawin search for other commits by this committer
- Update WWW
- Submitter take maintainership

PR:             ports/135960
Submitted by:   Sofian Brabez <sbrabez gmail.com>
0.5.20051124_1
13 Mar 2009 23:27:19
Original commit files touched by this commit
shaun search for other commits by this committer
Free most of my ports, since they aren't being maintained to a
reasonable standard.
0.5.20051124_1
14 Nov 2008 16:36:55
Original commit files touched by this commit
shaun search for other commits by this committer
Increase pcap read timeout to reduce gratuitous CPU burden.

PR:             ports/127313
Submitted by:   Duane Wessels <wessels@life-gone-hazy.com>
0.5.20051124
20 Mar 2008 10:03:51
Original commit files touched by this commit
pav search for other commits by this committer
- Remove USE_GETOPT_LONG which is a no-op since March 2007
0.5.20051124
06 Aug 2006 19:27:58
Original commit files touched by this commit
shaun search for other commits by this committer
Fix build on FreeBSD 4.x.

Submitted by:   pointyhat via kris
0.5.20051124
12 Jul 2006 18:03:24
Original commit files touched by this commit
shaun search for other commits by this committer
Add a port of "knock" - a flexible port-knocking server and client.

PR:             ports/94626
Submitted by:   shaun (me)
Approved by:    ahze (mentor, implicit)

Number of commits found: 30