VACM token in snmpd.conf not recognized

2024-11-25 Thread Vincent Gilson via Net-snmp-coders
Hello, I've implemented my own net-snmp Agent in a Linux embedded system. While the Agent seems to start correctly, it seems the config file parser is not recognizing the VACM tokens "createUser ", "rwuser", "group", "access" and "view" within my snmpd.conf file Snmpd.log file shows : 9:read_

Memory leak with net-snmp agent v3 ?

2024-02-16 Thread Vincent Gilson via Net-snmp-coders
Hi, I managed to do a secure DTLS comm between my laptop (snmpget) and my embedded device net-snmp agent. But I noticed there's somewhere a memory leak on the Agent (embedded device) side : I see some 12KB amount of memory taken by the agent each time it successfully handles such request, and

Certificate configuration ( snmpd.conf )

2024-01-31 Thread Vincent Gilson via Net-snmp-coders
Hi, I'm struggle with agent to be configured for DTLS, so could you confirm my snmpd.conf file is OK ? : Here it is --> createUser vincent MD5 "myPassPhrase" DES "myPrivPhrase" agentAddress dtlsudp:10161 dtls enable dtls serverCert /usr/local/etc/snmp/certs/server.pem dtls privateKey /usr/loca

RE: SNMPv3 DES issue

2024-01-30 Thread Vincent Gilson via Net-snmp-coders
9:read_config:parser: usmUser handler not registered for this time > > > > … > > > > usm: match on user vincent > > trace: usm_check_secLevel(): snmpusm.c, 2738: > > comparex: Comparing: 1 3 SNMPv2-SMI::snmpModules.10.1.2.1 > > trace: usm_check_secLevel(): snmp

RE: SNMPv3 DES issue

2024-01-30 Thread Vincent Gilson via Net-snmp-coders
vel > of security) > > > > > > > > > > De : Martijn van Duren > mailto:nets...@list.imperialat.at>> > Envoyé : samedi 27 janvier 2024 10:33 > À : Vincent Gilson > mailto:vincent.gil...@ovarro.com>>; > net-snmp-coders@lists.sour

RE: SNMPv3 DES issue

2024-01-30 Thread Vincent Gilson via Net-snmp-coders
et n'êtes pas sûrs du contenu. I dont know snmpb, and it is seems non-trivial to install. Have you tried with the Net-SNMP tools? Besides the createUser to create the uer, you need an access and view entry to define how it is used. How did you configure that? /Niels Den 26-01-2024 kl. 11:10

RE: SNMPv3 DES issue

2024-01-29 Thread Vincent Gilson via Net-snmp-coders
earnAboutSenderIdentification ] ATTENTION : cet email a été envoyé par une source externe à notre enterprise. Ne cliquez pas sur les liens et n'ouvrez pas les pièces jointes si vous ne connaissez pas l'expéditeur et n'êtes pas sûrs du contenu. Nothing stands out to

SNMPv3 DES issue

2024-01-26 Thread Vincent Gilson via Net-snmp-coders
Hello ! I'm working on a net-snmp agent integrated into an industrial embedded system (ARM-based). The agent is working perfectly for v1 and v2c, and also with v3 and 'AuthNoPriv' mode. I'm doing my tests with SnmpB software as a client. But SHA and DES/AES is not working : My snmpd.conf : # L