Port details |
- mac_nonet MAC policy to disable access to networking for certain group
- g20150821 sysutils
=3 g20150821Version of this port present on the latest quarterly branch. - There is no maintainer for this port.
- Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org
 - Port Added: 2018-03-12 07:06:00
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: xrdp, telegram-desktop, osv-scanner, memcached, R
- Also Listed In: kld
- License: BSD2CLAUSE
- WWW:
- https://github.com/pbiernacki/mac_nonet
- Description:
- Simple MAC framework policy to disable access to networking for
certain group. Running kldload mac_nonet.ko to load the kernel
module. The load action require root permissions.
Set gid that shouldn't access the network:
sysctl security.mac.nonet.gid=31337
and enable enforcing:
sysctl security.mac.nonet.enabled=1
Any call to socket(2) from user in this group will end with EPERM.
You can also select group that can access only AF_UNIX sockets with
security.mac.nonet.local_gid.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- mac_nonet-kmod>0:sysutils/mac_nonet
- To install the port:
- cd /usr/ports/sysutils/mac_nonet/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/mac_nonet
- pkg install mac_nonet-kmod
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: mac_nonet-kmod
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1495107566
SHA256 (pbiernacki-mac_nonet-g20150821-f7e008a_GH0.tar.gz) = 996281aa2e26528cbc4c265101e5f3996958cc816cb3434d412c5b6f51df6604
SIZE (pbiernacki-mac_nonet-g20150821-f7e008a_GH0.tar.gz) = 1862
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- sysutils_mac_nonet
- USES:
- kmod uidfix
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
g20150821 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
g20150821 20 Jul 2022 14:23:05
    |
Tobias C. Berner (tcberner)  |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
g20150821 01 Apr 2022 15:09:49
    |
Dmitry Marakasov (amdmi3)  |
*/*: fix trailing whitespace in pkg-descr's
Approved by: portmgr blanket |
g20150821 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
g20150821 05 Dec 2018 20:01:11
  |
linimon  |
These ports now build on powerpc64.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket) |
g20150821 22 Jun 2018 08:28:00
  |
yuri  |
Correction to r473019: Revert the unintended change to the 'Created by' headers. |
g20150821 22 Jun 2018 08:04:39
  |
yuri  |
Reset MAINTAINER on ports maintained by amutu@amutu.com
Based on the new policy of all maintained ports reset
when maintaner is absent for 3 months.
Bug#226400 for science/py-tensorflow is ignored since 2018-03-06 (3+ months).
portscout database indicates that 48.94% of his ports aren't updated. |
g20150821 08 Jun 2018 04:32:38
  |
linimon  |
Mark as broken on powerpc64.
Approved by: portmgr (tier-2 blanket) |
g20150821 12 Mar 2018 07:05:24
  |
tobik  |
New port: sysutils/mac_nonet
Simple MAC framework policy to disable access to networking for
certain group. Running kldload mac_nonet.ko to load the kernel
module. The load action require root permissions.
Set gid that shouldn't access the network:
sysctl security.mac.nonet.gid=31337
and enable enforcing:
sysctl security.mac.nonet.enabled=1
Any call to socket(2) from user in this group will end with EPERM.
You can also select group that can access only AF_UNIX sockets with
security.mac.nonet.local_gid.
WWW: https://github.com/pbiernacki/mac_nonet
PR: 219376
Submitted by: amutu@amutu.com
Reviewed by: bapt |