[1837] in linux-net channel archive
Re: Miulti-homed hosts
daemon@ATHENA.MIT.EDU (Alan Cox)
Sun Feb 4 20:35:33 1996
From: alan@lxorguk.ukuu.org.uk (Alan Cox)
To: smurf@smurf.noris.de (Matthias Urlichs)
Date: Sun, 4 Feb 1996 00:31:34 +0000 (GMT)
Cc: linux-net@vger.rutgers.edu
In-Reply-To: <96Feb3.185925+0100met_dst.250369-4+2@work.smurf.noris.de> from "Matthias Urlichs" at Feb 3, 96 06:59:13 pm
> Problem: The kernel doesn't like two bind() calls in a row. Why not??? BSD
> handles that fine, as far as I know, as long as there's no connection on
> the socket. Removing the appropriate check from the kernel doesn't brerak
> anything...
BSD has a massive security hole.
Consider what happens with this
NFSD binds to INADDR_ANY 2049
You bind to eth0 2049
You copy all the frames you receive to disk and send to locahost 2049
Instant NFS logger.
Alan