This is the README file for DJabberd, a scalable, extensible Jabber/XMPP server.
Please refer to 'perldoc DJabberd' after installation for details.
DJabberd was the answer to LiveJournal's Jabber (XMPP) server needs. We needed:
Basically we wanted the swiss army knife of Jabber servers (think qpsmtpd or mod_perl), but none existed in any language. While some popular Jabber servers let us do pluggable auth, none let us get our hands into roster storage, vcards, avatars, presence, etc.
So we made DJabberd. It's a Jabber server where almost everything defers to hooks to be implemented by plugins. It does the core spec itself (including SSL, StartTLS, server-to-server, etc), but it doesn't come 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 perfect match doesn't already exist!) and tweak.
DJabberd follows the standard perl module install process
perl Makefile.PL make make test make install
The module uses no C or XS parts, so no c-compiler is required.
The documentation for DJabberd is somewhat lacking. Although 'perldoc DJabberd' will give you the basics, and pointers for hackers, the best way 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:
The demo application is heavily commented, and it's suggested you read through the source code & comments to understand how it works.
Start by reading the demo/demo.conf file, and follow the classnames from there.
To start the server, type the following commands from the same directory as 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 debuglevel by setting the following environment variable:
set LOGLEVEL=DEBUG
In the examples/ directory there's an example djabberd.conf configuration file and the 'sixatalk' program. 'sixatalk' is an example djabberd based server integrating with an LDAP directory.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型