README.md
mediaproxy-ng for Enterprise Linux
Installing from RPMs
TBD
RPM Compliation
TBD
Manual Compilation
There are three parts to mediaproxy-ng, each of which can be found in the respective subdirectories.
-
daemonThe userspace daemon and workhorse, minimum requirement for anything to work. Running
MEDIAPROXY_VERSION="\"<version number>\"" makewill compile the binary, which will be calledmediaproxy-ng. The following software packages are required to compile the daemon:- gcc
- make
- pkgconfig
- glib2-devel
- libcurl-devel
- openssl-devel
- pcre-devel
- xmlrpc-c-devel
- zlib-devel
-
iptables-extensionRequired for in-kernel packet forwarding. Running
MEDIAPROXY_VERSION="\"<version number>\"" makewill compile the plugin foriptablesandip6tables. The file will be calledlibxt_MEDIAPROXY.soand should be copied into the directory/lib/xtables/in 32-bit environments and/lib64/xtables/in 64-bit environments. The following software packages are required to compile the plugin:- gcc
- make
- iptables-devel
-
kernel-moduleRequired for in-kernel packet forwarding. Compilation of the kernel module requires the kernel development packages for the kernel version you are using (see output of
uname -r) to be installed. RunningMEDIAPROXY_VERSION="\"<version number>\"" makewill compile the kernel module.Successful compilation of the module will produce the file
xt_MEDIAPROXY.ko. The module can be inserted into the running kernel manually throughinsmod xt_MEDIAPROXY.ko(which will result in an error if depending modules aren't loaded, for example thex_tablesmodule), but it's recommended to copy the module into/lib/modules/<version number>/updates/, followed by runningdepmod -a. After this, the module can be loaded by issuingmodprobe xt_MEDIAPROXY.The following software packages are required to compile the plugin:
- gcc
- make
- kernel-devel
- kernel-headers
Note: the kernel-devel and kernel-headers packages are meta-packages that install the headers and source for the latest kernel version. This will be what you want unless you are running a custom or older kernel.