SNMP (Simple Network Management Protocol) for Common Lisp, UDP Networking for LispWorks, ...
Be the first to post a text review of Common Lisp SNMP. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Hi, LispWorks Users I'm pleased to release the version 4.0 of LispWorks-UDP! I call it "a big step":) Major changes in this release: * Move all source code from COMM to "COMM+" package, which stop the hacking of COMM. All external symbols of COMM is also exported to new COMM+ package, the compatibility of LW's TCP facility didn't break, so just change your code to COMM+ will works. * UNIX Domain Socket support is added but only as a client. Server support is not finished yet. Both stream and datagram socket are supported, for stream socket, LW's COMM:SOCKET-STREAM can be used the same as TCP socket, for datagram, you can use SEND-MESSAGE and RECEIVE-MESSAGE the same as UDP socket in LispWorks-UDP. * WAIT-FOR-INPUT function from USOCKET project is ported into LispWorks-UDP. This function is quite useful for waiting the sockets which available of READ. With it, the SOCKET-RECEIVE-TIMEOUT may not needed to set. Note: currently only non-win32 platform is supported. TCP compatibility is not added. * Encapsulation datagram socket (both UDP and unix) into CLOS classes: INET-DATAGRAM, and UNIX-DATAGRAM, both of them are subclass of SOCKET-DATAGRAM, All interface function operates on instances of above classes instead of raw socket fd. This changes can be easier to add property or status slot for datagram sockets and make sure they're closed when being GCed. Incompatible API changes: * [API Change] SEND-MESSAGE and RECEIVE-MESSAGE's optional arguments become keyword arguments * [API Change] RECEIVE-MESSAGE's 3rd return value (remote-address) is a 32bit integer now, If you want to string-like IPv4 address, call COMM:IP-ADDRESS-STRING yourself. * [API Change] SET-SOCKET-RECEIVE-TIMEOUT and GET-SOCKET-RECEIVE-TIMEOUT change name to SOCKET-RECEIVE-TIMEOUT and (SETF SOCKET-RECEIVE-TIMEOUT) For sample usage, see TEST.LISP in source code. For full API documentation, see README in source code. (The LispWorks-UDP 3.x is still maintained but 2.x and 1.x will not be maintained ever.) The new LispWorks-UDP project page is here: (contains download links) http://common-lisp.net/project/cl-net-snmp/lispworks.html
Major changes in this release: * Move all source code from COMM to "COMM+" package, which stop the hacking of COMM. All external symbols of COMM is also exported to new COMM+ package, the compatibility of LW's TCP facility didn't break, so just change your code to COMM+ will works. * UNIX Domain Socket support is added but only as a client. Server support is not finished yet. Both stream and datagram socket are supported, for stream socket, LW's COMM:SOCKET-STREAM can be used the same as TCP socket, for datagram, you can use SEND-MESSAGE and RECEIVE-MESSAGE the same as UDP socket in LispWorks-UDP. * WAIT-FOR-INPUT function from USOCKET project is ported into LispWorks-UDP. This function is quite useful for waiting the sockets which available of READ. With it, the SOCKET-RECEIVE-TIMEOUT may not needed to set. * Encapsulation datagram socket (both UDP and unix) into CLOS classes: INET-DATAGRAM, and UNIX-DATAGRAM, both of them are subclass of SOCKET-DATAGRAM, All interface function operates on instances of above classes instead of raw socket fd. This changes can be easier to add property or status slot for datagram sockets and make sure they're closed when being GCed. Incompatible API changes: * [API Change] SEND-MESSAGE and RECEIVE-MESSAGE's optional arguments become keyword arguments * [API Change] RECEIVE-MESSAGE's 3rd return value (remote-address) is a 32bit integer now, If you want to string-like IPv4 address, call COMM:IP-ADDRESS-STRING yourself. * [API Change] SET-SOCKET-RECEIVE-TIMEOUT and GET-SOCKET-RECEIVE-TIMEOUT change name to SOCKET-RECEIVE-TIMEOUT and (SETF SOCKET-RECEIVE-TIMEOUT)
* SNMP 5.17 ~ 5.19: 5.17: SNMP-GET on single OBJECT-ID instance works now, missing method added. 5.18: New SMI design, SNMP special variables such as NoSuchObject and EndOfMibView changed from keyword symbol to instances of SMI class. 5.19: [SNMPv3] GENERATE-KU use the non-stream version to support more CL include SCL which doesn't support Gray Streams. * SNMP-SERVER 3.6 ~ 3.11: 3.6: bugfix: Cancel use of read-macros on some MIB variables such as "lispMachineInstance" and "lispMachineVersion", which should be calculated at runtime but compile-time. 3.7: (server-side fix after SNMP 5.18) 3.8: Fix for SCL, SNMP thread will exit automatically when (QUIT) called, or SCL process will hang forever. This need USOCKET-UDP newer than 2.4 3.9: [MIB] new SCL-MIB added, it's been defined at: iso.org.dod.internet.private. enterprises.lisp.common-lisp.scl (.1.3.6.1.4.1.31609.1.10) 3.10: REGISTER-VARIABLE enhancements and export this symbol to user. 3.11: (PROCESS-OBJECT-ID (OBJECT-ID (EQL :GET))) Fix, formerly variables such as "laLoad.1" cannot be processed correctly to reply a (SMI :NO-SUCH-OBJECT)
* SNMP 5.17 ~ 5.19: 5.17: SNMP-GET on single OBJECT-ID instance works now, missing method added. 5.18: New SMI design, SNMP special variables such as NoSuchObject and EndOfMibView changed from keyword symbol to instances of SMI class. 5.19: [SNMPv3] GENERATE-KU use the non-stream version to support more CL include SCL which doesn't support Gray Streams. * SNMP-SERVER 3.6 ~ 3.11: 3.6: bugfix: Cancel use of read-macros on some MIB variables such as "lispMachineInstance" and "lispMachineVersion", which should be calculated at runtime but compile-time. 3.7: (server-side fix after SNMP 5.18) 3.8: Fix for SCL, SNMP thread will exit automatically when (QUIT) called, or SCL process will hang forever. This need USOCKET-UDP newer than 2.4 3.9: [MIB] new SCL-MIB added, it's been defined at: iso.org.dod.internet.private. enterprises.lisp.common-lisp.scl (.1.3.6.1.4.1.31609.1.10) 3.10: REGISTER-VARIABLE enhancements and export this symbol to user. 3.11: (PROCESS-OBJECT-ID (OBJECT-ID (EQL :GET))) Fix, formerly variables such as "laLoad.1" cannot be processed correctly to reply a (SMI :NO-SUCH-OBJECT)
USOCKET-UDP 2.4: 2.4: Fix for SCL, SOCKET-SERVER thread will exit automatically after (QUIT) be called in SCL. We start to look at THREAD:*QUITTING-LISP* in server loop.
* ASN.1 4.13 ~ 4.14: 4.13: Fix BER decode on SEQUENCE contains unknown ASN.1 data (RAW), export ASN.1-TYPE and GENERAL-TYPE which used by SNMP 5.18 4.14: Add a fallback BER-EQUAL to fix SNMP-WALK bug after SNMP 5.18, export VALUE-OF which used to access slot of GENERAL-TYPE.
Common Lisp SNMP (cl-net-snmp) 5.19 New packages in this release: * snmp 5.19 (snmp-server 3.11) * asn.1 4.14 * usocket-udp 2.4 [Support Platforms] * CMUCL (version >= 2008-08 snapshot) * SBCL * Clozure CL * LispWorks (plus ASN.1 compiler and GUI tools) * Allegro CL * Scieneer CL (need a udp patch) [Download] * http://sourceforge.net/project/showfiles.php?group_id=209101 * (ASDF-INSTALL:INSTALL :SNMP) [SVN Repository] https://cl-net-snmp.svn.sourceforge.net/svnroot/cl-net-snmp [ChangeLog] * SNMP 5.17 ~ 5.19: 5.17: SNMP-GET on single OBJECT-ID instance works now, missing method added. 5.18: New SMI design, SNMP special variables such as NoSuchObject and EndOfMibView changed from keyword symbol to instances of SMI class. 5.19: [SNMPv3] GENERATE-KU use the non-stream version to support more CL include SCL which doesn't support Gray Streams. * SNMP-SERVER 3.6 ~ 3.11: 3.6: bugfix: Cancel use of read-macros on some MIB variables such as "lispMachineInstance" and "lispMachineVersion", which should be calculated at runtime but compile-time. 3.7: (server-side fix after SNMP 5.18) 3.8: Fix for SCL, SNMP thread will exit automatically when (QUIT) called, or SCL process will hang forever. This need USOCKET-UDP newer than 2.4 3.9: [MIB] new SCL-MIB added, it's been defined at: iso.org.dod.internet.private. enterprises.lisp.common-lisp.scl (.1.3.6.1.4.1.31609.1.10) 3.10: REGISTER-VARIABLE enhancements and export this symbol to user. 3.11: (PROCESS-OBJECT-ID (OBJECT-ID (EQL :GET))) Fix, formerly variables such as "laLoad.1" cannot be processed correctly to reply a (SMI :NO-SUCH-OBJECT) * ASN.1 4.13 ~ 4.14: 4.13: Fix BER decode on SEQUENCE contains unknown ASN.1 data (RAW), export ASN.1-TYPE and GENERAL-TYPE which used by SNMP 5.18 4.14: Add a fallback BER-EQUAL to fix SNMP-WALK bug after SNMP 5.18, export VALUE-OF which used to access slot of GENERAL-TYPE. * USOCKET-UDP 2.4: 2.4: Fix for SCL, SOCKET-SERVER thread will exit automatically after (QUIT) be called in SCL. We start to look at THREAD:*QUITTING-LISP* in server loop.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?