I was attempting to mess with the snmp daemon of my router. So I did a UDP port scan to be sure it was actually running:
161/udp open snmp
Ok, so I telnet (23/TCP) into my router and do a 'cat snmpd.cnf' and this is that config file's content:
192.168.1.1 is my router's internal IP address.Code:sysDescr "SANTIS 50 ADSL Router" sysObjectID 1.3.6.1.4.1.3646.100.30 sysLocation - sysContact - sysName - snmpEnableAuthenTraps 0 community private 0.0.0.0 write 1 community public 0.0.0.0 read 0 trap public 192.168.1.1
I must not really understand this part:
community private 0.0.0.0 write 1
community public 0.0.0.0 read 0
trap public 192.168.1.1
I have downloaded a program to query snmp stuff (windows). As far as I know it should be possible to query the above things, no? sysDescr and sysObjectID?
I don't understand what is meant by 'trap'.
Upon querying using a Get request from my computer (192.168.1.3) this is returned: return code=10004 (Timed out)
I used public as the community string.
Can somebody explain what I should change in my router's config so that it does accept requests from all computers (inside lan).




Reply With Quote