Re: OK, now that we agree

roque@di.fc.ul.pt
Tue, 09 Apr 1996 16:42:58 +0200


>>>>> "Mike" == Mike Shaver <shaver@neon.ingenia.com> writes:

Hi,

Mike> How much trouble would it be to allow some bizarre and
Mike> illegal bind() address (255.255.255.255 springs to mind)
Mike> register a socket as being a transparent proxy/user-space
Mike> masquerade?

I'm not sure what you have in mind but wouldn't something like

sk = socket(AF_INET, SOCK_{DRAGM,STREAM}, IPPROTO_MASQ);

be better ?

since it requires knowledge on the part of the app that uses it i
think that separating waters is better that some strange tweak.

we can add protos to a family... the world doesn't end with the
BSD API... as long as we document it.

Mike> It would seem relatively straightforward, but I suspect
Mike> there are things here that I'm forgetting about.

regards,
Pedro.