PDA

View Full Version : access to sockets from chroot jail


angelichost
04-28-2009, 03:16 PM
I've installed a language interpreter on my server, and used jk_cp to copy it into the jail, and I can run it. However, it attempts to connect to a license server via a socket to validate its license, and this appears to be blocked by the jailkit.

Jailkits documentation is pretty sparse in this respect. Does anyone know if there are any configuration options to allow a jailed executable to connect via specific ports to a license server?

Thanks in advance,

Larry Hiscock
AngelicHost

angelichost
04-30-2009, 04:42 PM
FYI - I got the answer to this from the jailkit users mailing list. It required jailing some of the networking config files (e.g. /etc/services, /etc/resolv.conf, etc)