Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 883425 - net-analyzer/net-snmp-5.9.3-r1: Cannot access SNMPv3 agents that use AES-192 or AES-256 encryption
Summary: net-analyzer/net-snmp-5.9.3-r1: Cannot access SNMPv3 agents that use AES-192 ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-11-28 13:28 UTC by Michael Englehorn
Modified: 2022-12-01 06:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patch to add the proposed package specific use flag. (net-snmp-5.9.3-r1-add-blumenthal-aes-use-flag.patch,637 bytes, patch)
2022-11-28 13:30 UTC, Michael Englehorn
Details | Diff
Metadata patch to add the proposed package specific use flag. (metadata-add-blumenthal-aes-use-flag.patch,632 bytes, patch)
2022-11-28 13:33 UTC, Michael Englehorn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Englehorn 2022-11-28 13:28:14 UTC
Upstream has a configure option, "--enable-blumenthal-aes", which enables the AES-192 and AES-256 algorithms. I believe this should be configurable via a package specific USE flag, since it is a draft feature.

From the upstream `./configure --help`: --enable-blumenthal-aes         Enable AES-192/AES-256 (Blumenthal draft)

Reproducible: Always

Steps to Reproduce:
1. Run `snmpwalk -v3` against an SNMP agent with AES-192 or AES-256 encryption

Actual Results:  
"Timeout: No Response from (ip address)"
or
"Invalid privacy protocol specified after -3x flag: AES-256-C" if you run snmpwalk with `-x AES-256-C` set, which does work when `--enable-blumenthal-aes` is added to `configure` at build time.

Expected Results:  
Normal output from snmpwalk.

`AES-256-C` specifies the Cisco implementation of AES-256, but it is enabled by upstream when enabling the Blumenthal draft implementation as well.
Comment 1 Michael Englehorn 2022-11-28 13:30:06 UTC
Created attachment 837967 [details, diff]
Ebuild patch to add the proposed package specific use flag.
Comment 2 Michael Englehorn 2022-11-28 13:33:33 UTC
Created attachment 837969 [details, diff]
Metadata patch to add the proposed package specific use flag.