Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Feb 2009 12:20:43 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Slow DNS (and host: connection timed out)
Message-ID:  <200902061220.46281.naylor.b.david@gmail.com>
In-Reply-To: <20090206103629.X27109@wojtek.tensor.gdynia.pl>
References:  <200902060955.59611.naylor.b.david@gmail.com> <20090206103629.X27109@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902061220.46281.naylor.b.david>