lkml.org 
[lkml]   [1996]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: OK, now that we agree
Date
>>>>> "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.





\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.020 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site