Changelog 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. **************
  2. NRPE Changelog
  3. **************
  4. 3.1.1 - 2017-05-24
  5. ------------------
  6. FIXES
  7. - The '--log-file=' or '-g' option is missing from the help (John Frickson)
  8. - check_nrpe = segfault when specifying a config file (John Frickson)
  9. - Alternate log file not being used soon enough (John Frickson)
  10. - Unable to compile v3.1.0rc1 with new SSL checks on rh5 (John Frickson)
  11. - Unable to compile nrpe-3.1.0 - undefined references to va_start, va_end (John Frickson)
  12. - Can't build on Debian Stretch, openssl 1.1.0c (John Frickson)
  13. - Fix build failure with -Werror=format-security (Bas Couwenberg)
  14. - Fixed a typo in `nrpe.spec.in` (John Frickson)
  15. - More detailed error logging for SSL (John Frickson)
  16. - Fix infinite loop when unresolvable host is in allowed_hosts (Nick / John Frickson)
  17. 3.1.0 - 2017-04-17
  18. ------------------
  19. ENHANCEMENTS
  20. - Added option to nrpe.cfg.in that can override hard-coded NASTY_METACHARS (John Frickson)
  21. - While processing 'include_dir' statement, sort the files (Philippe Kueck / John Frickson)
  22. - nrpe can now write to a log file using 'log_file=' in nrpe.cfg (John Frickson)
  23. - check_nrpe can now write to a log file using '--log-file=' or '-g' options (John Frickson)
  24. FIXES
  25. - Added missing debugging syslog entries, and changed printf()'s to syslog()'s. (Jobst Schmalenbach)
  26. - Fix help output for ssl option (configure) (Ruben Kerkhof)
  27. - Fixes to README.SSL.md and SECURITY.md (Elan Ruusamäe)
  28. - Changed the 'check_load' command in nrpe.cfg.in (minusdavid)
  29. - Cleanup of config.h.in suggested by Ruben Kerkhof
  30. - Minor change to logging in check_nrpe (John Frickson)
  31. - Solaris 11 detection is broken in configure (John Frickson)
  32. - Removed function `b64_decode` which wasn't being used (John Frickson)
  33. - check_nrpe ignores -a option when -f option is specified (John Frickson)
  34. - Added missing LICENSE file (John Frickson)
  35. - Off-by-one BO in my_system() (John Frickson)
  36. - Got rid of some compiler warnings (Stefan Krüger / John Frickson)
  37. - Add SOURCE_DATE_EPOCH specification support for reproducible builds. (Bas Couwenberg)
  38. - nrpe 3.0.1 allows TLSv1 and TLSv1.1 when I configure for TLSv1.2+ (John Frickson)
  39. - "Remote %s accepted a Version %s Packet", please add to debug (John Frickson)
  40. - nrpe 3.0.1 segfaults when key and/or cert are broken symlinks (John Frickson)
  41. - Fixed a couple of typos in docs/NRPE.* files (Ludmil Meltchev)
  42. - Changed release date to ISO format (yyyy-mm-dd) (John Frickson)
  43. - Fix systemd unit description (Bas Couwenberg)
  44. - Add reload command to systemd service file (Bas Couwenberg)
  45. - fix file not found error when updating version (Sven Nierlein)
  46. - Spelling fixes (Josh Soref)
  47. - Return UNKNOWN when check_nrpe cannot communicate with nrpe and -u set (John Frickson)
  48. - xinetd.d parameter causes many messages in log file (John Frickson)
  49. - Fixes for openssl 1.1.x (Stephen Smoogen / John Frickson)
  50. - PATH and other environment variables not set with numeric nrpe_user (John Frickson)
  51. - rpmbuild -ta nrpe-3.0.1.tar.gz failed File not found: /etc/init.d/nrpe (bvandi / John Frickson)
  52. 3.0.1 - 2016-09-08
  53. ------------------
  54. FIXES
  55. - _set_rc: command not found reported by init script (John Frickson)
  56. - Version string contains name (John Frickson)
  57. - Changes to get 'rpmbuild' to work - nrpe.spec file outdated (John Frickson)
  58. - typo in startup/default-xinetd.in (Philippe Kueck)
  59. - debug output missing command name (Philippe Kueck)
  60. - /usr/lib/tmpfiles.d/ndo2db.conf should have 'd' type, not 'D' (John Frickson)
  61. - Fixes in parse_allowed_hosts() and called functions (Jobst Schmalenbach / John Frickson)
  62. - nrpe.cfg: 'debug' statement needs to be first in file (Jobst Schmalenbach / John Frickson)
  63. 3.0 - 2016-08-01
  64. -----------------
  65. SECURITY
  66. - Fix for CVE-2014-2913
  67. - Added function to clean the environment before forking. (John Frickson)
  68. ENHANCEMENTS
  69. - Added support for optional config file to check_nrpe. With the new SSL
  70. parameters, the line was getting long. The config file is specified with
  71. --config-file=<path> or -f <path> parameters. The config file must look
  72. like command line options, but the options can be on separate lines. It
  73. MUST NOT include --config-file (-f), --command (-c) or --args (-a). If any
  74. options are in both the config file and on the command line, the command line
  75. options are used.
  76. - make can now add users and groups using "make install-groups-users" (John Frickson)
  77. - Added "nrpe-uninstall" script to the same directory nrpe get installed to (John Frickson)
  78. - Updated code so configure && make will work on AIX, HP-UX, Solaris, OS X.
  79. There should be no errors or warnings. Let me know if any errors or
  80. warning appear (John Frickson)
  81. - Added command-line option to prevent forking, since some of the init
  82. replacements (such as systemd, etc.) don't want daemons to fork (John Frickson)
  83. - Added autoconf macros and additional files to better support multi-platform
  84. config and compile. The default will still set up to install to
  85. /usr/local/nagios but I added a new configure option:
  86. '--enable-install-method=<method>'. If <method> is 'opt', everything will
  87. install to '/opt/nagios'. If <method> is 'os', installation will be to O/S-
  88. and distribution-specific locations, such as /usr/sbin, /usr/lib/nagios,
  89. /etc/nagios, and so on.
  90. - Added additional init and inetd config files to support more systems,
  91. including SuSE, Debian, Slackware, Gentoo, *BSD, AIX, HP-UX, Solaris, OS X.
  92. - Added listen_queue_size as configuration option (Vadim Antipov, Kaspersky Lab)
  93. - Reworked SSL/TLS. See the README.SSL.md file for full info. (John Frickson)
  94. - Added support for version 3 variable sized packets up to 64KB. nrpe will
  95. accept either version from check_nrpe. check_nrpe will try to send a
  96. version 3 packet first, and fall back to version 2. check_nrpe can be forced
  97. to only send version 2 packets if the switch `-2` is used. (John Frickson)
  98. - Added extended timeout syntax in the -t <secs>:<status> format. (ABrist)
  99. FIXES
  100. - Fixed configure to check more places for SSL headers/libs. (John Frickson)
  101. - Added ifdefs for complete_SSL_shutdown to compile without SSL. (Matthew L. Daniel)
  102. - Renamed configure.in to configure.ac and added check for sigaction (John Frickson)
  103. - Replaced all instances of signal() with sigaction() + blocking (John Frickson)
  104. - check_nrpe does not parse passed arguments correctly (John Frickson)
  105. - NRPE should not start if cannot write pid file (John Frickson)
  106. - Fixed out-of-bounds error (return code 255) for some failures (John Frickson)
  107. - Connection Timeout and Connection Refused messages need a new line (Andrew Widdersheim)
  108. - allowed_hosts doesn't work, if one of the hostnames can't be resolved by dns (John Frickson)
  109. - allowed_hosts doesn't work with a hostname resolving to an IPv6 address (John Frickson)
  110. - Return UNKNOWN when issues occur (Andrew Widdersheim)
  111. - NRPE returns OK if check can't be executed (Andrew Widdersheim)
  112. - nrpe 2.15 [regression in Added SRC support on AIX - 2.14] (frphoebus)
  113. - compile nrpe - Solaris 9 doesn't have isblank() (lilo, John Frickson)
  114. - sample configuration for check_load has crazy sample load avg (ernestoongaro)
  115. 2.15 - 09/06/2013
  116. -----------------
  117. - Now compiles on HP-UX (Grant Byers)
  118. - Added support for IPv6 (Leo Baltus, Eric Stanley)
  119. 2.14 - 12/21/2012
  120. -----------------
  121. - Added configure option to allow bash command substitutions, disabled by default [bug #400] (Eric Stanley)
  122. - Patched to shutdown SSL connection completely (Jari Takkala)
  123. - Added SRC support on AIX (Thierry Bertaud)
  124. - Updated RPM SPEC file to support creating RPMs on AIX (Eric Stanley)
  125. - Updated logging to support compiling on AIX (Eric Stanley)
  126. 2.13 - 11/11/2011
  127. -----------------
  128. - Applied Kaspersky Labs supplied patch for extending allowed_hosts (Konstantin Malov)
  129. - Fixed bug in allowed_hosts parsing (Eric Stanley)
  130. - Updated to support compiling on Solaris 10 (thanks to Kevin Pendleton)
  131. 2.12 - 03/10/2008
  132. -----------------
  133. - Fix for unterminated multiline plugin (garbage) output (Krzysztof Oledzki)
  134. 2.11 - 12/26/2007
  135. -----------------
  136. - Added lib64 library paths to configure script for 64-bit systems (John Maag)
  137. - Added --with-ssl-lib configure script option
  138. - Added --with-log-facility option to control syslog logging (Ryan Ordway and Brian Seklecki)
  139. 2.10 - 10/19/2007
  140. -----------------
  141. - Moved PDF docs to docs/ subdirectory, added OpenOffice source document
  142. - A critical result is now returned for child processed that die due to a signal (Klas Lindfors)
  143. 2.9 - 08/13/2007
  144. ----------------
  145. - Fixed bug with --with-nrpe-group configure script option (Graham Collinson)
  146. - Fixed bug with check_disk thresholds in sample config file (Patric Wust)
  147. - Added NRPE_PROGRAMVERSION and NRPE_MULTILINESUPPORT environment variables
  148. for scripts that need to detect NRPE version and capabilities (Gerhard Lausser)
  149. - Added asprintf() support for systems that are missing it (Samba team)
  150. 2.8.1 - 05/10/2007
  151. -----------------
  152. - Fixed configure script error with user-specified NRPE group
  153. 2.8 - 05/08/2007
  154. ---------------
  155. - Added support for multiline plugin output (limited to 1KB at the moment) (Matthias Flacke)
  156. 2.8b1 - 03/14/2007
  157. -----------------
  158. - Changes to sample config files
  159. - Added ';' as an additional prohibited metachar for command arguments
  160. - Updated documentation and added easier installation commands
  161. 2.7.1 - 03/08/2007
  162. ------------------
  163. - Changed C++ style comment to C style to fix compilation errors on AIX (Ryan McGarry)
  164. 2.7 - 02/18/2007
  165. ----------------
  166. - Patches for detection SSL header and library locations (Andrew Boyce-Lewis)
  167. - NRPE daemon will now partially ignore non-fatal configuration file errors and attempt to startup (Andrew Boyce-Lewis)
  168. 2.6 - 12/11/2006
  169. ----------------
  170. - Added -u option to check_nrpe to return UNKNOWN states on socket timeouts (Bjoern Beutel)
  171. - Added connection_timeout variable to NRPE daemon to catch dead client connections (Ton Voon)
  172. - Added graceful timeout to check_nrpe to ensure connection to NRPE daemon is properly closed (Mark Plaksin)
  173. 2.5.2 - 06/30/2006
  174. ------------------
  175. - Fixed incorrect service name in sample xinetd config file
  176. - Added note on how to restart inetd for OpenBSD users (Robert Peaslee)
  177. - Fix for nonblocking accept()s on systems that define EAGAIN differently than EWOULDBLOCK (Gerhard Lausser)
  178. - Fix to (re)allow week random seed (Gerhard Lausser)
  179. 2.5.1 - 04/09/2006
  180. ------------------
  181. - Patch to fix segfault if --no-ssl option is used (Sean Finney/Peter Palfrader)
  182. 2.5 - 04/06/2006
  183. ----------------
  184. - (Re)added allowed_hosts option for systems that don't support TCP wrappers
  185. - Fix for SSL errors under Solaris 8 (Niels Endres)
  186. - Fix for config file directory inclusion on ReiserFS (Gerhard Lausser)
  187. 2.4 - 02/22/2006
  188. ----------------
  189. - Added option to allow week random seed (Gerhard Lausser)
  190. - Added optional command line prefix (Sean Finney)
  191. - Added ability to reload config file with SIGHUP
  192. - Fixed bug with location of dh.h include file
  193. - Fixed bug with disconnect message in debug mode
  194. 2.3 - 01/23/2006
  195. ----------------
  196. - Spec file fixes
  197. - Removed errant PID file debugging code
  198. - Fixed problem with trimming command definitions
  199. 2.2 - 01/22/2006
  200. ----------------
  201. - Spec file fix
  202. - Patch to add Tru64 and IRIX support (Ton Voon)
  203. - Updated config.sub and config.guess
  204. - Fixed bug with config file lines with only whitespace
  205. - Fixed bug with missing getopt() command line option for -V
  206. - Removed sample FreeBSD init script (now maintained by FreeBSD port)
  207. - Added config file option for writing a PID file
  208. 2.1 - 01/19/2004
  209. ----------------
  210. - Replaced host access list with TCP wrapper support
  211. - Removed length restrictions for command names and command lines
  212. - Configure script patch for getopt_long on Solaris
  213. - Bug fixes for accept() on HP-UX 11.0
  214. - Init script for SUSE Linux (Subhendu Ghosh)
  215. - SSL protocol used is now limited to TLSv1
  216. - Any output from plugins after first line is now ignored before
  217. plugin process is closed
  218. 2.0 - 09/08/2003
  219. ----------------
  220. - Added support for passing arguments to command
  221. - NRPE daemon can no longer be run as root user/group
  222. - Added getopt support
  223. - Added 'include' variable to config file to allow inclusion
  224. of external config files
  225. - Added 'include_dir' variable to allow inclusion of external
  226. config files in directories (with recursion)
  227. - Added native SSL support (Derrick Bennett)
  228. - Added my_strsep(), as Solaris doesn't have strsep()
  229. - Added license exemption for use with OpenSSL
  230. 1.8 - 01/16/2003
  231. ----------------
  232. - Daemon now closes stdio/out/err properly (James Peterson)
  233. - Makefile changes (James Peterson)
  234. - Mode command line option bug fix in daemon
  235. - Fixed incorrect command line options in check_nrpe plugin
  236. 1.7 - 01/08/2003
  237. ----------------
  238. - Spec file updates and minor bug fixes (James Peterson)
  239. - Bug fix with default nrpe port definition
  240. - Added sample xinetd config file (nrpe.xinetd)
  241. - Bug fix for command_timeout variable (James Peterson)
  242. 1.6 - 12/30/2002
  243. ----------------
  244. - Updated sample commands to match new plugin argument format
  245. - Added sample init scripts for FreeBSD and Debian (Andrew Ryder)
  246. - Syntax changes (-H option specifies host name in check_nrpe,
  247. -c option specifies config file in nrpe)
  248. - Added command_timeout directive to config file to allow user
  249. to specify timeout for executing plugins
  250. - Added spec file and misc patches for building RPMs (James Peterson)
  251. - Added --with-nrpe-port config directive (James Peterson)
  252. 1.5 - 06/03/2002
  253. ----------------
  254. - Added setuid/setgid option to config file (suggested by Marek Cervenka)
  255. 1.4 - 06/01/2002
  256. ----------------
  257. - Changed STATE_UNKNOWN to value of 3 instead of -1 (old style)
  258. - Minor doc and sample config file changes
  259. 1.3 - 02/21/2002
  260. ----------------
  261. - Name and version change
  262. - Ignore SIGHUP, minor cleanup (Jon Andrews)
  263. 1.2.5 - 12/22/2001
  264. ------------------
  265. - Implemented Beej's sendall() to handle partial send()s
  266. - Added instructions on running under xinetd to README
  267. - Removed some old crud
  268. 1.2.4 - 02/22/2001
  269. ------------------
  270. - I forgot what changes I made. Go figure...
  271. 1.2.3 - 12/21/2000
  272. ------------------
  273. - A bit more documentation on configuring command definitions for the plugin
  274. 1.2.2 - 06/05/2000
  275. ------------------
  276. - Fixed error in docs for running under inetd using TCP wrappers
  277. - Replaced old email address in src/netutils.h with new one
  278. 1.2.1 - 05/07/2000
  279. ------------------
  280. - Removed trapping of SIGCHLD
  281. - Changed wait4() to waitpid() to allow compilation on HP-UX and AIX
  282. 1.2.0 - 04/18/2000
  283. ------------------
  284. - Server forks twice after accepting a client connection, so as to prevent the
  285. creation of zombies
  286. 1.1.5 - 04/07/2000
  287. ------------------
  288. - Fixed a small bug where one debug message was not getting logged properly
  289. 1.1.4 - 03/30/2000
  290. ------------------
  291. - Added option to disable/enable debug messages using the debug option in the
  292. config file
  293. 1.1.3 - 03/11/2000
  294. ------------------
  295. - Changed config file to use an absolute path
  296. - Changed all debug output to use syslog (Rene Klootwijk)
  297. - No convert all data to network order before sending it and convert it back to
  298. host order when receiving it. This makes it possible to mix Solaris and Linux,
  299. e.g. running check_nrpe on Linux and nrpe on Solaris. (Rene Klootwijk)
  300. 1.1.2 - 03/07/2000
  301. ------------------
  302. - Removed unnecessary code in signal handler routine
  303. - Unused signals are no longer trapper
  304. 1.1.1 - 02/28/2000 - RKL
  305. ---------------------------
  306. - Modified syslog code to include string describing the error code.
  307. - Changed hardcoded number in signal handler to its name. This prevented nrpe
  308. to run on Solaris.
  309. - Fixed race condition in accept loop. The result of accept should also be
  310. checked for EINTR.
  311. - Modified recv and send function calls to compile without warnings on Solaris.
  312. - Modified configure.in,configure and Makefile.in to include nsl and socket libs
  313. for Solaris.
  314. - Modified the signal handler to reestablish itself after being called.
  315. 1.1 - 02/24/2000 - Rene Klootwijk <rene@klootwijk.org>
  316. -----------------
  317. - Added ability to bind nrpe to a specific interface by specifying the address
  318. of this interface in the nrpe.cfg file (e.g. server_address=192.168.2.3)
  319. 1.0 - 02/16/2000
  320. ------------------
  321. - Added ability to run as a service under inetd
  322. 1.0b6 - 02/01/2000
  323. ------------------
  324. - Added configure script
  325. - Netutils functions from the NetSaint plugins is now used
  326. - Reset SIGCHLD to default behavior before calling popen() to
  327. prevent race condition with pclose() (Reported by Rene Klootwijk)
  328. - Cleaned up code
  329. 1.0b5 - 01/10/2000
  330. ------------------
  331. - Added init script contributed by Jacob L
  332. - Incorporated syslog code and other patches contributed by Jacob L
  333. 1.0b4 - 11/04/1999
  334. ------------------
  335. - Changed 'allowed_ip' option in configuration file to
  336. 'allowed_hosts' and added support for multiple hosts
  337. - Minor buffer overflow protection fixes
  338. - main() returned STATE_UNKNOWN on successful launch, changed to STATE_OK (jaclu@grm.se)
  339. - Added syslog support (jaclu@grm.se)