On Thu, Jun 5, 2014 at 2:52 PM, Morgan Aldridge <[email protected]> wrote: > 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 (and > 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?
My apologies for the re-post, but it's been a while and I'm hoping somebody might have some suggestions (esp. on the latter part of routing all messages through another script or utility for rewriting). Thanks, -- Morgan --- http://makkintosshu.com/ http://seriesparts.com/ http://rikuwoiku.com/ http://unna.org/
