I mean, I am very fond of transparent proxies and I do things with
them that are extremely difficult to achieve at the kernel level. I
also think I am pretty much aware of their problems and limitations
and, thus, resort to other techniques here and there. But I use
proxies everytime unless I cannot afford them.
Most people think of transparent proxies as programs that just catch
connections and redirect them to other places. That's good and it is
what Squid does, it just pretends to be the server to the client and
completes the service somehow.
But I also have scenarios where I absolutely need to pretend both to
be the server to the client and the client to the server. That means
I need to create a socket, bind to it with a foreign address and
connect it to somewhere else. A common use for this is the
transparent stunnel. If the illusion is not preserved, the server
gets no idea of the origin and thus, cannot use it for authorization
or audit. Even not so long ago, I had something like this as a part
of a pop-before-smtp setup where this working was critical.
This mechanism has worked since I originally wrote my kludge up to
2.2.x but, from what I can gather, it does not work anymore in 2.4.x.
Could someone explain to me what was the rationale for dropping this?
Is it incompatible with the deep magic in netfilter? Was it declared
"evil" or something? Or was it simply that no one needed it and was
lost in the rewrite until someone steps forward?
In the same line, how much effort would it entail to write the code to
put it back? And, finally, are there philosophical problems that
would make it unacceptable for the standard kernel?
Thanks in advance,
Julio
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/