Advanced Firewall Proxy Kit Features
The following features are included in the RealAudio Firewall Proxy Kit but have been commented out. If you would like to implement these features remove the comment tags by editing Makefile.
Stream LimitingThis will limit the number of streams that the proxy allows through.
# Uncomment this to limit the number of streams (set the number in raproxy.h) CFLAGS+= -DLOAD_LIMIT TARGETS+=raloadinit # If LOAD_LIMIT is turned on, the number of streams is defaults to 2 unless # this line is uncommented CFLAGS+= -DMAXAUDIOSTREAMS=10
Run raloadinit in the startup file (usually /etc/rc) prior to running inetd. inetd and raloadinit write to raproxy.lock. You can change the name and location of raproxy.lock in raproxy.h.
Use TCP OnlyUncommenting this function will only allow TCP delivery to Players behind the firewall.
# Uncomment this to disable UDP delivery in raproxy CFLAGS+= -DNO_UDP
Each individual RealAudio Player will still have to edit network preferences to receive only TCP packets.
SOCKS generic proxyUncommenting this function will allow the RealAudio Firewall Proxy to communicate with the SOCKS firewall. The RealAudio Firewall Proxy must be located on a machine that has the SOCKS libraries on it.
# Uncomment the following to use the SOCKS libraries LIBS+= -lsocks CFLAGS+= -DUSE_SOCKS
For more information visit the SOCKS Web page at http://www.socks.nec.com (This link requires an Internet connection.)
AIX Platform-Specific Information
For AIX systems, edit Makefile and uncomment the following line:
#CFLAGS += -DAIX
Solaris Platform-Specific Information
For Solaris systems, edit Makefile and uncomment the following line:
#LIBS= -lsocket -lnslContinue to Additional Firewall Information