#23685 [Opn]: fake values returned when OID value is an empty string
| From: | s dot zagrodzki at net dot icm dot edu dot pl | Date: | Mon, 14 Jul 2003 08:38:00 +0000 |
| Subject: | #23685 [Opn]: fake values returned when OID value is an empty string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-43936@lists.php.net to get a copy of this message | ||
ID: 23685
User updated by: s dot zagrodzki at net dot icm dot edu dot pl
Reported By: s dot zagrodzki at net dot icm dot edu dot pl
Status: Open
Bug Type: SNMP related
Operating System: Linux 2.2
PHP Version: 4.3.2RC4-dev
New Comment:
I tried using snmp module from 20030714 snapshot - didn't help.
Previous Comments:
------------------------------------------------------------------------
[2003-07-14 02:35:43] s dot zagrodzki at net dot icm dot edu dot pl
this is a part of tcpdump of snmpwalk query:
...
GetResponse(50) .1.3.6.1.2.1.31.1.1.1.18.3="lacze do Obs. Astr."
GetNextRequest(31) .1.3.6.1.2.1.31.1.1.1.18.3
GetResponse(31) .1.3.6.1.2.1.31.1.1.1.18.4=""
GetNextRequest(31) .1.3.6.1.2.1.31.1.1.1.18.4
GetResponse(59) .1.3.6.1.2.1.31.1.1.1.18.5=": lacze do Wydz.
Zarzadzania"
...
as you can see, snmp agent returns empty value, response length is also
correct. And snmpwalk utility also gives
correct results.
------------------------------------------------------------------------
[2003-07-13 14:49:20] harrie@php.net
I tried this with other variables (I do not have an
SNMP agent implementing the ifXTable) and cannot
reproduce it.
Therefore I am thinking that it maybe the SNMP agent
which returns these values and as a result they
show up in PHP. Could you confirm that this is not a
problem with the SNMP agent/router.
------------------------------------------------------------------------
[2003-07-13 00:11:43] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Some changes have been made lately.
------------------------------------------------------------------------
[2003-05-19 04:30:19] s dot zagrodzki at net dot icm dot edu dot pl
I've copied ext/snmp directory from this snapshot into my php source
tree (when I tried to compile the snap as it is, it complained about
too old db3 library). It didn't help.
------------------------------------------------------------------------
[2003-05-18 16:57:47] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/23685
--
Edit this bug report at http://bugs.php.net/?id=23685&edit=1