# changelog

author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 31
  	- src/netinfofilterd.c: Use severity 'name' (instead of numeric id) in alert_data change entries
  	- src/netinfofilterd.c: Output 'event.timestamp' to stdout for external scripts to use
  	- src/netinfofilterd.c: Correct alert message being cutoff in trap file processing


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 33
          - src/netinfofilterd.c: Added support for calling scripts on 'clearing' events
          - src/netinfofilterd.c: Strip any CR/NL chars from TrapFilter message field (tf_msg)
          - Added sample/default passive.conf to the distribution


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 34
          - portability: Added p_gethostname() to retrieve FQDN on all platforms
          - plugins/ni_linux.c: Added 'overlay' to exclude_filesystems list
          - netinfo.spec: Systemd unit files should not be executable
          - support/passive.conf.in: Added missing dependency


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 35
  	- netinfofilterd: Pass reason/orig_state/orig_severity to external scripts
  	- Added support/netinfo.wixl for w32/w64 MSI builds
  	- Added sample netinfod.conf/passive.conf for w32/w64 platform


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 36
  	- plugins/ni_linux.c: Corrected a missing list iteration which could cause a loop condition on statvfs() error
  	- netinfoevtd.logrotate.in: added netinfo-events.log and netinfo-perf2rrd.log
  	- netinfo.spec: Make /etc/netinfo/netinfod.conf world readable


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 37
  	- netinfoevtd.c: Exit (fail) on bad return code from comm_accept()
  	- Updates to systemd unit files and logrotate config files
  	- netinfoevtd.service.in: added LimitNOFILE=4096 to increase open file limit for the daemon


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 38
  	- netinfofilterd.c: Corrected missing format variable in call to log_entry (segv in failure path)


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 39
  	- plugins/nieh_oneshot2trap.c: enforce buffer length
  	- src/netinfofilterd.c: escape message value before SQL inserts
  	- src/netinfofilterd.c: Added thread_id to thread-level log messages
  	- src/netinfofilterd.c: worker threads continue to process buckets as long as one is available in the work queue
  	- src/netinfofilterd.c: Exit main loop on three fatal errors
  	- src/netinfofilterd.c: Additional trapfile syntax checks, added dynamic pathbucket allocation and added basic thread processing stats
  	- src/netinfofilterd.c: Added support for 'inotify_enable' tuning option
  	- src/netinfofilterd.c: comment out several debug lines
  	- src/netinfofilterd.c: default to 2 worker threads
  	- src/netinfofilterd.c: Added support for 'tuning' configration directives
  	- src/netinfofilterd.c: Conversion to a multithreaded daemon


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 40
  	- ni_inotify: initial release of new plugin using inotify to watch filesystem objects for changes


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 42
  	- Include systemd unti files in debian builds and some configure.in cleanup
  	- configure.in: correct dir check typo
  	- netinfo.spec: correct date typo in netinfo.spec
  	- configure.in: Replace AC_CHECK_FILE calls with AS_IF for cross-compile support


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - udpfilterd.c: Specify plugin path directory based on build parameters
  	- Initial spec file created for udpfilterd


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped revision to 3
  	- Move shared sources files to lib directory and separate objects
  	- Add shared libraries to packaging files
  	- udpfilterd.spec: cleanup unneeded shared library artifacts


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped revision to 4
  	- udpfilterd: added initial set commands to config and -c option for specifying a config
  	- udpfilterd: load pfm modules via configuration commands
  	- udpfilterd: default to @pkgconfdir@/udpfilterd.conf and skip comment lines in config
  	- debian/udpfilterd0.install: added missing systemd unit file


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped revision to 5
  	- lib/ioloop.c: final fixes to the epoll conversion
  	- include/udpfilterd.h: add command_bind_address/port config options
  	- support/udpfilterd.conf.in: add command_bind_address/port config options
  	- lib/pfm.c: dynamically allocate pfm_manager_t
  	- udpfilterd: add command_bind_address/port config options and change default port to 5200
  	- ioloop: replace with epoll() implementation


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped revision to 6
  	- pfm_dns: added basic support for PCRE filters
  	- udpfilterd/udpfilterctl: allow logging level to be set via friendly names
  	- logging: added logging_string_to_level()
  	- tests/testdns.c: added random/multi testing functions
  	- udpfilterd/udpfilterctl: added support for 'set log-level' command to dynamically adjust the logging level
  	- tests/testdns.c: final coding for initial working version
  	- plugins/pfm_dns.c: vector_process_data(): additional buffer read checks and added comments for each exit point
  	- tests/testdns.c: initial DNS test client (incomplete)
  	- plugins/pfm_dns.c: send NXDOMAIN response for filter matches with deny policy
  	- plugins/pfm_dns.c: implement dns_packet_read_header() to reduce header parsing duplication


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 7
  	- tests/testdns.c: added fd_read_wait() to deal with all sockets being non-blocking
  	- plugins/pfm_dns.c: complete implementation of  backend_decrease_connections() and backend_remove() and added some DEBUG logging
  	- lib/udp.c: set socket to non-blocking in udp_connect() and use close() after shutdown in udp_shutdown()
  	- ioloop: remove the table slide operations (which caused issues anyway)
  	- pfm/pfm_dns: added support for unregistering backend connections


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 8
  	- support/udpfilterd.conf.in: add comments and examples
  	- src/udpfilterd.c: correctly handle empty/blank lines in config file
  	- pfm_dns: update replacement connection message format
  	- pfm_dns: remove commented out debug code
  	- pfm_dns: set recursion flags in nxdomain responses (based on request flags)


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 9
  	- udpfilterd: utilize logging_reopen() when parsing log configuration directives
  	- logging: added logging_reopen() to facilite log file changes and rotation
  	- udpfilterd: continue basic syslog support additions
  	- udpfilterd: added basic syslog support
  	- helper: remove unused log_entry() function
  	- Command string array sizing is driven (centrally) from pfm.h now


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 10
  	- pnetbuffer: added inline function support which can provide upto 6x performance improvements
  	- Fixed a few possibly initialied variable warning
  	- pfm_dns: log allowed queries at info level and VOTE_LOG at notice level


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 12
  	- pfm_dns: convert counter to the metric abstraction
  	- udpfilterctl: better handling of pfm command responses
  	- metric: abstraction code for handling metrics
  	- pfm_dns: improve filter list and implement filter query remove functionality
  	- udpfilterd: display textual log level when the logging level is changed
  	- logging: added logging_level_to_string() helper function
  	- pfm_dns: all plugin messages logged at notice level
  	- udpfilterd: all daemon messages logged at notice level


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 13
  	- pfm_dns: added debug-level logging in filter_match()
  	- udpfilterctl: code to correctly enumerate all strings in a response packet


author: Todd Shadburn <tshadburn@opencomputingsolutions.com>
changelog:
  - Bumped release to 14
  	- pfm_dns: RESPONSE_STRING_SIZE increased from 128 to 256
  	- include/pfm.h: PFM_COMMAND_STR_SIZE increased from 64 to 255
  	- pfm_dns: some code reformatting/cleanup
  	- pfm_dns: added per-filter hit counter and 'filter query counters' command


