Re: Broadcast under Jail problems

2009-11-15 Thread Bjoern A. Zeeb

On Mon, 16 Nov 2009, Vagif Zeynalov wrote:

Hi,


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


error ogs from the application would be interesting to see which
(sys)call return which error so that we can narrow it down.

/bz

--
Bjoern A. Zeeb It will not break if you know what you are doing.
___
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"


Broadcast under Jail problems

2009-11-15 Thread Vagif Zeynalov
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.
___
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"