From owner-freebsd-net@FreeBSD.ORG Thu May 28 17:26:20 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6C33F3F7; Thu, 28 May 2015 17:26:20 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anubis.delphij.net", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCBA804; Thu, 28 May 2015 17:26:19 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from zeta.ixsystems.com (c-71-202-112-39.hsd1.ca.comcast.net [71.202.112.39]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by anubis.delphij.net (Postfix) with ESMTPSA id 5EB1014369; Thu, 28 May 2015 10:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delphij.net; s=anubis; t=1432833979; x=1432848379; bh=0dcU5NKhYRSfY0M5DGkzy5CbBZVIJEtwRJNeOAGzlF0=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=1+17zA49O5WXxG/nCAS9d6W6QWBsHiiG6TPTe2mTzBdjH1SLxXRVmHED06lb9ZfL/ VNcn5gKi2guApfyXaFVg9ktNHUW0dBqavcMgMUwrHg+OuYekYnNMzHpM6IhWGQQnC/ C3bDkSkrLJypU7qiF8DZD9Pm60luiugDwyI6TUrM= Message-ID: <55674FBA.7050204@delphij.net> Date: Thu, 28 May 2015 10:26:18 -0700 From: Xin Li Reply-To: d@delphij.net Organization: The FreeBSD Project MIME-Version: 1.0 To: Patrick Kelsey , hiren panchasara CC: delphij@freebsd.org, "freebsd-net@freebsd.org" , d@delphij.net Subject: Re: Looking for input on "locally patch tcpdump or merge in latest release from upstream?" References: <20150528045551.GS95600@strugglingcoder.info> <55674C6B.9050700@delphij.net> <20150528171853.GU95600@strugglingcoder.info> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2015 17:26:20 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 05/28/15 10:21, Patrick Kelsey wrote: > Yes, I'll give it a go. I haven't yet done a dry-run to see how > hairy it might be, so no predictions there. Great! Please feel free to ask if you need any help from my side. Cheers, > Thanks, Patrick > > On Thu, May 28, 2015 at 1:18 PM, hiren panchasara < > hiren@strugglingcoder.info> wrote: > >> On 05/28/15 at 10:12P, Xin Li wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 >>> >>> Hi, Hiren, >>> >>> On 05/27/15 21:55, hiren panchasara wrote: >>>> On 05/28/15 at 12:40P, Patrick Kelsey wrote: >>>>> Hi, >>>>> >>>>> I've had a patch for a capsicum-related issue in tcpdump >>>>> sitting around since last September ( >>>>> https://lists.freebsd.org/pipermail/freebsd-current/2014-September /05 >>> >>>>> 2049.html) >>>>> >>>>> >>> that is still needed and that I want finally address in the >>> tree (the pa tch >>>>> was reviewed by rwatson@ and pjd@ back then). >>>>> >>>>> This issue was patched separately in the upstream tcpdump >>>>> sources in February ( >>>>> https://github.com/the-tcpdump-group/tcpdump/commit/887bf88fd058f8 c0e >>> >>>>> f9a5af1a95b43753e3ad2eb), >>>>> >>>>> >>> along with a refactor of the associated capsicum code, and that >>> work has >>>>> been present in tcpdump releases since 4.7.3 ( >>>>> http://www.tcpdump.org/tcpdump-changes.txt). >>>>> >>>>> The last tcpdump release imported into the FreeBSD tree was >>>>> 4.6.2 ( http://svnweb.freebsd.org/base/vendor/tcpdump/). >>>>> >>>>> tcpdump release import/merges have recently resulted in >>>>> some confusion/lost local patches due to the extent of the >>>>> diffs (e.g., the thread at >>>>> https://lists.freebsd.org/pipermail/svn-src-head/2015-February/067 853 >>> >>>>> .html). >>>>> >>>>> >>>>> >>> I see three possible ways to proceed: >>>>> >>>>> 1. Apply the minimal-local-diff patch from last September >>>>> to our local tcpdump sources. This seems like it might >>>>> contribute to a future difficult/lossy tcpdump vendor >>>>> import/merge. >>>>> >>>>> 2. Import tcpdump 4.7.3 or later to address this issue. >>>>> Are there any reasons why this might not be desired? I >>>>> don't have a feel for when/why past tcpdump vendor imports >>>>> have been performed or avoided. >>>>> >>>>> 3. Cherry-pick the upstream patch and apply it to our >>>>> local sources, directly addressing only this issue and >>>>> avoiding future tcpdump vendor import/merge problems >>>>> related to this issue. >>>>> >>>>> I'm looking for input on the above. If left to my own >>>>> devices, I'd go with (3). >>>> >>>> Latest upstream release is 4.7.4 and the one before that was >>>> 4.6.2 which we already have in the tree. I think we should >>>> get latest instead of picking bits and pieces when possible. >>>> >>>> CCing Xin for his input as he has been doing last few >>>> imports. >>> >>> Yes, I think we should do the new import. (Are you willing to >>> do that? I'm doing it only because nobody else were doing >>> it...) >> >> I think Patrick volunteered to do the import. If he can't, I'll >> do it. >> >> Cheers, Hiren >> > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net To > unsubscribe, send any mail to > "freebsd-net-unsubscribe@freebsd.org" > - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1.4 (FreeBSD) iQIcBAEBCgAGBQJVZ0+6AAoJEJW2GBstM+nsDfoP/1XiBFyZ0mY1lA6zEj/7BegN COHHyPWc6BAgGB3uW6aTUNJ417B5udz9MPifG/582G/GzXKBJJiu5/O2eHNJ+e8T ioIaBt0+hy3+QyoAfa+LiYJ0IwuKErXmZ+CD4LuOZT6itZnru67DWG9voWJYCV+V RK7Ry585fDDNDE2qNUAZgKUH35OMjmhdGjLlV2wFOhWuo/le/ZasvsRuAMaBq7v8 NIZNs3QoeyJhhkgLn3427ntDXbmAVm1p62zRdTjbPVYc9Re8JkA8tWzCnEtz04em lcypZWZRafRvPYUCM9+qLpOpogXsotk1SRlm6QhXt0BZe782btJVgLNIROJPC851 enV8P2pgI7zudazLjO79Cb56UxAyKRJBxht5bxW3nAxRAB34KIe9018CHhi8nTGl ZAzOYESYijDUDwG22iskSBUWm4VcRLSXRZmH/+NgKvmrzaPD/L3NAipZ4REqDRkD Uls2H4kMsKf8IgmZQQF8nonJzg5k73pF37PvA4VHjqnPn3vi6GJfgKQani6oMGpW nKa9YrCF3z7vD+t1Mifn44+GWN73PZ3OjiHNKi4Sx8nXeSdC412SJo+Rrb/FTWYv LZ1Joaobl84JXuuogoLkG09yXwm90PsoHHr0OfdPd6DAF67UhUjmd2phEMW3vFHz R9ZicEtFxm9LeGqmBI9e =wtWn -----END PGP SIGNATURE-----