Re: A simple C program which sends v2c informs do not make retries in case of unavailable destination

2021-02-17 Thread AYahorau
Hi, Thanks for your hint. With snmp_synch_response it works properly. Best regards, Andrei Yahorau From: "Craig Small" To: ayaho...@ibagroup.eu Cc: "net-snmp coders" Date: 28.01.2021 04:20 Subject:Re: A simple C program which sends v2c informs do not make retries in

Re: snmp5.9 v3 issues with initial user.

2021-02-17 Thread Wes Hardaker via Net-snmp-coders
Justin Cook writes: It looks like this was resolved (passwords must be 8 characters long). My memory says -X was optional because it would reused the -A password, but my memory must be wrong. Also, do make sure that your snmpd daemon isn't running when you create new users with the

Re: Traditional API & snmpv3

2021-02-17 Thread Wes Hardaker via Net-snmp-coders
Harald Krammer writes: > If an SNMPv3 node is missing, the function is blocked. What function is getting blocked? Anything in our library should return with a timeout error just like v1/v2. Yes, the engineID won't be retrievable but it shouldn't cause anything to hang indefinitely. -- Wes

Posix_Spawn and snmpusm

2021-02-17 Thread Justin Cook
Hi Coders, I've uncovered an issue with our code base when using posix_spawn to create users for snmp. The below is a snippet of our code. sprintf_s(strIn, sizeof(strIn), "/usr/local/bin/snmpusm -n %c%c -v3 -u %s -l authNoPriv -a MD5 -A %s localhost create %s", '"', '"',