Re: transproxy still doesn't work (2.0.31-pre3)

Savochkin Andrey Vladimirovich (saw@msu.ru)
Fri, 08 Aug 1997 18:56:33 +0400


Michael Meskes wrote:
>
> I tried using transproxy with pre-2.0.31-3 and the transproxy patch from
> www.lnuxhq.com. It doesn't make any difference compared to 2.0.30. Despite

You refer to a patch posted by me, don't you?
If so it's very strange. I have two heavy loaded http proxy on 2.0.30
kernel with the patch
and they work good more than a month.

Would you like to send me you kernel config file and firewall rules?

You may wish to try construction like

if (skb->redirport)
{
sk = tcp_v4_proxy_lookup(th->dest, saddr,
th->source, daddr,
dev->pa_addr,
skb->redirport);
if (th->syn)
{
if (sk)
printk(KERN_DEBUG "proxy: new con\n");
else
printk(KERN_DEBUG "proxy: lookup
failed\n");
}
}else

to trace a reason of your problem.

> my rule asking for the redirection to port 81, the queries are redirected
> to port 80 and there seems to be nothing I can do.

Regards,
Andrey V.
Savochkin