Date: Thu, 23 Oct 1997 08:09:24 +1000 (EST) From: "Daniel O'Callaghan" <danny@panda.hilink.com.au> To: Charles Mott <cmott@srv.net> Cc: freebsd-hackers@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG Subject: Re: Password files and virtual IP addresses Message-ID: <Pine.BSF.3.91.971023080536.524N-100000@panda.hilink.com.au> In-Reply-To: <Pine.BSF.3.96.971022103356.10892B-100000@darkstar.home>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Oct 1997, Charles Mott wrote: > Suppose that one wanted to create different virtual > IP addresses with ifconfig alias, and when people telnet > or ftp or access pop3/imap2 at a virtual address, a > password file specific to that virtual address would be > used. This would allow username re-use. You *could* do it by hacking getpw*(3) and including a call to getsockname(2). I do it by building virtual machines using a hacked inetd(8) which does a getsockname(2) followed by a chroot(2) to the virtual machine. The vm needs to have ld.so and lib/* etc, etc, etc. It is great for allowing telnet access to web sites while preventing customers from peeking at each other's stuff. /* Daniel O'Callaghan */ /* HiLink Internet <http://www.hilink.com.au/> danny@hilink.com.au */ /* FreeBSD - works hard, plays hard... danny@freebsd.org */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.971023080536.524N-100000>