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

SNMP Trap only listen to one set of credentials. #121

Open
bensonwang186 opened this issue Sep 10, 2024 · 0 comments
Open

SNMP Trap only listen to one set of credentials. #121

bensonwang186 opened this issue Sep 10, 2024 · 0 comments

Comments

@bensonwang186
Copy link

I can successfully receive the SNMP Trap using register_trap_callback faction (puresnmp\api\raw.py), but I can only listen to one set of credentials. There is no way to open two register_trap_callback factions at the same time because the ports will conflict.

During the test, I discovered that assuming I was listening to SNMP V1 Trap, I could still receive SNMP V3 Trap at this time,
but there would be an Execption showing credentials verification errors. It seems that as long as I listen to Port 162, all Traps can be received.
Just because the register_trap_callback faction can only verify one set of credentials,
is it possible to support SNMP Trap that listens multiple sets of credentials at the same time of register_trap_callback?
image

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

1 participant