I want to restrict the usage of my icq-transport to specific users so that not everyone all over the world can use my icq transport.
But how do i achive this?
I tried this:
{acl, icqpeople, {user, "sirsydom", "comefrom.de"}}.
% Jabber ICQ Transport
{5555, ejabberd_service, [{ip, {127, 0, 0, 1}},
{access, icqpeople},
{hosts, ["icq.comefrom.de"], [{password, "idonottell"}]}]}
But this didn't work, i could not mire connect to the ICQ Transport.
Whats wrong?
Another example
Try this:
This dont work for me.
This dont work for me. According documentation - ejabberd_service accept access rule for port connection on service, not username or something. So somebody know how Restrict ICQ Transport for special users?
Works....
This config work for me:
{acl, icqblock, {user, "user1", "jabber.bla.ru"}}.
{acl, icqblock, {user, "user2", "jabber.bla.ru"}}.
{access, icqtransport, [{deny, icqblock}, {allow, local}]}.
{5555, ejabberd_service, [{ip, {127, 0, 0, 1}},
{access, icqtransport}, {hosts, ["icq.jabber.bla.ru"] , [{password, "blabla123"}]}]}