diff --git a/Changes b/Changes index 052602eb..2409b535 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,9 @@ +2.044015 - 2020-02-12 + + [BUG FIXES] + + * default access list for device_auth should be ipv4 and ipv6 + 2.044014 - 2020-02-09 [BUG FIXES] diff --git a/lib/App/Netdisco/Util/DeviceAuth.pm b/lib/App/Netdisco/Util/DeviceAuth.pm index 92298881..5ee09b33 100644 --- a/lib/App/Netdisco/Util/DeviceAuth.pm +++ b/lib/App/Netdisco/Util/DeviceAuth.pm @@ -63,7 +63,7 @@ sub fixup_device_auth { $stanza->{tag} ||= $tag; $stanza->{read} = 1 if !exists $stanza->{read}; $stanza->{no} ||= []; - $stanza->{only} ||= ['any']; + $stanza->{only} ||= ['group:__ANY__']; die "error: config: snmpv2 community in device_auth must be single item, not list\n" if ref $stanza->{community}; diff --git a/share/config.yml b/share/config.yml index 30afc116..49038cbd 100644 --- a/share/config.yml +++ b/share/config.yml @@ -209,7 +209,8 @@ defanged_admin: 'admin' # mibdirs defaults to contents of mibhome host_groups: __ANY__: - - 'any' + - '0.0.0.0/0' + - '::/0' __LOCAL_ADDRESSES__: - '::1' - 'fe80::/10'