Broadcast under Jail problems

Vagif Zeynalov vagif at zeynalov.com
Sun Nov 15 23:29:31 UTC 2009


Hi All!

I use the mediatomb package as the UPNP/DLNA media server under under jail.
But after upgrade from 7.0 Release to the 7.2 Current, the mediatomb doesn't work any more.
Two days ago I've upgraded to the 8.0RC3, and problem still present.

I think it is some security issue, but I have not any idea how to open broadcasting for a jailed process.
Without jail the mediatomb works fine.

May be someone already experienced the same problem and know how to fix it?

Jail's settings:
=========
jail_set_hostname_allow="NO"
jail_socket_unixiproute_only="YES"
jail_sysvipc_allow="YES"
jail_allow_raw_sockets="YES"

jail_upnp_rootdir="$jail_dir/upnp"
jail_upnp_hostname="upnp.local"
jail_upnp_interface="sk0"
jail_upnp_ip="sk0|192.168.22.103/24,lo0|127.0.0.2/8,msk0|192.168.23.103/24"
jail_upnp_exec_start="/bin/sh /etc/rc"
jail_upnp_exec_stop="/bin/sh /etc/rc.shutdown"
jail_upnp_devfs_enable="YES"
jail_upnp_fdescfs_enable="NO"
jail_upnp_procfs_enable="YES"
jail_upnp_mount_enable="NO"
jail_upnp_devfs_ruleset="10"
jail_upnp_mount_enable="YES"
jail_upnp_fstab="$jail_config_dir/upnp.fstab"
jail_upnp_flags="-l -U root"

...I can provide more details if it will be necessary...

Thank you,
Vagif.


More information about the freebsd-jail mailing list