I am trying to get flashpolicyd running on my server... it runs just fine, but when I do a netstat I get the results.... tcp 0 0 0.0.0.0:843 0.0.0.0:* LISTEN 29860/perl Which is wrong... it should not be listening to ip address 0.0.0.0 ... all of the rest of my servers are listening on an actual real IP addres... the ip of the server... does anyone know anything enough about perl to get this stupid thing working and listening on my server's ip address instead of 0? I'm tearing my hair out trying to fix this and my clients are PISSED.
There are no options in the command line arguments to tell it what IP address to listen to. It will only listen to 0.0.0.0 ... and I had it working before, but the problem is that it's about 2 years since I first set it up, so I'm not sure what I did.
Well, there are some policy file changes in flash 9/10: Not sure if this is recent or not though: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_04.html
I'm still using version 8 on my computer, which shouldn't have changed at all. Been the same since I first set it up. The problem though is mainly that I don't know how to get this perl script to listen on the right port. When I look at the code, it uses SO_REUSEIP or somesuch linux defined variable... should I just change this to my IP address I want it to listen on?
I fixed this issue. It turns out adobe's flashpolicyd was not answering correctly... my friend redid this in perl and made it so that upon connection, it just spits out the policy file instead of waiting for a request from each client. Works like a charm.