[JDEV] Proposal for filters on incomming messages

Anders Qvist quest at netg.se
Wed Aug 11 04:59:20 CDT 1999

On Tue, 10 Aug 1999, Thomas D. Charron wrote:

> On Tue, 10 Aug 1999 12:02:56   Patrick McCuller wrote:
> >	I think a wonderful start! I have only one suggestion at this time:
> >circular denies with messages generated by the both filters could cause the
> >transport to fill up with spurious automatic messages.
> >	My suggested fix: implement a way to tag messages which are
> > automatically 
> > generated by filters such that they do not trigger new automatic
> > messages.
>   Simply have the <message type='error'> or something of the sort, and
> have the filters NOT block them when they come from 'system at somewhere'.. 

Yep. I thought of the issue, but didn't find a good solution inside the
context of filters. A message obviously have to be marked somehow to
notify it's already been through a filter. For example, a redirected
message obviously need to be reinserted in the message queue somehow, but
we don't want it to be subjected to new filters. Similarly we don't want
reject replies to be targeted by normal filters (though you could perhaps
have a way to filter those as well, given special filters).

The problem is, we don't want people to be able to send messages that
trick their way past filters by saying: 'I'm a rejection reply' or 'I'm an
error message.' Thus, we need Jabbertransport to protect us from this
somehow. Any thoughts? (I feel I will be writing a new mail on the subject
of verification and auditability shortly so you may want to save your
replies for that ;)

Anders "Quest" Qvist
NetGuide Scandinavia

-- Why suffer scarcity? Look for the Open Source and enter a world of plenty!

More information about the JDev mailing list