net-snmp 3.25.0 → 3.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +8 -0
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -3697,6 +3697,14 @@ Example programs are included under the module's `example` directory.
3697
3697
 
3698
3698
  * Add separate AgentX subagent TestSet and CommitSet phases
3699
3699
 
3700
+ # Version 3.25.1 - 11/09/2025
3701
+
3702
+ * Fix SNMPv3 agent unknown user crash
3703
+
3704
+ # Version 3.25.2 - 11/09/2025
3705
+
3706
+ * Fix AgentX Counter64 writing
3707
+
3700
3708
  # License
3701
3709
 
3702
3710
  Copyright (c) 2020 Mark Abrahams <mark@abrahams.co.nz>
package/index.js CHANGED
@@ -1831,7 +1831,7 @@ Message.prototype.createReportResponseMessage = function (engine, context, error
1831
1831
  });
1832
1832
  }
1833
1833
 
1834
- var reportPdu = ReportPdu.createFromVariables (this.pdu.id, varbinds, {});
1834
+ var reportPdu = ReportPdu.createFromVariables (this.getReqId(), varbinds, {});
1835
1835
  reportPdu.contextName = context;
1836
1836
  var responseMessage = Message.createRequestV3 (user, responseSecurityParameters, reportPdu);
1837
1837
  responseMessage.msgGlobalData.msgID = this.msgGlobalData.msgID;
@@ -6087,7 +6087,7 @@ AgentXPdu.writeVarBind = function (buffer, varbind) {
6087
6087
  buffer.writeOctetString (buffer, Buffer.from (bytes));
6088
6088
  break;
6089
6089
  case ObjectType.Counter64:
6090
- buffer.writeUint64 (varbind.value);
6090
+ buffer.writeBigUInt64BE (BigInt(varbind.value));
6091
6091
  break;
6092
6092
  case ObjectType.Null:
6093
6093
  case ObjectType.EndOfMibView:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "net-snmp",
3
- "version": "3.25.0",
3
+ "version": "3.25.2",
4
4
  "description": "JavaScript implementation of the Simple Network Management Protocol (SNMP)",
5
5
  "author": "Mark Abrahams <mark@abrahams.co.nz>",
6
6
  "license": "MIT",