From owner-freebsd-net@FreeBSD.ORG Mon Jan 10 16:54:03 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F0A416A523; Mon, 10 Jan 2005 16:54:03 +0000 (GMT) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9871E43D3F; Mon, 10 Jan 2005 16:54:00 +0000 (GMT) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 0C91B4718CF; Mon, 10 Jan 2005 17:59:06 +0100 (CET) (envelope-from LConrad@Go2France.com) Received: from localhost (localhost.MEIWay.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id 53CBA3866E6; Mon, 10 Jan 2005 17:54:02 +0100 (CET) (envelope-from LConrad@Go2France.com) X-AV-Checked: Mon Jan 10 17:54:02 2005 virusgate.meiway.com Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 4898E38665C; Mon, 10 Jan 2005 17:54:02 +0100 (CET) (envelope-from LConrad@Go2France.com) Received: from tx2.Go2France.com [24.227.147.226] by mail.Go2France.com with ESMTP (SMTPD32-7.07) id A0CE55050066; Mon, 10 Jan 2005 17:43:58 +0100 Message-Id: <6.1.1.1.2.20050110103857.045a9a68@81.255.84.73> X-Sender: LConrad@Go2France.com@81.255.84.73 X-Mailer: QUALCOMM Windows Eudora Version 6.1.1.1 Date: Mon, 10 Jan 2005 10:53:39 -0600 To: freebsd-net@freebsd.org, freebsd-questions@freebsd.org From: Len Conrad Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: buildup of Windows time_wait talking to fbsd 4.10 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 16:54:03 -0000 We have a windows mailserver that relays its outbound to a fbsd gateway. We changed to a different fbsd gateway running 4.10. Windows then began having trouble sending to 4.10. Windows "netstat -an" shows dozens of lines like this: source IP desitination IP ====================================================================== TCP 10.1.16.3:1403 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1407 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1415 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1419 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1435 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1462 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1470 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1473 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1478 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1493 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1504 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1507 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1508 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1521 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1526 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1546 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1550 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1568 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1571 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1589 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1592 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1616 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1620 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1629 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1644 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1647 192.168.200.59:25 TIME_WAIT TCP 10.1.16.3:1654 192.168.200.59:25 TIME_WAIT Eventually, the windows SMTP logs line like "cannot connect to remote IP" or "address already in use" because no local tcp/ip sockets are available, we think. The new gateway/fbsd 4.10 "sockstat -4" shows no corresponding tcp connections when the Windows server is showing as above. On the fbsd 4.10 machines, smtp logs, syslog, and dmesg show no errors. We switch the windows box to smtp gateway towards the old box/fbsd 4.7, all is cool. Suggestions with how to proceed debugging, please. I'm trying to get the dmesg.boot for the 4.7 and 4.10 boxes now, sorry. Len