From owner-freebsd-stable@FreeBSD.ORG Tue Mar 31 20:15:53 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 628BD106566B for ; Tue, 31 Mar 2009 20:15:53 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id E80D18FC17 for ; Tue, 31 Mar 2009 20:15:52 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by bwz8 with SMTP id 8so2450494bwz.43 for ; Tue, 31 Mar 2009 13:15:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=3wEJjlKgKmHny/Gq9Fr2s1z+dou7vqJHp79nnp8lZRA=; b=Tv3IeZqgcDRMBqYCD3isAv2+Pd+B7+UQ0hFt+JKJzvFOFcRTT7himJe+WKCjR7HKwq 8lbtHfUQ3F/OgKg32HRWqPs1B+K83wB74wt4d1pU4aR5oCsjiX7vzwg6wFGYlc6GoRbq tE0Fw+RFeXO21Al+hhi0XGqBXyK4yqtLLCHT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=c1TBMrdctIPeY28IDt1V7JtY1SFI9D9wYDWGHODOis+jultNdvWXbiGDyBTeBL1oSl e70VfvfgWK+CAK+KzfA+cpFjt7eaZUvvJnR/aewEreCqBI8rd0mwitYKFZ6xU0XY53el NTzp+BGywiDD+z6OCtqlEOoRi1i3F8Y1aVb2c= MIME-Version: 1.0 Received: by 10.103.221.5 with SMTP id y5mr2454082muq.66.1238530551913; Tue, 31 Mar 2009 13:15:51 -0700 (PDT) Date: Wed, 1 Apr 2009 00:15:51 +0400 Message-ID: From: pluknet To: FreeBSD Stable Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: incorrect port value in tcpdump output X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 20:15:54 -0000 Hi there. [I don't know if it was discussed already.] tcpdump'ed from RELENG_7, kernel and modules as of Mar 22 are in sync, world as of Mar 18. I caught this while building kernel via NFS. The subj host is an NFS server. 23:22:03.056098 IP (tos 0x0, ttl 64, id 26932, offset 0, flags [DF], proto TCP (6), length 160) 172.17.5.168.2355868444 > 172.17.5.167.2049: 108 getattr [|nfs] 0x0000: 4500 00a0 6934 4000 4006 6db2 ac11 05a8 0x0010: ac11 05a7 0396 0801 7631 7eb4 37c6 db06 0x0020: 8018 40cc 54c6 0000 0101 080a 00a5 d95b 0x0030: da0f fa92 8000 0068 8c6b b31c 0000 0000 0x0040: 0000 0002 0001 86a3 0000 0003 0000 0001 0x0050: 0000 23:22:03.056180 IP (tos 0x0, ttl 128, id 10841, offset 0, flags [DF], proto TCP (6), length 168) 172.17.5.167.2049 > 172.17.5.168.2355868444: reply ok 116 getattr [|nfs] ^^^^^^^ 0x0000: 4500 00a8 2a59 4000 8006 6c85 ac11 05a7 0x0010: ac11 05a8 0801 0396 37c6 db06 7631 7f20 0x0020: 8018 71c7 7a07 0000 0101 080a da0f fa93 0x0030: 00a5 d95b 8000 0070 8c6b b31c 0000 0001 0x0040: 0000 0000 0000 0000 0000 0000 0000 0000 0x0050: 0000 If you'd look in tcp header then 2355868444 value should be 918 actually (as htons(918) returns expected 9603 in hex (0396 in net order)). -- wbr, pluknet