Hi, I need to run the domain policy server in a linux environment (so my browser build can connect). Up to now I have been using the solution that others have posted, which is based on a shell script. I modified slightly to run on RHEL5:
#!/bin/sh
while true; do echo '<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*" to-ports="1-65536"/>
</cross-domain-policy>' | nc -l 843; done
I’m not sure why, but for me this seems to work for a while, but eventually stall. The only way I can get to work again is to kill process and the nc process, and restart the script. I thought I would try installing mono and running the sockpol.exe that’s provided with unity. This solution works if I run it from an ssh terminal:
mono sockpol.exe --all
However, closing the terminal shuts it down. I assumed that doing the following would work:
mono sockpol.exe --all > /dev/null
However, when I run it this way the domain policy server seems to not respond. Can anyone shed some light on what I’m doing wrong??