9.3.0 and ipv6 on linux 2.4.27

Mark Andrews Mark_Andrews at isc.org
Thu Oct 21 21:38:10 UTC 2004


> =20
> 
> > -----Original Message-----
> > From: R Dicaire [mailto:rdicaire at comcast.net]=20
> > Sent: Thursday, October 21, 2004 4:44 AM
> > To: Jack Tavares
> > Cc: bind-users at isc.org
> > Subject: RE: 9.3.0 and ipv6 on linux 2.4.27
> >=20
> > On Wed, 2004-10-20 at 18:42, Jack Tavares wrote:
> > > but mounting /proc in the chroot jail defeats some of the
> > > benefits of using a chroot jail, yes?=20
> >=20
> > I just tried this:
> >=20
> > mkdir -p $CHROOT/proc/net
> > cat /proc/net/if_inet6 > $CHROOT/proc/net/if_inet6
> > restart bind, voila.
> >=20
> > No need to mount proc again.
> >=20
> >=20
> Yes, that works great if you don't add/del ipv6 interfaces
> on your box.
> 
> If you do AND you want bind to listen on all of them,
> you have to remember to copy the contents of the file
> and restart bind.
> 
> Not optimal for my purposes. I was hoping for a=20
> method involving less manual intervention.

	Complain to the Linux IPv6 stack developers.  Every other OS
	extended their sysctl()/ioctl() methods of interface scanning.
	Linux is the only platform where the developers felt the need
	to do this through the file system.

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the bind-users mailing list