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 it seems to never be released/freed.

(( As it's huge, I tried to disabled the logging system with 
--disable-debugging on configure script, but it changes nothing ))

I don't absolutely know where to look at into the code...

Does this ring a bell to anyone ?
Thank you !

--> Here's my configure options
./configure --prefix=$(INSTALL_PREFIX) --host=$(HOST) \
  --disable-applications --enable-debugging --disable-embedded-perl 
--without-perl-modules \
  --enable-reentrant \
  --with-cc=$(CC) --with-linkcc=$(CC) --with-ar=$(AR) 
--with-ldflags="$(LDFLAGS)" --with-cflags="$(CFLAGS_EXT)" \
  --with-openssl=$(LIB_DIRS) \
  --without-rpm \
  --with-logfile="/tmp/var/snmpd.log" \
  --with-default-snmp-version="3" \
  --with-transports="UDP,TCP,DTLSUDP,TLSTCP" --with-security-modules="usm,tsm" \
 --with-persistent-directory="/var/net-snmp" \
  --enable-shared=yes --enable-static=no --enable-tagCC-libtool

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to