[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] SNMP v3 and v2
From: |
goldsimon |
Subject: |
Re: [lwip-users] SNMP v3 and v2 |
Date: |
Fri, 08 Nov 2019 15:26:02 +0100 |
User-agent: |
K-9 Mail for Android |
Am 8. November 2019 14:38:38 MEZ schrieb Harrold Spier <address@hidden>:
>Hi Mario,
>
>As far as I know, the current stable version of lwIP does only support
>SNMPv1 traps. I'm now using the latest lwIP git checkout, which does
>have
>support for SNMP v2c traps.
>
>As far as I can see, there is no support for SNMPv3 traps yet.
>
>If you build lwIP for SNMPv3, the older SNMP version are enabled by
>default. I was also a little bit confused about this, because if you
>support v3, you probably don't want older versions to be enabled.
>Of course you can still disable them by calling the
>functions snmp_v1_enable(0) and snmp_v2c_enable(0).
>
>Using SNMPv3, I had a small issue with SNMP SET. I created a quick fix
>to
>solve it, but I have to dig a little bit deeper into it to find out
>whether
>this is indeed the correct solution.
>
>I attach the patch. It contains a diff with the current version of
>snmp_msg.c in Git, but it will not be difficult to use it for the
>current
>stable version also. At least you can see what I changed.
Would you mind sharing patches via our patch tracker instead of attaching them
to an email here? That would greatly increase the chance of getting them
upatreamed!
Regards,
Simon