From owner-freebsd-net@freebsd.org Sun Apr 2 12:40:02 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA9AED29587; Sun, 2 Apr 2017 12:40:02 +0000 (UTC) (envelope-from hiroo.ono@gmail.com) Received: from mail-oi0-x243.google.com (mail-oi0-x243.google.com [IPv6:2607:f8b0:4003:c06::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 92EFBBC9; Sun, 2 Apr 2017 12:40:02 +0000 (UTC) (envelope-from hiroo.ono@gmail.com) Received: by mail-oi0-x243.google.com with SMTP id f193so15781756oib.0; Sun, 02 Apr 2017 05:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:sender:from:date:message-id:subject:to:cc; bh=qP9QF8asK1d5HOV44tC1jPhl6LyTvJNY4DNiQDjXszQ=; b=VX0Gf/OmyXIJQE+Reo72raaC6pD7aLf/jyXyoc1SYSKn0c4opAnMWPyx9JCPoMyJs+ RH8YLbzPYLD2XXmg/LcsUDzXBAeTPhcDx2AyNoX+dgJeYdztEd3XsZKUHSGN3xvKqNTS 2+j2I+skomcsieefPWsY2HsX6dnj6fA+xj2VW0BIhB04oYW6Y8/tTQIb1oDSo9lMBHKx ZuaSTAeDzGTms5g1Ec/Ei8dUaV77xmC9OSxGtjfl4+L1VunRCJnF9ChL3X+CS7wec1O8 P6ITlBpgUpM4MOKZrcBPYQOAfuY3+u1V55oIKhIQ7/Akoi3BA5vJk7uzytfIc97lNlE0 GqlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:sender:from:date :message-id:subject:to:cc; bh=qP9QF8asK1d5HOV44tC1jPhl6LyTvJNY4DNiQDjXszQ=; b=AWmOzeM2dngo8i1pZuJXhavccI0Ijdo6vkmNN6OIHhLzpFiL9AX11kMgc2DMDmhARU D4ZXClsYMAb13bOnoKLl9a8KNm6PNkzINwWbstsv2+3aj+8nFvLHD/j7pngSedCxeuvC qeBP2xQbSNEvHPeUBlCc9IomaG5hwVokvxzgAzjsvYQSVfk+Y4Ul1ODH9Xt2aBpFtMqj Q7/EiOT5zY5r+LJWRFEqWC5J/yEyO6ibLjHderEe1mOUAcDOt9XbVxo2oNmvB6VtP9yG Gu+Re18KXmJDwspfaWd+sEIRhqb3QV1Z12Ix/+4GMH7z8tVRWW+sA08LqohyUp4GqX8g kyCQ== X-Gm-Message-State: AFeK/H3LJo1n6buXkAvMECsdjii5c7rsWTYHiCKl7s1VYj4q0sV30WndVShW929VfZU2Wnrdw3rhj/qQJ0tdLg== X-Received: by 10.157.41.38 with SMTP id d35mr306678otb.15.1491136801889; Sun, 02 Apr 2017 05:40:01 -0700 (PDT) MIME-Version: 1.0 Reply-To: hiroo.ono+freebsd@gmail.com Sender: hiroo.ono@gmail.com Received: by 10.74.32.213 with HTTP; Sun, 2 Apr 2017 05:40:01 -0700 (PDT) From: =?UTF-8?B?SGlyb28gT25vICjlsI/ph47lr5vnlJ8p?= Date: Sun, 2 Apr 2017 21:40:01 +0900 X-Google-Sender-Auth: dZW0xVKrkVEHzcKx_UHLeyJXvgM Message-ID: Subject: Re: ng_ipfw and vnet To: avernar@gmail.com Cc: freebsd-net@freebsd.org, freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Apr 2017 12:40:02 -0000 Hello, Adding freebsd-virtualization@ > I needed to have the netgraph ipfw node appear in a vnet jail but it > is only created once on module load and only for the base system. I > put together this modification to get it to also appear in vnet jails. I also had the need to use ipfw node in a vnet jail and found your mail: https://lists.freebsd.org/pipermail/freebsd-net/2016-October/046249.html With this patch, I am running ipfw with ng_tcpmss inside a vnet jail. I am sorry that I cannot say anything about the code itself, but it works well and is what I was looking for. Do you have any plan to file it to bugzilla so that it will be committed? ---- Hiroo Ono