Re: snmptrapd SNMP V3 support

Magnus Fromreide <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
On Wed, May 27, 2020 at 10:42:09AM +0000, Yefetluzzatto, Inbal wrote:
> Hello,
> 
> I currently use NET-SNMP Version:  5.7.2 which has limited SNMP V3 support.
> I am trying to set up a manager that can use Authentication protocols -  SHA-256 and MD5 with Privacy protocols AES-256 and 3DES (TDES).
> 
> I was trying to install version 5.8 on my vd  (running CentOS Linux 7), however I keep on failing during installation.
> I was using the following:
> 
>   *   ./configure --with-openssl=/usr/bin/openssl --enable-blumenthal-aes --with-mibfiles="<mib file path>" --with-transports="UDPshared Callback AAL5PVC IPX DTLSUDP TLSTCP SSH"  --with-security-modules="usm ksm tsm"  --without-root-access  --enable-internal-md5  --enable-new-features --with-sys-contact="contact" --with-sys-location="location" --with-logfile="path"  --with-persistent-directory="path" --with-dmalloc=/usr/local
> Note - I have tried with and without --with-dmalloc=/usr/local - got me to the same result.
>   *   make
> 
> and receive the following error:
> 
> libtool: compile:  gcc -I../include -I. -I../snmplib -g -O2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -Ulinux -Dlinux=linux -c snmp_client.c  -fPIC -DPIC -o .libs/snmp_client.o
> In file included from ../include/net-snmp/session_api.h:324:0,
>                  from ../include/net-snmp/library/snmp_client.h:33,
>                  from ../include/net-snmp/varbind_api.h:102,
>                  from ../include/net-snmp/library/snmp_api.h:33,
>                  from ../include/net-snmp/definitions.h:23,
>                  from ../include/net-snmp/types.h:462,
>                  from snmp_client.c:94:
> ../include/net-snmp/library/snmpAAL5PVCDomain.h:18:17: fatal error: atm.h: No such file or directory
> Going over https://sourceforge.net/p/net-snmp/mailman/message/16164082/ didn't help.

You probably doesn't need support for snmp over isdn carrier so you can just
remove AAL5PVC from your configure line and try again.

/MF
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.