CHANGELOG 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  1. 29/11/2007 - 2.77
  2. - symon/symux -t can now be used to check configuration files before running
  3. in anger.
  4. - symon now also calculates maximum message size; with symux using twice the
  5. calculated value to ensure that configuration errors between
  6. sy[mon|mux].conf are detected in the logs. Both enforce maximum message =
  7. sizeof(udp payload).
  8. - Martin van der Werff donated the Linux/sm_df probe.
  9. - symux/c_smrrds.sh/syweb now all think sensor probes are called
  10. sensor_*. (Daniel Spizak, Evgeniy Sudyr)
  11. - pfq probes must be specified as pfq(interface/queue) in symon and are
  12. treated as pfq_interface_symon.rrd by symux.
  13. - platform/Linux/sm_mem modified to better reflect OpenBSD's idea of the
  14. vm_meter stats.
  15. 05/07/2007 - 2.76
  16. - symux/readconf.c resolve from host, but discard result. (Henning Brauer)
  17. - symux/symux.c -f used strncpy wrong and broke when using gcc4
  18. (Mechiel Lukkien)
  19. - platform/Linux/sm_cpu now uses iowait + hardirq + softirq + steal as its
  20. cpu "interrupt". My feeling is that this is the most accurate
  21. representation of what the values mean for the *BSDs.
  22. - platform/NetBSD/sm_io uses new iostat_sysctl of NetBSD4
  23. - platform/NetBSD/sm_pfq uses NetBSD3/4 altq stat names.
  24. - symux/c_smrrds.sh now searches for rrdtool and symux in {$RRDTOOL,
  25. $SYMUX}, $PATH and in the installation dirs. (Benoit Garcia)
  26. - platform/OpenBSD/sm_if removed obselete netipx includes
  27. (Christian Weisgerber)
  28. - Daemon needs to be able to bind /dev/null - drop privileges after daemon
  29. call (Markus Friedl).
  30. - data.c/free_muxlist closed fd 0 at HUP. This makes symux unresponsive on
  31. OpenBSD and makes it stop on FreeBSD. (Marco Pfatschbacher).
  32. - platform/OpenBSD/sm_cpu fixed to call CPTIME2 only for machines with more
  33. than one cpu. (Henning Brauer)
  34. 13/02/2007 - 2.75
  35. - OpenBSD sensors missed includes (Constantine A. Murenin)
  36. - NetBSD now checks if pf is installed (Jean-Yves Moulin)
  37. 11/02/2007 - 2.74
  38. - symon can be told what local interface to send data from (Henning Brauer)
  39. - removed typos in client/SymuxClient.pm (Sandeep Kr Sangwan)
  40. - OpenBSD sm_sensor upgrade to sensor_dev (Constantine A. Murenin)
  41. - NetBSD can use OpenBSD sm_pf, sm_mem and sm_pfq with little modifications
  42. (Jean-Yves Moulin)
  43. - symon network protocol version bumped to allow stream arguments upto 63
  44. characters.
  45. 19/12/2006 - 2.73
  46. - symux stops reporting rrd errors after 5 messages to counter logspam
  47. (Henning Brauer)
  48. - NetBSD compiles on 2.1 after addition of rrd.h location in
  49. NetBSD/Makefile.inc
  50. - FreeBSD/platform.h now also includes sys/socket.h and sys/dkstat.h, which
  51. makes the FreeBSD probes compile on 4/5/6.
  52. - FreeBSD/sm_pf and OpenBSD/sm_pf were broken when pf was not available
  53. (Ulrich Spörlein)
  54. - c_smrrds.sh now accepts filenames, not descriptions. Intended use is now
  55. c_smrrds.sh `symux -l`.
  56. - symux -l lists rrd files in active configuration.
  57. - symon/symon.c now deals correctly with ntp drift and sleeps
  58. longer. The previous version did not sleep long enough, which could
  59. result in both the alarm and end of sleep issueing a measurement
  60. where only one was due.
  61. - Library deps now split between symon and symux. Not all libraries are
  62. needed on a host if only symon/symux is compiled.
  63. - OpenBSD/Makefile.inc now includes fontconfig library needed for
  64. gd > 2.0.33. This breaks symux compilation for OpenBSD < 3.9.
  65. - OpenBSD/sm_cpu is smp aware
  66. - OpenBSD/sm_mbuf needs errno
  67. - symuxnet.c now allows clients to connect in Linux
  68. - Linux/sm_io added
  69. - FreeBSD/sm_mem fix for swap in 6/5/4 (Clive Lin)
  70. - FreeBSD/sm_io updated to reflect devstats api change
  71. 23/10/2005 - 2.72
  72. - probes use a new "api" that allows per probe storage of
  73. precomputed data
  74. - Marc Balmer donated the df probe
  75. - Harm Schotanus donated mem probe for linux that works on 2.4/2.6
  76. - OpenBSD/sm_if.c no longer uses netns (Mitja Muzenic)
  77. - symux/share.c now uses a ringbuffer to distribute symon packets to
  78. connected tcp clients. Clients that can not keep up with the datarate are
  79. still killed, but have a bit more time to catch up.
  80. - Ulrich Spörlein updated proc probe for FreeBSD-current.
  81. - sm_mem for FreeBSD did not clear swap stats between calls (J. Martin
  82. Petersen)
  83. - sm_sensor: sensor support was detected on OpenBSD, but did not get
  84. configured (Eric Dillenseger)
  85. 19/03/2005 - 2.71
  86. - Ulrich Spörlein updated mem probe for FreeBSD-current and removed some
  87. bugs from FreeBSD/conf.sh.
  88. - J. Martin Petersen contributed the FreeBSD io probe and a new probe called
  89. pfq that can monitor pf altq queues on Free and OpenBSD.
  90. 22/02/2005 - 2.70
  91. - Ulrich Spörlein updated the FreeBSD proc and mem probes, found a bug in
  92. the mem probe for OpenBSD and helped extend the shell config files for
  93. FreeBSD.
  94. - Linux/Makefile.inc TSORT should be cat not echo
  95. 16/02/2005 - 2.69
  96. - inet6 support works again (Eric from Catastrophe.net)
  97. 14/01/2005 - 2.68
  98. - NetBSD/sm_debug.c now has proper sysctl mib values
  99. - if and pf probes for FreeBSD 5.3 (Fredrik Söderblom)
  100. - mbuf interface change for FreeBSD 5.3 (Stefan T. Peters)
  101. - Spelling errors in INSTALL/symon.8/symux.8 (Jan Sepp)
  102. - platform/*BSD/sm_proc transferred cpucpt as uint16 instead of double
  103. (Jamie Herre)
  104. - states_entries is a GAUGE, not a ABSOLUTE (Lars Hansson, Marco Pfatschbacher)
  105. - NetBSD/plaform.h -> platform.h (Joel Andersson)
  106. - tsort and lorder are not needed on Linux. (Mark Enzinas)
  107. 09/08/2004 - 2.67
  108. - Matthew Gream contributed the port and probes to NetBSD and FreeBSD.
  109. Probes for FreeBSD: cpu, debug, mbuf, mem and proc. Probes for NetBSD:
  110. cpu, debug, if, io, mbuf, proc and sensor.
  111. - Added initial support for Linux: cpu and if.
  112. - Textual: INSTALL (Hiddo Hut)
  113. - Removed net_iso from symon.c (Hans Kremers)
  114. - Time since last update gets checked in symon.c to ensure correct
  115. operation with ntp
  116. 05/06/2004 - 2.66
  117. - arguments in network streams are now bound to 15 characters. symon
  118. will use more characters if specified in monitoring, but will only
  119. send the first 15 over the network. (Michael)
  120. - Textual: symux.8 and c_smrrds.sh agree on stream names.
  121. (Okan Demirmen)
  122. 29/02/2004 - 2.65
  123. - removed erroneous strlen in lex.c (Daniel Hartmeier)
  124. - added better socket error reporting (Daniel Polak)
  125. 27/02/2004 - 2.64
  126. - Added new disk structure. symon has a single notion of "io" - the
  127. new or the old depending on the machine it was built on. symux
  128. deals with legacy streams and knows about "io1" (upto 3.4)
  129. and "io" (3.5+). symux will accept legacy symons.
  130. - c_smrrds.sh complains if files cannot be built. (Daniel Polak)
  131. - symon no longer attempts reloading the configuration file when
  132. privsep.
  133. - Textual: INSTALL (Jan Sipke van der Veen), error texts in code
  134. (Stephen Tesch)
  135. 20/12/2003 - 2.63
  136. - removed large char arrays on the stack that broke name resolution
  137. - symon(8) now chroots and drop priviledges to user "_symon" (Henning
  138. Brauer)
  139. - added support for adjusting symon(8) monitoring interval (Henning
  140. Brauer)
  141. - removed typos and better starter configuration (Franciszek Holop)
  142. - port: MESSAGEs were incorrect (Soeren Thing Andersen), PLIST
  143. incomplete (Henning Brauer), HOMEPAGE in Makefile was off (Robert
  144. Winder)
  145. 12/10/2003 - 2.62
  146. - removed errors in c_smrrds.sh (Henning Brauer)
  147. - detecting sensor support was broken (Nick Forbes)
  148. 03/10/2003 - 2.61
  149. - added sensor probe
  150. - removed symon2web from base source package. symon2web (or the new
  151. syweb package) can be downloaded from the main website.
  152. - symux churnbuffer calculation now deals with ipv6 hostnames too
  153. - symux now allows file-less streams to be accepted
  154. - removed bug in display of incoming client connections on symux
  155. - symon uses group probes only for configured streams
  156. - c_config.sh was not included in the PLIST for the symon package
  157. (Andrew Dalgleish)
  158. 23/03/2003 - 2.60
  159. - sm_io was broken on sparc64
  160. - ntohq functions were not detected for big endian machines
  161. - c_config.sh broke on nfs mounts and pfsync
  162. All: thanks to Henning Brauer
  163. 26/02/2003 - 2.59
  164. - mbuf probe (Daniel Hartmeier; depends on 3.2)
  165. - example configuration is now installed in to symon/examples +
  166. better conflicts in port's PLIST (Christian Weisgerber)
  167. 24/01/2003 - 2.58
  168. Gustavo Chamone helped find a rare bug in symon/sm_io.c. strsep()
  169. would clobber stream information and make the first stream in the
  170. configuration file disappear.
  171. Daniel Hartmeier patched symon/sm_pf.c to deal with changes pf. His
  172. patch should also work for previous versions of pf.
  173. 10/01/2003 - 2.57
  174. Christian Weisgerber reported that netinet/ip_ipsp.h already defines
  175. htonq - fixed. Will Wainwright reported 1) a small bug in
  176. test_config.php - fixed, 2) that I left out some files
  177. (class_proc.inc and class_debug.inc) from the PLIST files.
  178. 29/12/2002 - 2.56
  179. Added proc and debug symon2web frontends. Debug has limited
  180. useability, you are better off defining one for yourself.
  181. 14/12/2002 -
  182. Added the proc module. This can be used to retrieve accumulated
  183. information about processes with the same name. A proc(httpd)
  184. statement in symon.conf, for instance, will result in the reporting
  185. of the number of processes called "httpd" and the amounts of cpu and
  186. memory that they take.
  187. Added em device to c_smrrds.sh - thanks to Jung. Fixed typo in
  188. SymuxClient.pm - thanks Tobias Gresch. c_config.sh did not deal with
  189. type mfs devices - thanks Dom De Vitto.
  190. 29/11/2002 - 2.55
  191. Markus Friedl reported that unresolvable ip addresses cannot be used
  192. in the configuration file - fixed.
  193. Overhauled the networking code. Everything is now ip6 aware. This
  194. does mean that the ':' is no longer a keyword in the lexer;
  195. i.e. 'host:port' statements should now be written as 'host
  196. port' or 'host "port" port'.
  197. Added the debug module. This can be used to retrieve debug0
  198. ... debug19 variables from the kernel.
  199. 08/11/2002 - 2.54
  200. Added a perl module that allows ppl to connect to symux and do
  201. something with the measurements as they come in. (I plan to drive an
  202. LCD using this, but it could also be used to get, say, daily
  203. bandwidth usage)
  204. Clients of symux would not sleep after they had read and relayed data
  205. symux gave to them. This could lead to one child eating up multiple
  206. 'semaphore slots' and starvation in other clients - fixed.
  207. 25/10/2002 - 2.53
  208. Henning Brauer suggested a datadir statement for symux configuration
  209. - added.
  210. Henning also reported that c_smrrds.sh cannot create vlan10 and
  211. up. c_smrrds.sh now has a special case for pseudo-interfaces (bridge,
  212. enc, faith, gif, ppp, sppp, strip, tun, vlan)
  213. Nick Nauwelaerts helped improve dependency definitions in the port
  214. Makefile.
  215. 18/10/2002 - 2.52
  216. Julien Touche reported that symon/symux do not report initial cfg
  217. errors on the commandline - fixed.
  218. Reinhard Sammer, Julien and Henning Brauer all noticed that the php
  219. code needed globals - fixed. Passing by reference at call time
  220. resulted in php warnings - fixed.
  221. Henning thought it was nice to see a single machine at a time. Julien
  222. wanted clickable magnification for individual graphs. Both options
  223. can now be configured in datasources.inc.
  224. Resolved a bug reported by Vincent Kessler (who also provided the fix
  225. - cheers mate) in the rrdupdate call in symux - optind needs to be
  226. cleared ahead of the getopt call in rrdupdate.
  227. The Makefile.inc no longer overwrites CFLAGS. Configuration
  228. directories are now taken from the environment as expected by the
  229. openbsd ports system. (Thanks to Nick Nauwelaerts for pointing this
  230. out)
  231. Installation of symon now also generates a default symon.conf file if
  232. the system does not already have one.
  233. Someone at www.deadly.org pointed out that symon is no longer
  234. compatible with OpenBSD 3.0 - removed claim from the website.
  235. Added -f file switch to symon.
  236. The lexer started parsing from character position 1 instead of 0.
  237. symux would bomb out after a hup - fixed.
  238. 14/09/2002 - 2.51
  239. Steve Shockley reported that the port Makefile did not install rrd
  240. tool. (Which is required for compilation of symux)
  241. 13/09/2002 - 2.5 - kvm gone, renamed mon to symon
  242. Rewrote io.c to obtain information via sysctl only. All kvm code is
  243. now gone.
  244. Renamed mon to symon, monmux to symux and mon2web to symon2web. I
  245. liked mon better, but that name is already taken.
  246. Cleaned up webpages to be XHTML 1.0.
  247. 10/09/2002 - 2.4
  248. Added some example pf graphs. This data is hard to plot, ideas are
  249. welcome. Added better port support.
  250. 09/09/2002 - Towards a better port makefile
  251. Reworked port Makefile. It now generates a number of packages that
  252. can be used to just install mon, monmux or mon2web. The KVM stuff has
  253. become a special flavor of the monitor package.
  254. 06/09/2002 - Cosmetics again
  255. monmux/c_monrrds.sh:
  256. - Added RRD_ARGS support. All created rrds have
  257. start=epoch. Incoming data from hosts may be from an earlier time
  258. than rrd creation now.
  259. mon2web/class_[io|if|mem|cpu].inc, index.php:
  260. - Rewrote argument representation of the graphs to be the same as
  261. how it is configured in the configuration files.
  262. mon2web/class_pf.inc, graph_pf.php:
  263. - Initial pf support.
  264. 01/09/2002 - Internal cosmetics - not released
  265. mon/mon.c:
  266. - mon packetsize is still limited by size of struct monpacket in
  267. data.h:79. All other limits have been removed.
  268. lib/data.c mon/monnet.c monmux/muxnet.c:
  269. - header structure is now safely transported across the network.
  270. lib/data.c
  271. - added streamtypes b(yte) and s(hort) in preparation for new
  272. streams.
  273. 31/08/2002 - 2.3
  274. Makefiles, mon/mon.c:
  275. - Environment variable KVM will enable the building of a setgid
  276. kmem version of the monitor. If this environment variable is not
  277. present, a non priviledged monitor will be built. (Note that all
  278. kvm dependant modules will fail during operation)
  279. After today's changes, only the io probe needs kvm.
  280. mon/if.c:
  281. - obtain ifdata as per h1kari's suggestion.
  282. mon/pf.c:
  283. - global naming in sync with other probes
  284. - repeated initialisation would eat up fds
  285. Jan Sipke van der Veen
  286. - version number inconcistencies (main pkg/syslog)
  287. Daniel Hartmeier
  288. - shmat usage in monmux/share.c != 64 bit safe
  289. - some cpp macros missed precendence parenthesis
  290. 29/08/2002 - 2.2
  291. Merged contributions by Daniel Hartmeier:
  292. - cpu probe had a nasty va_arg bug that only showed up on
  293. big-endian machines.
  294. 29/08/2002 - 2.1
  295. Merged contributions by Daniel Hartmeier:
  296. - pf probe
  297. - changes to make mon compile on macppc and sparc64
  298. 28/08/2002 - released 2.0
  299. monitoring behaviour (mon) separated from storage/forwarding
  300. (monmux) and picture display (mon2web). Only mon has to run with
  301. kmem priviledges because of the if and io probes. Although the
  302. entire package was built with portability to other OpenBSD
  303. architectures in mind, it was never tested.
  304. ==== unreleased ====
  305. 25/07/2002 - rewrite stringptr functions in monmux to snprintf ones
  306. - package it for openbsd
  307. - added a crc32 algorithm in netmon and netmux
  308. - added DEBUG handling in Makefiles
  309. - removed a bug in monmux that made it reprocess already processed data.
  310. 22/06/2002 - added shared code, upgraded networking code
  311. 04/04/2002 - changed mon/monmux.conf format
  312. written manual pages
  313. look at mon/cpu.c/percentages, give appropriate people credits.
  314. 01/04/2002 - changed all memsets into bzero
  315. all output messages have the same format now
  316. write pids in /var/run
  317. SIGHUP = reload configuration
  318. 31/03/2002 - cleaned up source
  319. added error reporting routines.
  320. 29/03/2002 - mon and monmux no use monpacket to communicate with each
  321. other. This format defines: version, lenght and crc of the traffic
  322. exchanged.
  323. mon no longer connects. monmux and mon can be started and stopped
  324. independently.
  325. monmux now checks if incoming traffic is allowed from a certain host.
  326. added rrd write support to monmux
  327. made c_monrrds.sh determine what files to build from environment
  328. got mon2web up to date with mon1. changed interface layout to
  329. have output as a negative area - i'm not finished with this.
  330. 22/03/2002 - Added get/set preamble, still tinkering with those s(u)(n)pack
  331. functions. Added one that translates it into text.
  332. 06/01/2002 - Removed init and get functions from the monlib. (init functions
  333. were also required in non-mon applications, not like it is
  334. supposed to be :)
  335. Next step is to rewrite the get functions into using the pack
  336. function.
  337. 05/01/2002 - Wrote spack and sunpack; endianess agnostic values to bytestream
  338. (and back) functions. The packet format has almost been defined
  339. now.
  340. 24/11/2001 - Rewrote lib to KNF, OpCodes removed
  341. 03/11/2001 - Added datatypes and rewrote readconf to use SLISTs.
  342. 01/10/2001 - Mon configuration is read from a mon.conf.
  343. 29/09/2001 - Lexer had trouble dealing with ip-addresses. Cleaned up the number
  344. parsing code and removed a second comment reader.
  345. $Id: CHANGELOG,v 1.72 2007/11/29 13:55:30 dijkstra Exp $