| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.1.2:
* Now allow nmsgtool --setgroup, --setoperator, and --setsource
to work with --writepres and --writejson outputs.
* Permit nmsgtool --setgroup and --setoperator to use a numerical
value.
* Unmatched group and operator aliases in presentation format now
display as the numerical values instead of (null).
* Ensure mis-running nmsgtool results in failure exit code.
* Fix output buffering for JSON outputs.
* Fix magic length calculation in nmsg_json.
* Terminate strbuf data at initialization.
Disabling the JSON_C option no longer breaks the build.
The DOXYGEN build requiers perl.
MFH: 2023Q4
Sponsored by: DomainTools LLC
|
|
|
|
|
|
|
|
|
| |
1.1.1:
* Update estimated container size to include space for sequencing
info.
MFH: 2023Q3
Sponsored by: DomainTools LLC
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.1.0:
* Multiple performance improvements to JSON formatting.
* Multiple performance and concurrency improvements in nmsg_io loop.
* Add new dnsobs message type for raw passive DNS observations.
* Format DNS messages as JSON in base:dnsqr, base:dnstap, and
base:dnsobs.
* Format base:encode payload in human readable form in JSON output.
* Replace yajl with json-c for JSON parsing.
* nmsgtool: exit with nonzero status when interrupted by signal.
* Correct container size calculation when sequencing.
* Address doxygen deprecations.
Build fails with JSON_C option turned off, mark BROKEN. Reported
upstream.
Bump PORTREVISION of dependent ports
MFH: 2023Q3
Sponsored by: DomainTools LLC
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Improve support for CAA records. (CAA was previously rendered as a
"generic" rdata type.)
* Bug fix for NSEC/NSEC3/CSYNC: do not output empty rrtype bitmaps
per RFC6840 section 6.4.
* Fix parsing of A6 records that ommit and address portion. Correct
parsing of A6 records with prefix length 0. Correct handling of
A6 address bytes. The address bytes of an A6 record are an address
suffix relative to the prefix represented by the domain name, and
so must be copied to and from the lower order bytes of the internal
address representation. These A6 code updates were for the purposes
of clearing "round trip" test errors in the existing code base.
(A6 is deprecated and was moved to historic status.)
* Fix bug in IPv6 prefix length processing in
_wdns_str_to_rdata_ubuf().
* Add support for SVCB and HTTPS resource record types. This is based
on an Internet-Draft but is widely used in the real world.
https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-https-08
Bump PORTREVISION of dependent ports due to shared library version
change.
Sponsored by: DomainTools
|
|
|
|
|
|
|
|
|
|
|
|
| |
* nmsgtool: Fix use-after-free bug in statistics debugging (seen on
Debian 10).
* nmsg/base/dnsqr.c: Initialize len in dnsqr_hash to squash
code-checker uninitialized warning.
* Fix assert conditions with side effects for builds with -DNDEBUG
Sponsored by: Farsight Security, Inc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The network encapsulation library, nmsg, version 1.0.0 is released.
This release deprecates Crossroads I/O (libxs) support in favor of
ZeroMQ (libzmq). Note command-line updates enabling ZeroMQ socket
connections for nmsgtool, as described in its man page. In addition
the treatment of unknown rrtypes was amended for nmsgtool JSON
output. In detail:
Replace libXS with ZeroMQ and associated calls.
Developer API functions nmsg_input_open_xs(),
nmsg_input_open_xs_endpoint(), nmsg_io_add_input_xs_channel(),
nmsg_output_open_xs(), and nmsg_output_open_xs_endpoint() are
deprecated and replaced with respectively: nmsg_input_open_zmq(),
nmsg_input_open_zmq_endpoint(), nmsg_io_add_input_zmq_channel(),
nmsg_output_open_zmq(), and nmsg_output_open_zmq_endpoint().
Update nmsgtool command-line options: --readzchan replaces --readzsock,
--writezsock replaces --writexsock, --readzsock replaces --readxsock.
Change format of unknown rrtypes in nmsgtool JSON output to "TYPE"
followed by number.
Expose --without-yajl and --without-libzmq configure flags as port options.
This upgrade changes the libnmsg.so version number, bump PORTREVISION
of the dependent ports.
Sponsored by: Farsight Security, Inc.
|
|
|
|
|
|
| |
Bump the PORTREVISION of ports that use protobuf-c and bake in the value
of PROTOBUF_C_VERSION*.
Sponsored by: Farsight Security, Inc.
|
|
|
|
| |
Reported by: lwhsu
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix output stats collection.
* Plugins now found by default at $libdir/nmsg instead of lib/nmsg.
This fixes problem where plugins were not found with recent Debian
packages built with --libdir configure option (used to install
libraries in architecture specific directory). And
./configure --with-plugindir renamed to --with-pluginsdir.
* pkgconfig also depend on libprotobuf-c headers (for third-party
uses of libnmsg with pkgconfig).
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=524626
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Added runtime-tunable environment variables NMSG_GRALIAS_FILE and
NMSG_OPALIAS_FILE.
* Added compile-time version info to API: NMSG_LIBRARY_VERSION and
MSG_LIBRARY_VERSION_NUMBER; and runtime functions: nmsg_get_version()
and nmsg_get_version_number().
* Ensure nmsg_sock_parse_sockspec() returns an error if an invalid port
range is supplied.
* Fixed nmsg_io filtering default policy logic. (Previously, if the final
filter returned "declined", that result was returned in place of the
configured default policy.)
* Make nmsg_output_set_buffered() able to unbuffer nmsg_output_type_json
objects.
* Fixed many compiler check warnings.
* Added multiple unit tests.
* Fix bugs caught by static analysis (cppcheck).
* For protobuf compatibility, renamed all protobuf-c generated enum
names and types, although the wire format of the messages remains
the same. (Thank you to Chris Morrow.) Compatibility definitions
added to nmsg/compat.h to allow existing code to continue using the
old names.
* Miscellaneous documentation improvements.
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=516861
|
|
|
|
|
|
|
|
|
|
|
| |
* Add periodic stats output to nmsgtool.
* Add .json suffix to json files output by nmsgtool.
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=514487
|
|
|
|
|
|
|
|
|
|
| |
upgrade. These two ports bake the value of either PROTOBUF_C_VERSION
or PROTOBUF_C_VERSION_NUMBER into their binaries.
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=505179
|
|
|
|
|
|
|
|
|
|
|
| |
Also various fixes related to said option.
PR: 230864
Submitted by: mat
exp-runs by: antoine
Notes:
svn path=/head/; revision=479406
|
|
|
|
|
|
|
|
|
| |
of PROTOBUF_C_VERSION or PROTOBUF_C_VERSION_NUMBER into their code.
Differential Revision: Farsight Security, Inc.
Notes:
svn path=/head/; revision=477243
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Restore terminating NUL character in string fields loaded from JSON.
* Correct display of string fields with missing NUL terminator.
* Improvements to NUL-termination test cases.
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=460650
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix crash when formatting empty string fields as JSON.
* Correct display of empty string fields in presentation output.
* Remove terminating NUL character in string fields loaded from JSON.
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=452910
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Sanitize JSON UTF-8 output. Invalid UTF-8 sequences are replaced
with the replacement code point U+FFFD.
* Run msgmod 'load' method when loading a message from raw payload
or duplicating an existing message.
* dnstap msgmod: format query_zone in human-readable format.
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=434988
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
nmsg (0.12.1)
* Revert "Don't leak duplicate XS endpoint string in parsing code."
-- Farsight Security, Inc. <software@fsi.io> Mon, 28 Nov 2016 18:52:41 +0000
nmsg (0.12.0)
* Add nmsg_message_get_payload_size() to return the size of the
serialized payload object.
* Add dnstap message module support. dnstap is a flexible,
structured event replication format for DNS software.
* nmsg_output_set_rate: Do not destroy existing rate as another
output may be using it. Note the changed behavior: The caller of
nmsg_output_set_rate() is responsible for reclaiming
unused nmsg_rate_t objects with nmsg_rate_destroy().
* Use output lock in nmsg_output_set_rate().
* Fix sizeof operands in nmsg_chalias_lookup() memory allocations.
* Fix potential uninitialized filter result in io_run_filters().
* Replace enum-exhaustive if/else with switch for msgmod.
* Fix potential nmsg_pres_to_payload crash from unknown fields in msgmod.
* Remove unnecessary initializations in strbuf code.
* Add missing cleanup in nmsg_pcap_input_setfilter_raw error returns.
* Refactor io loop close check to remove unused return value.
* Fix ignored return value in file input.
* Don't leak duplicate XS endpoint string in parsing code
* Fix problems with nmsg_output_set_rate(). It destroys a previously
provided nmsg_rate. If that rate object is shared with another output,
activity on the other output will access freed memory formerly
associated with that nmsg_rate. It does not synchronize setting
the nmsg_rate object. This can lead to race conditions, e.g. if the
rate object is set and the old one destroyed while an output is in
nmsg_rate_sleep().
-- Farsight Security, Inc. <software@fsi.io> Wed, Nov 23 2016 21:15:55 +0000
Consistently use %%DATADIR%% in pkg_plist.
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=427832
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix a build failure when building without YAJL support (#47, #49).
* dnsqr: Also perform query name filtering for UDP_UNSOLICITED_RESPONSE
messages (#48).
* dnsqr: Remove 'icmp' from the generated BPF (#20, #50).
* dnsqr: Only set 'resolver_address_zeroed' field if addresses were zeroed
from the underlying query/response packet fields (#51). Resolver address
zeroing only works for the UDP message types, so we were incorrectly
setting the 'resolver_address_zeroed' field for TCP and ICMP messages.
* nmsg-dnsqr2pcap: Also dump ICMP and TCP packets (#52).
-- Robert Edmonds <edmonds@fsi.io> Fri, 29 Apr 2016 13:37:40 -0400
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=414331
|
|
|
|
|
|
|
|
| |
With hat: portmgr
Sponsored by: Absolight
Notes:
svn path=/head/; revision=412348
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ Henry Stern ]
* Use gmtime_r() instead of gmtime() in JSON and text format generators
(#46).
[ Robert Edmonds ]
* Distribute README.FILTERS.md in release tarballs.
Install README.md and README.FILTERS.md in ${DOCSDIR}
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=408828
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
nmsg (0.11.0)
[ Henry Stern ]
* Add an interval randomization option that randomizes the initial offset
within the selected time interval. This functionality is exposed via the
libnmsg nmsg_io_set_interval_randomized() function and the nmsgtool -R /
--randomize command-line option (#27, #33).
* Add documention for nmsgtool -j / --readjson and -J / --write-json
command-line options (#26, #28).
* Add PKG_CHECK_MODULES dependency on yajl >= 2.1.0 (#29, #31).
* Make nmsgtool -k / --kicker work when combined with -c or -t, when
producing output in JSON format (#25, #38).
* Fix compiler warning [-Wtautological-compare] in
_nmsg_msgmod_json_to_payload_load() (#36, #39).
* Add nmsg_message_get_num_field_values(),
nmsg_message_get_num_field_values_by_idx() functions (#5, #40).
[ Robert Edmonds ]
* Remove the unused enum nmsg_modtype from the internal libnmsg API (#30).
* Header file cleanups (#14, #34).
* Rewrite nmsg_res_lookup() to use a switch, which eliminates a Clang
warning (#14, #35).
* Add a message filtering capability to the libnmsg I/O loop, including
external filter module plugin and nmsgtool support (#41, #43, #44).
[ Mike Schiffman ]
* Add yajl/ prefix to #include's of yajl headers (#37)
Pet portlint
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=407933
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
nmsg (0.10.0)
[ Henry Stern ]
* Add JSON input and output support, including new libnmsg functions
nmsg_input_open_json(), nmsg_output_open_json(), nmsg_message_from_json(),
and nmsg_message_to_json(); new -j and -J command line options for
nmsgtool; and new per-field 'format' and 'parse' methods in the msgmod
plugin API.
[ Chris Mikkelson ]
* nmsg_chalias_free(): Check for null aliases list.
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=400369
|
|
|
|
|
|
|
|
|
| |
- Fix dependency on docbook-xsl-ns: don't depend on optional documentation file, fixes build if docbook-xsl-ns was built WITHOUT=DOCS
Approved by: portmgr blanket
Notes:
svn path=/head/; revision=397581
|
|
|
|
|
|
|
|
|
| |
allows the inclusion of bsd.port.options.mk to be eliminated.
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=395006
|
|
|
|
|
|
|
|
|
|
|
| |
Convert to use MASTER_SIGHTS_FARSIGHT.
Differential Revision: https://reviews.freebsd.org/D2236
Approved by: mat (mentor)
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=383421
|
|
|
|
|
|
|
| |
as a directory name can't be attributed to a package
Notes:
svn path=/head/; revision=377770
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mirror the distfile on LOCAL as a http backup for clients that
can't use https. (Suggested by mat@)
Add MANPAGES option (default YES) because generating the man page
adds a significant number of build dependencies.
Add a comment explaining that the DOXYGEN=NO option gets ignored
if doxygen is installed.
Use option helpers (suggested by mat@).
Use PORTDOCS=* to avoid the need to change pkg-plist if doxygen
changes.
Use INSTALL_TARGET=install-strip instead of ${STRIP_CMD}
(suggested by marino@).
Simplify examples installation.
Differential Revision: https://reviews.freebsd.org/D1484
Approved by: mat (mentor)
Sponsored by: Farsight Security, Inc.
Notes:
svn path=/head/; revision=376726
|
|
|
|
|
|
|
|
|
| |
PR: ports/196342
Submitted by: Naram Qashat (maintainer)
Exp-run and fixes to depending ports: self
Notes:
svn path=/head/; revision=375872
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ChangeLog:
nmsg (0.9.1)
* Fix a crash that was caused by incorrect initialization of
ProtobufCBufferSimple objects.
* Increase the required verbosity level for several noisy debugging log
messages in the seqsrc tracking code from 5 (nmsgtool -ddddd) to 6
(nmsgtool -dddddd).
PR: 195696
Submitted by: maintainer
Notes:
svn path=/head/; revision=374765
|
|
|
|
| |
Notes:
svn path=/head/; revision=373063
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to GCC 4.8.3.
Part II, Bump PORTREVISIONs.
PR: 192025
Tested by: antoine (-exp runs)
Approved by: portmgr (implicit)
Notes:
svn path=/head/; revision=367888
|
|
|
|
|
|
|
|
| |
PR: 192771
Submitted by: maintainer
Notes:
svn path=/head/; revision=365313
|
|
|
|
|
|
|
|
| |
PR: 192695
Submitted by: maintainer
Notes:
svn path=/head/; revision=365139
|
|
|
|
|
|
|
|
|
|
|
| |
Update dependent ports to build with it
Most of work by: pi@
Exp-run: self
PR: ports/190943
Notes:
svn path=/head/; revision=364468
|
|
PR: 190601
Submitted by: Don Lewis (truckman@)
================================================================
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.
Notes:
svn path=/head/; revision=364263
|