From owner-freebsd-questions@FreeBSD.ORG Fri Feb 6 10:20:46 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 A1415106564A for ; Fri, 6 Feb 2009 10:20:46 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-ew0-f33.google.com (mail-ew0-f33.google.com [209.85.219.33]) by mx1.freebsd.org (Postfix) with ESMTP id F40AD8FC13 for ; Fri, 6 Feb 2009 10:20:45 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by ewy14 with SMTP id 14so1069492ewy.19 for ; Fri, 06 Feb 2009 02:20:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=qY80iTfZfgVjtS0fhNBPOvegPbNRa/RsrqFXWcreIQg=; b=PvYVBOKh8M5oyGvEF3vZV3c07hHeRfF2GWO4isQm0t5SuhFEgDxoWEsZfIdNORTZRL Jg4G5mzSz3hrjyPcQBD3ODrFAYdtmZxla1DoOoC/i5IUDKQVpgYXkhPX2pVAjftLmtX+ RBmwJ3rcMeztRTe+Pcle6s2jcFBhljnOstbDM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; b=UQbEvTUTVeEna1hnrFfKgz6ZxmTawEbigSQ2/UsoYIaXeEUb0mpsSwRXbhl3zSz5qu k/NJeov+jVrIIgDMDQsPYRzgp008E/UGu9YkThZcvyDFocRnd1NpdNmddd6gYa8GQEOU NcaDeifSIMvk1FB8X6pFbT/TDPpEqs5ZZD3sk= Received: by 10.210.59.14 with SMTP id h14mr1208295eba.36.1233915645062; Fri, 06 Feb 2009 02:20:45 -0800 (PST) Received: from ?0.0.0.0? ([196.34.241.123]) by mx.google.com with ESMTPS id 5sm2121640eyf.52.2009.02.06.02.20.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 06 Feb 2009 02:20:44 -0800 (PST) From: David Naylor Organization: Private To: Wojciech Puchar Date: Fri, 6 Feb 2009 12:20:43 +0200 User-Agent: KMail/1.9.10 References: <200902060955.59611.naylor.b.david@gmail.com> <20090206103629.X27109@wojtek.tensor.gdynia.pl> In-Reply-To: <20090206103629.X27109@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1577179.aI4fUbEq9t"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200902061220.46281.naylor.b.david@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Slow DNS (and host: connection timed out) 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: Fri, 06 Feb 2009 10:20:46 -0000 --nextPart1577179.aI4fUbEq9t Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 06 February 2009 11:37:31 Wojciech Puchar wrote: > > Proto Recv-Q Send-Q Local Address Foreign Address (stat= e) > > tcp4 0 0 192.168.0.6.55429 63.245.209.93.80 =20 > > SYN_SENT tcp4 0 0 192.168.0.6.12337 74.125.77.147.80 = =20 > > SYN_SENT > > > > Firefox on Windows doesn't have this problem. > > it doesn't look like DNS problem as it's stuck on connecting to HTTP port > (80). > > > check out with ping if it's all fine with your netcard under FreeBSD netcard works fine: (from laptop, see=20 http://lists.freebsd.org/pipermail/freebsd-questions/2009-February/192278.h= tml =20 for layout of network) # ping -c 2000 -i 0.1 192.193.194.1 PING 192.193.194.1 (192.193.194.1): 56 data bytes 2000 packets transmitted, 1937 packets received, 3.1% packet loss round-trip min/avg/max/stddev =3D 3.339/27.799/741.743/78.702 ms The above was because only proxied (and socks) traffic is allowed beyond th= e=20 ISP. The point I was trying to make was (by the number of '.' before the=20 first netstat line) that it takes the browser over 25 seconds before it eve= n=20 attempts the connection. See below for when I have transparent proxying=20 enabled (and the connection does go through). # konqueror www.google.co.za & [1] 4862 # sh -c 'while true; do echo -n .; netstat -np tcp; sleep 5; done' =2E.......Active Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.2.50707 74.125.77.99.80 ESTABLISH= ED =2EActive Internet connections Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp4 0 0 192.168.0.2.64852 74.125.77.99.80 TIME_WAIT tcp4 0 0 192.168.0.2.50707 74.125.77.99.80 TIME_WAIT Note that in this case it takes 35 seconds before Konqueror attempts the=20 connection. =20 Regards, --nextPart1577179.aI4fUbEq9t Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkmMDv4ACgkQUaaFgP9pFrJ+wACeMPGNS5KRAg+M0PhAS62Fzhwk OlQAn1EhLCOPTI+QP6SeuNk5FfgCQ/SP =5UiR -----END PGP SIGNATURE----- --nextPart1577179.aI4fUbEq9t--