• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

DJabberd: DJabberd 是一个高性能、可伸缩、可扩展的 Jabber/XMPP 服务器框架 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

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.

Description

DJabberd 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.

Installation

DJabberd 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.

Documentation

The 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:

set LOGLEVEL=DEBUG

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.


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
XEngine_Apps: XEngine V7版本 使用代码例子发布时间:2022-03-25
下一篇:
Memocast: 又一个设计优良的为知笔记客户端发布时间:2022-03-25
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap