Re: OK, now that we agree
Alan Cox (iialan@iifeak.swan.ac.uk)
Tue, 9 Apr 1996 18:01:16 +0100 (BST)
> How much trouble would it be to allow some bizarre and illegal bind()
> address (255.255.255.255 springs to mind) register a socket as being a
> transparent proxy/user-space masquerade?
>
> It would seem relatively straightforward, but I suspect there are
> things here that I'm forgetting about.
setsockopt(my_socket, SOL_SOCKET, SO_MASQUERADE, &one,sizeof(one))
[note at the socket level, ipx masquerading is very very useful for ISDN
because of the keepalives]. Better make it root only too.
Alan