I'm being doing a lot of research this week, but haven't found a
solution yet. I'm running jabberd2 (currently v2.1.24.1, but planning
to upgrade to at least v2.2.17-399) and need to block or rewrite (to
mask) jabber messages containing credit card numbers and social
security numbers.

I was able to create a rule in router-filter.xml with
'what="message/body"', but logging isn't fixed until v2.2.6. And, even
then, I can only reject all message bodies, not those that contain
specific text due to the limitations in the only XPath-like (at
minimally so, at that) implementation.

Is there any way, without migrating to something like OpenFire or
another XMPP server (so with jabberd2), to filter or rewrite the
message body? Is there any way to route all messages through a script
or utility so I can write a filter?

Thanks,

-- 
Morgan
---
http://makkintosshu.com/
http://seriesparts.com/
http://rikuwoiku.com/
http://unna.org/


Reply via email to