Project

General

Profile

Actions

Bug #12073

open

``netsnmptrapd.conf`` syntax for ``snmpTrapdAddr`` is wrong

Added by Renato Botelho almost 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
NET-SNMP
Target version:
-
Start date:
06/23/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

The snmptrapd configuration uses the keyword "snmpTrapdAddr" instead of
"agentaddress". This is probably a copy-paste bug.

Without this change, the "interface binding" option in the snmptrapd configuration page is ineffective:

> head -n 1 /var/etc/netsnmptrapd.conf
agentaddress udp:127.0.0.1:162
> netstat -lanf inet | fgrep .162
udp4       0      0 *.162                  *.*
, whereas:

> head -n 1 /var/etc/netsnmptrapd.conf
snmpTrapdAddr udp:127.0.0.1:162
> netstat -lanf inet | fgrep .162
udp4       0      0 127.0.0.1.162          *.*

Obtained from PR https://github.com/pfsense/FreeBSD-ports/pull/1060

Actions

Also available in: Atom PDF