summaryrefslogtreecommitdiff
path: root/ext/snmp/snmp.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #27661 (snmpget() does not close the socket in some cases).Ilia Alshanetsky2004-03-231-0/+1
|
* Fixed possible overflow.Ilia Alshanetsky2004-02-031-2/+2
|
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Make these build with new win32 build system.Wez Furlong2003-12-191-1/+5
|
* Fixed formatting issues (patch by: Joe Orton)Ilia Alshanetsky2003-10-171-3/+3
|
* Fixed bug #25636 (SNMP Session not closed on success).Ilia Alshanetsky2003-09-231-0/+1
| | | | | Patch by: nesslage[at]mwsc[dot]edu
* Remove 'proto' from internal functionsZeev Suraski2003-08-071-6/+6
|
* Bug 24760 fix, in which the port number when non-default is not handledHarrie Hazewinkel2003-07-241-2/+0
| | | | | | | | 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"
* - Added snmp_read_mib() which reads a MIB file into the active MIB tree.foobar2003-07-161-0/+27
|
* - Fixes some problems (debug mode only). (bug #23051 and bug #23685)foobar2003-07-161-1/+3
|
* Remove extra proto. (copy/paste error?)foobar2003-07-161-2/+0
|
* Fixed bug #22529 (object_id parameter in all snmp*() functions broken.)foobar2003-07-161-1/+1
|
* Adding an SNMP GETNEXT.Harrie Hazewinkel2003-07-141-23/+49
| | | | | | | | | | | | 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).
* (RE applying)Harrie Hazewinkel2003-07-141-6/+0
| | | | | | 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.
* (RE-)Applying the contributed patch of Johan Hanne to the main tree.Harrie Hazewinkel2003-07-141-8/+163
| | | | | | | | | | 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. (By default the values are returned as strings, as was before)
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* A add much more useful select(2) implementation than is provided byWez Furlong2003-02-161-1/+1
| | | | | | | | | | | | | windows sockets. The winsock implementation will only work with sockets; our implementation works with sockets and file descriptors. By association, stream_select() will now operate correctly with files, pipes and sockets. This change required linking against the winsock2 library. In terms of compatibility, only older versions of windows 95 do not have winsock2 installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user. Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.
* Fixed bug: #20857, snmpset() failsfoobar2003-01-241-6/+13
|
* ws fixesfoobar2003-01-241-24/+25
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* MFB: Fix ZTS build.Edin Kadribasic2002-12-101-10/+10
|
* - Renamed snmpv3_* to snmp3_*Derick Rethans2002-12-051-212/+183
| | | | | | - Conversion to php_error_docref - Whitespace fixes
* Adding a more detail print functions, that assist/make it easier forHarrie Hazewinkel2002-11-111-0/+38
| | | | | | | creating SNMP scripts. They are only supported when you have NET-SNMP. Need to be documented still though.
* Adding SNMPv3 support.Harrie Hazewinkel2002-11-111-95/+463
| | | | | | | | | | | 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.
* Fixing the php_info function.Harrie Hazewinkel2002-11-111-1/+5
| | | | | | Print UCD-SNMP when UCD-SNMP is used. Print NET-SNMP when NET-SNMP is used.
* Fix this for Wez and his antique ucd-snmpfoobar2002-10-171-0/+5
|
* ws fixesfoobar2002-10-171-20/+20
|
* - Fixed memleak when connection fails.foobar2002-10-161-16/+20
| | | | | | - Fixed snmpget() to work with net-snmp - Fixed the error messages to use the new style.
* Some more compatibility fixes for net-snmp vs ucd-snmpfoobar2002-10-161-2/+12
|
* - Fix the last commit..(thanks to Harrie Hazewinkel <harrie@lisanza.net>)foobar2002-10-161-3/+3
|
* Make this thing to compile with net-snmp-5.0.xfoobar2002-10-151-2/+22
|
* This is not zval..foobar2002-10-141-2/+2
|
* NetWare related additions/modificationsAnantha Kesari H Y2002-09-051-0/+14
|
* Kill compile warningfoobar2002-07-131-2/+0
|
* remove stale 1Sterling Hughes2002-05-111-1/+1
|
* WS Fixes (and similair stylistic changes)Sterling Hughes2002-05-111-11/+11
|
* Fix compiler warningsYasuo Ohgaki2002-03-011-3/+3
|
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* fix bug #13479Stig Bakken2001-10-151-0/+6
|
* * zend_module_entry change: apino, debug and zts are moved first,Stig Bakken2001-10-111-0/+2
| | | | | | see README.EXTENSIONS file for upgrade help. @Introduced extension version numbers (Stig)
* 2nd phase in back-substitution those macro'sJeroen van Wolffelaar2001-09-251-12/+12
| | | | | I've got pretty much everything now...
* Back-substitute for Z_* macro's. If it breaks some extension (the script ↵Jeroen van Wolffelaar2001-09-251-2/+2
| | | | isn't optimal, it parses for example var->zval.value incorrect) please let me know.
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* Fix crashes in parse_parameters callsZeev Suraski2001-08-131-1/+2
| | | | | | | 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.
* Track down a few more functions that don't check for 0 args and useRasmus Lerdorf2001-08-131-2/+4
| | | | | faster mechanism
* We don't consistently check for args passed to functions that don'tRasmus Lerdorf2001-08-131-6/+9
| | | | | | | | | 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.
* - TSRMLS_FETCH workZeev Suraski2001-08-051-6/+12
| | | | | - whitespace fixes
* Fix for bug #12081Rasmus Lerdorf2001-07-131-3/+11
| | | | | @ - Fix return value for a failed snmpset() - now returns false (Rasmus)
* Add port support to snmp functionsRasmus Lerdorf2001-07-131-2/+12
| | | | | | @ - Add hostname:port support to snmp functions @ (nbougues@axialys.net, Rasmus)