From owner-freebsd-current@freebsd.org Mon Apr 10 13:50:15 2017 Return-Path: Delivered-To: freebsd-current@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 CE5DCD36346 for ; Mon, 10 Apr 2017 13:50:15 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io0-x243.google.com (mail-io0-x243.google.com [IPv6:2607:f8b0:4001: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 91B38A02 for ; Mon, 10 Apr 2017 13:50:15 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io0-x243.google.com with SMTP id w130so5466659iow.0 for ; Mon, 10 Apr 2017 06:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=6D6ibcJjI+uGw+NXu3TVsZkA8LeuszLbrMFu+AeRQmY=; b=P7Wkto7zNCPzS++NNENCbgAybNkBrbMKeScB32fs/cQ1kcTu5NkVQps/0MbVs/9Nsn YMn1bM9s6n/IpOKCmEBKU/aeR6qBqC0Q8bybHpGONYgqnklRb+5VTviPCA8MsS0r3gii f8GMZ/C0ZcFcS3ZRj9I/Bt9K1BN+/zpxLpU7Efh2B6Yi0xUpuX4nZkAN0TK51Xkyc2Et cZtnu/TlUk1kwGo9cYTSEg6z4sdnXRp2S0yRv914ZRjGd1e8HOqjGWW0ewXs9/HM0fZ1 3pIJderIwnWVBPJP/C9I7dIEENPKDKm9Qvl6W/sOUUfs5PYQ70SXdtJiIpvAgk5OH1Tc DLkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=6D6ibcJjI+uGw+NXu3TVsZkA8LeuszLbrMFu+AeRQmY=; b=LAeOEJRaiKT+GebD2T4YyG795Fx0fyibwDKHqLfa2bARBbJxYZv4QYwEbeh51sosly 19KkyOxlV0NDwpMllyhwvIfzAuTL4g0zDR+QpUnz4vSUWIATqQvPzuyPf43gSxbhQCMj 3Oh9g9wf7tQ73SZlynsafzvg4rmDsUSoaQZAqc434eXs55m87M8YiQkKOHsYL/5Cp2/S Ldrz5/l5ZsnFoiF9bZa4wMz9JC1611wESyorBPRGrnsdIm5/+zExNcw+pyO2+5fQhd5M P/XrpOvyLbOBU96QowjPQg3ftXquh9RFzjfpULJSzrliEc2XA+tcunFfp/W8MKHZS6B4 o4jg== X-Gm-Message-State: AN3rC/5KKjqP547pwtEmRBRGI8jf//YcJ54fNjaiZZpeCfYFwetIlUII 1rPe4YBduYxD6w== X-Received: by 10.36.85.148 with SMTP id e142mr12391548itb.106.1491832215003; Mon, 10 Apr 2017 06:50:15 -0700 (PDT) Received: from [10.0.10.3] (cpe-74-141-88-57.neo.res.rr.com. [74.141.88.57]) by smtp.googlemail.com with ESMTPSA id p70sm4934150itg.0.2017.04.10.06.50.13 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Apr 2017 06:50:14 -0700 (PDT) Message-ID: <58EB8D98.5050904@gmail.com> Date: Mon, 10 Apr 2017 09:50:16 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: peter.blok@bsd4all.org CC: Pavel Timofeev , "Bjoern A. Zeeb" , freebsd-current Subject: Re: VNET branch destiny References: <0136F3BE-4B47-4677-8D81-3FE0F5E67E79@lists.zabbadoz.net> <24B3E322-5B92-470D-A1D6-10DF8EF79490@bsd4all.org> In-Reply-To: <24B3E322-5B92-470D-A1D6-10DF8EF79490@bsd4all.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2017 13:50:15 -0000 peter.blok@bsd4all.org wrote: > There have been issues with pf if I recall correctly. I currently have issues with stable, pf and vnet. There is an issue with pf table entries when an interface is moved to a different vnet. > > Does anyone no if there is a specific fix for this that hasn’t been ported to stable? I haven’t had the time to test this on current. > > Peter PF was fixed in 11.0 to not panic when run on a host that has vimage compiled into the kernel. On 11.0 you can configure pf to run in a vnet jail but it really does not enforce any firewall rules because pf needs access to the kernel which jail(8) is blocking by design. As far as I know this is a show shopper that can not be fixed without a pf rewrite changing the way it works internally. This PR gives all the details https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212013