Difference between revisions of "Modules"

From AOLserver Wiki
Jump to navigation Jump to search
m (converted to sections, added categories)
(Undo revision 5721 by 3qdesigns123 (Talk))
 
(9 intermediate revisions by 6 users not shown)
Line 13: Line 13:
 
* [[nslog]] -- Common log format or extended common log format access logging.
 
* [[nslog]] -- Common log format or extended common log format access logging.
 
* [[nsperm]] -- Access control lists for groups/users, supports basic auth.
 
* [[nsperm]] -- Access control lists for groups/users, supports basic auth.
 +
* [[nsproxy]] -- Execute Tcl scripts in an external process
 
* [[nssock]] -- Standard [[socket driver]], used for HTTP requests.
 
* [[nssock]] -- Standard [[socket driver]], used for HTTP requests.
 
* [[nsssl]] -- SSL [[socket driver]], links against proprietary RSA BSAFE library (not supplied).
 
* [[nsssl]] -- SSL [[socket driver]], links against proprietary RSA BSAFE library (not supplied).
Line 20: Line 21:
 
AOLserver database drivers are either internal or external.  Internal drivers are shared libraries that are loaded in-process with the webserver -- they provide the best performance.  External drivers are shared libraries which are loaded by the AOLserver database proxy daemon [[nsext]], which communicates with the webserver process via sockets.  The advantage of running the database driver external to the webserver is that it isolates buggy, non-threadsafe database access libraries.  These days however this is largely unneccessary, and the external drivers are usually slower due to context switching overhead.
 
AOLserver database drivers are either internal or external.  Internal drivers are shared libraries that are loaded in-process with the webserver -- they provide the best performance.  External drivers are shared libraries which are loaded by the AOLserver database proxy daemon [[nsext]], which communicates with the webserver process via sockets.  The advantage of running the database driver external to the webserver is that it isolates buggy, non-threadsafe database access libraries.  These days however this is largely unneccessary, and the external drivers are usually slower due to context switching overhead.
  
 +
* [[nsfb]] -- Internal '''Firebird|Interbase''' driver.
 
* [[dqd_db2]] -- Internal '''IBM DB2''' driver (unmaintained).
 
* [[dqd_db2]] -- Internal '''IBM DB2''' driver (unmaintained).
 
* [[nsberkeleydb]] -- Internal '''BerkeleyDB''' driver.
 
* [[nsberkeleydb]] -- Internal '''BerkeleyDB''' driver.
Line 45: Line 47:
 
* [[nspam]] -- Interface to Pluggable Authentication Modules (PAM).
 
* [[nspam]] -- Interface to Pluggable Authentication Modules (PAM).
 
* [[nsdigest]] -- Access control lists for groups/users (like [[nsperm]]), supports digest authentication.
 
* [[nsdigest]] -- Access control lists for groups/users (like [[nsperm]]), supports digest authentication.
 +
* [[nsmhash]] -- Implementation of mhash library interface to hash, hmac and keygen algorithms (MD5,SHA1, ...). Available shared with nsv_*.
 +
* [[nsmcrypt]] -- Implementation of mcrypt library interface to crypt,decrypt algorithms (blowfish, des, ...). Available shared with nsv_*.
  
 
== Virtual Hosting ==
 
== Virtual Hosting ==
Line 91: Line 95:
 
* [[nsaspell]] -- Aspell Module [http://www.crystalballinc.com/vlad/software/]
 
* [[nsaspell]] -- Aspell Module [http://www.crystalballinc.com/vlad/software/]
 
* [[nsbinarysupport]] -- Write 8bit strings to connection without translation.
 
* [[nsbinarysupport]] -- Write 8bit strings to connection without translation.
* [[nscache]] -- Tcl interface to AOLserver's caching API
+
* [[nscache]] -- Tcl interface to AOLserver's caching API ([[ns_cache]] is builtin in AOLserver 4.5.1 or newer)
 
* [[nsclamav]] -- ClamAV Anti-Virus Interface Module [http://www.crystalballinc.com/vlad/software/]
 
* [[nsclamav]] -- ClamAV Anti-Virus Interface Module [http://www.crystalballinc.com/vlad/software/]
 +
* [[nsdci]] -- AOL's Digital City extensions (distributed cache, among other goodies) (http://code.google.com/p/nsdci/)
 
* [[nsdns]] -- DNS Server/Proxy Module [http://www.crystalballinc.com/vlad/software/]
 
* [[nsdns]] -- DNS Server/Proxy Module [http://www.crystalballinc.com/vlad/software/]
 
* [[nsdqe]] -- Collection of utilities including caching, page counter, virtual hosting etc.
 
* [[nsdqe]] -- Collection of utilities including caching, page counter, virtual hosting etc.
Line 114: Line 119:
 
* [[nssavi]] -- SOPHOS Anti-Virus Interface Module [http://www.crystalballinc.com/vlad/software/]
 
* [[nssavi]] -- SOPHOS Anti-Virus Interface Module [http://www.crystalballinc.com/vlad/software/]
 
* [[nssession]] -- Session Management
 
* [[nssession]] -- Session Management
 +
* [[nssession (C module)]] -- Sessions implemented as a C module
 
* [[nssnmp]] -- SNMP Module [http://www.crystalballinc.com/vlad/software/]
 
* [[nssnmp]] -- SNMP Module [http://www.crystalballinc.com/vlad/software/]
 
* [[nssys]] - Unix system calls, including chmod, ioctl, fsstat, syslog, signal
 
* [[nssys]] - Unix system calls, including chmod, ioctl, fsstat, syslog, signal
Line 135: Line 141:
  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
[[Category:Modules]
+
[[Category:Modules]]

Latest revision as of 18:58, 21 September 2010

See also: Toolkits and Languages

Jamie Rasmussen maintains a list of AOLserver modules tested against Windows[1]. (Not recently updated - JR)

Standard Modules

AOLserver ships with the following modules:

  • nscgi -- Standard CGI support for running external C programs, perl scripts etc.
  • nscp -- Admin/debug support via a telnet like interface into a running server.
  • nsdb -- The database interface, loads database specific drivers (below).
  • nsext -- Communicates with external database drivers via proxy daemon.
  • nslog -- Common log format or extended common log format access logging.
  • nsperm -- Access control lists for groups/users, supports basic auth.
  • nsproxy -- Execute Tcl scripts in an external process
  • nssock -- Standard socket driver, used for HTTP requests.
  • nsssl -- SSL socket driver, links against proprietary RSA BSAFE library (not supplied).

Database Drivers

AOLserver database drivers are either internal or external. Internal drivers are shared libraries that are loaded in-process with the webserver -- they provide the best performance. External drivers are shared libraries which are loaded by the AOLserver database proxy daemon nsext, which communicates with the webserver process via sockets. The advantage of running the database driver external to the webserver is that it isolates buggy, non-threadsafe database access libraries. These days however this is largely unneccessary, and the external drivers are usually slower due to context switching overhead.

  • nsfb -- Internal Firebird|Interbase driver.
  • dqd_db2 -- Internal IBM DB2 driver (unmaintained).
  • nsberkeleydb -- Internal BerkeleyDB driver.
  • nsfreetds -- Internal MS SQL Server/Sybase driver.
  • nsinformix -- Internal Informix driver.
  • nsingres -- Internal Ingres r3 driver.
  • nsibasepd -- External Interbase driver.
  • nsmysql -- Internal MySQL driver.
  • nsodbc -- Internal ODBC driver.
  • nsoracle -- Internal Oracle driver.
  • nspostgres -- Internal PostgreSQL driver.
  • nssolid -- Internal Solid driver.
  • nssqlite2 -- Internal SQLite v2 driver.
  • nssqlite3 -- Internal SQLite v3 driver.
  • nsunixodbc -- Internal ODBC driver which uses the unixODBC driver.

Encryption / Security

  • nsblowfish -- Encrypt Tcl strings with Blowfish cypher and hex encode.
  • nsencrypt -- Uses OpenSSL to encrypt using the AES, Blowfish, Cast5, IDEA and DES cyphers.
  • nsnss -- New SSL socket driver, links against Netscape's portable runtime (NSPR) and security services (NSS) libraries.
  • nsopenssl -- SSL socket driver links against OpenSSL, and also provides client connection capabilities.
  • nspasswd -- CRYPT, MD5, SMD5, SHA and SSHA hashing algorithms.
  • nssha1 -- AOLserver module to perform SHA1 hashes.
  • nspam -- Interface to Pluggable Authentication Modules (PAM).
  • nsdigest -- Access control lists for groups/users (like nsperm), supports digest authentication.
  • nsmhash -- Implementation of mhash library interface to hash, hmac and keygen algorithms (MD5,SHA1, ...). Available shared with nsv_*.
  • nsmcrypt -- Implementation of mcrypt library interface to crypt,decrypt algorithms (blowfish, des, ...). Available shared with nsv_*.

Virtual Hosting

AOLserver 2.x and 4.x have built-in support for software or name-based virtual hosting, but AOLserver 3.x does not. Hardware virtual hosting (each server on its own port or IP) is supported across all three versions.

Charting

  • nsgdchart -- Generate png/jpg charts using open source gd library.
  • nschartdir -- Generate charts using proprietary ChartDirector library.
  • nsgd -- Generate png,jpg,wbmp,gif,... images using open source gd library.
  • nsgraph --
  • i-no graphing module using gd library (defunct: [4])

XML

  • tDOM -- a Tcl extension which provides XML/XSLT functionality.
  • nsxml --
  • nsexpat -- Interface to Expat

Web Services

WebDAV

Miscellaneous

Additional Software

  • jk-voting -- Example DB based Voting Booth
  • Cache Tools, by Bas Scheffers -- I haven't worked with this or tested it in years, would like to hear from users!
  • Tcl AutoLoader for AOLServer by Hal Heisler [16]
  • AOLserver 3.x Remote Administration Modules [17]
  • HTTP Cookie Library [18]
  • Simple-Templating System [19]
  • nstest
  • William Webb has a list of some unmaintained AOLserver software he created which may still be useful to you.
  • AM.net[20] maintains a page of AOLserver resources which includes an ADP pareser module and a module which fetches web pages.