From owner-freebsd-net@FreeBSD.ORG Fri Oct 12 00:21:17 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D2F72D6; Fri, 12 Oct 2012 00:21:17 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id EEAE58FC0A; Fri, 12 Oct 2012 00:21:16 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hr7so66653wib.13 for ; Thu, 11 Oct 2012 17:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=xNSXdimHMHnWI3MnvOQbd5VbjZoq1TiPM0ch33Ce/oc=; b=g4ztNlZgvaO2vzP+LPZW3nBDF7djPnzDcNg7o+Cqq2EHtcx5N7d1zfMBSGvmJST57p RSCqDar07T1S3E7X7twSZyc0iQhJolPcimGicmm6QsN42hWbH+vCGYWRaHVYTqfOl0s/ 81AgUBxPvb3UM6rD03lUSz6hbxM8x721ea7waywxXb1G/k6tVK9gzVok8b/rs7qgexlq R0fTVmkHtLCnol5Cr2k7vmcN0w72T9K8Jd0pCcyH6k35G9VUP2A3ztttzAIGnAwuX163 tke0rauyDdm/YnVFq0qfgSpd4QyiDDQbCQAm0lt8b10vZ/02PX8jYK7rYt8IpVaEEUn1 Olzg== Received: by 10.216.204.72 with SMTP id g50mr1494426weo.142.1350001275779; Thu, 11 Oct 2012 17:21:15 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.223.157.200 with HTTP; Thu, 11 Oct 2012 17:20:55 -0700 (PDT) In-Reply-To: <20121010233404.GI34622@glebius.int.ru> References: <20121009154128.GU34622@FreeBSD.org> <20121010195842.GH34622@FreeBSD.org> <20121010222651.GR40452@mdounin.ru> <20121010233404.GI34622@glebius.int.ru> From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Fri, 12 Oct 2012 02:20:55 +0200 X-Google-Sender-Auth: Xjxftw9t-oGe6GEl4jihr84V5pg Message-ID: Subject: Re: [CFT/Review] net byte order for AF_INET To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 Cc: net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2012 00:21:17 -0000 I've done some tests with this net byte ordered(NBO) patch: - I've compiled 2 i386 images of BSD Router Project (current branch rev241418): One with the patch, and the other without the patch [1] - I've run my "full-features testing lab" under VirtualBox [2] using theses images. Here are the differences: - I can't SSH to and between the NBO-patched-FreeBSD; - Lot's of messages "in_cksum_skip: out of data by 28560/23460" on the non-patched FreeBSD (R2 and R3 on the diagram in [2]) - PPTP tunnel (net/mpd5) didn't works on the NBO-patched-FreeBSD; Regards, Olivier [1] http://gugus69.free.fr/freebsd/netbyteorder/ [2] http://bsdrp.net/documentation/examples/maximum_bsdrp_features_lab