Ilia Alshanetsky
e26531e7c3
MFH: Fixed possible overflow.
2004-02-03 14:44:17 +00:00
Ilia Alshanetsky
800b1765ae
MFH: Fixed formatting issues (patch by: Joe Orton)
2003-10-17 02:21:37 +00:00
Ilia Alshanetsky
08604e5d44
MFH: Fixed bug #25636 (SNMP Session not closed on success).
2003-09-23 18:26:10 +00:00
foobar
675a41bee2
MFH: - Fixed bug #25604 (HAVE_SNMP_PARSE_OID undefined with phpize build)
2003-09-23 08:16:47 +00:00
foobar
b21f1582dd
- Backported several improvements/cleanups for the build/configure stuff.
...
. PEAR dependancies checked during configure
. OpenSSL config moved from configure.in to ext/openssl/config0.m4
(and also improved the PHP_OPENSSL_SETUP macro a bit)
+ Some other minor issues
2003-08-27 17:57:32 +00:00
Zeev Suraski
6c7394101b
Remove 'proto' from internal functions
2003-08-07 16:44:11 +00:00
Harrie Hazewinkel
facd6c20c8
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"
(Bugfixing branch)
2003-07-25 07:32:39 +00:00
foobar
e9c4ca1b61
MFH
2003-07-16 06:04:01 +00:00
foobar
c0bc7b6c80
MFH: this is internal function -> static
2003-07-16 05:47:56 +00:00
foobar
41441e017a
MFH
2003-07-16 05:16:49 +00:00
foobar
ce527f42cd
Fix the credits (partial MFH)
2003-07-16 05:14:35 +00:00
foobar
edb801394b
MFH
2003-07-16 04:54:55 +00:00
Harrie Hazewinkel
ab2ea18cb5
Applying the contributed patch of Johan hanne.
...
The patch enables control on the way the values are returned
into the PHP script, instaed of always strings. Also the type
of the value is now returned when configured to do so.
This enables better management scripts to do more automatic
processing and value calculations.
2003-06-21 21:50:01 +00:00
foobar
1abd496ccf
fixed headers and cleaned up a bit
2003-02-21 10:42:01 +00:00
foobar
e2c593c928
Sanity check to prevent errors in other extensions tests.
2003-02-17 22:44:47 +00:00
foobar
8d5ade4cef
MFH: Fixed bug: #20857 , snmpset() fails
2003-01-24 09:53:16 +00:00
Sebastian Bergmann
ec46829b38
MFH: Bump year.
2002-12-31 16:37:36 +00:00
Edin Kadribasic
b2131fd973
Fix ZTS build.
2002-12-10 16:56:23 +00:00
Derick Rethans
6cf9a9015d
MFH:
...
- Renamed snmpv3_* to snmp3_*
- Conversion to php_error_docref
- Whitespace fixes
2002-12-05 19:33:43 +00:00
Harrie Hazewinkel
6a14b16e34
Adding a more detail print functions, that assist/make it easier for
...
creating SNMP scripts.
They are only supported when you have NET-SNMP.
Need to be documented still though.
2002-11-11 21:37:19 +00:00
Harrie Hazewinkel
957f651708
Adding SNMPv3 support.
...
This splits the old php_snmp function into an argument parsing part and
a data retrieval part. The data retrieval part is reused for SNMPv3.
SNMPv3 has only a different argument parsing.
THe code is not extremely beautiful, but having NET-SNMP and
UCD-SNMP support creates this. :-(
Documentation must still be done.
2002-11-11 21:09:19 +00:00
Harrie Hazewinkel
e1f884c4bc
Fixing the php_info function.
...
Print UCD-SNMP when UCD-SNMP is used.
Print NET-SNMP when NET-SNMP is used.
2002-11-11 18:45:50 +00:00
foobar
9870028d05
Fix this for Wez and his antique ucd-snmp
2002-10-17 06:39:55 +00:00
foobar
8aaa004980
ws fixes
2002-10-17 02:51:22 +00:00
foobar
16de7dd8a7
- Fixed memleak when connection fails.
...
- Fixed snmpget() to work with net-snmp
- Fixed the error messages to use the new style.
2002-10-16 02:33:47 +00:00
foobar
e99b3cdff2
Some more compatibility fixes for net-snmp vs ucd-snmp
2002-10-16 00:58:15 +00:00
foobar
3c863a6da1
- Fix the last commit..(thanks to Harrie Hazewinkel <harrie@lisanza.net>)
2002-10-16 00:29:56 +00:00
foobar
23706f18d6
Make this thing to compile with net-snmp-5.0.x
2002-10-15 00:43:34 +00:00
foobar
1fa263a4ec
This is not zval..
2002-10-14 02:46:52 +00:00
Anantha Kesari H Y
bbc162d164
NetWare related additions/modifications
2002-09-05 11:50:43 +00:00
foobar
3624b97ff1
Kill compile warning
2002-07-13 05:42:01 +00:00
Stefan Roehrich
506282af5c
WS change to make very old compilers/preprocessors (e.g. HP/UX 9)
...
happy (thanks to Andreas Ley for recognizing this).
2002-06-01 20:14:58 +00:00
Sterling Hughes
e15a3c42f3
remove stale 1
2002-05-11 17:41:16 +00:00
Sterling Hughes
2e72f8cc1f
WS Fixes (and similair stylistic changes)
2002-05-11 17:00:49 +00:00
Sascha Schumann
5cba3a99c2
extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
2002-03-12 16:44:00 +00:00
Yasuo Ohgaki
d5412f3952
Fix compiler warnings
2002-03-01 03:31:01 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Rasmus Lerdorf
8f1eb93e0a
Fix typo
2002-01-16 22:32:40 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +00:00
Stig Bakken
0130405168
fix bug #13479
2001-10-15 18:36:43 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
6cfba2a3ea
2nd phase in back-substitution those macro's
...
I've got pretty much everything now...
2001-09-25 22:49:04 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
foobar
e4df7dc7bf
if test -f /usr/local/lib/libexample.s?; then <-- no workie
...
if test -f /usr/local/lib/libexample.so; then <-- workie
#
# You can all point at me and laugh now.. :(
#
2001-09-07 00:24:06 +00:00
foobar
abeb4bd2e5
Cleaning. And made the check for SSL support in SNMP to really work.
2001-08-20 14:04:48 +00:00
Zeev Suraski
0116a7b911
Fix crashes in parse_parameters calls
...
HEADS UP: Make sure you supply TSRMLS_CC for this function!
I'll try to think of a way that'd allow us to find this issue using
the compiler.
2001-08-13 19:31:18 +00:00
Rasmus Lerdorf
4d11d90880
Track down a few more functions that don't check for 0 args and use
...
faster mechanism
2001-08-13 07:55:39 +00:00
Rasmus Lerdorf
8c497f05c4
We don't consistently check for args passed to functions that don't
...
take any args. In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks. There are still lots of cases out there.
2001-08-13 06:43:47 +00:00