Peter J. Cherny skrev:
At 09:33 AM 22/2/07, Roger Olofsson wrote:
Having recently upgraded my firewall machines to FreeBSD 6.2 I am
experiencing the very same phenomena concerning the OOW. The issue is
particularly annoying since it breaks upgrading of the FreeBSD ports
in some cases by simply hanging the download.
Could someone describe the steps to download, apply the patches for
FreeBSD, and install a newer version than the one shipped with
FreeBSD6.2?
My Q&D solution to OOW issues in 6.2+4.1.13 was to edit two lines
in ip_state.c and rebuild the kernel (with the IPFILTER options)
#define MAXACKWINDOW 66000
- (-ackskew <= (MAXACKWINDOW << tdata->td_wscale)) &&
- ( ackskew <= (MAXACKWINDOW << tdata->td_wscale))) {
+ (-ackskew <= (MAXACKWINDOW)) &&
+ ( ackskew <= (MAXACKWINDOW << fdata->td_wscale))) {
There are fragments of this in various of Darren's postings
e.g.
Date: Wed, 20 Dec 2006 23:11:57 +1100
From: Darren Reed <[EMAIL PROTECTED]>
Subject: Re: ipf 4.1.13 + NAT + FTP proxy = window scaling problem
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
X-Enigmail-Version: 0.94.1.1
Content-Type: text/plain; charset=ISO-8859-1
Hello again,
I am sorry, but this does not seem to work. Making kernel after applying
the edit of the two lines went fine, however, after reboot the dreaded
message user/kernel version check failed shows up, and the machine is
effectively locking up all network traffic. I'll hand edit the lines
back and rebuild kernel again.
Greetings
/Roger