
                       WPJ
 	        jabber c2s modules

Author:  Lukas Karwacki <lukasm@wp-sa.pl>

WPJ needs sys_epoll to work !!!!
Please see README in ./epoll dir

=========================================================

WPJ features:

a) FAST
 - uses sys_epoll 
 - low memory consumption
 - designed to take heavy load of users
 
b) SAFE
 - can use SSL with defined SSL algorithms
 - WPJ can return to server unsent messages
 
c) functional
 - allows wpjabber to restart without disconnecting users
 - WPJ checks for disconnected users using special ping system
 - can listen SSL and normal connections on the same port
 - HTTP connections can be forwarded to specified host.

======================================================
TODO:
- make nicer code

======================================================
Supervice run file is:

LOG_FILE=/opt/wpj/log/autostart.log

sleep 1

DATA=`date`
echo "[$DATA] == Start WPJ ==" >> $LOG_FILE

ulimit -n 20000
ulimit -c unlimited

cd /opt/wpj
rm -f /opt/wpj/log/wpj.pid
exec /opt/wpj/bin/wpj -c /opt/wpj/etc/wpj.xml

-----------------------------------------------------

How can I configure ciphers ??

In cfg file in <ssl><ciphers> give ciphers string.
For example:
   <ciphers>HIGH</ciphers>
   
To test your STRING use in bash:
   openssl ciphers STRING 

Other STRINGs:
  <ciphers>SHA1+DES</ciphers>
or:  
  <ciphers>3DES</ciphers>
  
