Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
stund Minimal STUN (RFC 8489) binding server
1.0.2 net Σ=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.96Version of this port present on the latest quarterly branch.
Maintainer: vim@vimer.org search for ports maintained by this maintainer
Port Added: 2004-04-09 07:56:16
Last Update: 2026-10-26 19:18:29
Commit Hash: 547071b
People watching this port, also watch: gmake, lynx, nmap, gnupg, wget
License: BSD2CLAUSE
WWW:
https://github.com/Yeatol/freebsd-stund
Description: #
stund is Minimal STUN (RFC 8489) binding server for FreeBSD. It listens on standard UDP port 3478, supports IPv4/IPv6 dual-stack, and responds to Binding requests with the XOR-MAPPED-ADDRESS attribute. Engineered for maximum throughput and minimal resource footprint on FreeBSD, stund uses kqueue for event notification, recvmmsg/sendmmsg for batch I/O, and SO_REUSEPORT_LB with one worker thread per CPU. It performs no runtime dynamic memory allocation, using pre-allocated thread-local buffers. Memory usage is approximately 1.5 MB per CPU core. Responses are generated in-place in the receive buffer. It uses the FreeBSD base system, the C++ standard library, and pthreads, with no third-party library dependencies. To enable and start the service: sysrc stund_enable="YES" service stund start
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 (5 items)
Collapse this list.
  1. etc/rc.d/stund
  2. sbin/stund
  3. /usr/local/share/licenses/stund-1.0.2/catalog.mk
  4. /usr/local/share/licenses/stund-1.0.2/LICENSE
  5. /usr/local/share/licenses/stund-1.0.2/BSD2CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • stund>0:net/stund
To install the port: #
cd /usr/ports/net/stund/ && make install clean
To add the package, run one of these commands:
  • pkg install net/stund
  • pkg install stund
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: stund
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1793038523 SHA256 (Yeatol-freebsd-stund-1.0.2_GH0.tar.gz) = 71ccb9d8c406ce5b402903b9639635352bdf413c71b111170b32b6d706d773ed SIZE (Yeatol-freebsd-stund-1.0.2_GH0.tar.gz) = 5396

Packages (timestamps in pop-ups are UTC): #
stund
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.961.0.20.960.961.0.2
FreeBSD:14:quarterly0.960.96-0.960.96
FreeBSD:15:latest1.0.21.0.2n/a0.96n/a
FreeBSD:15:quarterly0.960.96n/a-n/a
FreeBSD:16:latest0.961.0.2n/a-n/a
This port has no dependencies. #
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
net_stund
USES: #
compiler:c++23-lang
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/Yeatol/freebsd-stund/tar.gz/1.0.2?dummy=/
Collapse this list.

Number of commits found: 32 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.0.2
26 Oct 2026 19:18:29
commit hash: 547071b5fb4fcc0749b4ed15497169333097bfeecommit hash: 547071b5fb4fcc0749b4ed15497169333097bfeecommit hash: 547071b5fb4fcc0749b4ed15497169333097bfeecommit hash: 547071b5fb4fcc0749b4ed15497169333097bfee files touched by this commit
Michael Osipov (michaelo) search for other commits by this committer
Author: yeatol
net/stund: Update to 1.0.2

Co-authored-by:	Michael Osipov <michaelo@FreeBSD.org>
PR:		300104
1.0.1
24 Oct 2026 09:51:25
commit hash: 5ab1a133589461d308a5b780fedbea4df0659520commit hash: 5ab1a133589461d308a5b780fedbea4df0659520commit hash: 5ab1a133589461d308a5b780fedbea4df0659520commit hash: 5ab1a133589461d308a5b780fedbea4df0659520 files touched by this commit
Michael Osipov (michaelo) search for other commits by this committer
Author: yeatol
net/stund: Update to 1.0.1 and assign maintainership

Port been forked, updated and adoped by a new maintainer.

Co-authored-by:	Michael Osipov <michaelo@FreeBSD.org>
PR:		299433
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.96
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.96
05 Sep 2022 13:03:10
commit hash: c8b083107b47a8623561033d659b2f0f9ff98ed6commit hash: c8b083107b47a8623561033d659b2f0f9ff98ed6commit hash: c8b083107b47a8623561033d659b2f0f9ff98ed6commit hash: c8b083107b47a8623561033d659b2f0f9ff98ed6 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
all: R eturn sobomax' ports to the pool

Commit bit of sobomax@ was safe-kept on 2018-12-03 by portmgr-secretary@
but somehow the ports were not reset. Reset all the ports except
net/ortp which has been exclusively requested by zirias@

Approved by:	portmgr (blanket)
0.96
20 Jul 2022 14:22:37
commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624commit hash: 6a378e5659b93de6dbe8956246fb3bf971677624 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
net: remove 'Created by' lines

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

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Straup Cope <ascope@cpan.org>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Adam Jette <jettea46@yahoo.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Bakhtin <Alex.Bakhtin@gmail.com>
  *  Alex Deiter <Alex.Deiter@Gmail.COM>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.96
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.96
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.96
10 Dec 2018 16:50:08
Revision:487187Original commit files touched by this commit
rene search for other commits by this committer
Return currently unmaintained ports to sobomax@ who is still a src committer.
0.96
03 Dec 2018 21:20:17
Revision:486556Original commit files touched by this commit
rene search for other commits by this committer
Re-assign sobomax@'s ports after his commit bit was safekept.
0.96
10 Jul 2018 18:06:16
Revision:474396Original commit files touched by this commit
pi search for other commits by this committer
net/stund: fix build on current

PR:		225455
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Approved by:	sobomax (maintainer timeout)
0.96
20 Sep 2015 20:54:09
Revision:397461Original commit files touched by this commit
olgeni search for other commits by this committer
Typos, whitespace and capitalization fixes (G-P).
0.96
22 May 2015 20:34:29
Revision:387082Original commit files touched by this commit
mat search for other commits by this committer
Remove $FreeBSD$ from patches files everywhere.

With hat:	portmgr
Sponsored by:	Absolight
0.96
29 Jul 2014 19:11:53
Revision:363374Original commit files touched by this commit
adamw search for other commits by this committer
Convert a bunch of EXTRACT_SUFX=... into USES=tar:...

Approved by:	portmgr (not really, but touches unstaged ports)
0.96
10 Jul 2014 12:13:12
Revision:361440Original commit files touched by this commit
olgeni search for other commits by this committer
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.

CR:		D307
Approved by:	portmgr (bapt)
0.96
28 Feb 2014 10:04:28
Revision:346475Original commit files touched by this commit
ehaupt search for other commits by this committer
- Support staging
- USES -> gmake
0.96
20 Sep 2013 22:10:25
Revision:327755Original 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:
net)
0.96
21 Aug 2012 21:00:33
Original commit files touched by this commit
dougb search for other commits by this committer
Fix problem introduced in r302141.  The directory for the unpacked source
files is unversioned, so it conflicts with the name of the rc.d script in
WRKDIR after SUB_FILES is applied.
0.96
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.96
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.96
20 Mar 2011 12:54:45
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
0.96
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.96
22 Aug 2009 00:32:25
Original commit files touched by this commit Sanity Test Failure
amdmi3 search for other commits by this committer
- Switch SourceForge ports to the new File Release System: categories starting
with N
0.96
11 Jul 2006 21:30:59
Original commit files touched by this commit
sobomax search for other commits by this committer
Update to 0.96.
0.94_2
22 Jan 2006 21:24:05
Original commit files touched by this commit
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
0.94_2
30 Sep 2005 01:05:15
Original commit files touched by this commit
sobomax search for other commits by this committer
${LOCALBASE} -> ${PREFIX} where appropriate.

PR:             80394
Submitted by:   Vasil Dimov <vd@datamax.bg>
0.94_2
29 Jul 2005 12:36:30
Original commit files touched by this commit
sobomax search for other commits by this committer
o Add support for generating pidfile;

o newrc startup script;

o bump PORTREVISION.
0.94_1
17 Apr 2005 16:39:04
Original commit files touched by this commit
sobomax search for other commits by this committer
o Add missed statement;

o fix error output.
0.94
17 Apr 2005 10:49:07
Original commit files touched by this commit
sobomax search for other commits by this committer
Update to 0.94.
0.92
10 Jun 2004 16:23:58
Original commit files touched by this commit
sobomax search for other commits by this committer
Update to 0.92.
0.91
17 Apr 2004 08:34:32
Original commit files touched by this commit
kris search for other commits by this committer
BROKEN on !i386: Does not compile
0.91
09 Apr 2004 07:55:34
Original commit files touched by this commit
sobomax search for other commits by this committer
Add stund 0.91, a simple STUN (RFC 3489) server and client.

Number of commits found: 32