Bug #81623 [Com]: Successive SNMPv3 credential attempts fail (with valid credentials)

From: Date: Sat, 24 Dec 2022 09:07:22 +0000
Subject: Bug #81623 [Com]: Successive SNMPv3 credential attempts fail (with valid credentials)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243241@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81623&edit=1

 ID:                 81623
 Comment by:         Mitchell1988IVu at gmail dot com
 Reported by:        mark dot unwin at gmail dot com
 Summary:            Successive SNMPv3 credential attempts fail (with
                     valid credentials)
 Status:             Open
 Type:               Bug
 Package:            SNMP related
 Operating System:   Ubuntu Mate 21.04
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

BMC Discovery scans a variety of SNMP devices. When the scans are successful, these devices are
usually modeled as Network Devices, SNMP Managed Devices, or Printers. However, it’s not
uncommon to encounter problems when scanning these SNMP devices. Use the following troubleshooting
sections to either resolve the problem or create a BMC Support case.

(https://www.wellcaremedicare.org/)github.com


Previous Comments:
------------------------------------------------------------------------
[2022-03-03 12:05:27] gasdjk443 at protonmail dot com

Thanks 

https://altosaxo.net/products/dot-hacker-t-shirt-men

https://altosaxo.net/products/pj-harvey-t-shirt-men

https://altosaxo.net/products/temple-of-the-dog-t-shirt-men

https://altosaxo.net/products/uada-t-shirt-men

https://altosaxo.net/products/alestorm-t-shirt-men

------------------------------------------------------------------------
[2022-03-03 12:04:46] gavbjk5643 at protonmail dot com

Thanks

https://altosaxo.net/products/cracker-band-t-shirt-men

https://altosaxo.net/products/eluveitie-t-shirt-men

https://altosaxo.net/products/konvent-t-shirt-men

https://altosaxo.net/products/mephorash-t-shirt-men

https://altosaxo.net/products/ad-inferna-t-shirt-men

------------------------------------------------------------------------
[2022-03-03 12:03:53] czxrd32 at protonmail dot com

Thanks 

https://altosaxo.net/products/crisix-t-shirt-men

https://altosaxo.net/products/einherjer-t-shirt-men

https://altosaxo.net/products/sound-of-ceres-t-shirt-men

https://altosaxo.net/products/wardruna-t-shirt-men

https://altosaxo.net/products/angelus-apatrida-t-shirt-men

------------------------------------------------------------------------
[2021-11-15 06:27:43] mark dot unwin at gmail dot com

Description:
------------
I have a network discovery application that takes an array of credentials and tests they work
against SNMP devices. In this case, SNMPv3 devices. 

If I connect using a valid SNMPv3 credential set first in the array, things work as expected. 

If I connect using a bad set first in the array, the connection fails, as expected. 

If I connect using a valid SNMPv3 credential set second in the array (after the prior bad set), it
fails.

This only seems to occur when using identical Security Names, but having otherwise different
attributes.

Even if I unset the SNMP object in the loop each time, subsequent attempts to connect using valid
credentials fail (as per above).

Test script:
---------------
Same code in SO question here - 

https://stackoverflow.com/questions/69491850/php-snmpv3-credentials-test-loop-failing

Expected result:
----------------
Should be able to connect using differing credentials after the object is unset, but even better if
the object doesn't need unsetting.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=81623&edit=1


Thread (5 messages)

« previous php.bugs (#243241) next »