I've ported the dns package of the Tcl standard library to Cisco IOS. You can download it from my web site and install it on your router in just a few steps:
- Extract all the files from the ZIP archive and copy the Tcl files into a subdirectory on your router's flash (I would recommend you use flash:tcllib/dns).
- Configure the package initialization script with the scripting tcl init flash:tcllib/dns/pkgIndex.tcl global configuration command
router#tclsh
router(tcl)#package require dns
1.3.1
router(tcl)#

Hi, any plans on making UDP support available?
ReplyDeleteCan't do it, Tcl has no built-in UDP support and all Tcl UDP packages rely on an underlying native C library. Since you cannot write an executable library for IOS (yet?), there's nothing you can do.
ReplyDelete