Port details
snort2pfcd Snort alert to pf blocker
3.2_2 security Σ=1 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 3.2_1Version of this port present on the latest quarterly branch.
Maintainer: onestsam@gmail.com search for ports maintained by this maintainer
Port Added: 2016-08-30 23:37:56
Last Update: 2026-09-30 21:41:03
Commit Hash: ac0cbec
People watching this port, also watch: libgd, syslog-ng, irssi, p5-Socket6, unixODBC
License: BSD2CLAUSE
WWW:
https://github.com/onestsam/snort2pfcd
Description: #
Analyzes snort alert output and blocks ip addresses using pf for a specified period of time. A passlist is specified in CIDR format to exclude local and trusted ip address from being blocked.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
pkg-plist: as obtained via: make generate-plist #
Expand this list (5 items)
Collapse this list.
  1. share/man/man8/snort2pfcd.8.gz
  2. sbin/snort2pfcd
  3. /usr/local/share/licenses/snort2pfcd-3.2_2/catalog.mk
  4. /usr/local/share/licenses/snort2pfcd-3.2_2/LICENSE
  5. /usr/local/share/licenses/snort2pfcd-3.2_2/BSD2CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • snort2pfcd
Dependency lines:
  • snort2pfcd>0:security/snort2pfcd
To install the port: #
cd /usr/ports/security/snort2pfcd/ && make install clean
To add the package, run one of these commands:
  • pkg install security/snort2pfcd
  • pkg install snort2pfcd
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: snort2pfcd
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1601365420 SHA256 (snort2pfcd-3.2.tar.gz) = dbeaaa46ba159359fc16d0500c2e0ceffd10ec9acff14fb0c0b2530fd3b38384 SIZE (snort2pfcd-3.2.tar.gz) = 16072

Packages (timestamps in pop-ups are UTC): #
snort2pfcd
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest3.2_23.2_23.23.2_13.2_2
FreeBSD:14:quarterly3.2_23.2_2-3.2_13.2_2
FreeBSD:15:latest3.2_23.2_2n/a3.2_1n/a
FreeBSD:15:quarterly3.2_23.2_2n/a-n/a
FreeBSD:16:latest CURRENT3.2_23.2_2n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies: #
  1. snort : security/snort
Library dependencies: #
  1. libcidr.so : devel/libcidr
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
security_snort2pfcd
USES: #
compiler:c11
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. http://www.tworoutes.com/oss/
Collapse this list.

Number of commits found: 27 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.2_2
30 Sep 2026 21:41:03
commit hash: ac0cbec0c68de03b7fce7b9fa4e89c83cb00c5abcommit hash: ac0cbec0c68de03b7fce7b9fa4e89c83cb00c5abcommit hash: ac0cbec0c68de03b7fce7b9fa4e89c83cb00c5abcommit hash: ac0cbec0c68de03b7fce7b9fa4e89c83cb00c5ab files touched by this commit
Rene Ladan (rene) search for other commits by this committer
security/snort2*: remove expired BARNYARD option, bump PORTREVISION
3.2_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
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)
3.2
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)
3.2
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
3.2
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.
3.2
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.
3.2
14 Nov 2020 03:09:34
Revision:555067commit hash: e61e061eb18862d8e740adeb80fa00d33e00b57ecommit hash: e61e061eb18862d8e740adeb80fa00d33e00b57ecommit hash: e61e061eb18862d8e740adeb80fa00d33e00b57ecommit hash: e61e061eb18862d8e740adeb80fa00d33e00b57eOriginal commit files touched by this commit
pkubaj search for other commits by this committer
security/snort2pfcd: fix build on GCC architectures

cc1: error: unrecognized command line option "-Wimplicit-fallthrough"
cc1: error: unrecognized command line option "-Wcovered-switch-default"
cc1: error: unrecognized command line option "-Wno-noexcept-type"
cc1: error: unrecognized command line option "-Wstring-conversion"

Tested to build with Clang.
3.2
04 Oct 2020 17:11:39
Revision:551435commit hash: d5c11e5d6fa7b8125fb6a117ea8731150cd2fed6commit hash: d5c11e5d6fa7b8125fb6a117ea8731150cd2fed6commit hash: d5c11e5d6fa7b8125fb6a117ea8731150cd2fed6commit hash: d5c11e5d6fa7b8125fb6a117ea8731150cd2fed6Original commit files touched by this commit
rhurlin search for other commits by this committer
security/snort2pfcd: Update to 3.2

No official changelog available. According to maintainer, the major changes for
this release are optimizations:

-Moved several global variables to local
-Fewer Malloc calls
-Several stack optimizations
-More compiler flags and fixes for those warnings
-Fixed compiler escaping bug involving memset for char

PR:		249904
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D26659
3.1
24 Sep 2020 22:55:26
Revision:549971commit hash: 118589081c5a84a1d807b19784652b4e6547ce60commit hash: 118589081c5a84a1d807b19784652b4e6547ce60commit hash: 118589081c5a84a1d807b19784652b4e6547ce60commit hash: 118589081c5a84a1d807b19784652b4e6547ce60Original commit files touched by this commit
dbaio search for other commits by this committer
security/snort2pfcd: Update to 3.1

PR:		249475
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
3.0
12 Sep 2020 22:13:03
Revision:548426commit hash: 3346d26eb5bc4e471150faddc68235ab8176ae09commit hash: 3346d26eb5bc4e471150faddc68235ab8176ae09commit hash: 3346d26eb5bc4e471150faddc68235ab8176ae09commit hash: 3346d26eb5bc4e471150faddc68235ab8176ae09Original commit files touched by this commit
dbaio search for other commits by this committer
security/snort2pfcd: Update to 3.0

PR:		249267
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
2.9
09 Sep 2020 09:16:44
Revision:548072commit hash: b0ef634601c29790239e0e4b63ce552d55083362commit hash: b0ef634601c29790239e0e4b63ce552d55083362commit hash: b0ef634601c29790239e0e4b63ce552d55083362commit hash: b0ef634601c29790239e0e4b63ce552d55083362Original commit files touched by this commit
fernape search for other commits by this committer
security/snort2pfcd: Update to 2.9

Fixes -fno-common problem.

PR:	249122
Submitted by:	onestsam@gmail.com (maintainer)
MFH:	2020Q3 (build fix, -fno-common)
2.8
02 Aug 2020 13:57:42
Revision:543960commit hash: 00c65b1692740dd971fa4b38cd0913b0fb60865ccommit hash: 00c65b1692740dd971fa4b38cd0913b0fb60865ccommit hash: 00c65b1692740dd971fa4b38cd0913b0fb60865ccommit hash: 00c65b1692740dd971fa4b38cd0913b0fb60865cOriginal commit files touched by this commit
swills search for other commits by this committer
security/snort2pfcd: Update to 2.8

PR:		248287
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
2.7
18 Jul 2020 01:31:42
Revision:542465commit hash: ce28697839a516a4ba84ee77d35ec742d5d0ecf6commit hash: ce28697839a516a4ba84ee77d35ec742d5d0ecf6commit hash: ce28697839a516a4ba84ee77d35ec742d5d0ecf6commit hash: ce28697839a516a4ba84ee77d35ec742d5d0ecf6Original commit files touched by this commit
swills search for other commits by this committer
security/snort2pfcd: Update to 2.7

PR:		248035
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
2.6
11 Jul 2020 16:02:42
Revision:541987commit hash: 0db41ec5f0a8747ea469f02b38e052731a70ede1commit hash: 0db41ec5f0a8747ea469f02b38e052731a70ede1commit hash: 0db41ec5f0a8747ea469f02b38e052731a70ede1commit hash: 0db41ec5f0a8747ea469f02b38e052731a70ede1Original commit files touched by this commit
zeising search for other commits by this committer
security/snort2pfcd: Update to 2.6

Update the security/snort2pfcd port to 2.6

PR:		247886
Submitted by:	maintainer (Samee Shahzada)
Event:		July 2020 Bugathon
2.5
08 Jul 2020 06:38:53
Revision:541465commit hash: e57319baf9096066cce78e19df885408291d7fe4commit hash: e57319baf9096066cce78e19df885408291d7fe4commit hash: e57319baf9096066cce78e19df885408291d7fe4commit hash: e57319baf9096066cce78e19df885408291d7fe4Original commit files touched by this commit
lwhsu search for other commits by this committer
Update to 2.5

PR:		247840
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
2.4
08 Jul 2020 05:58:26
Revision:541462commit hash: 5768cbe0e3e04feec23878b315f2713dc56a8acecommit hash: 5768cbe0e3e04feec23878b315f2713dc56a8acecommit hash: 5768cbe0e3e04feec23878b315f2713dc56a8acecommit hash: 5768cbe0e3e04feec23878b315f2713dc56a8aceOriginal commit files touched by this commit
lwhsu search for other commits by this committer
Update to 2.4

PR:		247839
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
2.3
23 Feb 2020 07:55:41
Revision:526890commit hash: af25a0e42bfd19f1e3f8070a5d9bc192c54864c1commit hash: af25a0e42bfd19f1e3f8070a5d9bc192c54864c1commit hash: af25a0e42bfd19f1e3f8070a5d9bc192c54864c1commit hash: af25a0e42bfd19f1e3f8070a5d9bc192c54864c1Original commit files touched by this commit
tcberner search for other commits by this committer
security/snort2pfcd: Update to 2.3

PR:		244182
Submitted by:	Samee Shahzada <onestsam@gmail.com>  (maintainer)
2.0
23 May 2017 21:54:37
Revision:441553commit hash: 9a73d0b4448f4b8ea9491ccf84c57e0f91c5de1ccommit hash: 9a73d0b4448f4b8ea9491ccf84c57e0f91c5de1ccommit hash: 9a73d0b4448f4b8ea9491ccf84c57e0f91c5de1ccommit hash: 9a73d0b4448f4b8ea9491ccf84c57e0f91c5de1cOriginal commit files touched by this commit
joneum search for other commits by this committer
- Update to 2.0

PR:	219396
Submitted by:	Samee Shahzada (maintainer)
Approved by:	rene (maintainer)
Differential Revision:	https://reviews.freebsd.org/D10875
1.9.1
13 May 2017 00:48:46
Revision:440742commit hash: 24c397d97c917d25eb57789b943c9d8ed341dab5commit hash: 24c397d97c917d25eb57789b943c9d8ed341dab5commit hash: 24c397d97c917d25eb57789b943c9d8ed341dab5commit hash: 24c397d97c917d25eb57789b943c9d8ed341dab5Original commit files touched by this commit
dbaio search for other commits by this committer
security/snort2pfcd: Update to 1.9.1

PR:		219202
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
Approved by:	garga (mentor)
Differential Revision:	https://reviews.freebsd.org/D10674
1.8
02 May 2017 15:23:49
Revision:439952commit hash: e5462e64262b1d433f2500a3eaa8413b87d9f5e5commit hash: e5462e64262b1d433f2500a3eaa8413b87d9f5e5commit hash: e5462e64262b1d433f2500a3eaa8413b87d9f5e5commit hash: e5462e64262b1d433f2500a3eaa8413b87d9f5e5Original commit files touched by this commit
miwi search for other commits by this committer
- Update to 1.8

PR:		218302
Submitted by:	maintainer
1.3
27 Mar 2017 09:52:39
Revision:437017commit hash: 45314e8b777ee946e7c6f7e87d64d787e1b1c66ecommit hash: 45314e8b777ee946e7c6f7e87d64d787e1b1c66ecommit hash: 45314e8b777ee946e7c6f7e87d64d787e1b1c66ecommit hash: 45314e8b777ee946e7c6f7e87d64d787e1b1c66eOriginal commit files touched by this commit
robak search for other commits by this committer
security/snort2pfcd: update 1.2 -> 1.3

PR:		218149
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
1.2
17 Dec 2016 16:58:59
Revision:428781commit hash: 8f5ae64bc64271dd8247ea84a88098fd8dec8360commit hash: 8f5ae64bc64271dd8247ea84a88098fd8dec8360commit hash: 8f5ae64bc64271dd8247ea84a88098fd8dec8360commit hash: 8f5ae64bc64271dd8247ea84a88098fd8dec8360Original commit files touched by this commit
jhale search for other commits by this committer
Update to 1.2

PR:		213429
Submitted by:	Samee Shahzada <onestsam@gmail.com> (maintainer)
1.0
03 Oct 2016 14:09:57
Revision:423197commit hash: 9644c0827ec4eae690cdef6c8e909ba829b713d5commit hash: 9644c0827ec4eae690cdef6c8e909ba829b713d5commit hash: 9644c0827ec4eae690cdef6c8e909ba829b713d5commit hash: 9644c0827ec4eae690cdef6c8e909ba829b713d5Original commit files touched by this commit
pawel search for other commits by this committer
Update to version 1.0

PR:		213142
Submitted by:	Samee Shahzada (maintainer)
0.8
27 Sep 2016 01:28:47
Revision:422797commit hash: ede86d2895b2c3010e15cd6de52308c578344033commit hash: ede86d2895b2c3010e15cd6de52308c578344033commit hash: ede86d2895b2c3010e15cd6de52308c578344033commit hash: ede86d2895b2c3010e15cd6de52308c578344033Original commit files touched by this commit
wen search for other commits by this committer
- Update to 0.8
- Update LICENSE

PR:		212842
Submitted by:	onestsam@gmail.com(maintainer)
0.7
18 Sep 2016 11:58:39
Revision:422380commit hash: 5d166fa8ca8efe2769b78816f2fcd99748fa721acommit hash: 5d166fa8ca8efe2769b78816f2fcd99748fa721acommit hash: 5d166fa8ca8efe2769b78816f2fcd99748fa721acommit hash: 5d166fa8ca8efe2769b78816f2fcd99748fa721aOriginal commit files touched by this commit
woodsb02 search for other commits by this committer
security/snort2pfcd: Update to 0.7

- Add LICENSE=NONE as no license has been defined upstream
- Remove patch-Makefile as it has been upstreamed

PR:		212481
Submitted by:	onestsam@gmail.com (maintainer)
Reviewed by:	amdmi3
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D7908
0.5
30 Aug 2016 23:37:48
Revision:421135commit hash: 5c0b9925d752abcab5ade7db426d633f3ee7ed4ecommit hash: 5c0b9925d752abcab5ade7db426d633f3ee7ed4ecommit hash: 5c0b9925d752abcab5ade7db426d633f3ee7ed4ecommit hash: 5c0b9925d752abcab5ade7db426d633f3ee7ed4eOriginal commit files touched by this commit
woodsb02 search for other commits by this committer
Add new port security/snort2pfcd, which analyzes snort alert output and
blocks ip addresses using pf for a specified period of time.

PR:		211813
Submitted by:	onestsam@gmail.com
Reviewed by:	adamw, mat (mentors)
Approved by:	koobs (mentor)
Differential Revision:	https://reviews.freebsd.org/D7712

Number of commits found: 27