-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
net-snmp: refactor Makefile for optional variant with openssl and logging #25444
base: master
Are you sure you want to change the base?
Conversation
063324f
to
91c1e21
Compare
91c1e21
to
c2a698d
Compare
8bda243
to
9be48e9
Compare
@stintel : I updated the Makefile in a way that it is possible to compile snmp with or without openssl. |
d921a24
to
da99ac5
Compare
@stintel : Did you find time to look into the changes? |
Sorry, a bit busy with life. Might be a while. Without reviewing the code the following question comes to mind: can the user still do |
da99ac5
to
abd5697
Compare
I understand that and I didn't have in mind to pressure you. |
abd5697
to
0357d8a
Compare
Hello @stintel , |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please add example sections in net/net-snmp/files/snmpd.conf for both SNMPv3 and logging.
Build test on qoriq shows a bunch of conflicts. I ran
|
0357d8a
to
2640b4f
Compare
Thank you for your review! EDIT: Also added v3 and logging options to snmpd.conf. |
5a0aaa5
to
6561ab5
Compare
This commit integrates the option to add openssl to net-snmp. This way SNMP V3 can be modified Signed-off-by: Christian Korber <[email protected]>
This commit implements SNMPv3 functionality to snmpd.init. In particular it adds function snmpd_snmpdv3_add, which sets the needed options in /var/run/snmpd.conf. Additionally a possibility to download mib file is also added. Signed-off-by: Christian Korber <[email protected]>
This commit adds logging to syslog and to a logfile. Signed-off-by: Christian Korber <[email protected]>
6561ab5
to
95be69b
Compare
Maintainer: @stintel
Compile tested: x86_64, Openwrt 24.10
Run tested: x86_64, Openwrt 24.10
Description:
Openssl is needed to implement encryption and authentification for SNMPv3.
As discussed in PR #25178 , I added a variant for net-snmp that compiles libnetsnmp
with libopenssl (for SNMPv3). The default compilation is with the former variant.
The features for SNMPv3 are added to snmpd.init file and the possibility
to log messages to syslog or a log file..