Boris Lytochkin
6c5c04888d
Merge branch 'PHP-5.4' into PHP-5.5
...
* PHP-5.4:
fix bug #64124 (IPv6 malformed)
2013-02-07 14:49:45 +04:00
Boris Lytochkin
ed6763420c
fix bug #64124 (IPv6 malformed)
...
hostname returned from zend_parse_parameters() was modified in
netsnmp_session_init() that caused imput parameter modification along with
unpredictable changes when parameter is a constant sctring.
One typo in comment was fixed.
2013-02-07 14:48:28 +04:00
Johannes Schlüter
9c821ec7a1
Merge branch 'PHP-5.4' into PHP-5.5
2013-02-01 12:32:00 +01:00
Johannes Schlüter
b09f5a4f56
Fix typo in error message
2013-02-01 12:31:07 +01:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Boris Lytochkin
4c414c12a3
merge from trunk:
...
Fixed bug #60585 (php build fails with USE flag snmp when IPv6 support is disabled
Fixed bug #60749 (SNMP module should not strip non-standard SNMP port from hostname
2012-01-13 18:46:56 +00:00
Boris Lytochkin
583292ab22
Fixed bug #60585 (php build fails with USE flag snmp when IPv6 support is disabled)
...
Fixed bug #60749 (SNMP module should not strip non-standard SNMP port from hostname)
Fixed ipv6 test skipto if IPv6 support is disabled
2012-01-13 18:34:21 +00:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
f6408176f6
- Fix test
2011-09-10 13:02:00 +00:00
Felipe Pena
77a08e1601
- Fix test
2011-09-10 13:02:00 +00:00
Boris Lytochkin
bc3d5d668f
merge from trunk
...
added SNMPException class, enabling ability to throw exceptions
when a known SNMP error has occured
FR #55542
2011-09-02 10:13:30 +00:00
Boris Lytochkin
a183c17b07
remove extra white space
2011-09-02 10:07:01 +00:00
Boris Lytochkin
d077fc3211
added SNMPException class, enabling ability to throw exceptions
...
when a known SNMP error has occured
FR #55542
2011-09-02 10:04:19 +00:00
Boris Lytochkin
8c5fa2ba56
merge from trunk:
...
remove php_snmp_get_ce()
2011-09-02 08:09:23 +00:00
Boris Lytochkin
538d8a3f52
remove php_snmp_get_ce()
2011-09-02 08:07:58 +00:00
Boris Lytochkin
86b563ea0f
tune text align
2011-08-31 20:16:56 +00:00
Boris Lytochkin
2c5c7a2ef3
tune text align
2011-08-31 20:15:32 +00:00
Boris Lytochkin
d38cb4aa1e
test coverage for SNMP::ERRNO_MULTIPLE_SET_QUERIES
2011-08-31 19:45:45 +00:00
Boris Lytochkin
ce6b3f95f2
test coverage for SNMP::ERRNO_MULTIPLE_SET_QUERIES
2011-08-31 19:44:39 +00:00
Boris Lytochkin
3aa6f31abd
more tuning based on discussion in FR #40816 :
...
* parse all OIDs earlier, detect all wrong OIDs before any query
is made (GET-operations)
* introduce ERRNO_MULTIPLE_SET_QUERIES:
warn if request contains more OIDs than max_oids and SET operation
(and type&value checks) will be done in chunks.
fix set method when request contains more OIDs than max_oids (2nd and
subsequent chunk were ignored)
2011-08-31 08:36:22 +00:00
Boris Lytochkin
b448bb5e01
more tuning based on discussion in FR #40816 :
...
* parse all OIDs earlier, detect all wrong OIDs before any query
is made (GET-operations)
* introduce ERRNO_MULTIPLE_SET_QUERIES:
warn if request contains more OIDs than max_oids and SET operation
(and type&value checks) will be done in chunks.
fix set method when request contains more OIDs than max_oids (2nd and
subsequent chunk were ignored)
2011-08-31 08:28:13 +00:00
Boris Lytochkin
1c88dcf39f
merge from trunk:
...
set ERRNO_OID_PARSING_ERROR on OID parse error
2011-08-30 14:24:00 +00:00
Boris Lytochkin
d28ae7654d
merge from trunk:
...
export ERRNO_OID_PARSING_ERROR constant:
raise it evry time OID parsing has failed
2011-08-27 08:29:19 +00:00
Boris Lytochkin
5ab9e7b5db
export ERRNO_OID_PARSING_ERROR constant:
...
raise it evry time OID parsing has failed
2011-08-27 08:16:32 +00:00
Boris Lytochkin
4f1005035a
merge from trunk:
...
reformat OID parsing procedure,
fail whole SNMP query on single OID parsing failure
2011-08-27 07:33:27 +00:00
Boris Lytochkin
1464da9073
reformat OID parsing procedure,
...
fail whole SNMP query on single OID parsing failure
2011-08-27 07:24:44 +00:00
Boris Lytochkin
d7d90c403f
tune test's README more per FR #55474
2011-08-25 06:00:11 +00:00
Boris Lytochkin
fa09c70704
tune test's README more per FR #55474
2011-08-25 06:00:11 +00:00
Boris Lytochkin
1cd8b8c80b
apply docs fixes suggested in BR #55474
2011-08-23 19:15:58 +00:00
Boris Lytochkin
1aed8a8c1c
apply docs fixes suggested in BR #55474
2011-08-23 19:13:49 +00:00
Boris Lytochkin
cbcf729a30
merge from trunk two commits:
...
Adding IPv6 support (FR #42918 )
more code coverage
2011-08-20 16:10:48 +00:00
Boris Lytochkin
8c99efcdf0
Adding IPv6 support (FR #42918 )
2011-08-20 15:53:44 +00:00
Boris Lytochkin
e55522838e
more code coverage
2011-08-20 14:50:49 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Boris Lytochkin
1ed2f1cf5d
provide backwards compatibility for 'p' in zend_parse_parameters()
2011-07-23 07:40:40 +00:00
Boris Lytochkin
02bf16db03
s/noOIDIncreasingCheck/oid_increasing_check/
2011-07-21 12:48:47 +00:00
Boris Lytochkin
96c45c85ad
s/noOIDIncreasingCheck/oid_increasing_check/
2011-07-21 12:47:07 +00:00
Boris Lytochkin
85edf25143
new propery noOIDIncreasingCheck allowing to skip
...
OID increasing check (userful for bogus SNMP agents)
2011-07-17 19:47:24 +00:00
Boris Lytochkin
5c110b9a76
new propery noOIDIncreasingCheck allowing to skip
...
OID increasing check (userful for bogus SNMP agents)
2011-07-17 19:45:05 +00:00
Boris Lytochkin
e1d4676065
swap non_repeaters and max_repetitions in walk query, max_repetitions whould be used more frequently
2011-07-17 18:17:43 +00:00
Boris Lytochkin
06c20347ae
swap non_repeaters and max_repetitions in walk query, max_repetitions whould be used more frequently
2011-07-17 18:14:38 +00:00
Boris Lytochkin
a80c2ee19b
fix FR #54502 : allow user to change OID value output mode when SNMP_VALUE_OBJECT is used.
2011-07-17 17:27:00 +00:00
Boris Lytochkin
cf7724d5a3
fix FR #54502 : allow user to change OID value output mode when SNMP_VALUE_OBJECT is used.
2011-07-17 17:18:31 +00:00
Boris Lytochkin
cc1ccefc0d
backport r313324
2011-07-17 14:06:05 +00:00
Boris Lytochkin
281d0eade4
update ARG_INFO_EX for walk and get methods, fix comments
2011-07-17 13:57:28 +00:00
Boris Lytochkin
7a0bd8b967
remove PHP_VERSION_ID ifdef's, limiting to 5.4 branch
2011-06-12 12:26:51 +00:00
Boris Lytochkin
2b8026cfff
merging from trunk (r312088...r312092):
...
move SNMP VERSION constants into SNMP class itself
fix typo in comment
no more method open
fix method names in header
2011-06-12 12:10:01 +00:00