Jabber::Component::Proxy - A simple proxy for Jabber Components
use Jabber::Component::Proxy # Create proxy my $proxy = new Jabber::Component::Proxy( server => 'localhost:6789', identauth => 'conference.qmacro.dyndns.org', realcomp => 'conference.internal', rulefile => './access.xml', ); $proxy->start;
Jabber::Component::Proxy is a simple proxy mechanism that you can use to control access to your Jabber services. If you attach a component to your Jabber server, and give that component a 'real' resolvable FQDN, people on other Jabber servers can access that component.
This might be what you want. But what if you want to allow access to some people but not others? How can you control access on a domain name basis, for example? Currently component access is all or nothing:
- give a component a resolvable name and the world can use it - give a component an internal name and no one but those connected the same Jabber server as the component can use it
(This is assuming of course you're running an s2s service).
You can effect a sort of access control, for non-local users, using this module.
0.01 (early)
DJ Adams
Jabber::Connection
To install Jabber::Component::Proxy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jabber::Component::Proxy
CPAN shell
perl -MCPAN -e shell install Jabber::Component::Proxy
For more information on module installation, please visit the detailed CPAN module installation guide.