lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Status of snmp v3


From: Mário Luzeiro
Subject: Re: [lwip-users] Status of snmp v3
Date: Fri, 27 Sep 2019 08:58:16 +0000

Hi Tomek,
what is your target platform?

________________________________________
From: lwip-users <lwip-users-bounces+mrluzeiro=address@hidden> on behalf of 
tomek wilkxt <address@hidden>
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 <address@hidden> 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 <address@hidden> 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=address@hidden> on behalf of 
>> Dirk Ziegelmeier <address@hidden>
>> 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 
>> <address@hidden<mailto:address@hidden>> 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
>> address@hidden<mailto:address@hidden>
>> https://lists.nongnu.org/mailman/listinfo/lwip-users
>>
>> _______________________________________________
>> lwip-users mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/lwip-users
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users



--
pozdrawiam
tomek

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]