Re: Discovery of network map or topology without switch or router

2022-06-21 Thread Michael Schwartzkopff via Net-snmp-users

On 21.06.22 01:42, Hugo I. Reyes wrote:

Hello,

Can NET-SNMP be used to discover the network map or network topology
without switch or router?

Is it possible to configure all nodes in a network as snmp managers and
still discover the network map or networ topology?

Thanks in advance for any help on answering these questions!

Kind regards



___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



Yes. But its complicated.


Mit freundlichen Grüßen,

--

[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64

Schleißheimer Straße 26/MG,80333 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263

Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein



___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Securing snmpd.conf files

2022-06-21 Thread Wes Hardaker via Net-snmp-users
Craig Small  writes:

> Is there a way to encrypt passwords in the snmpd.conf file? Currently, 
> when we open
> snmpd.conf file we can look at passwords in plaintext format, is there a 
> way to
> store those passwords in encrypted form. Does net-snmp support any 
> encryption/
> decryption of passwords while reading from snmpd.conf?
> 
> The snmpusm manpage describes a way of making SNMP v3 users. 
> The passwords are, I believe, stored as MD5 HMAC and not cleartext.

Good answer and thanks for noting this.

Even more importantly: they're not only stored as a MAC, but also stored
in a way that is isolated to just that machine and localized with an
engineid.

Specifically, the snmpd.conf manual page about the createUser line says:

 This directive  should  be  placed  into  the  /var/net-snmp/sn‐
 mpd.conf file instead of the other normal locations.  The reason
 is that the information is read from the file and then the  line
 is  removed  (eliminating the storage of the master password for
 that user) and replaced with the key that is  derived  from  it.
 This  key is a localized key, so that if it is stolen it can not
 be used to access other agents.  If the password is stolen, how‐
 ever, it can be.

Thus the createUser line should *never* be put in a global config file
that is not where the agent stores it's data in the first place.  The
manual page also talks about how to use the net-snmp-config tool to help
with this:

 Instead  of  figuring out how to use this directive and where to
 put it  (see  below),  just  run  "net-snmp-config  --create-sn‐
 mpv3-user"  instead,  which  will  add one of these lines to the
 right place.


-- 
Wes Hardaker
Please mail all replies to net-snmp-cod...@lists.sourceforge.net


___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users