On Wed, 25 Jun 2008 11:12:40 +0200, Juergen Schoenwaelder j.schoenwaelder@jacobs-university.de wrote:
On Wed, Jun 25, 2008 at 01:08:00PM +0400, rbondar@rich-logic.com wrote:
Here is requested tcpdump result. As you can see the only one row is requested, while the table contains 2 rows.
13:03:05.755075 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto
UDP
(17), length 420) localhost.35686 > localhost.snmp: [bad udp cksum 20e!]
{
SNMPv2c { GetNextRequest(373) R=1804289386 E:20379.2.1.3.2.3.1.2 E:20379.2.1.3.2.3.1.3 E:20379.2.1.3.2.3.1.4 E:20379.2.1.3.2.3.1.5 E:20379.2.1.3.2.3.1.6 E:20379.2.1.3.2.3.1.7 E:20379.2.1.3.2.3.1.8 E:20379.2.1.3.2.3.1.9 E:20379.2.1.3.2.3.1.10 E:20379.2.1.3.2.3.1.11 E:20379.2.1.3.2.3.1.12 E:20379.2.1.3.2.3.1.13 E:20379.2.1.3.2.3.1.14 E:20379.2.1.3.2.3.1.15 E:20379.2.1.3.2.3.1.16 E:20379.2.1.3.2.3.1.17 E:20379.2.1.3.2.3.1.18 } } 13:03:05.757430 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto
UDP
(17), length 499) localhost.snmp > localhost.35686: [bad udp cksum
20d2!]
{ SNMPv2c { GetResponse(452) R=1804289386 E:20379.2.1.3.2.3.1.2=1 E:20379.2.1.3.2.3.1.3="proxy0" E:20379.2.1.3.2.3.1.4=192.168.1.1 E:20379.2.1.3.2.3.1.5=1 E:20379.2.1.3.2.3.1.6="guest" E:20379.2.1.3.2.3.1.7="guest" E:20379.2.1.3.2.3.1.8="guest" E:20379.2.1.3.2.3.1.9=1 E:20379.2.1.3.2.3.1.10="sipnet.ru" E:20379.2.1.3.2.3.1.11=212.53.40.40 E:20379.2.1.3.2.3.1.12="1212" E:20379.2.1.3.2.3.1.13=180 E:20379.2.1.3.2.3.1.14="localdomain" E:20379.2.1.3.2.3.1.15="remotedomain" E:20379.2.1.3.2.3.1.16="1212" E:20379.2.1.3.2.3.1.17=213.24.20.202 E:20379.2.1.3.2.3.1.18=1 } }
The getnext processing of the agent seems to be broken. The request asks for the next of { 20379.2.1.3.2.3.1.2, ... } and you return the same OIDs, namely { 20379.2.1.3.2.3.1.2, ... } and that violates the specifications and scli likely drops the bogus response and indicates that the table is empty.
/js
-- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany Fax: +49 421 200 3103 http://www.jacobs-university.de/
Hello again. I've fixed my agent. But scli still thinks the table is empty. Tcp dump follows: 17:32:46.323955 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 420) localhost.52925 > localhost.snmp: [bad udp cksum aaaf!] { SNMPv2c { GetNextRequest(373) R=1804289413 E:20379.2.1.3.2.3.1.2 E:20379.2.1.3.2.3.1.3 E:20379.2.1.3.2.3.1.4 E:20379.2.1.3.2.3.1.5 E:20379.2.1.3.2.3.1.6 E:20379.2.1.3.2.3.1.7 E:20379.2.1.3.2.3.1.8 E:20379.2.1.3.2.3.1.9 E:20379.2.1.3.2.3.1.10 E:20379.2.1.3.2.3.1.11 E:20379.2.1.3.2.3.1.12 E:20379.2.1.3.2.3.1.13 E:20379.2.1.3.2.3.1.14 E:20379.2.1.3.2.3.1.15 E:20379.2.1.3.2.3.1.16 E:20379.2.1.3.2.3.1.17 E:20379.2.1.3.2.3.1.18 } } 17:32:46.325952 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 471) localhost.snmp > localhost.52925: [bad udp cksum 7863!] { SNMPv2c { GetResponse(424) R=1804289413 E:20379.2.1.3.2.3.2.2=1 E:20379.2.1.3.2.3.2.3="proxy1" E:20379.2.1.3.2.3.2.4=192.168.1.2 E:20379.2.1.3.2.3.2.5=1 E:20379.2.1.3.2.3.2.6="gg" E:20379.2.1.3.2.3.2.7="gg" E:20379.2.1.3.2.3.2.8="gg" E:20379.2.1.3.2.3.2.9=1 E:20379.2.1.3.2.3.2.10="ya.ru" E:20379.2.1.3.2.3.2.11=213.24.20.202 E:20379.2.1.3.2.3.2.12="1313" E:20379.2.1.3.2.3.2.13=360 E:20379.2.1.3.2.3.2.14="ldom" E:20379.2.1.3.2.3.2.15="rdom" E:20379.2.1.3.2.3.2.16="1313" E:20379.2.1.3.2.3.2.17=213.24.20.202 E:20379.2.1.3.2.3.2.18=1 } }