9fans archive / 1997 / 12 / 55 /    prev next

From: Steve_Kilbane@ceg... Steve_Kilbane@ceg...
Subject: [9fans] need help with u9fs
Date: Tue, 16 Dec 1997 14:06:12 GMT

> don't you mean gethostbyaddr()?  the reverse dns lookup after getpeername().
> it's unlikely getpeername() is going to fail, unless the code is bust :-)

I did say it was a Solaris box...

I don't know. 'Twas a local client, and there was no reason why
gethostbyaddr() should have been failing to necessitate such a
hack, and there was some reason why I couldn't fix it properly.

Anyway, the point is, if things get desperate, u9fs.c's own
protection need not be a significant problem.