Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send traps using AES encryption. #1

Open
porevishal opened this issue Jun 13, 2019 · 0 comments
Open

Unable to send traps using AES encryption. #1

porevishal opened this issue Jun 13, 2019 · 0 comments

Comments

@porevishal
Copy link

porevishal commented Jun 13, 2019

The base image is
FROM mhart/alpine-node

Below is my slightly modified "RUN" command to create a docker image. The highlighted fields below are added

RUN apk add --update --no-cache linux-headers alpine-sdk curl findutils file sed &&
mkdir -p /etc/snmp &&
curl -L "https://sourceforge.net/projects/net-snmp/files/net-snmp/5.8/net-snmp-5.8.tar.gz/download" -o net-snmp.tgz &&
tar zxvf net-snmp.tgz &&
cd net-snmp-* &&
find . -type f -print0 | xargs -0 sed -i 's/"/proc/"/host_proc/g' &&
./configure --prefix=/usr/local --with-defaults &&
make &&
make install &&
cd .. &&
rm -Rf ./net-snmp* &&
apk del linux-headers alpine-sdk curl findutils sed

Everything works except AES encryption. Do i need to bake the image differently for AES encryption to work.

From the config summary, it seems AES support is there by default


        Net-SNMP configuration summary:

SNMP Versions Supported: 1 2c 3
Building for: linux
Net-SNMP Version: 5.8
Network transport support: Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase IPv6Base
SNMPv3 Security Modules: usm
Agent MIB code: default_modules => snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
MYSQL Trap Logging: unavailable
Embedded Perl support: disabled
SNMP Perl modules: disabled
SNMP Python modules: disabled
Crypto support from: internal
Authentication support: MD5 SHA1
Encryption support: DES AES
Local DNSSEC validation: disabled

@porevishal porevishal changed the title Unable to send traps using AES algorithm. Unable to send traps using AES encryption. Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant