I was looking for a way to secure the Chatscript server since it sits on an open port 1024 to the Internet.
Since I use an intermediary script to communicate between my web interface and the server, there was no reason to expose it to the public.
I’m not sure if this is in the manual or not, but it would be good to add it to the “Command Line Parameters” in the “server” manual.
To secure the server, use the ‘interface’ parameter. For example:
./LinuxChatScript interface=127.0.0.1
By default, the interface is assigned to 0.0.0.0, which means it’s open to anyone.
By setting it to 127.0.0.1, you are only allowing scripts to be ran from the same server as Chatscript.
You can check to see if port 1024 (or any other port that was assigned to CS) by going to:
http://www.yougetsignal.com/tools/open-ports/
Hope that helps!