From owner-freebsd-questions@FreeBSD.ORG Sun Apr 26 06:47:24 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9E78106566C for ; Sun, 26 Apr 2009 06:47:24 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3E38A8FC08 for ; Sun, 26 Apr 2009 06:47:24 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n3Q6lG8S065513; Sun, 26 Apr 2009 07:47:17 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.2 smtp.infracaninophile.co.uk n3Q6lG8S065513 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1240728437; bh=jGJaFgEWiNKhDPzpsYnQuu0aqjigpPR24sxg57GbFcw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<49F4036D.7040203@infracaninophile.co.uk>|Date:=20S un,=2026=20Apr=202009=2007:47:09=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.21=20(X11/20090420)|MIME-Vers ion:=201.0|To:=20Reinis=20Ivanovs=20|CC:=20freebsd- questions@freebsd.org|Subject:=20Re:=20Long=20HTTP=20connection=20 delays=20in=20LAN|References:=20<5b826e210904251603j63776c21kb208e 05871ceb8f@mail.gmail.com>|In-Reply-To:=20<5b826e210904251603j6377 6c21kb208e05871ceb8f@mail.gmail.com>|X-Enigmail-Version:=200.95.6| Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A =20protocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"- -----------enig01FF591B2196085597A01485"; b=4Ot7w+Vlti4gc+BTvNeod6kwbAl0Zxsh91h7Pfaws2FZqpCyA8uhwhFNVxqNpU4jv kbybvsX6kPB6zXUJZcu7TLKxVOp4cuUNba6lKEDSXx8GH/AD4wCjeb8vMAc7PJeSpg 4HRaocpo3lBjlUZcg11D3loNENhihhyXCaxHDLZQ= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <49F4036D.7040203@infracaninophile.co.uk> Date: Sun, 26 Apr 2009 07:47:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Reinis Ivanovs References: <5b826e210904251603j63776c21kb208e05871ceb8f@mail.gmail.com> In-Reply-To: <5b826e210904251603j63776c21kb208e05871ceb8f@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig01FF591B2196085597A01485" X-Virus-Scanned: clamav-milter 0.95.1 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: Long HTTP connection delays in LAN X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Apr 2009 06:47:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig01FF591B2196085597A01485 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Reinis Ivanovs wrote: > Hello, >=20 > I have a strange HTTP connectivity problem in my LAN. There is a > FreeBSD 7.1 system that runs the httpd, a Vista system that I use to > connect to it, and a Tomato 1.23 WRT54GL router between them. It often > occurs that I can ping the FreeBSD system just fine, but HTTP > connections get "stuck" for minutes on end. After they become > "unstuck", everything works normally for a while, and then the problem > might come back. I know the httpd is running fine during those times > because there are no delays connecting locally or from outside the > LAN. It seems I also get similar delays when I try to connect to the > router's web administration panel. There are so many variables that > I'm not sure whether the problem lies with FreeBSD or something else. > I'm hoping somebody with more networking experience could give me some > hints about where to look, because I'm seriously stuck. This sounds suspiciously like MTU problems. ie. one of those machines is occasionally sending packets too big for the other side to cope with *and* PathMTU discovery is not working. However, I can't see why that should be an issue with two machines and a router all directly connected via ethernet: the standard MTU of 1500 byte= s is almost certainly correct in that case. MTU problems usually occur when you tunnel one protocol through another (which includes such things as IPSec) or when you convert from ethernet to some other wire protocol, such as PPP. In any case, there should be an automatic mechanism to enable the MTU to be adjusted dynamically -- firewalling out all ICMP traffic (which is the not the latest bit of=20 bogus security lore but merely the most intractable and stupid) will lead to effects like that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig01FF591B2196085597A01485 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkn0A3MACgkQ8Mjk52CukIxFcgCdH3ohUKnDJQX735d8RdTVCNPL z3YAn3dt34cLYrz+6lGMwtft5Yoj97+r =P7bG -----END PGP SIGNATURE----- --------------enig01FF591B2196085597A01485--