开源软件名称:DJabberd
开源软件地址:https://gitee.com/mirrors/DJabberd
开源软件介绍:
This is the README file for DJabberd, a scalable, extensible Jabber/XMPP server. Please refer to 'perldoc DJabberd' after installation for details. DescriptionDJabberd was the answer to LiveJournal's Jabber (XMPP) server needs.We needed: - good performance for tons of connected users
- ability to scale to multiple nodes
- ability to hook into LiveJournal at all places, not just auth
Basically we wanted the swiss army knife of Jabber servers (thinkqpsmtpd or mod_perl), but none existed in any language. While somepopular Jabber servers let us do pluggable auth, none let us get ourhands into roster storage, vcards, avatars, presence, etc. So we made DJabberd. It's a Jabber server where almost everythingdefers to hooks to be implemented by plugins. It does the core specitself (including SSL, StartTLS, server-to-server, etc), but it doesn'tcome with any way to do authentication or storage or rosters, etc.You'll need to go pick up a plugin to do those. You should be able to plop DJabberd into your existing systems / user-base with minimal pain. Just find a plugin that's close (if a perfectmatch doesn't already exist!) and tweak. InstallationDJabberd follows the standard perl module install process perl Makefile.PLmakemake testmake install The module uses no C or XS parts, so no c-compiler is required. DocumentationThe documentation for DJabberd is somewhat lacking. Although 'perldocDJabberd' will give you the basics, and pointers for hackers, the bestway to get started is by delving into a demo application. In the demo/ directory, you'll find a fully functional demo application,which consists of: - A running server
- 2 pre-configured clients
- An echo bot that is on all clients' roster
The demo application is heavily commented, and it's suggested you readthrough the source code & comments to understand how it works. Start by reading the demo/demo.conf file, and follow the classnamesfrom there. To start the server, type the following commands from the same directoryas this README: perl -Ilib -Idemo/lib djabberd --conffile demo/demo.conf You can now connect to it using the standard jabber ports on your localhost.Read the demo/demo.conf file for additional notes. For extra diagnostics from the server, you can increase the debuglevelby setting the following environment variable: In the examples/ directory there's an example djabberd.confconfiguration file and the 'sixatalk' program. 'sixatalk' is anexample djabberd based server integrating with an LDAP directory. |
请发表评论