[jdev] Re: Do jabber have a protocol about how to filtersomeuselessmessage? What is the JEP name?

Tang Yongbo yongbo.tang at utstar.com
Mon Jun 19 21:20:51 CDT 2006


Thank Gato.  I got the key that there is no such JEP. 

  

I think contentFilter  is significant. If there is a content Filter or function filter,the users will be so convenient that they could redefine the Jabber to their style and  cut down exchanged packets to extend the  application of the jabber to other fields which is restricted by low-speed and narrow band network such as wireless LAN or mobile net.; while the developers may find it is a new way to debug code :-). 

A JEP of filter may be necessary. 

 

What is your opinion?

 

________________________________

From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of Gaston Dombiak
Sent: Monday, June 19, 2006 22:29
To: jdev at jabber.org
Subject: [jdev] Re: Do jabber have a protocol about how to filtersomeuselessmessage? What is the JEP name?

 

Hey Tang,

 

If you are using Wildfire then you can use the contentFilter plugin: http://www.jivesoftware.org/wildfire/plugins.jsp. Out of the box the plugin can filter messages and presences. If you need to filter IQ packets you can either modify the plugin or just copy the idea and build a new one. You can read the Plugin Development Guide: http://www.jivesoftware.org/builds/wildfire/docs/latest/documentation/plugin-dev-guide.html to learn how easy you can build plugins.

 

Anyway, this plugin is not following any JEP. Moreover, I don't remember seeing any JEP about content filtering.

 

Regards,

 

  -- Gato

	"Tang Yongbo" <yongbo.tang at utstar.com> wrote in message news:FED48428A0F60B4B8A513003E055F41801A34F59 at CNMAIL11.cn.utstarcom.com...

	Thanks Remko and Michal "vorner" Vaner。

	But my question is not just blocking somebody's message. I want to make a filter rule, and apply it to the server to block anything as I like, including the IQ/message/presence package. 

	For example, If Server receives something as followed and I have made a rule to filter the elements marked in blue before, the client will get the xml package as followed. 

	Is there a JEP define the protocol? 

	 

	Server received:

	<iq type='result'
	    from='balconyscene at plays.shakespeare.lit'
	    to='juliet at capulet.com/balcony'
	    id='info3'>
	  <query xmlns='http://jabber.org/protocol/disco#info'>
	    <identity
	        category='conference'
	        type='text'
	        name='Romeo and Juliet, Act II, Scene II'/>
	    <feature var='http://jabber.org/protocol/disco#info'/>
	    <feature var='http://jabber.org/protocol/muc'/>
	  </query>

	</iq>

	 

	Client received:

	<iq type='result'

	    from='balconyscene at plays.shakespeare.lit'
	    to='juliet at capulet.com/balcony'
	    id='info3'>
	  <query xmlns='http://jabber.org/protocol/disco#info'>
	    <identity
	        category='conference'
	        type='text'
	        name='Romeo and Juliet, Act II, Scene II'/>
	    <feature var='http://jabber.org/protocol/muc'/>
	  </query>

	</iq>

	 

	 

	 

	-----Original Message-----
	From: jdev-bounces at jabber.org [mailto:jdev-bounces at jabber.org] On Behalf Of Michal vorner Vaner
	Sent: Monday, June 19, 2006 15:05
	To: Jabber software development list
	Subject: Re: [jdev] Do jabber have a protocol about how to filter some uselessmessage? What is the JEP name?

	 

	On Mon, Jun 19, 2006 at 02:53:38PM +0800, Tang Yongbo wrote:

	>    Do anyone know the JEP which defines the protocol about how to filter some

	>    message (e.g.  I wish to pull some guy to the blacklist and never get his

	>    message forever)?

	 

	XMPP-IM, section about privacy lists.

	 

	-- 

	 

	There are two types of optimizations. The ones which make the program 

	slower and the ones which make the user red by missing features.

	 

	Michal "vorner" Vaner

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20060620/c8e9ddd8/attachment-0002.htm>


More information about the JDev mailing list