IPfilter
[Top] [All Lists]

Re: ipf 4.1.13 + NAT + FTP proxy = window scaling problem

To: Pekka Savola <pekkas@netcore.fi>
Subject: Re: ipf 4.1.13 + NAT + FTP proxy = window scaling problem
From: Darren Reed <darrenr@reed.wattle.id.au>
Date: Thu, 21 Dec 2006 00:07:26 +1100
Cc: ipfilter@coombs.anu.edu.au
Delivered-to: sp-com-lists@consult.net
Delivered-to: ipfilter-list@securepoint.com
In-reply-to: <Pine.LNX.4.64.0612200848360.18434@netcore.fi>
References: <Pine.LNX.4.64.0612192052410.3711@netcore.fi> <458873B8.5060302@reed.wattle.id.au> <Pine.LNX.4.64.0612200848360.18434@netcore.fi>
Reply-to: darrenr@reed.wattle.id.au
Sender: owner-ipfilter@coombs.anu.edu.au
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)
ok, please apply the attach patch so I can collect some information from
the kernel.

Darren

Index: ip_state.c
===================================================================
RCS file: /devel/CVS/IP-Filter/ip_state.c,v
retrieving revision 2.186.2.50
diff -c -r2.186.2.50 ip_state.c
*** ip_state.c  18 Dec 2006 15:53:40 -0000      2.186.2.50
--- ip_state.c  19 Dec 2006 15:41:34 -0000
***************
*** 1672,1677 ****
--- 1672,1688 ----
                        tdata->td_maxend = ack + win;
                return 1;
        }
+ 
+ printf("fdata:maxend %u end %u\n",
+ fdata->td_maxend, end);
+ printf("fdata:end %u seq %u\n",
+ fdata->td_end, seq);
+ printf("fdata:winflags %x winscale %d\n",
+ fdata->td_winflags, fdata->td_winscale);
+ printf("tdata:winflags %x winscale %d\n",
+ tdata->td_winflags, tdata->td_winscale);
+ printf("ack %u ackskew %d win %d << %d maxwin %d\n",
+ ack, ackskew, win, fdata->td_winscale, maxwin);
        return 0;
  }
  
<Prev in Thread] Current Thread [Next in Thread>