opensolutions / OSS_SNMP

A PHP SNMP library for people who hate SNMP, MIBs and OIDs!
https://github.com/opensolutions/OSS_SNMP/wiki
Other
108 stars 58 forks source link

Support for v3 Contexts #65

Closed timlegge closed 5 years ago

timlegge commented 5 years ago

Hi

I have bene looking at snmpsimd lately https://github.com/etingof/snmpsim and found that OSS_SNMP does not appear to support the snmp v3 concept of context. Specifically it would need to use https://www.php.net/manual/en/snmp.setsecurity.php to set the context for the connection. Any thought as to whether you might implement this?

Tim

barryo commented 5 years ago

Hey Tim,

I believe it works - see this line.

It wasn't done my me but via this PR: #15