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

                README for TCOS Standalone mode

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


1.- Security

  If you activate standalone mode you will expose 8998 port
  to anybody, if your network is untrusted please block all uncomming
  connections to these ports, (with iptables for example)

  For example if your server (when tcosmonitor gui runs) is 192.168.0.254:

   iptables -A INPUT -p tcp -s 192.168.0.254 --destination-port 8998 --syn -j ACCEPT
   iptables -A INPUT -p tcp -s 0/0 -d 0/0 --destination-port 8998 --syn -j DROP

 You can add this rules to your firewall or put into /etc/rc.local

2.- Configure user and password

  It's posible to work with standard *nix auth but for better security it's
  recomended to use a standalone autentication.

  In standalone host make this:

  # update-tcospasswd

    Arquitecture to update password:

     * TCOS
     * STANDALONE
              : STANDALONE
    Username (usually root): root
   TCOS Password: 
   I will write this file:
     /etc/tcospasswd
          Continue? [Y/n] Y


  In TcosMonitor you will need to put same user and password than here.

3.- Activate

  Change TCOS_STANDALONE_START=1

4.- Search for hosts.

  In TcosMonitor you need to configure discover method with ping 
  (netstat don't work)

  You can make a small trick to get a standalone host with netstat:


  #!/bin/sh

  while [ 1 ]; do
    telnet SERVER_IP 6000
  done 

  Put this script at user session start.
