Commit Graph

2411 Commits

Author SHA1 Message Date
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
antonc42
3d231ec135 new SSHCollector platform for Extreme VSP (#695)
This module works for Extreme (formerly Avaya) VSP switches running the
VOSS operating system. When using multiple VRFs, the default Arpnip does
not work.

The way to query the ARP tables of different VRFs is to append "::X" to
the end of the SNMP community string, where "X" is the VRF ID number.
Since Netdisco doesn't support querying with multiple community strings
at this time, this module uses SSH to query the ARP tables of all the
VRFs by default or select VRFs using the "vrfs" key in "device_auth"
(see documentation in the module for an example).
2020-01-23 16:06:06 +01: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
Christian Ramseyer
26d3fbdd40 Reduce macsuck bandwidth usage to database (#680)
* Reduce macsuck bandwidth usage to database

get_port_macs transfers a full list of all device_port.(mac,ip) in every macsuck.
With 8k devices and 40k interfaces it takes up around 15MB. Transferring them 8k times
during an 1h macsuck cycle requires bandwidth in the 300 to 400 mbit/s range.

This patch changes get_port_macs to be called inside walk_fwtable and only transfer
the macs found in the current target device/vlan.
2019-12-21 18:28:47 +00:00
nick n
b211c7c7e2 remove vim settings from files (#676)
vim is great, but just use .vimrc instead of settings in the source files.

or if anyone cares that much, write up a sample one and add it to git.
2019-10-31 03:36:19 +01: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
Ryan Gasik
441ac59661 Add check for is_arpnipable and is_macsuckable in Util::Device
Checks to make sure the device is in storage when checking if L2/L3
is supported on the device. Fixes #669.
2019-10-30 09:10:02 -07:00
Oliver Gorwits
0e8f9ad194 release 2.044003 2019-10-15 18:56:11 +01:00
Oliver Gorwits
4e3bfee214 Add TACACS+ support per #660 (#662) 2019-10-15 18:23:51 +01:00
Oliver Gorwits
ecc9c6f209 sort the os_ver in the web interface (#663) 2019-10-15 18:23:34 +01:00
Oliver Gorwits
884a75a866 #659 speed up Macsuck::Nodes while using $snmp->cisco_comm_indexing (#661)
* #659 speed up Macsuck::Nodes while using $snmp->cisco_comm_indexing

* Do not read qb_fw_vlan when using cisco_comm_indexing
2019-10-14 22:08:38 +02:00
nick n
2b666dd445 jquery security fix for CVE-2019-11358 (#655)
https://nvd.nist.gov/vuln/detail/CVE-2019-11358#vulnCurrentDescriptionTitle
since we are some versions (jq 1.9.1 or something close to that according to the source) behind the last release of the 1.x train (1.12.4) the patch was not compatible, so the file has been manually edited to apply the needed changes

jquery 1.12.4 official patch:
https://github.com/DanielRuf/snyk-js-jquery-174006/blob/master/jquery-1.12.4.min.patch
2019-10-05 12:19:36 +01:00
Christian Ramseyer
b82e1d273b remove unnecessary blank line added in last commit 2019-10-04 23:50:18 +02:00
Christian Ramseyer
372ada2726 netdisco-do overrides _min_age config
Give the user wanting to manually run a discover|arpnip|macsuck job in
the foreground preference over the respective `_min_age` setting. Tiny
quality of life improvement that mostly comes up in debugging.
2019-10-04 23:40:23 +02:00
Oliver Gorwits
7caf1056a1 releae 2.044002 2019-10-01 10:43:12 +01:00
nick n
a3a368af49 typo
reported by scratchfury on irc
2019-09-27 17:12:39 +02: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
Christian Ramseyer
8ffdff3bbc Add speed_admin to device ports tab (#650) (#653)
* Add speed_admin to device ports tab (#650)

* move from device_port_properties to device_port table, and tidy up
2019-09-23 13:58:26 +01:00
Christian Ramseyer
26960bdd34 Fix potential crash in Discover/Properties::_get_ipv6_aliases
* On e.g. Cisco N9K, ipv6 objects can be returned undef which crashes the ip alias discovery with `Can't use an undefined value as a HASH reference at .../Discover/Properties.pm line 346.`
 * Discovery continues but leaves device_ip empty, which in turn makes device->neighbor non-functional
 * Fixed by adding various `$snmp->x || {}` safeguards
2019-09-20 13:52:34 +02:00
Christian Ramseyer
8edbd515e7 Store i_speed_admin (#650) 2019-09-19 14:11:04 +02:00
pyro3d
73e9f0bf0d Add DOCSIS/Cable Modem Discovery (#646)
* Add DOCSIS/Cable Modem Discovery
2019-09-18 16:19:18 -07: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