flashpolicyd: Serve Adobe Flash Policy XML files to clients
Server to serve up flash policy xml files for flash clients since player version 9,0,124,0. (Player 9 update 3)
See www.adobe.com/devnet/flashplayer/articles/fplayer9_security_04.html for more information, this needs to run as root since it should listen on port 843 which on a unix machine needs root to listen on that socket.
USR1 signal prints a single line stat message, during normal running this stat will be printed every 30 minutes by default, settable using --logfreq
USR2 signal dumps the current threads and their statusses
HUP signal will toggle debug mode which will print more lines in the log file
TERM signal will exit the process closing all the sockets
flashpolicyd [OPTIONS]
--help, -h:
Show Help
--verbose
Turns on verbose logging to log file - can also be turned on and off at runtime using -HUP signals
--xml
XML File to Serve to clients, read at startup only
--timeout, -t
If a request does not complete within this time, close the socket, default is 10 seconds
--logfreq, -l
How often to log stats to log file, default 1800 seconds
--logfile
Where to write log lines too
--user
Drops privileges after binding to the socket to this user
--port
What port to listen on 843 by default
--no-daemonize
Avoid daemonizing and run in the foreground
Latest versions, installation documentation and other related info can be found at code.google.com/p/flashpolicyd
Released under the terms of the Apache 2 License, see the include COPYING file for full text of this license.
R.I.Pienaar <rip@devco.net>