pass - a Jabber component that implements the Proxy Accept Socket Service.
See http://core.jabber.org/pass.html for more info on PASS.
Comments? I can be reached (jabber or email) at rob@nauseum.org
Installation
- extract into your Jabber server directory.
- cd pass ; make all
- add the following to your jabber.xml:
./pass/pass.so
127.0.0.1
127.0.0.1
40000
49999
Local and remote IP are where the local and remote client should connect
to. This can be the same IP address, but it might be useful to make them
different if you were installing this on a firewall or proxy box.
port-low and port-high specify a range of ports which may be used to
listen on. If all the ports in this range are used, no new proxies can
be set up.
Known Issues
The PASS spec is not finalised (it is not even an official draft yet).
This does not implement (yet) everything that Jeremie's PASS document
specifies. In particular, the call has not been implemented, and
there no port is made available in the element sent to the
JID that initiated the proxy. (Can anyone help with this? How can I get
the remote port of a connection accepted via the MIO layer?)
There is no checking to ensure that only the initiator of the proxy
is who is actually connecting. This has the potential to be a security
hole.
There is no rate limiting, karma, access control or other advanced
features implemented.
Copyright and license
Copyright (C) 2001 Robert Norris
This component is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This component is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this component; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA