ioctl call freebsd 7.2 in jail

2009-12-18 Thread Axel Scheepers
Hi list, We run Direct Admin in a jailed setup on FreeBSD 7.2 (last supported release for Direct Admin). We have a problem retrieving the correct ip address of the jail which makes Direct Admin misbehave. I've written a small c program which does an ioctl call to get the ip address for a given

Re: ioctl call freebsd 7.2 in jail

2009-12-18 Thread Bjoern A. Zeeb
On Fri, 18 Dec 2009, Axel Scheepers wrote: Hi, We run Direct Admin in a jailed setup on FreeBSD 7.2 (last supported release for Direct Admin). We have a problem retrieving the correct ip address of the jail which makes Direct Admin misbehave. .. Would it be trivial to backport just the

Re: ioctl call freebsd 7.2 in jail

2009-12-18 Thread Bjoern A. Zeeb
On Fri, 18 Dec 2009, Axel Scheepers wrote: hi, Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net writes: I think I remember the patch; I guess it was the samba patch. I can extract it for you; not sure if it'll work easily w/o the other infrastructure but I'll see what I can do. I can see no

Re: ioctl call freebsd 7.2 in jail

2009-12-18 Thread Axel Scheepers
Bjoern A. Zeeb bzeeb-li...@lists.zabbadoz.net writes: What I was thinking was this commit to head and the PR mentioned there: http://svn.freebsd.org/viewvc/base?view=revisionrevision=186948 Ah I see, thanks! Note that 7.1 or earlier won;t have the prison_check_ip4() function, different