Activity log for bug #2067052

Date Who What changed Old value New value Message
2024-05-24 10:54:47 Rudolf bug added bug
2024-05-24 11:16:49 Rudolf description I am writing a Trap Receiver and was not able to receive an INFORM. I figured out that the command code contained in the PDU was not the 166 as it should be but I received 160. I thought that maybe I did something wrong, but when i used another program (mibbrowser) to send an inform trap, i got the correct code of 166. Maybe I am getting something wrong but I really think that this is a bug in the package shipped with Ubuntu and I think that should really not be the case. #define SNMP_MSG_GET (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x0) /* a0=160 */ #define SNMP_MSG_GETNEXT (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x1) /* a1=161 */ #define SNMP_MSG_RESPONSE (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x2) /* a2=162 */ #define SNMP_MSG_SET (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x3) /* a3=163 */ #define SNMP_MSG_GETBULK (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x5) /* a5=165 */ #define SNMP_MSG_INFORM (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x6) /* a6=166 */ #define SNMP_MSG_TRAP2 (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x7) /* a7=167 */ ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: snmp 5.9.1+dfsg-1ubuntu2.6 ProcVersionSignature: Ubuntu 6.5.0-35.35~22.04.1-generic 6.5.13 Uname: Linux 6.5.0-35-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Fri May 24 12:42:33 2024 InstallationDate: Installed on 2022-08-17 (646 days ago) InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1) ProcEnviron: LANGUAGE=de_AT:de PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=de_AT.UTF-8 SHELL=/bin/bash SourcePackage: net-snmp UpgradeStatus: No upgrade log present (probably fresh install) I am writing a Trap Receiver and was not able to receive an INFORM. I figured out that the command code contained in the PDU was not the 166 as it should be but I received 160. I thought that maybe I did something wrong, but when i used another program (mibbrowser) to send an inform trap, i got the correct code of 166. I then figured out, that this behaviour only happens when version 3 is used. Maybe I am getting something wrong but I really think that this is a bug in the package shipped with Ubuntu and I think that should really not be the case. #define SNMP_MSG_GET (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x0) /* a0=160 */ #define SNMP_MSG_GETNEXT (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x1) /* a1=161 */ #define SNMP_MSG_RESPONSE (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x2) /* a2=162 */ #define SNMP_MSG_SET (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x3) /* a3=163 */ #define SNMP_MSG_GETBULK (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x5) /* a5=165 */ #define SNMP_MSG_INFORM (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x6) /* a6=166 */ #define SNMP_MSG_TRAP2 (ASN_CONTEXT | ASN_CONSTRUCTOR | 0x7) /* a7=167 */ ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: snmp 5.9.1+dfsg-1ubuntu2.6 ProcVersionSignature: Ubuntu 6.5.0-35.35~22.04.1-generic 6.5.13 Uname: Linux 6.5.0-35-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Fri May 24 12:42:33 2024 InstallationDate: Installed on 2022-08-17 (646 days ago) InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1) ProcEnviron:  LANGUAGE=de_AT:de  PATH=(custom, no user)  XDG_RUNTIME_DIR=<set>  LANG=de_AT.UTF-8  SHELL=/bin/bash SourcePackage: net-snmp UpgradeStatus: No upgrade log present (probably fresh install)
2024-05-28 18:44:28 Sergio Durigan Junior net-snmp (Ubuntu): status New Incomplete