[385] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Feature/hack for multi-homed hosts (esp. ifconfig alias)

daemon@ATHENA.MIT.EDU (Arnt Gulbrandsen)
Sat May 27 20:13:26 1995

Date: Sat, 27 May 1995 23:15:19 +0200 (MET DST)
From: Arnt Gulbrandsen <agulbra@troll.no>
To: Ian Jackson <iwj10@cus.cam.ac.uk>
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <m0sFKFQ-0000XQZ@chiark.al.cl.cam.ac.uk>

Thoughts:

For active opens, I think the routing table is the correct way to select 
interface.  Is there anything the routing table can't be used for?

For incoming connections, I think inetd.conf is the best place to put all
this. Perhaps

	echo	stream	tcp	nowait	root	internal

could be written as

	echo/10.10.10.10	stream	tcp	nowait	root	internal

to match only connections whose getsockname() returns 10.10.10.10.

That doesn't catch everything, but it only requires changing one file and 
one program.

In the mean time, I have an ftpd which supports multiple archives,
www-style, is very small and fast, has an internal ls, and last but not
least, requires libc 5.  Would anyone be interested in alpha-testing it
before I upload it to sunsite?  I'm not likely to upload it any time soon,
have to write a man page, INSTALL, README and so on first, not exactly
high priority.

--Arnt

home help back first fref pref prev next nref lref last post