lkml.org 
[lkml]   [1997]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: transproxy still doesn't work (2.0.31-pre3)
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

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