File: NEWS

package info (click to toggle)
dhcpd-pools 3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,124 kB
  • sloc: ansic: 31,353; sh: 4,915; perl: 277; javascript: 74; php: 63; makefile: 50
file content (635 lines) | stat: -rw-r--r-- 24,637 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
dhcpd-pools -- History of visible changes.

Copyright (C) 2006- Sami Kerola <kerolasa@iki.fi>
See the end for copying conditions.

Please send dhcpd-pools bug reports to kerolasa@iki.fi.

gpg: Signature is crated using RSA key ID 8ED396E37E38D471A00530D3A9553245FDE9B739.


Version 3.2
Jean Benoit (1):
      contrib: snmptest.pl SNMPwalk can't access to all variables/wrong sort

Sami Kerola (5):
      contrib: point out where one can find zabbix template
      build-sys: update .gitignore files
      config: remove unnecessary padding
      build-sys: autotools and gnulib related updates
      build-sys: routine update
      release: 3.2

Version 3.1
Mark Sangster (1):
      output: fix warn and crit counts on shared networks

Sami Kerola (31):
      webpage: add instructions how to get output you need
      build-sys: add coverage files to .gitignore
      tests: improve coverage
      docs: fix peoples name in THANKS file to have correct characters
      add .mailmap
      output: fix implicit conversion
      main: simplify option parsing
      fix typo
      main: move print_mac_addreses to state structure
      main: move output_format to state, and rename color_format
      webpages: use html sample output
      fix switch missing default case warnings
      sort: ensure NaN will not trip over comp_double()
      drop images, java scripts, and such from web sitemap file
      getdata: remote dead code
      other: use strftime() to generate date-time string
      lib: update .gitignore
      fix typos
      various: fix few warnings
      warnings: ensure optimal packing in structures
      other: use IP string lengths from netinet/in.h
      mustach: sync with most recent mustach upstream changes
      various: tidy up variable scopes, and one name mismatch
      build-sys: update .gitignore files
      output: add warning and critical threshold counts to mustach
      samples: make prometheus template less klunky
      misc: fix spelling issues
      output: add ethernet address priting support to --mustach
      build-sys: update bootstrap from gnulib
      output: update javascripts
      release: 3.1

Version 3.0
Sami Kerola (56):
      release: update web page meta data
      update sitemap
      output: make output_analysis() to be regular function
      getdata: fix typo
      output: add output helper functions
      output: add color support to text output
      output: include earlier missing data to json output
      output: add --skip-ok option
      other: add --skip-ok to usage() output
      output: json nan values need quoting
      other: do not use 'else' after 'return'
      getdata: do not use 'else' after 'continue'
      include: use project specific header guard
      output: use range_output_helper() value in output_xml()
      output: add mustach templating support
      output: add separate first_ip and last_ip to json and mustach outputs
      docs: add mustach sample files
      tests: add mustach check
      output: make mustach processing more robust
      output: avoid mixing ntop_ipaddr() output buffers
      output: do not skip over first range in mustach output
      output: save and reuse output helper results
      output: add must_put_err() utility function
      output: include stdlib.h to avoid compilation error
      gnulib: use nstrftime instead of strftime
      build-sys: omit mustach compilation when it cannot work
      usage: add error message informing mustach support is not available
      output: deduplicate file closing code
      clean up: remove unused variable
      all files: replace global variables with runtime config state structure
      all files: re-indent
      analyze: bug fix shared networks counts
      other: add Jose Bollo to version output credits
      output: improve mustach template parsing error
      analysis: shared networks to be linked list
      output: make --skip-ok to effect --perfdata
      output: move shared net andn range status check to output_helper
      output: make warning and critical colors work in html output
      output: display more entries in html table by default
      output: shared net can be in suppressed state
      output: improve html table
      hash: include stdlib.h to avoid implicit declarations
      clean up: fix couple compiler warnings
      thanks: add Troy D. Hanson to credits about uthash
      samples: add prometheus text file collector mustach template
      output: make --skip to take arguments what will be skipped
      misc: move command line option parsing to separate function
      misc: move couple enums from global scope to file scope
      docs: improve doxygen documentation
      output: remove unused variable attribute
      output: add more items to mustach tags
      output: unify time stamp creations
      orther: fix xstrstr_init() memcmp() return value usage
      output: add some trivia data to json output
      usage: --skip=ignored is actually 'suppressed'
      release: 3.0

Version 2.29
Boris Lytochkin (1):
      introduce -A arg: treat single subnets as shared-network with CIDR as their name

Manuel Hachtkemper (1):
      alarming: add additional performance data

Sami Kerola (47):
      tell in README when ./bootstrap is needed
      add dhcpd-pools website content to a subdirectory
      add sitemap url to robots.txt file
      use long options in .indent.pro file
      webpages: make index page mobile device friendly
      webpages: compress sitemap.txt file
      getdata: flip ranges if they are in greater smaller order
      tests: add range definition flip test
      contrib: add archlinux package build file
      contrib: remove unnecessary cgi script
      contrib: remove awk file duplicate
      getdata: get rid of remaining stdbool usage
      argument parsing: fix compiler warning
      add dhcpd-pools Description Of A Project file
      fix doap file git repository and license section
      output: check alarming mode can output successfully
      build-sys: update bootstrap from gnulib
      build-sys: update gnulib .gitignore file
      analyze: use while() when for() is less fit to purpose
      build-sys: default to ./configure --enable-silent-rules
      build-sys: always use restrict found by autoconf
      docs: fix couple typos and improve a sentence in README
      output: remove unnecessary increment
      portability: add gnulib modules earlier missing
      remove const and pure function attributes
      man: improve synopsis and output limit
      man: remove old html table only option argument from manual
      getdata: report position in config file when parsing fails
      output: fix timestamp localization on html page
      output: add include avoid referringt to undefined definition
      getdata: remove POSIX_FADV_NOREUSE
      style: use same argument names in header and source file
      contrib: Klaus Slott told about opensuse package
      getdata: fpos_t is not easy to print correctly
      lib: update .gitignore
      fix typo
      variable: add const to print_mac_addreses_tmp
      lib: update .gitignore
      add --ip-version option to force either IPv4 or IPv6 analysis
      lib: update .gitignore
      getdata: add cidr range support
      build-sys: update bootstrap from gnulib
      docs: update doxygen configuration file
      docs: tell what needs to be done when releasing new version
      docs: add build instruction link to the project web page
      docs: update maintainer gpg key
      release: 2.29

Version 2.28
Sami Kerola (26):
      portability: Solaris 10 does not have err.h
      fix couple compiler warnings
      make binary exec path dynamic in scripts referring to it
      update doxygen.conf file
      add --snet-alarms option to suppress excess range alarms
      add --warn-count and --crit-count options to suppress alarm noise
      improve README file instructions
      make html output to use Bootstrap and DataTables
      fix typo in README
      correct return value FIXME items
      use more descriptive names in limit bits enum definition
      remove upper limit of sort order definitions
      fix protocol specifier in html output
      use bitmap for booleans and other config that has known size
      simplify output format selection, and passing
      fix doxygen build
      fix improve variable names
      print include system error message when output fails
      drop a core when bug condition happens
      make usage() easier to read
      unify quotation in error messages
      add --warn-count and --crit-count test, and fix related bug
      test all sorting options
      change NAN markup to make tests work on mac
      fix out of tree build tests
      release: 2.28

Version 2.27
Sami Kerola (9):
      docs: remove very basic git usage info
      docs: remove todo items that will never happen
      output: remove empty element from xml
      add touched addresses counts to xml and json reports
      add xml format check
      improve html output
      add hint about configure options to README
      man: fix character class change
      gitignore: update gnulib file list
      release: 2.27

Version 2.26
$ git shortlog v2.25..v2.26
Sami Kerola (15):
      news: add the note about .sig pgp key id
      reindent all files
      declare global variables only once
      add appropriate sorting function for struct leases_t
      update kernel.org url in README
      getdata: fix buffer-overflows reported by address sanitizer
      update bootstrap from gnulib
      getdata: fix buffer overflow [AddressSanitizer]
      other: reduce variable scope
      output: prefer thread safe function localtime_r()
      tests: add regression test to avoid shared-net off by one alarming
      issue
      output: avoid division by zero
      other: disallow unsigned counter ever to have minus value
      maint: remove unnecessary braces, spaces, update gnulib .gitignore
      release: 2.26

Wolfgang Steudel (1):
      alarming: include last shared network in alarming [off by one]

Version 2.25
$ git shortlog v2.24..v2.25
Sami Kerola (14):
      build-sys: use more strict method to check __builtin_expect
      getdata: add missing HAVE_POSIX_FADVISE protection
      getdata: fix consecutive range definition regression
      man: add tip analysis of include files can be useful
      thanks: add Fredrik Lysén & Conor McCarthy
      generic: use pure and const function attributes when possible
      tests: fix testing error
      output: make nagios output have performance data
      build-sys: update gitinore file
      output: use symbolic exit values for nagios commands
      build-sys: update bootstrap script
      build-sys: require automake 1.12 to get working test-driver
      contrib: add release siging key to contrib/
      release: 2.25

Version 2.24
$ git shortlog v2.23..v2.24
Sami Kerola (22):
      build-sys: update configure.ac
      output: make output limits to apply to alarm return values
      tests: add alarming tests
      output: allow alarming, in case of success, be silent
      tests: fix tests to use the new OK printing limit
      docs: inform how the limits affect to printing when alarming is in use
      output: allow user to ignore small ranges and shared networks
      tests: test small network alarm ignoring
      docs: add an example how to use limits with alarming
      thanks: Dan Pritts
      xstrstr: speed up analysis by avoiding string comparisons
      other: memcmp() is tiny bit quicker than strncmp()
      build-sys: update gnulib modules
      build-sys: AC_PROG_CC_C99 is obsolete; use AC_PROG_CC
      getdata: use correct file caching advice
      analyze: remove unnecessary function
      getdata: memccpy() is better than own similar function
      getdata: split busy function to segments used via function pointer
      various: split functions to IPv4 and IPv6 versions
      various: fix memory leaks
      getdata: fix one ip ranges when they have trailing spaces in definition
      release: 2.24

Version 2.23
$ git shortlog v2.22..v2.23
Sami Kerola (3):
      gnulib: add gnulib modules
      build-sys: update bootstrap from gnulib
      release: 2.23

Version 2.22
$ git shortlog v2.21..v2.22
Cheer Xiao (1):
      getdata: treat binding states abandoned, expired and release like free

Sami Kerola (19):
      tests: add complete check including multiple ranges and shared networks
      include: add missing declarations to dhcpd-pool.h
      cppcheck: fix variable scoping
      build-sys: update .gitignore
      build-sys: add git-version-gen and test.sh to release package
      docs: fix spelling mistakes in manual page
      build-sys: ensure distribution has version file
      build-sys: update git-version-gen from gnulib
      tests: binding states commit needs to be reflected in expected results
      build-sys: reorder gnulib macro in relation to C standard
      getdata: posix_fadvise() error checking
      getdata: certain input files caused SIGSEGV
      tests: check how command works with invalid input
      getdata: make a lease address detection more robust
      getdata: make single address ranges work
      tests: add a test for one ip range
      build-sys: fix gnulib function order
      build-sys: use non-recursive build
      release: 2.22

Version 2.21
$ git shortlog v2.20..v2.21
Cheer Xiao (10):
      IPv6: add DHCPv6 support
      sort: Use a comparer instead of returner
      sort: Get rid of global comparer
      counting & output: Convert all counters to double
      fix: Put prototype of field_selector back to dhcpd-pools.h
      sort: let field_selector return NULL at the end
      counting: Let get_range_size return double
      sort: let comp_* functions compare double
      tests: update expected/v6
      output: fix doc of output_double

Gilles Bouthenot (5):
      output: add json format support
      json output: add newline at end
      json output: remove useless, empty fields
      json output: bugfix: correct range specify only first ip
      contrib: add munin plugins

Sami Kerola (29):
      build-sys: remove c++ compiler check
      tools: add indent command configuration file
      tests: add basic tests
      build-sys: update .gitignore
      tests: add v6 check
      output: remove unnecessary new line printing
      build-sys: more clean ups
      json output: use defined output file for all printing
      tests: add json tests, and make fail output loud
      ouput format: fix active lease printing
      output ethernet: do not crash if ethernet is missing
      docs: add doxygen tags, configuration file, and autotooling
      backup counting: fix output regression
      clean up: remove unused functions
      clean up: move code to more proper location
      hash: make delete to use HASH_ITER if it is available
      clean up: move global variables to config structure
      clean up: use enum as symbolic bit masks
      clean up: convert parsing magic numbers to symbolic values
      clean up: rename get_order() to merge() and mark static
      clean up: fix few indentation slips
      getdata: be consistant with symbolic numbers
      smatch scan: fix few warnings
      build-sys: allow tests run parallel
      build-sys: update .gitignore files
      docs: thanks to Cheer Xiao this software has IPv6 support
      tests: fix make distcheck
      docs: fix doxygen make distcheck breakage
      release: 2.21

Version 2.20
$ git shortlog v2.19..v2.20
Cheer Xiao (3):
      ignore /gnulib/
      Replace all htonl in getdata.c with ntohl.
      Fix spelling mistakes.

Sami Kerola (20):
      analyze: use simpler comparison
      analyze: sort ranges before analysis
      sort: fix if else return statements
      getdata: fix if else return statements
      analyze, getdata: write functions in frequency order
      getdata: stop looking after interesting field
      getdata: skip strings before nth_field analysis
      analyze: use gnulib
      sort: fix get_order() if else return statement
      (un)likely: use __builtin_expect to inform expected path
      header: let gnulib do what it is best of
      xstrstr: add function attributes
      docs: fix spelling mistakes
      getdata & analyze: fix first_ip and last_ip arithmetics
      man: use configured dhcpd.conf and dhcpd.leases paths
      build-sys: update gitignore
      build-sys: clean up configure.ac
      build-sys: make alarm warning & critical default configurable
      man: fix errors in alarm warning and critical options text
      release: 2.20

Version 2.19
$ git shortlog v2.18..v2.19
Sami Kerola (19):
      alarming: make native nagios support to dhcpd-pools
      docs: add examples to manual page
      docs: add note how to limit alarming scope
      contrib: add nagios.conf example
      build-sys: create only xz compressed distribution package
      all: fix compiler warninings
      style: fix few indentation issues
      build-sys: use AM_CPPFLAGS rather than INCLUDES
      output: fix sign-compare warning [clang]
      build-sys: add what autoscan found bein missing
      build-sys: be conservative about posix_fadvice
      docs: clarify man page
      build-sys: add gnulib
      build-sys: clean gnulib & autotools checks
      performance: add few restict and const key words
      build-sys: remove files which where added by accident
      docs: mention gnulib in README file
      build-sys: update gitignore
      release: 2.19

Version 2.18
$ git shortlog v2.17..v2.18
Ryan Steinmetz (1):
      build-sys: make build work under FreeBSD

Sami Kerola (2):
      build-sys: add --with-uthash=DIR ./configure option
      analyze: a lot of IP counts being missed

Version 2.17
# git shortlog v2.16..v2.17
Enno Grper (1):
      analyse: critical bug in the counting code

Sami Kerola (16):
      dhcpd-pools.h: move string.h to include
      dhcpd-pools.h: move string.h to include
      docs: TODO update
      Merge branch 'master' of
      ssh://dhcpd-pools.git.sourceforge.net/gitroot/dhc
      build: smatch compiler warnings fixed
      docs: enhance manual page readability
      all files: use restrict key word for all pointer arguments
      build-sys: C99 has true and false
      docs: update thanks
      TODO: update bugs
      contrib: add first .awk algorithm test version to contrib
      docs: update TODO
      getdata: fix configuration parser bug
      getdata: do not mix boolean and int data types [cppcheck]
      output: verify stream status when closing files
      build-sys: update news for release v2.17

Version 2.16
# git shortlog v2.15..v2.16
Sami Kerola (25):
      docs: help screen & man page
      docs: add missing full-html flag
      headers: include-what-you-use fixes
      other: free backup ranges
      prepare_memory bug: initialization missing
      licensing: use FreeBSD license (was GNUv3)
      parse_leases: exit at read error
      getdata: realloc instead of asserting
      getdata: potential overflow due unit change
      bug: use uint32_t for IP numbers
      analyze: use more logical variable names
      getdata: initialize memory
      all: include-what-you-see fixes
      analyze: debugging leftover removed
      THANKS: add Ahmed AL Dakhil
      maint: coding style fixes
      output: change to full html behaviour
      build-sys: autotools configure.ac update
      docs: NEWS update
      docs: remove version from manual page
      licensing: set placeholder properly
      bug: use uint32_t for IP numbers
      build-sys: ignore gprof & gcov files
      getdata: new xstrstr function for performance
      other: fix two warnings
      build-sys: update news for release v2.16

Version 2.15
# git shortlog v2.14..v2.15
Sami Kerola (13):
      dhcpd-pools.h: function attributes declarations
      dhcpd-pools.h: indentation fix
      getdata.c: initialize variables to have safe values
      autotools: point correct location of src
      flose files & free memory when not needed
      dhcpd-pools.h: portable program_invocation_short_name
      build-sys: use git version as program version output
      build-sys: git describe listed wrong tag
      getdata: increase max number of shared networks
      clean_up: checking errno at exit does not make sense
      make range allocation dynamic
      shared network names to be dynamically allocated
      thanks: list update

Version 2.14
# git shortlog v2.13..v2.14
Sami Kerola (18):
      Fix to range dynamic-bootp specifier
      Automake 2.64 is needed.
      Arithmetic comparisons to be same way around
      The xml output is dirty and marked as FIXME
      Optimization on basis of gcov
      Use what libc will provide
      Not a syscall error, warn should be warnx.
      Impossible to reach sections removed
      posix_fadvice advice parameter change
      Do not analyze if sort field selector is rubbish.
      autogen.sh: test bug fix & clean up to messages
      autogen.sh: typo fix in previous commit
      Copyright notice change to GNU license 3
      Allow xml output with leases to use output file
      INSTALL file is unnecessary
      fix to safe_strdup prototype.
      ignore INSTALL file
      configure.ac: autoscan updates
      Release 2.14

Version 2.13
* Autoreconf to get ./configure et al up to date.
* PACKAGE_URL introduced to configure.ac
* Dominic Germain sent xml, and detailed xml, outputs patch.
* Dominic Germain pointed out include directive bug, which broke
  shared network name.
* Anonymous contrib addition snmptest.pl which should provide
  some sort of SNMP integration.
* Range statements have dynamic-bootp flag and it no longer will
  break analysis.

Version 2.12
* Dan Thorson fixed formating.
* Roar Pettersen pointed out posix_fadvice portability bug.
* Roar Pettersen pointed out fclose(stdout) portability bug.
* Clean up will ran at exit instead of end of program.
* Stian vrevge pointed out shared network assignment bug.

Version 2.11
* Dan Thorson fixed memory boundary check for backup leases.

Version 2.10
* posix_fadvice to make read-ahead quicker.
* Dan Thorson contributions:
  o HTML output to be more beatyful.
  o Full HTML output.
  o Finglish to English translation.
* Usage of autotools more properly.

Version 2.9

* Include files & shared network name bug fixed.
* If first range had no leases analysis crashed.
* Linux style indent.

Version 2.8
* dhcpd-pools.c: Default will skip merge sorting.
* getdata.c: Interpretation of range wrote without spaces fixed.
* getdata.c: Shared network name ending to brace fixed.
* Failover backup IP counting.
* CSV output bug fixed.

Version 2.7
* Some automake files to help make install pass without complains.
* Function names to error messages where they where missing.
* Some sort options where missing from help screen.
* Manual page update.
* Multi key sorting.
* Range flip to support reverse order printing.
* Output function & errno caused FreeBSD-7.0 to exit with error
  when there was no trouble.
* Code cleanup.

Version 2.6
* I forgot to follow include when I rewrote dhcpd.conf parser.
* And the dhcpd.conf parser was still quite stupid.
* All networks count was broken. Results before this version where bogus.
* Feature: Touched IP counting.

Version 2.5
* Feature:
* Reverse order sorting
* Option parsing fixed.
* FreeBSD-7.0 output to file did not work.
* Completely new dhcpd.conf parser.

Version 2.4
* Feature:
* Range output sorting.

Version 2.3
* Bugfixes:
* Ranges was matching strings that where not ranges.
* Unchomped new lines made ascii raport to look bad.


Version 2.2
* Bugfixes:
*. No ranges in dhcpd.conf -> crash.
* Better error messages.
* Possibility to limit output.
* Dhcpd.conf include statement will be followed.


Version 2.1
* Bugfixs:
*. Range statements misinterpred.
*. CSV output format.
*. Manual page.


Version 2.0

* Version 1.x was awk script this is one done with C.
* Only new feature is HTML output.


-------------------------------------------------------
Copying information:

Copyright (C) 2006, Sami Kerola <kerolasa@iki.fi>

   Permission is granted to anyone to make or distribute verbatim
   copies of this document as received, in any medium, provided
   that the copyright notice and this permission notice are
   preserved, thus giving the recipient permission to
   redistribute in turn.

   Permission is granted to distribute modified versions of this
   document, or of portions of it, under the above conditions,
   provided also that they carry prominent notices stating who
   last changed them.