BSD Ports

net/nmsg 1.4.0 FreeBSD

Network message encapsulation system

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
5e7bf40e64
License
APACHE20
Categories
net
Package size
389.3 KiB, 3717.7 KiB installed

Description

The NMSG format is an efficient encoding of typed, structured data into payloads which are packed into containers which can be transmitted over the network or stored to disk. libnmsg is the reference implementation of this format and provides an extensible interface for creating and parsing messages in NMSG format. The NMSG format relies on Google Protocol Buffers to encode the payload header. Individual NMSG payloads are distinguished by assigned vendor ID and message type values and libnmsg provides a modular interface for registering handlers for specific message types. libnmsg makes it easy to build new message types using the protobuf-c compiler.

In the other systems

SystemPortVersion
FreeBSDnet/nmsg1.4.0
DragonFlynet/nmsg1.3.1

Install

Binary package:

pkg install nmsg

From the ports tree:

cd /usr/ports/net/nmsg/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	nmsg>0:net/nmsg
LIB_DEPENDS=	libnmsg.so:net/nmsg

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.01.4.0-1.3.21.4.0
FreeBSD:14:quarterly1.4.01.4.0n/a1.3.21.4.0
FreeBSD:15:latest1.4.01.4.0n/a1.3.21.3.2
FreeBSD:15:quarterly1.4.01.4.0n/an/an/a
FreeBSD:16:latest1.4.01.4.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 3

The full lists below include those, and their dependencies in turn.

Build dependencies 91
Run dependencies 21

Configuration

Options name: net_nmsg

OptionDefaultDescription
DOCSoffBuild and/or install documentation
DOXYGENonBuild documentation with Doxygen
EXAMPLESoffBuild and/or install examples
KAFKAonKafka I/O in JSON and binary forms
MANPAGESonBuild and/or install manual pages
ZEROMQonZeroMQ support
USES
gmake libtool pathfix pkgconfig
Service scripts
none

Files

Manual pages 1
  • nmsgtool(1)
pkg-plist 79
  • bin/nmsgtool
  • include/nmsg.h
  • include/nmsg/alias.h
  • include/nmsg/asprintf.h
  • include/nmsg/base/defs.h
  • include/nmsg/base/dns.pb-c.h
  • include/nmsg/base/dnsobs.pb-c.h
  • include/nmsg/base/dnsqr.pb-c.h
  • include/nmsg/base/dnstap.pb-c.h
  • include/nmsg/base/email.pb-c.h
  • include/nmsg/base/encode.pb-c.h
  • include/nmsg/base/http.pb-c.h
  • include/nmsg/base/ipconn.pb-c.h
  • include/nmsg/base/linkpair.pb-c.h
  • include/nmsg/base/logline.pb-c.h
  • include/nmsg/base/ncap.pb-c.h
  • include/nmsg/base/packet.pb-c.h
  • include/nmsg/base/pkt.pb-c.h
  • include/nmsg/base/xml.pb-c.h
  • include/nmsg/chalias.h
  • include/nmsg/compat.h
  • include/nmsg/constants.h
  • include/nmsg/container.h
  • include/nmsg/filter.h
  • include/nmsg/fltmod.h
  • include/nmsg/fltmod_plugin.h
  • include/nmsg/input.h
  • include/nmsg/io.h
  • include/nmsg/ipdg.h
  • include/nmsg/isc
  • include/nmsg/message.h
  • include/nmsg/msgmod.h
  • include/nmsg/msgmod_plugin.h
  • include/nmsg/nmsg.pb-c.h
  • include/nmsg/output.h
  • include/nmsg/pcap_input.h
  • include/nmsg/random.h
  • include/nmsg/rate.h
  • include/nmsg/res.h
  • include/nmsg/sock.h
  • include/nmsg/statsmod.h
  • include/nmsg/statsmod_plugin.h
  • include/nmsg/strbuf.h
  • include/nmsg/timespec.h
  • include/nmsg/vendors.h
  • include/nmsg/version.h
  • include/nmsg/zbuf.h
  • lib/libnmsg.a
  • lib/libnmsg.so
  • lib/libnmsg.so.8
  • lib/libnmsg.so.8.3.0
  • lib/nmsg/nmsg_flt1_sample.so
  • lib/nmsg/nmsg_msg9_base.so
  • lib/nmsg/nmsg_stats1_sample.so
  • libdata/pkgconfig/libnmsg.pc
  • share/man/man1/nmsgtool.1.gz
  • share/nmsg/base/dns.proto
  • share/nmsg/base/dnsobs.proto
  • share/nmsg/base/dnsqr.proto
  • share/nmsg/base/dnstap.proto
  • share/nmsg/base/email.proto
  • share/nmsg/base/encode.proto
  • share/nmsg/base/http.proto
  • share/nmsg/base/ipconn.proto
  • share/nmsg/base/linkpair.proto
  • share/nmsg/base/logline.proto
  • share/nmsg/base/ncap.proto
  • share/nmsg/base/packet.proto
  • share/nmsg/base/pkt.proto
  • share/nmsg/base/xml.proto
  • share/examples/nmsg/email_client.c
  • share/examples/nmsg/email_client_postfix.py
  • share/examples/nmsg/http_client.c
  • share/examples/nmsg/ipconn_client.c
  • share/examples/nmsg/nmsg-dnsqr2pcap.c
  • share/examples/nmsg/nmsg-packet2pcap.c
  • share/examples/nmsg/nmsg_callback.c
  • share/examples/nmsg/print_srcip.c
  • share/examples/nmsg/print_version.c
distinfo 1
FileSizeSHA256
nmsg-1.4.0.tar.gz771675e78653f00d3c71f1b24063eebc49df58cb220cab27b0498da109acea23426cc2
Master sites 2
  • FARSIGHT
  • LOCAL/truckman/farsight

Commit history 1

DateCommitCreditsLog message
5e7bf40e64 Don Lewis net/nmsg: Upgrade to version 1.4.0
nmsg (1.4.0): * Removed nmsgtool support for presentation inputs. * Properly handle fragmented containers in zmq/kafka inputs. * Support single nmsg payload kafka in/out sources. * Clean-up temp files after failed start using -w. * Improved warning for mismatched CRC. * Require json-c build dependency. * Fix various small memory leaks and mismanagement issues. * Fix strict aliasing violations. * Removal of various unused header files. * Various documentation fixes. MFH: 2026Q3 Sponsored by: DomainTools LLC