Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot retrieve data from snmpsim with SNMP V3 #170

Open
gmcper opened this issue Dec 3, 2022 · 1 comment
Open

Cannot retrieve data from snmpsim with SNMP V3 #170

gmcper opened this issue Dec 3, 2022 · 1 comment

Comments

@gmcper
Copy link

gmcper commented Dec 3, 2022

Hello,

I am trying to retrieve data, using a MIB browser, from snmpsim using SNMP V3.
I was able to successfuly generate a data file (public.snmprec) by reading some OIDs from a real agent.
Then I have ran the command python responder.py --v3-engine-id auto --data-dir ..\data --agent-udpv4-endpoint=127.0.0.1:1024, in order to start the agent with the data file. For SNMP V1 and V2 is working fine, The MIB browser is connecting to the agent and retrieving the data. But for SNMP V3 is not working. I have configured in the MIB browser the V3 authentication and privacy protocols and passwords which are indicated when responder.py rans and have also tried to add to the MIB Browser the indicated context and engineID (also provided when responder.py runs), but it is not working. The MIB Browser I am using supports SNMP V3, I have tried it in a real agent.
Any help would be appreciated.
Thanks

@lextm
Copy link

lextm commented Oct 19, 2023

According to #88 and #89, you should

  • name the data file as self.snmprec,
  • or alternatively, make SNMP v3 requests with context name of public.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants