Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2007 01:12:16 -0500
From:      bobmc <bobmc@bobmc.net>
To:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: UDP ok but TCP delayed
Message-ID:  <45A726C0.5070403@bobmc.net>

next in thread | raw e-mail | index | archive | help
Hi Ian:

(I post to the list because your's bounced? The Postfix program
<smithi@nimnet.asn.au>: host gaia.nimnet.asn.au[203.41.52.131] said: 
550 Access denied (in reply to MAIL FROM command)
----------------------------------------------------

Thanks for your reply. Compared to Linux tcpdump, FreeBSD is issuing 
extra packets, those "AAAA" you mentioned.  I have a Netopia modem 
with RJ45 to a router or optical modem in the condo basement. From 
there is an optical link to my ISP about 10km away who provides nothing 
but email forwarding, a DHCP lease, and an internet connect.

I have included dumps from Linux and FreeBSD but I have not yet 
finished all the tests you suggested.  IPv6 is not enabled according to 
the /etc/defaults. I tinkered with various options without making a 
difference.

Thank you,
-Bob-

whois fcibroadband.com
   Domain Name: FCIBROADBAND.COM
   Registrar: NETWORK SOLUTIONS, LLC.
   Whois Server: whois.networksolutions.com
   Referral URL: http://www.networksolutions.com
   Name Server: DNS-01.FUTUREWAY.COM
   Name Server: DNS-03.FUTUREWAY.COM
   Status: clientTransferProhibited

 Domain servers in listed order:

   DNS-01.FUTUREWAY.COM         64.119.104.2
   DNS-03.FUTUREWAY.COM         64.119.104.130

+++++++++++++++++++ Linux tcpdump ++++++++++++++++++++++++
uname -a
Linux buffy 2.6.15-26-386 #1 PREEMPT Wed Jul 19 12:14:26 EDT 2006 i686
GNU/Linux

root@3[bobmc]# tcpdump -v
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96
bytes

21:44:49.547037 IP (tos 0x0, ttl  64, id 13665, offset 0, flags [DF],
proto: UDP (17), length: 61)
192.168.1.100.1032 > 192.168.1.254.domain:  44611+ A? www.freebsd.org. (33)

21:44:49.567857 IP (tos 0x0, ttl  64, id 13670, offset 0, flags [DF],
proto: UDP (17), length: 72)
192.168.1.100.1033 > 192.168.1.254.domain:  16632+ PTR?
254.1.168.192.in-addr.arpa. (44)

21:44:49.633987 IP (tos 0x0, ttl 255, id 240, offset 0, flags [none],
proto: UDP (17), length: 173)
192.168.1.254.domain > 192.168.1.100.1032:  44611 1/4/0 www.freebsd.org.
A www.freebsd.org (145)

21:44:49.644775 IP (tos 0x0, ttl  64, id 31888, offset 0, flags [DF],
proto: TCP (6), length: 52)
192.168.1.100.3587 > www.freebsd.org.www:
S, cksum 0xc114 (correct), 3828632041:3828632041(0)
win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2>

21:44:49.726336 IP (tos 0x0, ttl  56, id 27781, offset 0, flags [DF],
proto:
TCP (6), length: 48)
www.freebsd.org.www > 192.168.1.100.3587:
S, cksum 0x7cc5 (correct), 3180712628:3180712628(0) ack 3828632042
win 57344 <mss 1408,nop,wscale 0>

21:44:49.726416 IP (tos 0x0, ttl  64, id 31889, offset 0, flags [DF],
proto: TCP (6), length: 40)
192.168.1.100.3587 > www.freebsd.org.www: .,
cksum 0x82a2 (correct), ack 1 win 1460

21:44:49.726516 IP (tos 0x0, ttl  64, id 31890, offset 0, flags [DF],
proto: TCP (6), length: 578)
192.168.1.100.3587 > www.freebsd.org.www: P 1:539(538) ack 1 win 1460

...etc

--------------- FreeBSD version ----------------
$ uname -a
FreeBSD buffy.feline.cat 6.1-RELEASE FreeBSD 6.1-RELEASE #0:
Sun May  7 04:32:43 UTC 2006    
root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

$ ifconfig -a
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
       inet6 fe80::240:63ff:fee6:41ba%vr0 prefixlen 64 scopeid 0x1
       inet 192.168.1.102 netmask 0xffffff00
   broadcast 255.255.255.255
       ether 00:40:63:e6:41:ba
       media: Ethernet autoselect (100baseTX <full-duplex>)
       status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
       inet6 ::1 prefixlen 128
       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
       inet 127.0.0.1 netmask 0xff000000

lease {
 interface "vr0";
 fixed-address 192.168.1.102;
 option subnet-mask 255.255.255.0;
 option routers 192.168.1.254;
 option domain-name-servers 192.168.1.254;
 option broadcast-address 255.255.255.255;
 option dhcp-lease-time 3600;
 option dhcp-message-type 5;
 option dhcp-server-identifier 192.168.1.254;
 option dhcp-renewal-time 1800;
 option dhcp-rebinding-time 3150;
 renew 4 2007/1/11 04:57:09;
 rebind 4 2007/1/11 05:19:39;
 expire 4 2007/1/11 05:27:09;
}

buffy# tcpdump -vv
tcpdump: listening on vr0, link-type EN10MB (Ethernet), capture size 96
bytes
22:29:06.250801 IP (tos 0x0, ttl  64, id 81, offset 0, flags [none],
proto: UDP (17), length: 61)
192.168.1.102.50460 > 192.168.1.254.domain:
[udp sum ok]  53280+ A? www.freebsd.org. (33)

22:29:06.257223 IP (tos 0x0, ttl 255, id 761, offset 0,
flags [none], proto: UDP (17), length: 205)
192.168.1.254.domain > 192.168.1.102.50460:  53280
q: A? www.freebsd.org. 1/4/2 www.freebsd.org.
A www.freebsd.org ns: freebsd.org.[|domain]

22:29:06.260101 IP (tos 0x0, ttl  64, id 82, offset 0,
flags [none], proto: UDP (17), length: 61)
192.168.1.102.55466 > 192.168.1.254.domain:
[udp sum ok]  53281+ AAAA? www.freebsd.org. (33)

22:29:07.086122 IP (tos 0x0, ttl  64, id 83, offset 0,
flags [none], proto: UDP (17), length: 72)
192.168.1.102.62917 > 192.168.1.254.domain:
[udp sum ok]  18530+ PTR? 254.1.168.192.in-addr.arpa. (44)

22:29:11.259943 IP (tos 0x0, ttl  64, id 84, offset 0,
flags [none], proto: UDP (17), length: 61)
192.168.1.102.64085 > 192.168.1.254.domain:
[udp sum ok]  53281+ AAAA? www.freebsd.org. (33)

22:29:12.085771 IP (tos 0x0, ttl  64, id 85, offset 0,
flags [none], proto: UDP (17), length: 72)
192.168.1.102.55092 > 192.168.1.254.domain:
[udp sum ok]  18530+ PTR? 254.1.168.192.in-addr.arpa. (44)

22:29:21.259891 IP (tos 0x0, ttl  64, id 86, offset 0,
flags [DF], proto: TCP (6), length: 64)
192.168.1.102.58074 > www.freebsd.org.http: S, cksum 0xdcdf
(correct), 2006030925:2006030925(0) win 65535
<mss 1460,nop,wscale 1,nop,nop,timestamp 854600 0,sackOK,eol>

22:29:21.341876 IP (tos 0x0, ttl  56, id 60954, offset 0,
flags [DF], proto: TCP (6), length: 60)
www.freebsd.org.http > 192.168.1.102.58074:
S, cksum 0x6633 (correct), 722492724:722492724(0)
ack 2006030926 win 57344 <mss 1408,nop,wscale 0,nop,
nop,timestamp 475465274 854600>

... etc







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45A726C0.5070403>