CHANGELOG 18 KB

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