Commit graph

8 commits

Author SHA1 Message Date
martti
2c977134b9 Updated p5-Net-SNMP to 5.2.0
- Removed the dependency on the IO::Socket::INET and IO::Socket::INET6
  modules.  The IO::Socket module is now used for all socket objects.
- The port information can now be included as part of the transport
  address specified with the session() Transport Domain arguments.
- Added support for specifying the scope zone index for IPv6 addresses
  as described in RFC 4007 - "IPv6 Scoped Address Architecture".
- The default value for the agent-addr in SNMPv1 Trap-PDUs is now the
  IP address associated with the interface on which the trap will be
  transmitted.
- Support of the AES privacy protocol was updated to be compliant with
  RFC 3826 - "The Advanced Encryption Standard (AES) Cipher Algorithm
  in the SNMP User-based Security Model".
- Corrected an issue where any non-blocking SNMPv3 message queued prior
  to calling snmp_dispatcher() was sent with an empty contextEngineID.
- The first SNMPv3 discovery message is again being sent with a zero-
  length msgUserName as suggested by RFC 3414.
- All sockets are now flagged as non-blocking to prevent a possible
  deadlock due to an interaction between recv() and select().
- The sending of messages is now bounded by the receive processing rate
  to avoid receive buffer overflows.
- The return value of select() is now checked for both "undef" and -1.
- The "usm.t" tests are now skipped if any of the non-core modules
  required by the Net::SNMP::Security::USM module are not present.
2005-11-07 13:31:06 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +00:00
jschauma
1e8fb86e10 Update p5-Net-SNMP to 5.0.1
Changes since 4.1.2:
RELEASE 5.0.1 SEP-09-2004

- The module is now again functional with Perl 5.6.x.  Compensations
  were made for compatibility problems with the IO::Socket::INET and
  Math::BigInt modules packaged with Perl 5.6.x.
- The UDP/IPv6 and TCP/IPv6 Transport Domains are now functional when
  using version 2.0x of the IO::Socket::INET6 module.

RELEASE 5.0.0 JUL-20-2004

- Added support for the UDP/IPv6 Transport Domain listed in RFC 3419.
- Support for the TCP/IPv4 and TCP/IPv6 Transport Domains was added
  as described in RFC 3430 - "SNMP over TCP Transport Mapping".
- Optimizations were made to ASN.1 processing and preparation methods.
- Corrected a possible memory exhaustion error with OCTET STRINGs that
  contain "printf" format characters.
- The ASN.1 types associated with the ObjectSyntax values in the
  VarBindList can now be retrieved using the var_bind_types() method.
- The function snmp_type_ntop() was added for displaying ASN.1 types.
- The Net::SNMP::Dispatcher module now checks for select() errors.
- Passing the "-maxrepetitions" argument with a value of 1 or less
  to the get_table() or get_entries() methods instructs them to use
  get-next-request messages instead of get-bulk-request messages.
- The maximum allowed value for the maxMsgSize was reduced to 65535.
- The Perl modules for the non-default Transport Domains and Security
  Model are now loaded at runtime instead of compile time.
2005-01-14 15:25:25 +00:00
wiz
7888ccfadf Update to 4.1.2, inspired by Koji Kondo's update to 4.1.0 in PR 21782.
Changes:
RELEASE 4.1.2 SEP-11-2003

- Removed an unintended dependency on the Crypt::Rijndael that would cause
  SNMPv3 support to be unavailable and the "usm.t" tests to fail due to
  a "strict subs" error in Net::SNMP::Security::USM module.

RELEASE 4.1.1 SEP-09-2003

- Corrected a misinterpretation of the "The AES Cipher Algorithm in the
  SNMP's User-based Security Model" draft specification that lead to
  the incorrect encoding and decoding of the last block of the message.
- The syntax of the get_entries() method was changed to expect the column
  values to entered as full OBJECT IDENTIFIERs allowing the traversal of
  conceptual rows in different tables which are indexed identically.
- The processing of the serialization of an OBJECT IDENTIFIER was optimized.
- The oid_lex_sort() function was updated to order OBJECT IDENTIFIER strings
  padded with spaces as lexicographically greater than unpadded strings.
- An empty contextEngineId in a response message is now accepted during
  the SNMPv3 discovery process.
- Corrected an argument validation error with the get_bulk_request()
  method.

RELEASE 4.1.0 MAY-06-2003

- Working in conjunction with the Extended Security Options Consortium
  (http://www.snmp.com/eso), support for additional privacy protocols
  has been added to the SNMPv3 User-based Security Model.
  "Extension to the USM to Support Triple-DES EDE in 'Outside' CBC Mode"
  Reeder and Gudmunsson; October 1999, expired April 2000
  http://www.snmp.com/eso/draft-reeder-snmpv3-usm-3desede-00.txt
  "The AES Cipher Algorithm in the SNMP's User-based Security Model"
  Blumenthal, Maino, and McCloghrie; October 2002, expired April 2003
  http://www.snmp.com/eso/draft-blumenthal-aes-usm-04.txt
- A new method called get_entries() was added to allow the retrieval
  of columns of a table entry using get-next-requests or get-bulk-requests.
- The argument "-maxrepetitions" was added to the get_table() method.
- Responses to SNMPv3 messages with non-default contextEngineIDs or
  contextNames are now properly processed.
- The method var_bind_names() was added to retrieve an array of the
  ObjectNames in the VarBindList in the order in which they were
  received in the GetResponse-PDU.

RELEASE 4.0.3 SEP-09-2002

- Net::SNMP objects are now destroyed as expected when they are no
  longer referenced.  An internal reference to the object allocated by
  the Net::SNMP::Dispatcher module is now properly cleared.
- A socket with a file descriptor value of 0 is now accepted by the
  Net::SNMP module as a valid and open filehandle.
- Removed an "optimization" which was intended to provide a smoother
  initialization of the dispatcher but instead could lead to messages
  incorrectly timing out.

RELEASE 4.0.2 MAY-06-2002

- The SNMPv3 request message sent for time synchronization is now sent
  with the same securityLevel that is configured for the session.
- The "reserved" bits in the msgFlags field of an incoming SNMPv3
  message are now ignored as suggested by RFC 2572.
- When encrypting a SNMPv3 message, the padding byte(s) are now set to
  a value equal to the size of the padding.  "The actual pad value is
  irrelevant..." according RFC 2574 Section 8.1.1.2.  However, there
  are some agents that expect this byte pattern.
- Corrected a reference count mismatch which would leave a listening
  socket open if no response is received from the remote agent.
- Corrected a "deep recursion" error that occurred when using the
  get_table() method to retrieve large tables in blocking mode.
- Using the "-delay" argument with the get_table() method no longer
  incorrectly delays between message exchanges when retrieving the table.
- Optimizations and improvements were made to the Net::SNMP::Dispatcher
  event scheduling and handling procedures.
- The "translate unsigned" logic now correctly handles properly
  formatted (but unexpected) negative Counter64, Counter, Gauge, and
  TimeTick values.
2003-09-18 19:09:52 +00:00
mjl
a1b2d6720f Update p5-Net-SNMP to 4.0.1
- SNMPv3 objects using authentication now send a separate authenticated
  request message for time synchronization while performing discovery.
- Non-blocking SNMPv1/2c messages with a "-delay" argument which are
  queued before entering the event loop are no longer incorrectly
  discarded.
- The Net::SNMP::Security::Community::security_model() method now
  returns the correct value as reserved by RFC 2571.
- The first subidentifier in an OBJECT IDENTIFIER is now restricted to
  ccitt(0), iso(1), or joint-iso-ccitt(2) as specified by ISO/IEC 8825.

Fixes PR/15220 by Shell Hung (I really should get a function key
with that text!)
2002-01-18 22:50:16 +00:00
mjl
19cfbe30e8 Update to 4.0.0
- The module has been completely redesigned to add support for SNMPv3
    and to follow the SNMP Management Framework defined by RFC 2571.
  - Perl version 5.6.0 or greater is now required to use the module.
  - Updated the method calls to expect the same argument syntax regardless
    of whether they are invoked by "blocking" or "non-blocking" objects.
  - The non-core modules Crypt::DES, Digest::MD5, Digest::SHA1, and
    Digest::HMAC are now required to support SNMPv3.
  - Added the ability to specify the local address and port number used by
    each object.
  - Corrected an error in the Net::SNMP::FSM module that would cause all
    response messages to be dropped in "non-blocking" mode if there is
    a recv() error.
  - Updated the logic in the "blocking" response handling method such
    the transmit buffer is properly updated if there is a decode
    error while parsing the GetResponse-PDU.
  - Counter, Guages, and TimeTick values that are incorrectly encoded as
    negative signed integers are now converted to unsigned values.  This
    feature can be disabled by setting the "-unsigned" flag to false
    using the translate() method.
  - An empty community name is now allowed.
  - Updated the "non-blocking" example script.
2001-11-30 15:26:58 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00