[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ucd-snmp - why does it only get connection from 0.0.0.0 ???



Hi,

I installed ucd-snmp (4.2.3) from packages on OpenBSD 3.3/sparc64 and
the daemon doesn't answer requests...

The conf is the example with community changed and works on OBSD/i386
and NetBSD/sparc64.

I'm wondering if it couldn't be linked to tcp_wrappers.
I added the right line in host.allow but it still doesn't work.

in debug mode, snmpstatus says:
Sending 63 bytes to 10.0.0.1:161
0000: 30 3D 02 01  03 30 10 02  04 1D ED 2B  61 02 02 05
0=...0....+a...
0016: C0 04 01 04  02 01 03 04  10 30 0E 04  00 02 01 00
........0......
0032: 02 01 00 04  00 04 00 04  00 30 14 04  00 04 00 A0
.........0.....
0048: 0E 02 04 3F  7C 20 04 02  01 00 02 01  00 30 00       ...?|
.......0.


Resending 63 bytes to 10.0.0.1:161
0000: 30 3D 02 01  03 30 10 02  04 1D ED 2B  62 02 02 05
0=...0....+b...
0016: C0 04 01 04  02 01 03 04  10 30 0E 04  00 02 01 00
........0......
0032: 02 01 00 04  00 04 00 04  00 30 14 04  00 04 00 A0
.........0.....
0048: 0E 02 04 3F  7C 20 04 02  01 00 02 01  00 30 00       ...?|
.......0.

when the snmpd says:
UCD-SNMP version 4.2.3
Connection from 0.0.0.0 REFUSED
Connection from 0.0.0.0 REFUSED
Connection from 0.0.0.0 REFUSED
Connection from 0.0.0.0 REFUSED


what makes query from 10.0.0.1 become 0.0.0.0 for the snmp daemon ?
on the working NetBSD/sparc64, I correctly get "Connection from 10.0.0.1".

thanks for help,
	Jo