Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gorwits 04ee1e1613 #1064 display device and device port tags in web ui 2023-07-19 13:01:51 +01:00
Oliver Gorwits 4b99f0bb9c #1064 implement setting of tags on discovery based on config 2023-07-19 11:24:41 +01:00
Oliver Gorwits f72acb6006 #1064 implement tags in database and ACL 2023-07-19 11:15:49 +01:00
Oliver Gorwits b52e58880e release 2.063004 2023-07-15 11:09:15 +01:00
Oliver Gorwits 6eed661c43 avoid mistaking v6 in ACL for prop:val 2023-07-15 11:08:22 +01:00
Oliver Gorwits 16eb4622fe release 2.063003 2023-07-15 10:15:28 +01:00
Oliver Gorwits 71aa261737 fix skip long SNMP timeout for initial discover 2023-07-15 10:14:01 +01:00
Oliver Gorwits fcd1c45606 allow ACL property match to contain ":" 2023-07-14 20:20:21 +01:00
Oliver Gorwits 05cd050342 release 2.063002 2023-07-14 19:59:34 +01:00
Oliver Gorwits cc9944f8cb bump SNMP::Info dep to 3.93 2023-07-14 19:42:17 +01:00
Oliver Gorwits eac55a581d #1066 implement snmp_try_slow_connect and fast device discover from queue 2023-07-14 17:37:52 +01:00
Oliver Gorwits 2f7e3f80a3 #1066 try all communities on highest snmp version before lowering version and trying communities again 2023-07-13 13:33:24 +01:00
Oliver Gorwits 0eb26159f9 #1060 portctl_topology setting for web access to manual topo for port_control users 2023-07-12 21:53:38 +01:00
Oliver Gorwits 6f8af7ed9d #1059 add NETDISCO_SNMP_BULKWALK_OFF environment to disable bulkwalk 2023-07-12 21:42:24 +01:00
Oliver Gorwits 0c7371f56b add --force to netdisco-do docs 2023-07-12 19:24:01 +01:00
Oliver Gorwits cbecb372fa #482 Alien::SNMP will help and is recommended 2023-07-12 16:37:42 +01:00
Oliver Gorwits bd61c0c2bd #1067 add --force for enqueue of more than 512 jobs 2023-07-12 13:48:22 +01:00
Oliver Gorwits 91409d1bb0 add loadmibs to netdisco-do doc 2023-07-01 19:26:04 +01:00
Oliver Gorwits d7bdcc8edb delete device is now always a job 2023-07-01 09:37:27 +01:00
Oliver Gorwits 4ec1c2abec release 2.063001 2023-06-28 17:03:46 +01:00
Oliver Gorwits a2da6a7a04 avoid open redirect vulnerability with return_url login helper 2023-06-28 16:56:04 +01:00
Oliver Gorwits ef4e3f5181 explicitly use SameSite=Lax Cookie Attribute for dancer.session cookies 2023-06-28 16:39:24 +01:00
Oliver Gorwits 9f4401f2fb avoid CSS vulnerability in Find Anything 2023-06-28 12:06:11 +01:00
Oliver Gorwits 39562e0633 avoid CSS vulnerability in Job Queue page 2023-06-28 11:26:43 +01:00
Oliver Gorwits 6375989bd5 release 2.063000 2023-06-28 10:01:34 +01:00
Oliver Gorwits 8e0aa3a309 #975 RBAC for port control with new portctl_by_role setting 2023-06-28 10:00:01 +01:00
Oliver Gorwits 2cbb68889a #975 RBAC for port control with new portctl_by_role setting 2023-06-27 22:52:04 +01:00
Oliver Gorwits 8d85562396 release 2.062005 2023-06-26 19:32:41 +01:00
Oliver Gorwits 33b4a6c231 fix op:and not working for prop:value ACL rules 2023-06-26 19:31:54 +01:00
Oliver Gorwits 2da15f9c33 release 2.062004 2023-06-26 17:56:54 +01:00
Oliver Gorwits b89e8913b6 #843 redux - also refresh API token for getapikey 2023-06-26 16:54:40 +01:00
Oliver Gorwits a76dc79b79 permit import of check_acl from Util::Permission in case other modules are still using it 2023-06-22 14:11:06 +01:00
Oliver Gorwits 814ccc9267 permit import of check_acl from Util::Permission in case other modules are still using it 2023-06-22 14:09:34 +01:00
Oliver Gorwits 5515b93c88 #1036 redux allow use of /login even when authN is delegated 2023-06-22 13:55:00 +01:00
Oliver Gorwits a7cd5603cb #1036 redux allow use of /login even when authN is delegated 2023-06-22 13:35:51 +01:00
Oliver Gorwits 3da92a9ab5 release 2.062003 2023-06-20 10:08:29 +01:00
Oliver Gorwits bb046f036e tune the portvlanmismatch and include domain name in report view 2023-06-19 21:28:23 +01:00
Oliver Gorwits f14e495e49 use new faster portvlanmismatch query without duplication 2023-06-13 17:41:20 +01:00
Oliver Gorwits 460b014e91 swagger-ui allows adding X-REMOTE_USER header when behind proxy 2023-06-13 17:41:20 +01:00
Oliver Gorwits 5181d83742 fix for undef HTTP_SERVER and HTTP_PORT err when browsing swagger-ui 2023-06-13 17:41:20 +01:00
Oliver Gorwits 1aef847af3 add "phone" to phone_platforms default config for additional phones not using capabilities 2023-06-08 16:14:20 +01:00
Oliver Gorwits b5a8f685ab add missing validate_remote_user default to config 2023-06-08 16:14:20 +01:00
Oliver Gorwits cec6105105 release 2.062002 2023-06-06 07:04:36 +01:00
Oliver Gorwits 3b4236ed90 fix mistaken release with device ports partial search default as on 2023-06-06 07:03:54 +01:00
Oliver Gorwits b4c48ac78e release 2.062001 2023-06-05 17:59:08 +01:00
Oliver Gorwits 339ecd429a #1038 ability to set "partial" default "on" in device ports sidebar 2023-06-05 17:50:32 +01:00
Oliver Gorwits 4391d60b99 upgrade jquery to 1.12.4 to fix XSS vuln 2023-06-05 17:37:57 +01:00
Oliver Gorwits 195f98dff1 make safe the api calls with potential for demo site damage 2023-06-05 17:28:34 +01:00
Oliver Gorwits 65a908dcd3 #1036 skip API login for trust_remote_user, trust_x_remote_user, no_auth 2023-06-05 17:02:20 +01:00
Oliver Gorwits 01928fa85d #1037 add new names for vlan 1003 and 1005 in Cisco-land 2023-05-31 20:10:38 +01:00
Oliver Gorwits ac959ff6a6 add links for API, config, sponsor, to user menu 2023-05-31 17:35:43 +01:00
Oliver Gorwits 11bca7b80e add links for API, config, sponsor, to user menu 2023-05-31 14:46:46 +01:00
Oliver Gorwits 6a7e732ea3 try to work around change from 5.36.0 to 5.36.1 2023-05-30 19:16:03 +01:00
Oliver Gorwits 517b20a325 update copyright year in license 2023-05-30 12:17:43 +01:00
Oliver Gorwits 0e010959f9 release 2.062000 2023-05-30 09:55:00 +01:00
Oliver Gorwits 9355f5c2b9 Refactored ACL support with multi-object compare
Squashed commit of the following:

commit 4081e22202693bd7c4ea00e95daad8e628c6fd5a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon May 29 21:02:07 2023 +0100

    large rename of check_acl* to acl_matches*

commit 3cfa284ddd24d68765c255578cc5c184afbdcd83
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri May 19 20:39:03 2023 +0100

    update permission doc

commit 8c7bb93cc5e9fafb770f98f446e45cbd94b14894
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed May 17 21:50:07 2023 +0100

    migrate most check_acl_only to acl_matches_only

commit c47f699f2a22f08f2f3e093ed0f24c891e6f9a82
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed May 17 21:39:19 2023 +0100

    rename check_acl* to be acl_matches*

commit a884a22c3ab1f3262118c3a47ed8e25b0b0a7336
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 14 16:50:42 2023 +0100

    update macsuck_no_deviceports to use acl_matches

commit 8c256af728721329b64d071fa529dfc844073ac6
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 7 22:54:33 2023 +0100

    update hide_deviceports to use acl_matches multi @things

commit cd5d9978aba1da459be4fed4500f395df13f7784
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun May 7 22:53:38 2023 +0100

    check_acl fix to allow all @things to offer a property before fallback to missing as empty string

commit 1a3ab9a7646e9f994f03126d45fc36e9e5a13ed5
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue May 2 15:31:17 2023 +0100

    add ignore_deviceports to portproperties discover; improve comments

commit 51385ce89458dc939587dae902fda431719c22c9
Merge: b97c07d2 3f8ffe78
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue May 2 15:21:48 2023 +0100

    Merge branch 'master' into og-acl_multidict

commit b97c07d237d750c1d9eb3095d8ff3908512eac2a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Mar 25 14:37:53 2023 +0000

    add support for arrayref of items, and unblessed hash, to check_acl
2023-05-29 21:32:07 +01:00
Oliver Gorwits 3f8ffe787f hooks only queued if their trigger job is successful (done) 2023-04-30 22:59:20 +01:00
Oliver Gorwits d338c2d15a release 2.061001 2023-04-27 16:31:24 +01:00
Oliver Gorwits e268b9d522 #1010 Search port descriptions 2023-04-03 22:02:43 +01:00
Oliver Gorwits 5baad7311d fix cosmetic bug in search text strikethrough when in tenant 2023-04-03 21:44:28 +01:00
Oliver Gorwits 678c5c03df release 2.061000 2023-03-29 11:39:34 +01:00
Oliver Gorwits 5c1e753c14 #1013 undef error in Nodes interfaces 2023-03-29 11:17:06 +01:00
Oliver Gorwits 701ef51a53 #990 API error: Not Authorized due to time zone calc error 2023-03-29 10:58:01 +01:00
Oliver Gorwits 6586815fc6 #1001 support for FQDN node search while domain_suffix is set; add fallback to IPv4 host lookup search 2023-03-16 15:53:25 +00:00
Oliver Gorwits 2b8a45ef08 better name for variable 2023-03-16 13:54:59 +00:00
Oliver Gorwits d73ca69b82 Merge remote-tracking branch 'origin/master' 2023-03-16 11:34:08 +00:00
Oliver Gorwits 653ea75935 always make a sidebar for custom reports with bind params; add show_sidebar setting 2023-03-16 11:32:36 +00:00
Oliver Gorwits 4de2a916fc fix nonimpacting error in template html 2023-03-16 11:31:34 +00:00
Oliver Gorwits 062895df10 allow 3min for port last_change compare to uptime, do not assume wrapped 2023-03-15 08:07:45 +00:00
Oliver Gorwits 9fc79ed147 release 2.060010 2023-03-10 18:09:05 +00:00
Oliver Gorwits 1849735717 release 2.060009 2023-03-10 18:05:31 +00:00
Oliver Gorwits e758a78c18 fix error with unused reports menu categories 2023-03-10 18:04:37 +00:00
Oliver Gorwits 67a6e6560d better term 2023-03-09 21:03:13 +00:00
Oliver Gorwits 9fd1e71b8b #974 show all chassis serials in device details 2023-03-08 22:56:18 +00:00
Oliver Gorwits 91e783e96f fix bug with ILIKE/LIKE on UTF8 encoded field 2023-03-08 22:52:13 +00:00
Oliver Gorwits 137f84e0f9 release 2.060008 2023-03-08 17:18:06 +00:00
Oliver Gorwits 81e54b2d3c fix for ND2_DB_ROLLBACK on netdisco-db-deploy where it cannot work on initial schema setup 2023-03-08 17:04:50 +00:00
Oliver Gorwits c6e0ad75b9 #985 allow netdisco-{deploy,do,db-deploy} on custom tenant with NETDISCO_DB_TENANT 2023-03-08 14:15:12 +00:00
Oliver Gorwits db112d99cd #989 netdisco-deploy and netdisco-db-deploy respect ND2_DB_ROLLBACK 2023-03-08 13:49:02 +00:00
Oliver Gorwits b33737a335 bump copyright year 2023-03-07 21:35:07 +00:00
Oliver Gorwits 3ee0c7692c #991 Recently Added Devices report 2023-03-07 20:42:20 +00:00
Oliver Gorwits 2848877d74 #977 add comment to netdisco-do renumber about device_identity 2023-03-07 20:15:54 +00:00
Oliver Gorwits 1505a8637b #952 support user-supplied net-snmp options in SNMP Transport 2023-03-07 18:17:30 +00:00
Oliver Gorwits 0ab2cb08e5 #986 advise users to use UTC 2023-03-07 09:36:53 +00:00
Oliver Gorwits 02537fbfba #921 IPs on Multiple Devices report 2023-03-06 21:37:10 +00:00
Oliver Gorwits 75f8ffdcc2 sort Report menu items by label 2023-03-06 20:28:51 +00:00
Oliver Gorwits c033687ec1 #921 Devices with Multiple Addresses report 2023-03-06 17:14:03 +00:00
Oliver Gorwits 08a88f8337 support pseudo/offline device renumber and also pseudo device autovivification 2023-03-05 20:57:05 +00:00
Oliver Gorwits 6d596c3e0f release 2.060007 2023-03-03 15:40:22 +00:00
Oliver Gorwits 4bb9b25ae9 #901 node_ip time_last can be before time_first 2023-03-03 15:34:16 +00:00
Oliver Gorwits 1d00ebc91e #949 inconsistencies in time values due to time zone handling 2023-03-03 15:01:06 +00:00
Oliver Gorwits 9ade0b21dd #949 replace other occurances of now() with LOCALTIMESTAMP 2023-03-03 14:56:24 +00:00
Oliver Gorwits 214b98d28f #949 replace other occurances of now() with LOCALTIMESTAMP 2023-03-03 14:22:21 +00:00
Oliver Gorwits cbc32eb032 #949 replace other occurances of now() with LOCALTIMESTAMP 2023-03-03 14:21:18 +00:00
Oliver Gorwits d9a384d1d0 #949 replace other occurances of now() with LOCALTIMESTAMP 2023-03-03 14:17:38 +00:00
Oliver Gorwits 29402f0726 #949 replace now() with LOCALTIMESTAMP and cast to_timestamp() as ::timestamp 2023-03-03 14:08:10 +00:00
Oliver Gorwits de1ec0dc67 #981 inspect ports lastchange for uptime wrap only after filtering ports 2023-02-27 18:00:21 +00:00
Oliver Gorwits 692a797f7c #478 csv 2023-02-25 16:54:04 +00:00
Oliver Gorwits 252c9c7e66 #478 rewrite wireless client count report which was bobbins 2023-02-25 14:07:44 +00:00
Oliver Gorwits 4e6f143dec #933 separate Duplex port info into running and configured columns 2023-02-24 14:57:00 +00:00