forked from SpriteLink/NIPAP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
566 lines (510 loc) · 23.7 KB
/
NEWS
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
Version 0.29.3 - Zeus
---------------------
* Tooltips in the web UI now works again (#887, #938)
* backend smart parser now handles tags in search strings (#1008, #1012)
* Dockerfile for the web UI added (#1009)
* The web UI now submits data with HTTP POST, which for example makes it
possible to use semicolons in fields in the web UI (#934, #1011)
* AVPs with empty attribute and/or value handled better in the web UI (882,
#1018)
Version 0.29.2 - Zeus
---------------------
* Fix packaging of nipap-cli so that it works on many releases (#1003, #1005)
* Fix error handling in nipap-www (#1004, #1006)
Version 0.29.1 - Zeus
---------------------
* CLI is now fully Python3 compliant, in fact it is being run by py3 per
default. This should fix all forms of unicode issues that we've previously
had with the CLI (#974, #976)
* Add nso-nipap, a Tail-F NCS / Cisco NSO package for requesting prefixes from
NIPAP. It's still in its early life and should be considered beta.
* CLI will read environment variables for its configuration in addition to
reading from the .nipaprc configuration file (#838)
* CLI can now interactively prompt for password if none is found in env vars
or in .nipaprc (#838)
* database schema upgrade is now integrated into nipapd, this makes it
possible to use automatic db schema installations or upgrades on platforms
other than debian, such as in Docker (#947)
* backend now interprets two numbers separated by colon as VRF RT (#952)
* backend smart parser now handles single quotes (#980, #981)
* backend smart parser returns a proper interpretation dict on errors (#983)
* backend smart parser have better error return messages (#)
* backend smart parser now verifies enum values, like prefix type (#972)
* prefix_length is now included among the attributes that can be specified in
a search (#973)
* nipapd is now available from Docker Hub as nipap/nipapd. It is automatically
built from git.
* nipap/postgres-ip4r is now available from Docker Hub to provide a postgres
DB with ip4r support
* Use argparse instead of optparse for future python3 compliance (#747)
* Default nipap.conf is now in Jinja2 syntax for easy variable substition (#949)
* whoisd can now run in foreground (#920, #951)
* Fix VRF selector not displaying currently selected VRFs (#928)
* Fix nipap-www deb install to not automatically prepend @local in URI on
subsequent installs / reconfigures (#942)
* Support unlimited max_result for search_prefix (#466, #944)
* fix backend smart parsing of IPv6 addresses / prefixes being incorrectly
parsed as VRF RT (#954)
Version 0.29.0 - Zeus
---------------------
* NOTE how this version drops the dependency on postgres which means that you
might need to install it yourself
* Add search on prefix-length (#847)
* Add custom output colums for the CLI (#684)
* Add unicode support for whoisd (#808)
* Add utility script for bulk string replacements (#813)
* Add 'modify' support for nipap-passwd (#871)
* Fix Unicode/UTF-8 support for CLI (#841)
* Fix bash tab completion for dynamic data (#XXX)
* Fix backend modification of 0 entries (#843)
* Fix bash tab completion script errors (#711)
* Fix blocking of AVPs with empty name (#881)
* Fix psutil compatibility (#901)
* Fix nipap-passwd arg parsing (#929)
* Fix nipap-passwd modifying passwords (#931)
* Fix nipapd support for users with unicode chars (#922)
* Add Travis-CI test coverage for jnpipap (#918)
* Various documentation improvements (#712, #796, #919)
* Drop deb dependency on postgres (#894)
* Update CLI man page
* CSS fixes
Version 0.28.4 - Hades
----------------------
* Fix prefix type automatic guessing so it doesn't override the input type for
certain scenarios (#800)
* Fix parent prefix selection in database so that it is now possible to shrink
assignments (#817)
* Addition of a generic export script that can be used to render configuration
files for other daemons, for example a DHCP or DNS server (#815)
* Improve LDAP configuration flexibility by allowing separate LDAP search
credentials which is useful in LDAP environments where the ordinary user
accounts are not permitted to search the LDAP database (#794)
* Fix update of VRF filter list in web-ui to catch corner case where VRF has
been removed (#811)
* Updates to requirements.txt for backend
* Update boilerplate - update your scripts based on the boilerplate! (#821)
* Documentation fixes and some other smaller fixes
Version 0.28.3 - Hades
----------------------
* Fix missing attributes inherited_spec in prefix spec (#790)
* Fix missing exception AuthError (#789)
* Fix prefix smart search bug due to merge conflict mistake
* Rework of attribute check for VRF & pool add / edit commands (#784, #785)
Version 0.28.2 - Hades
----------------------
* All smart search tag searches are now case-insensitive (#743)
* Smart search using tag search now works for VRFs and pool (#773, #774)
* CLI prefix view now accepts natural prefix mask as argument (#738)
* Fix of API attributes accepted by add_prefix/edit_prefix (#667)
* Fix VRF RT value using IP:id notation where IP would get converted to
integer (#767)
* Fix psutil exception handling. nipapd now starts on Debian Jessie (#760)
* Fix database upgrade script (#759)
* Fix install problem with nipap-www (#775)
Version 0.28.1 - Hades
----------------------
* Fix of SQL upgrade script
* Fix of web-ui bug where VRF & pool selector would close when clicked (#728)
* Search fields in web-ui now receive focus on page load (#744)
* Fix of web-ui so that pool can be deselected for new prefixes (#732)
* Fix query interpretation order to align with order in query (#764)
Version 0.28.0 - Hades
----------------------
* Note how this version makes VRF and pool names case-insensitive. Make sure
you do have any collisions!
* Improved LDAP support, now does proper TLS and is able to work with a
Windows AD server (#697, #726, #737)
* Documentation on nipap.readthedocs.org is now up to date and working (#754)
* whoisd can now listen on IPv6 (#718, #719)
* pynipap is available via PyPi (#710)
* pynipap is now py3 compatible (#579)
* optparse has been replaced with argparse in some places, moving us closer to
py3 compatibility (#746)
* Added example import script from Infoblox (#741)
* Improved query interpretation format which lays the foundation for enabling
more complex queries using boolean operators, groupings and similar (#683)
* Fix of last_modified timestamp not being updated (#753)
* Fix of web-ui expires field for infinity value (#721, #752)
* Fix of backend for db port not being passed from config file (#742)
* Fix of init script status now having LSB compliant return codes (#739)
* Various other fixes and improvements
Version 0.27.4 - Icarus
-----------------------
* Real fix of web-ui bug where the node field would stay disabled for non-host
type prefix (#686/#675)
* Fix of CLI traceback on viewing pool (#672)
* Fix of CLI traceback on recursive remove (#670)
* Fix of CLI error message on from-pool assignment from empty pool (#685)
Version 0.27.3 - Icarus
-----------------------
* Fix of web-ui bug where the node field would stay disabled for non-host type
prefix (#675)
* Fix of web-ui bug where a race condition would result in the VRF not being
properly set (#673)
* Fix of pynipap bug so that the status attribute isn't required and will be
set to the default in the database (#668)
* Fix of web-ui bug in add pool page which prohibited changes from being saves
(#669)
Version 0.27.2 - Icarus
-----------------------
* CLI can add hosts to new network in one command (#661)
* CLI now uses pool implied VRF per default (#662)
* Web UI VRF list rewritten with AngularJS
* Web UI pool list rewritten with AngularJS
* Improvements to backend forking
* Fix dependencies for nipapd APT package
Version 0.27.1 - Icarus
-----------------------
* Allow configuration of number of forks in backend.
* Make the expires field not required in the web UI.
* Massive performance improvement to SQL upgrade script.
Version 0.27.0 - Icarus
-----------------------
* Fix of backend forking (#653). Now real performance boost!
* AVP (Attribute-Value Pair) support allowing users to store custom attributes
associated with prefixes, VRFs or pools (#394, #631, #629)
* Add tags to VRFs for easy categorization and searching (#484)
* Add tags to pools for easy categorization and searching (#566)
* New status field for prefixes, improving the experience for registry type
users. Status can be "assigned", "reserved" or "quarantine". (#494)
* New expires field for prefixes allowing users (typically registry) to set an
expiration time of an assignment. No actions are actually taken once the
expiration time has passed (#599)
* Statistics improvements for pools, now shows number of total/used/free
prefixes as opposed to just showing it for addresses. The number of free
prefixes is calculated based on the default prefix length of new prefixes
assigned from the pool (#528).
* Rewrite of parts of web-UI using AngularJS (#635, #621, #628, #638)
* Add bootstrap CSS for easing web development. Replacement of our own
components (like buttons) is off to a soft-start. (#543, #660)
* Permission check of .nipaprc to prevent the world reading it (#632)
* Fix of open file handle leaks in backend (#485)
* Add DB version check for backend to prevent running the backend with the
wrong database schema version.
* Backend now ships with requirements.txt to ease running it in a virtualenv.
Travis-CI also runs a job for testing NIPAP in a virtualenv.
* Some work on being more Python 3 friendly (#596, #583, #648)
* Fix statistics calculation bug (#590)
* Performance improvements (#589)
* Some documentation updates (#615)
* Various other feature improvements and bug fixes
Version 0.26.4 - Iron Man
-------------------------
* Fix edit of VRF RT in web UI (#575)
Version 0.26.3 - Iron Man
-------------------------
* Add support for Ubuntu 14.04 (#568)
* Add db schema version check in nipapd (#460)
* Fix CLI tab completion bug for colons (#422)
* Fix CLI family sanity checking (#558)
* Fix nipap-passwd version check (#557)
Version 0.26.2 - Iron Man
-------------------------
* Fix two statistics bugs in web-UI (#552 & #553)
Version 0.26.1 - Iron Man
-------------------------
* Fix www icons (#551)
Version 0.26.0 - Iron Man
-------------------------
* Support for statistics! Total / used / free prefixes are now listed for
prefixes, VRFs and pool (#248)
* Travis-CI testing of package upgrade (#524 / #525)
* Introduced AngularJS framework, it is only used on a few pages at this time
but its use will become more widespread with time (#338)
* Web UI now supports searching for VRFs (#347)
* CLI dual-stack address assignment (#526)
* CLI remove now defaults to recursive when assignment contains hosts (#520)
* CLI support for user impersonation via environment variables (#538)
* CLI support for suppressing interactive prompts (#499)
* Web UI pool list page converted to AngularJS (#503)
* Faster pool listing thanks to db index (#497)
* Fix CLI with regards to viewing default VRF (#527)
* Fix for Web UI prefix Save button (#523)
* Fix for CLI .nipaprc bug (#509)
* Fix bug for updating display_prefix on hosts (#515)
* Fix for CLI piping (#464)
* Fix for CLI address modification traceback (#516)
* Fix tag inheritance bugs (#507 & #519)
* Fix bug for calculation of children (#518)
* Fix nipap-passwd traceback (#548)
Version 0.25.0 - Dr. Who
------------------------
* There's now a whois-server!
* Fix tab completion on non-closed quoted string (#493)
* Fix search on UTF-8 characters (#492)
* Fix CLI output of UTF-8 with redirected stdout (#491)
* Fix pool expansion with manually created prefix (#489)
* Fix CLI auto-calc of prefix type with from-prefix (#462)
* Remove some debug message (#476)
* Update nipapd man page (#479)
* Various installation improvements
Version 0.24.5 - Goldfinger
---------------------------
* Semi-fix leaking files in backend (#485)
Version 0.24.4 - Goldfinger
---------------------------
* Fix prefix add in VRF using from-prefix (#477)
* Fix web UI header misalignment (#475)
* Fix version of nipapd in web UI (#474)
Version 0.24.3 - Goldfinger
---------------------------
* Prevent nipapd logging to stdout when run as daemon.
* Improve Debian install scripts.
Version 0.24.2 - Goldfinger
---------------------------
* Add missing dependency on Tornado for nipapd!
Version 0.24.1 - Goldfinger
---------------------------
* Add missing dependency on Flask-Compress library for nipapd
Version 0.24.0 - Goldfinger
---------------------------
* nipaprc configuration option 'default_vrf' is replaced by 'default_vrf_rt'
which only affects address adds/edits/removals. A second option
'default_list_vrf_rt' controls the default VRF for listing/search
operations.
* 'guest' user is no longer part of default shipping local_auth database. A
user needs to be added manually for the web UI or CLI users.
* New pre-forked backend. Replaced Twisted in preference of Flask-XML-RPC,
served using Tornado. Backend will default to pre-forking to the number of
CPUs. PostgreSQL also pre-forks and with one PostgreSQL backend per nipapd
process, performance for parallel queries should see a significant boost.
* Backend support for read-only users. A local_auth (SQLite) user can now be
configured to be read-only. Web UI is lacking support, for example the
"Add prefix" button is still present and enabled but trying to add a prefix
will raise an error message.
* Revamp look of VRF information and make it consistent across web UI and CLI
as far as possible.
* Fix for searches on "weird" IP addresses like 123.123123/24 which would
previously generate exception.
* Various formatting improvements to CLI
* Various bug fixes to the web UI
* Consistently use iprange indices in database for improved performance
* Reference documentation is now kept up to date using readthedocs.org
* Makefile target for bumping version - won't help you unless you're a
developer ;)
Version 0.23.1 - Gargamel
-------------------------
* Fix nipapd dependency on ip4r to be >= 2.0. Debian packages should now do
the right thing (tm).
Version 0.23.0 - Gargamel
-------------------------
* Add 'Customer ID' attribute to prefixes. This can be used to store a
customer name or an ID referencing a customer database.
* List top level prefixes by default in Web UI instead of empty result.
* Fix for Web UI rendering bug which led to incorrect prefixes being rendered.
* Fix for Web UI which would not display inherited tags in prefix list.
* The number of children (sub-prefixes) of a prefix is now precalculated and
stored in the database. Improves user experience and somewhat the speed of
prefix search queries.
* Limit number of connections held open by pynipap. When doing large amounts
of operations, such as importing data, pynipap would keep open connections
to the backend eventually running into the limit of open connections of the
backend. pynipap no longer keeps open connections for any extended period of
time.
* Fix for backend returning too many "context prefixes" on prefix search even
when asked not to.
* Some improved error handling for AJAX calls.
Version 0.22.4
--------------
* Added more usage examples to NIPAP CLI man page
Version 0.22.3
--------------
* Bugfix in edit_prefix API function
Version 0.22.2
--------------
* Fix issue with SQL upgrade script
Version 0.22.1
--------------
* Fix debian repo build issue
Version 0.22.0
--------------
* Add support for Tags. Prefixes can be tagged with a tag for easier searching
and categorisation of prefixes.
* Add VLAN attributes to prefixes. There are no constraints on the VLAN
attribute apart from being an integer.
* The Web UI now displays "top level" prefixes on empty search. This means it
is typically easier to get an overview of addresses.
* CLI automatically adjusts column width for better rendering of wide
prefixes, ie typically IPv6.
* CLI tab completion has been fixed for entries needing escaping (such as
those containing a space).
* Web UI has improved support for going back & forward in prefix list.
* Bug fix to 'nipap address view' which could previously display the wrong
prefix under certain conditions.
* Add timestamp value for when prefix was added and last modified. These
values are available over the XML-RPC API and can be used as a filter to
only get prefixes modified since timestamp X which could ease integration
with external systems which need to stay in sync with NIPAP.
* Fix in debian/postinst to make www user trusted on install.
* Improve defaults in .nipaprc skeleton file.
* Various internal small fixes / refactoring.
Version 0.21.0
--------------
* CLI now supports pool resizing, ie growing or shrinking a pool by the
addition or removal of member prefixes. Code by Kai Storbeck <[email protected]>
* Improve prefix smart search on addresses. The smart search for prefixes has
been modified so that IP addresses are matched with a
contains-or-equals-operator instead of just equals. Searching on an address
(e.g. 1.3.3.1) will thus return covering prefixes, such as 1.3.3.0/24 even
if 1.3.3.1 does not exist. This is great for searching on addresses and
getting the best matches even if there is no exact match.
* Fix Bash tab completion
* Fix bug in find_free_prefix method in XML-RPC API, thanks to Thomas Menari
* Fix CLI with regard to order_id argument to prefixes, thanks to GitHub user
dosomder
* Fix rendering bug in web UI
* There is now a small unit test for the CLI
Version 0.20.2
--------------
* Fix for nipapd postinst and init script related to the pid file
* Fix web UI bug where more results would not be automatically fetched
Version 0.20.1
--------------
* Fix for nipapd init script
Version 0.20.0
--------------
* For Debian, nipapd now runs per default as the nipap user which
allows nipapd to connect to PostgreSQL via a UNIX socket instead of over
TCP. This means the installation is now truly zero touch as the postgres
configuration does not need to be modified.
* For Debian the pid file location has moved
* nipapd supports dropping privileges to a non-root user
* Fix for incorrect Web UI prefix rendering that would not display all
prefixes or break the collapse functionality
* Fix logging in nipapd for certain SQL queries
* Added prefix help on more pages in the web UI
* Fix for VRF tab completion
Version 0.19.1
--------------
* Fix automatic start of nipapd on system startup
Version 0.19.0
--------------
* nipapd now requires postgresql-9.1 for apt package installation as well as
postgresql-9.1-ip4r >= 2.0, which is available from the official NIPAP repo
* Python 2.7.3 is required, since it is needed for proper Unicode support
* Improve Debian packaging to help user automatically setup NIPAP by loading
database structure and creating needed users automatically - zero touch setup
* Two more alarm priorities
* Prevent XSS via the web UI
* Web UI now fetches results until the screen is filled or the end of the
result is reached
* Permission related error messages for nipap-passwd
* Some updates to Java client library
* Various other small fixes
Version 0.18.0
--------------
* Constraints for country code added to database backend
* Added LICENSE file
* Various smaller improvements to WWW UI and CLI client
* Version information reachable from CLI and web UI
Version 0.17.0
--------------
* NIPAP backend now returns full object instead of only ID after add_* and
edit_* operations
* Prefixes expanded in web UI now uses search query to correctly set 'match'
attribute on prefixes
* Restructuring of Java client library
* Various improvements to web UI and CLI, including fixing a few bugs/annoyances
Version 0.16.1
--------------
* Fix: Currently selected VRFs now shown in VRF selector (again)
Version 0.16.0
--------------
* Fix: from-prefix was completely broken in 0.15.0 and is now working again
* Fix: pretty bad backend bug that didn't correctly order results rendering
broken output
* Fix: VRF removal bug - now possible to remove VRFs
* The prefix search now supports Unicode characters though it requires
Python 2.7.3
* The 'default VRF' (RT = None), typically the Internet, is now visible and
not hidden as before
* CLI automatically sets type (based on pool default type) and prefix
length for new allocations from pools
* VRF selector improved
* man pages for nipapd and the CLI
* Allow growing a prefix, ie changing prefix-length to a shorter (bigger)
one
* New jQuery (1.9.1) and jQuery UI (1.10.0) which solves some UI bugs
* Various small CLI and WWW UI bug fixes
* NIPAP is now checked by Travis-CI - quality++
Version 0.15.0
--------------
* Improve bfcache support
* All prefixes in a pool must now be in the same VRF (database check)
and it is now prohibited to change VRF on a prefix
* New 'implied VRF' attribute of pools. Prefixes allocated from a pool
will automatically be in the implied VRF of the pool and have the default
type of the prefix
* Various small CLI and WWW UI bug fixes
Version 0.14.0
--------------
* Various fixes to the CLI client
* Authoritative source honored in CLI client and web UI
* Feature parity in smart_search_* API functions
Version 0.13.0
--------------
* Added recursive option to prefix remove function in CLI client
* Lots of smaller fixes to CLI client
Version 0.12.0
--------------
* VRF RT now verified; must match xx:yy or x.y.z.x:aa
* VRF RT:s now sorted as one would expect
* Various bugfixes
Version 0.11.1
--------------
* Bugfix; limit prefix search to VRF now works and is fast
* NIPAP cli now works in Python < 2.7
Version 0.11.0
--------------
* Schemas removed from NIPAP and replaced with VRFs
Version 0.10.0
-------------
* Added a fancy floating header to the prefix search page
* Improved tab completion, now handles entries containing space
* Improve CLI prefix search argument handling
* Revamp color scheme for prefix type icons (very pretty now!)
* nipap-passwd is now in /usr/sbin
* Removed erroneous logging from the nipap CLI client
* Improved handling of authentication errors
* Improved automatic scrolling in web UI
Version 0.9.0
-------------
* Add ability to show a custom welcome message on web UI login page
* Simplify loading of NIPAP SQL structure
* Vastly improve installation documentation
Version 0.8.0
-------------
* Bug in database inconsistency checks fixed
* Regexp search improved; '.*' will now also match NULL values, which is
typically what users expect.
* CLI tab completion bug fixed (bug implemented by mistake in 0.7.0)
* Prefix type can now, in certain cases, be changed from web UI and CLI
application.
Version 0.7.0
-------------
* User friendly error messages & improved handling for invalid prefix input
* Fix; Rendering of prefix list in web UI improvements
* CLI tab completion improvements
* Example tool for CSV export
* Toolbox menu now also for schemas!
* Fix; delete schema now works for non-empty schemas
* remove_prefix now does recursive delete
* Fix; Default auth backend is now local instead of LDAP
* Fix; quoting of default values in config file
* Fix; Bunch of comments in default config file
* Improve search interpretation tooltip
* Fix; IPv6 prefix search can handle bits set in host part of prefix
* Fix; find_free_prefix now handles /31s and /127 correctly
* Vastly improve find_free_prefix lookup speed, relevant for IPv6
Version 0.6.1
-------------
* Add VRF attribute to web UI
* Fix; Prefix list search key 'family' now works
* Fix; Setting alarm priority in web UI now works
Version 0.6.0
-------------
* Add VRF attribute to prefixes
Version 0.5.0
-------------
* First half-baked release...