Comments (3)
The request ID is a signed integer and can be positive or negative.
It probably makes sense to be able to seed the request ID's and count up.
For the life of me I cannot remember why we use random numbers :)
I will take a closer look.
from node-net-snmp.
Hi, the main reason for generating random ID's is mainly to prevent guessing the next ID, and using this to spoof a response. I am not inclined to change this behaviour, however I would be open to setting a maximum ID, i.e. something would always result in a unsigned integer if ever stored as signed.
Would this help?
from node-net-snmp.
yeah, as long as it's always unsigned that should be fine.
from node-net-snmp.
Related Issues (20)
- Unhandled error in Listener.processIncoming crashing node HOT 3
- writeInt32 Error / Error Response Not Generated HOT 2
- Deleting user alone in the forwarder proxy HOT 1
- Error [InvalidAsn1Error]: Expected 0x4: got 0x3 HOT 1
- Unmatched grouping characters in comments break MIB file loading HOT 1
- SNMPv3 / SHA: TypeError: Cannot read properties of undefined (reading 'AUTHENTICATION_CODE_LENGTH') HOT 3
- SNMT Agent table update HOT 1
- MIB parsing: comment line detection and unclosed strings/quotations HOT 3
- tableAugments how to use ? Please provide any example HOT 2
- Subagent Stops Processing Requests HOT 4
- Create SNMP Server and client with NodeJS HOT 2
- Calling session.close() HOT 4
- ParseInt in column number fails on 2+ whitespace characters between Object name and ID HOT 2
- Support for SMIv1 type definitions HOT 9
- `readUInt32` issues HOT 4
- Update MIB tree from existing MIB file HOT 1
- agent v3 - discovery not completed HOT 1
- Is there a way to get metric information using MIB instead of OID to external snmp agent that already exists? HOT 10
- Types and possible bug HOT 1
- session.subtree: feedCallback return value not checked (version 3.9.7) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-net-snmp.