So I found that the issues I have are because I'm using ST sha1_alt and md5_alt. If I disable it and use the software version it works ok.
________________________________________ From: lwip-users <lwip-users-bounces+mrluzeiro=ua...@nongnu.org> on behalf of tomek wilkxt <wil...@gmail.com> Sent: 27 September 2019 10:17 To: Mailing list for lwIP users Subject: Re: [lwip-users] Status of snmp v3 > what is your target platform? first STM32F107 but now GD32f107 is most the same but has more RAM (96KB) and speed is 108Mhz. LWIP current with repo mbedtls-2.11.0. NO SYS. > ________________________________________ > From: lwip-users <lwip-users-bounces+mrluzeiro=ua...@nongnu.org> on behalf of > tomek wilkxt <wil...@gmail.com> > Sent: 27 September 2019 08:39 > To: Mailing list for lwIP users > Subject: Re: [lwip-users] Status of snmp v3 > > Hi > A few days ago I started snmpv3 from this example and is work fine. > Only i have my private mib file. > > czw., 26 wrz 2019 o 21:07 Dirk Ziegelmeier <d...@ziegelmeier.net> napisał(a): > > > > sorry, I don't have an idea at the moment. I only tested with SnmpB and > > that worked well. > > > > Ciao > > Dirk > > > > > > On Thu, Sep 26, 2019 at 1:10 PM Mário Luzeiro <mrluze...@ua.pt> wrote: > >> > >> Hi Dirk, > >> > >> > it is technically complete > >> thanks for all your work! > >> I missed a bit some debug output as there are on other modules in LWIP but > >> I am doing some manual debug. > >> > >> > >> I'm trying to run the example code with v3 and use snmpwalk (linux tool) > >> to test it. > >> I changed the engine boot and time to be always 0 for test proposes. > >> I need to change the engineID to 12 octets(bytes) so snmpwalk (and > >> wireshark) will not complain. > >> > >> The far I can get is running this command and get this result: > >> $ snmpwalk -v3 -l authPriv -u lwip -a SHA -A "maplesyrup" -x DES -X > >> "maplesyrup" 192.168.1.3 -e 555555555555555555555555 -Z 0,0 > >> iso.3.6.1.2.1.1.1.0 = STRING: "lwIP example" > >> iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.26381 > >> iso.3.6.1.2.1.1.3.0 = Timeticks: (100158) 0:16:41.58 > >> iso.3.6.1.2.1.1.4.0 = STRING: "root" > >> iso.3.6.1.2.1.1.5.0 = STRING: "FQDN-unk" > >> iso.3.6.1.2.1.1.6.0 = STRING: "lwIP development PC" > >> iso.3.6.1.2.1.1.7.0 = INTEGER: 72 > >> iso.3.6.1.2.1.2.1.0 = INTEGER: 1 > >> iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1 > >> snmpwalk: Authentication failure (incorrect password, community or key) > >> > >> Why is it getting some data and then in the end reports some > >> authentication failure? > >> As I don't know about SNMP protocol, I am not sure if thats ok or > >> something is wrong.. > >> Hope you can clarify me. > >> > >> Mario Luzeiro > >> > >> ________________________________________ > >> From: lwip-users <lwip-users-bounces+mrluzeiro=ua...@nongnu.org> on behalf > >> of Dirk Ziegelmeier <d...@ziegelmeier.net> > >> Sent: 24 September 2019 19:18 > >> To: Mailing list for lwIP users > >> Subject: Re: [lwip-users] Status of snmp v3 > >> > >> it is technically complete, it only needs proper implementation of the > >> functions in > >> http://git.savannah.nongnu.org/cgit/lwip.git/tree/contrib/examples/snmp/snmp_v3/snmpv3_dummy.c > >> > >> which is the glueing code to your application. > >> > >> And of course it needs mbedtls in your project, or a reimplentation of > >> http://git.savannah.nongnu.org/cgit/lwip.git/tree/src/apps/snmp/snmpv3_mbedtls.c > >> > >> Ciao > >> Dirk > >> > >> > >> On Tue, Sep 24, 2019 at 7:21 PM Mário Luzeiro > >> <mrluze...@ua.pt<mailto:mrluze...@ua.pt>> wrote: > >> Hello all, > >> I'm testing SNMP sample from LWIP. > >> > >> What is the status of SNMP V3 implementation in LWIP? > >> It only misses the user callback implementation or is missing something in > >> the core? > >> > >> I tried to build with V3 enabled and I got errors on the use of > >> mbedtls_sha1* and mbedtls_md5* functions. > >> Am I missing some define? > >> > >> Mario > >> _______________________________________________ > >> lwip-users mailing list > >> lwip-users@nongnu.org<mailto:lwip-users@nongnu.org> > >> https://lists.nongnu.org/mailman/listinfo/lwip-users > >> > >> _______________________________________________ > >> lwip-users mailing list > >> lwip-users@nongnu.org > >> https://lists.nongnu.org/mailman/listinfo/lwip-users > > > > _______________________________________________ > > lwip-users mailing list > > lwip-users@nongnu.org > > https://lists.nongnu.org/mailman/listinfo/lwip-users > > > > -- > pozdrawiam > tomek > > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users > > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users -- pozdrawiam tomek _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users