开发者

Ejabberd Issue - Anonymous user can send presence stanza to roster member

开发者 https://www.devze.com 2022-12-23 09:44 出处:网络
I was under the assumption that an anonymous user cannot send a presence stanza to a registered user without a 开发者_运维问答subscription. But using Ejabberd 2.1.2 this is happening.

I was under the assumption that an anonymous user cannot send a presence stanza to a registered user without a 开发者_运维问答subscription. But using Ejabberd 2.1.2 this is happening.

How can i stop anonymous users from sending presence stanzas to registered users?


The answer is to use mod_filter. See

http://www.ejabberd.im/node/3956#comment-55515

and

http://www.ejabberd.im/mod_filter

Example #4 specifically shows how to prevent anon users from sending presence to regular members.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号