Commit Graph

128 Commits

Author SHA1 Message Date
Stanislav Malyshev
60cbce382b fix parameter parsing for SNMP 2009-08-17 22:15:18 +00:00
Ilia Alshanetsky
5904ee8f8e MFB: Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values). 2009-06-01 13:11:09 +00:00
Ilia Alshanetsky
a1df5c8cb3 MFB: Fixed bug #48359 (Script hangs on snmprealwalk if OID is not
increasing)
2009-05-31 14:11:14 +00:00
Jani Taskinen
abda62eace - Revert bad patch (which caused bug #48133) 2009-05-02 21:13:39 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Alexey Zakhlestin
22693d1c46 MFB: Fixed bug #45405 (snmp extension memory leak) 2008-09-06 07:58:09 +00:00
Felipe Pena
6638c4c7b7 - New parameter parsing API 2008-08-13 14:05:55 +00:00
Felipe Pena
97695562da - MFB: Added arginfo 2008-07-01 19:14:28 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Jani Taskinen
708320ce6e - Use the defined values instead of plain integers here 2007-07-09 13:41:45 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
foobar
0d16411077 - Fixed bug #37164 (snmp_set_oid_numeric_print() misbehaves)
. Renamed the function to snmp_set_oid_output_format() which describes
    it's behaviour better. Old one was left as an alias for it.
  . Added 2 new constants: SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC
- Fixed some memleaks
# Included some ws fixes to annoy Derick. :)
2006-07-27 05:12:33 +00:00
foobar
87182b1071 - Fixed bug #37564 (AES privacy encryption not possible due to net-snmp 5.2 compatibility issue) 2006-07-26 23:56:09 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
924b4c016d ws 2005-05-10 12:19:33 +00:00
foobar
760b955dd1 MFB: - Fixed bug #32613 (ext/snmp: use of snmp_shutdown() causes snmpapp.conf
access errors). (Jani, ric at arizona dot edu)
2005-05-10 12:17:01 +00:00
foobar
56b3cac365 Better use zval_ptr_dtor() instead (thanks Andi) 2005-04-27 23:27:37 +00:00
foobar
0eb271add6 - Fix memleak 2005-04-23 21:15:24 +00:00
foobar
82819f3061 - Use correct type (bug #32720) 2005-04-15 22:06:03 +00:00
Harrie Hazewinkel
e9224d0bd1 Converting the usage of the integer based internal commands into
MACROS to ease future extensions.
2005-04-11 14:59:42 +00:00
Harrie Hazewinkel
452b4cdba1 Adding support for a getbulk oriented walk.
The getbulk can only be used for SNMPv2c and SNMPv3.
2005-04-11 14:56:44 +00:00
Harrie Hazewinkel
e6ae6fc62d Adding SNMPv2 community based (i.e. protocol version) functions. 2005-03-16 14:29:40 +00:00
foobar
f485fc1a83 Missed one place.. 2005-02-12 18:29:42 +00:00
foobar
751712628a This was not good idea. 2005-02-12 18:27:22 +00:00
foobar
9ea10c5cec - Fix some memory leaks 2005-01-08 12:02:22 +00:00
Ilia Alshanetsky
d0cbaa911f Fixed bug #30995 (snmp extension does not build with net-snmp 5.2). 2004-12-07 00:33:24 +00:00
Anantha Kesari H Y
e510e26aa6 removed unwanted NEW_LIBC checks and comments 2004-09-27 14:19:07 +00:00
Ilia Alshanetsky
0bdfab022a Fixed bug #27661 (snmpget() does not close the socket in some cases). 2004-03-23 23:12:50 +00:00
Ilia Alshanetsky
6dca37c50c Fixed possible overflow. 2004-02-03 03:10:28 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Wez Furlong
51c342efae Make these build with new win32 build system. 2003-12-19 17:00:14 +00:00
Ilia Alshanetsky
4c4d5a02b9 Fixed formatting issues (patch by: Joe Orton) 2003-10-17 02:21:27 +00:00
Ilia Alshanetsky
b9823393ea Fixed bug #25636 (SNMP Session not closed on success).
Patch by: nesslage[at]mwsc[dot]edu
2003-09-23 18:26:02 +00:00
Zeev Suraski
9db05a36a5 Remove 'proto' from internal functions 2003-08-07 16:46:11 +00:00
Harrie Hazewinkel
4d2229d6a3 Bug 24760 fix, in which the port number when non-default is not handled
correctly and ends up as the default port. This seems to be caused by
some buffer overflow where the port number is assign zero, even though
it it is not assigned to the port variable.
FIx was reported and a fix proposed by "chuck+php at 2003 dot snew dot com"
2003-07-24 21:48:55 +00:00
foobar
704a7e5653 - Added snmp_read_mib() which reads a MIB file into the active MIB tree. 2003-07-16 09:28:47 +00:00
foobar
82701d48c2 - Fixes some problems (debug mode only). (bug #23051 and bug #23685) 2003-07-16 06:03:46 +00:00
foobar
9887afad9c Remove extra proto. (copy/paste error?) 2003-07-16 05:10:29 +00:00
foobar
6676e6f2e9 Fixed bug #22529 (object_id parameter in all snmp*() functions broken.) 2003-07-16 04:54:40 +00:00
Harrie Hazewinkel
a8d156177f Adding an SNMP GETNEXT.
This is a basic SNMP operation that retrieves the next value as the
one provided to the command.
NOTE: snmpgetnext does not follow the official naming convetions of
functions, but now it is equal to it version 1 equivalents snmpget
and snmpset.
I also would like to reserve the snmp_getnext for a function to
which a session can be given instead of the multiple values to
create the session internally. (Work in progress).
2003-07-14 18:10:22 +00:00
Harrie Hazewinkel
fa910bd2b0 (RE applying)
Cleaning up some very old definitions of version 3.3.1 until 3.5.3.
Those versions are that old that people better upgrade the SNMP libraries.
2003-07-14 17:34:56 +00:00