| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
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
|