用于Common Lisp的SNMP
SNMP for Common Lisp
摘要:
简单网络管理协议(SNMP)是目前广泛使用的基于Internet的网络管理协议。在Lisp社区中,有一些大型的基于Lisp的应用程序可能需要监控,也有一些Lisper可能需要监控其他远程系统,这些系统可能是基于Lisp的,也可能不是。然而,在过去的20年里,Lisp和SNMP之间的关系还没有得到足够的研究。cl-net-snmp项目开发了一个新的Common Lisp包,它实现了SNMP协议。在客户端,它可以用来查询远程SNMP对等体,并在服务器端,它带来了SNMP的能力,基于Common Lisp的应用程序,可以从远程监控,通过任何基于SNMP的管理系统。同时也为网络管理和SNMP本身的研究提供了一个灵活的平台。但最重要的是,本项目试图证明:Common Lisp是最适合实现SNMP的语言。与其他基于Common Lisp的SNMP项目不同,cl-net-snmp明确针对完整的SNMP协议支持,包括SNMPv 3和服务器端工作(代理)。在开发过程中,还实现了一个通用的ASN.1编译器和运行时包,以及一个可移植的UDP网络包,这将有助于其他相关项目。本文首先介绍了SNMP协议和cl-net-snmp在客户端和服务器端的快速教程,然后介绍了Lisp本机设计和ASN.1和SNMP包的实现细节,特别是将SNMP MIB定义从ASN.1编译成Common Lisp的“代码生成“方法。
英文摘要:
Simple Network Management Protocol (SNMP) is widely used for management of Internet-based network today. In Lisp community, there're large Lisp-based applications which may need be monitored, and there're Lispers who may need to monitor other remote systems which are either Lisp-based or not. However, the relationship between Lisp and SNMP haven't been studied enough during past 20 years. The cl-net-snmp project has developed a new Common Lisp package which implemented the SNMP protocol. On client side, it can be used to query remote SNMP peers, and on server side, it brings SNMP capability into Common Lisp based applications, which could be monitored from remote through any SNMP-based management system. It's also a flexible platform for researches on network management and SNMP itself. But the most important, this project tries to prove: Common Lisp is the most fit language to implement SNMP. Different from other exist SNMP projects on Common Lisp, cl-net-snmp is clearly targeted on full SNMP protocol support include SNMPv3 and server-side work (agent). During the development, an general ASN.1 compiler and runtime package and an portable UDP networking package are also implemented, which would be useful for other related projects. In this paper, the author first introduces the SNMP protocol and a quick tutorial of cl-net-snmp on both client and server sides, and then the Lisp native design and the implementation details of the ASN.1 and SNMP package, especially the "code generation"' approach on compiling SNMP MIB definitions from ASN.1 into Common Lisp.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。