Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gorwits 72934d394c #740 --logfiles=8 and --logsize=10 (MB) options to netdisco-backend and netdisco-web 2020-09-26 12:18:18 +01:00
Oliver Gorwits 5839fd4404 enable apache style access logging per https://github.com/netdisco/netdisco/issues/715#issuecomment-624201815 2020-09-26 11:37:45 +01:00
Oliver Gorwits 7cf2bde4ff #743 make clear when partial MAC search can be used 2020-09-26 11:34:11 +01:00
Oliver Gorwits ef1e2616f1 #738 crash on wildcard search 2020-09-23 09:38:46 +01:00
Oliver Gorwits a146f53d67 #744 remove whitespace from serial numbers 2020-09-22 18:31:14 +01:00
Oliver Gorwits b42493f1e8 release 2.046002 2020-08-07 11:01:09 +01:00
Oliver Gorwits 3aeed20b78 #735 Slow web search for devices 2020-08-06 21:25:01 +01:00
Oliver Gorwits 37b75eafcb release 2.046001 2020-07-10 22:30:44 +01:00
Oliver Gorwits 31fc6e1ee5 #734 Multiple TACACS+/RADIUS servers now supported 2020-07-10 22:18:29 +01:00
Oliver Gorwits b6465abe66 release 2.046000 2020-07-08 22:28:48 +01:00
Oliver Gorwits 87db37180b #733 strip nonprinting characters from OUI table 2020-07-08 22:23:34 +01:00
Oliver Gorwits a95588d500 update changelog 2020-07-08 21:50:51 +01:00
Oliver Gorwits fc46384fc6 #227 Do not overwrite partially retrieved data with null or incorrect values
this and two related commits implements:
- setting snmp_field_protection which can be used to protect any
  database field from having a null value set
- extra device discover worker which prefetches SNMP interfaces and
  performs some sanity checks and comparison against the DB
the two checks will return job status ERROR with CANCELLED if they
see anything fishy.
2020-07-06 19:49:57 +01:00
Oliver Gorwits 80bc1242c0 fix broken build 2020-07-06 19:25:49 +01:00
Oliver Gorwits fc4bd4b342 #732 Node Search via API for known node returns invalid or empty JSON
A few things going on here ... swagger submitting "false" query
params which intefered with truth testing by existence, and also the
Node search not using {results => {}} format response for template,
and also that response then containing DBIC objects which cannot be
translated to JSON without running HRI first.
2020-07-06 19:00:38 +01:00
Oliver Gorwits 650c419dc7 error out on discover failing to get good interfaces from SNMP 2020-07-03 09:32:58 +01:00
Oliver Gorwits 7e51fe2295 try to safeguard some snmp leaf gather failures 2020-07-01 21:21:09 +01:00
Oliver Gorwits f882f98319 #721 redux - better MAC address support in searching 2020-06-30 09:46:19 +01:00
Oliver Gorwits 88ce0d7f9a #721 redux - Port Search handles VLAN and MAC addr properly 2020-06-29 19:00:05 +01:00
Oliver Gorwits 170ea64b7e #722 manual topology should not allow same left and right port/device 2020-06-29 14:42:06 +01:00
Oliver Gorwits dc87a50076 #728 store SNMP Engine ID 2020-06-29 14:38:51 +01:00
Oliver Gorwits 83de59fcc0 #729 Discovery partially fails on invalid indexes 2020-06-29 14:05:44 +01:00
Oliver Gorwits 8ff595c321 release 2.045007 2020-06-05 09:10:46 +01:00
Oliver Gorwits b8eab54010 release 2.045006 2020-05-24 19:42:37 +01:00
Oliver Gorwits 3662899ede #721 search will trim whitespace and handle more MAC formats 2020-05-24 19:41:21 +01:00
Oliver Gorwits ba32ba3f5d release 2.045005 2020-05-18 12:33:10 +01:00
Oliver Gorwits abc8bb3e0e #713 Template processing issue prevents VLAN list displaying 2020-05-18 12:32:25 +01:00
Oliver Gorwits 24a6c88a60 release 2.045004 2020-05-15 13:10:03 +01:00
Oliver Gorwits 6d5d305a90 release 2.045003 2020-05-15 12:00:38 +01:00
Oliver Gorwits 0d3aec8c17 #715 fix crash on missing Accept Header 2020-05-15 11:53:09 +01:00
Oliver Gorwits 42bb6e548b #718 fix Node Search API endpoint 2020-05-15 11:44:01 +01:00
Oliver Gorwits 8acdb67346 minor bug fixes and cleanup 2020-05-15 11:35:12 +01:00
Oliver Gorwits 49d4519ed2 fixes #719 include IO::Socket::INET6 in deps to ensure IPv6 support 2020-05-15 11:13:36 +01:00
Oliver Gorwits b155be832d release 2.045002 2020-04-19 18:02:46 +01:00
Oliver Gorwits b9c002477b allow swagger_path installed routes to be relocated 2020-04-19 18:00:15 +01:00
Oliver Gorwits da33478504 try to make swagger safer with send_file 2020-04-19 11:22:28 +01:00
Oliver Gorwits ed1cf3e2cd another swagger fix for non roothosting 2020-04-19 09:43:02 +01:00
Oliver Gorwits 4f0117e22c many fixes to swagger hosting to allow path relocation (part complete) 2020-04-18 17:26:04 +01:00
Oliver Gorwits 4f57a4d30a rename ports column in device table to be num_ports 2020-04-18 16:50:49 +01:00
Oliver Gorwits 11e8d7c001 release 2.045001 2020-04-18 09:48:33 +01:00
Oliver Gorwits 524f4792c3 restore port column needed for discovery 2020-04-18 09:47:05 +01:00
Oliver Gorwits 22edb6676f release 2.045000 2020-04-15 21:23:28 +01:00
Oliver Gorwits 654799e825 #442 add device ip, port and vlan to the node vendor report results 2020-02-13 15:36:45 +00:00
Oliver Gorwits 8b42fb3774 fix pod 2020-02-13 14:23:27 +00:00
Oliver Gorwits 912a971a75 tidy the Clavister module 2020-02-13 10:24:10 +00:00
Oliver Gorwits c3a995a476 release 2.044015 2020-02-12 16:56:19 +00:00
Oliver Gorwits ab6305b4cf default access list for device_auth should be ipv4 and ipv6 2020-02-12 16:55:16 +00:00
Oliver Gorwits c5140e2061 release 2.044014 2020-02-09 10:02:44 +00:00
Oliver Gorwits 2827d24f02 change from MCE::Shared to MCE::Queue after resolution of crash bug 2020-02-09 10:00:36 +00:00
Oliver Gorwits 236f637858 release 2.044013 2020-02-04 21:34:36 +00:00
Oliver Gorwits d35a29931a change from MCE::Queue to MCE::Shared to better handle signals 2020-02-04 21:34:00 +00:00
Oliver Gorwits 7e489432d8 release 2.044012 2020-02-01 13:27:03 +00:00
Oliver Gorwits b032ebc18e prevent Template::AutoFilter taking action on CSV output 2020-01-30 19:21:02 +00:00
Oliver Gorwits 9e32c2a7f0 release 2.044011 2020-01-26 21:46:09 +00:00
Oliver Gorwits ae0f711682 release 2.044010 2020-01-25 18:09:18 +00:00
Oliver Gorwits db6e89607d #696 complete implementation of #688 2020-01-25 18:07:43 +00:00
Oliver Gorwits e09ae10fb3 release 2.044009 2020-01-23 18:47:30 +00:00
Oliver Gorwits a2d1a04716 Merge branch 'master' of github.com:netdisco/netdisco 2020-01-23 18:45:02 +00:00
Oliver Gorwits 41bb30239c release 2.044008 2020-01-23 18:44:43 +00:00
Oliver Gorwits 8cc4602f7e release 2.044007 2020-01-22 21:25:01 +00:00
Oliver Gorwits bb46797201 smarter fix for vlan filter in netmap 2020-01-22 21:23:57 +00:00
Oliver Gorwits 1de0c415e1 release 2.044006 2020-01-22 21:19:54 +00:00
Oliver Gorwits ee86e62ac7 fix bug in vlan filtered netmap, duplicate nodes 2020-01-22 21:19:04 +00:00
Oliver Gorwits abf415a1ca release 2.044005 2020-01-19 15:31:03 +00:00
Oliver Gorwits 3044d7ebe6 fixes to make the PortMacs query work 2020-01-19 15:08:38 +00:00
Oliver Gorwits e982aded09 add some protections to ACLs and an error log, following #686 2019-12-30 11:23:17 +00:00
Oliver Gorwits e42c2135c4 fix #686 makerancidconf excluded setting should be (ACL) list not dict 2019-12-30 11:09:17 +00:00
Oliver Gorwits 33cfa58bc5 update changelog 2019-12-23 00:35:33 +00:00
Oliver Gorwits 241ecf3353 #524 ipinventory misses mac address for device ips 2019-12-22 23:31:40 +00:00
Oliver Gorwits f7f2d2088b #81 avoid DEPRECATED single warning from DBIC 2019-12-22 09:07:12 +00:00
Oliver Gorwits 17da397c56 #673 disallow clicking arpnip/macsuck buttons for devices not supporting those layers 2019-12-22 08:50:33 +00:00
Oliver Gorwits c282a5a565 #688 Amend vlan search to show number of ports actually using the vlan 2019-12-22 08:33:11 +00:00
Oliver Gorwits d133eb97c2 #667 Network Map: Filter by VLAN doesnt work as expected 2019-12-22 00:16:04 +00:00
Oliver Gorwits 4268fff785 #681 Add href link to a device in a report 2019-12-21 23:08:02 +00:00
Oliver Gorwits 4030000b34 #687 Add an option to set main page after logging in 2019-12-21 22:24:19 +00:00
Oliver Gorwits 92875f0e6f fix #671 need to discover nodes on CLI discover 2019-12-21 22:19:09 +00:00
Oliver Gorwits b04ffffc06 fix #679 unint error 2019-12-21 21:53:50 +00:00
Oliver Gorwits 9ab1b24a77 safety on snmp::info methods 2019-12-21 21:34:39 +00:00
Oliver Gorwits 0eab9213c0 should be faster than using IN on large lists 2019-12-21 21:32:27 +00:00
Oliver Gorwits 9a1938ddc9 safety and tidy the port_macs patch 2019-12-21 20:28:20 +00:00
Oliver Gorwits b5bcd5c7cd release 2.044004 2019-10-30 19:50:52 +00:00
Oliver Gorwits 08969583cb change double negative logic 2019-10-30 19:50:04 +00:00
Oliver Gorwits 0e8f9ad194 release 2.044003 2019-10-15 18:56:11 +01:00
Oliver Gorwits 7caf1056a1 releae 2.044002 2019-10-01 10:43:12 +01:00
Oliver Gorwits 938060494d release 2.044001 2019-09-26 15:01:22 +01:00
Oliver Gorwits bd29c0735c #654 Port list is not sorting numerically 2019-09-26 14:56:08 +01:00
Oliver Gorwits 5548379969 release 2.044000 2019-09-23 14:27:40 +01:00
Oliver Gorwits deb9b62c7f Enforce escaping on all template content 2019-09-23 14:22:00 +01:00
Oliver Gorwits 5f378a39ea better column titles 2019-09-23 14:05:04 +01:00
Oliver Gorwits 7f65d6afdc fix file endling 2019-09-23 14:00:28 +01:00
Oliver Gorwits c7913cb1d1 add first run doc note as suggested by Stuart Kendrick 2019-09-12 21:29:48 +01:00
Oliver Gorwits 7cb80ab05d release 2.043001 2019-09-04 13:35:01 +01:00
Oliver Gorwits d8d2471c09 #644 Device DNS Mismatch report broken by domain_suffix change 2019-09-04 13:33:12 +01:00
Oliver Gorwits 5e0fdf33df release 2.043000 2019-09-03 20:25:36 +01:00
Oliver Gorwits 409b7c1409 fix tests 2019-09-03 19:59:03 +01:00
Oliver Gorwits bb7801d5d7 #638 avoid page reload on admintask data updates 2019-09-03 14:02:08 +01:00
Oliver Gorwits 542837d266 #591 domain_suffix can be list and supports (simple) regexp
Squashed commit of the following:

commit 975e4c6afc
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 13:35:26 2019 +0100

    also support regexp in domain_suffix

commit 0a2b5c8fa2
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 13:17:17 2019 +0100

    fix rancid, graph, and nodemonitor

commit 6d881de3ff
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 13:11:54 2019 +0100

    improve docs and set default domain_suffix to be list

commit 1dcafc08a8
Merge: 9a752e02 14ac69dc
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 13:00:39 2019 +0100

    Merge branch 'master' into og-multiple-domain-suffix

commit 9a752e0298
Merge: c836619f 82a99ea9
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 09:45:25 2019 +0100

    Merge branch 'master' into og-multiple-domain-suffix

commit c836619f8c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Jun 13 07:52:45 2019 +0100

    hokey fix for nodes with domains

commit fed14bd810
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Jun 13 07:02:09 2019 +0100

    basic implementation, rancid graph and nodemonitor missing
2019-09-03 13:35:43 +01:00
Oliver Gorwits 14ac69dc2e might as well make other *walk not care about pseudo and use layers instead 2019-09-03 13:00:22 +01:00
Oliver Gorwits 82a99ea94e #642 requests to /admin/unknown-thing do not get 404 2019-09-03 09:36:50 +01:00
Oliver Gorwits 2897eda684 #587 #561 update pseudo devices to better support ssh arpnip
this patch resets all pseudo devices to have no layer3 support but adds a
feature to the pseudo devices admin panel to enable layer3 support. it also
changes arpnip and arpwalk behaviour to always permit the action if layer3
is available (ignoring the vendor).

documentation will need updating to tell users to create pseudo devices
with layer3 support when they want to arpnip an unsupported platform.

arpnip with ssh/cli against a supported platform (one that can be discovered)
will continue to work normally.

Squashed commit of the following:

commit 9dad5be81d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 09:03:53 2019 +0100

    allow pseudo with layer 3 to run arpnip

commit 7d97943fcd
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 08:59:10 2019 +0100

    allow pseudo devices with layer 2/3 capability

commit d1fdf574e3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 08:55:41 2019 +0100

    move pseudo and layer checks to is_able from is_able_now

commit e0f72ef67d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 08:51:42 2019 +0100

    ports defaults to one

commit 86ba01270c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 08:50:45 2019 +0100

    add tooltip for arpnip toggle

commit cdd2470228
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Sep 3 08:34:46 2019 +0100

    simplify template

commit 46236d68ea
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Sep 1 23:53:56 2019 +0100

    a fix up for pseudo devices which need layer 3

commit 016d249efc
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Sep 1 20:37:11 2019 +0100

    do not wrap buttons

commit 1ec1402e0c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Sep 1 20:33:03 2019 +0100

    implement user settable layer-three service for pseudo devices

commit a267efa3d8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Sep 1 18:39:22 2019 +0100

    only set layer if successful action

commit b108be5e23
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Sep 1 18:32:19 2019 +0100

    should defer SNMP against pseudo devices

commit 897ba3a629
Merge: e0ddbaab a7348900
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Sep 1 14:54:36 2019 +0100

    Merge branch 'master' into og-pseudo-vs-cli-arpnip

commit e0ddbaab08
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Aug 26 11:35:13 2019 +0100

    as last commit, for discover

commit 61f9c89040
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 25 23:55:38 2019 +0100

    move pseudo and layer checks into is_*able functions

commit 8b010d4023
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 25 18:38:11 2019 +0100

    any device completing macsuck/arpnip must have that layer

commit a11bce7863
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 25 18:33:27 2019 +0100

    clean up device layers

commit d2661bff61
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 25 18:18:02 2019 +0100

    first make arpnip behave like other jobs towards pseudo devices
2019-09-03 09:09:55 +01:00