From owner-freebsd-questions@FreeBSD.ORG Thu Dec 12 16:13:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE322EC7; Thu, 12 Dec 2013 16:13:50 +0000 (UTC) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9B3D71F8D; Thu, 12 Dec 2013 16:13:50 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id w7so459510qcr.25 for ; Thu, 12 Dec 2013 08:13:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=g0nms2ep2hUnOUjrrz/L5l/bZvt23D5cS+XG2Vl2Yss=; b=qq3JeQe9uU/07k7vVe/yyIBKclPQ3BtrXjV67Fop0LXNK1hMPdg+egUWf21PvrGnJf Z/lyAP9BggNb4kHccl0BRMTyN57cJxyvqYMZ2h6Jl3j5vuNFV2uI3wBN1ntnOEWDs49b 8rpS2n/xmjHsrDkty4pOf0zdz6EBJCUOleXHbtBwg9CKGxyntjSpLnwQphBG5TVU2fFg nCAbX0ospzOhhxXUo11pltoKgEhomjBgkSCgqS5w9V76L/mhU6xZDkrhP/72FagUNbgw 0YnOZIM9oV4khACSTLZ0HZyFAwxJ8REkkZJdo+1ai4gUMk8RuntARs2rZ0lTvSIWx8UV cdNA== MIME-Version: 1.0 X-Received: by 10.224.147.75 with SMTP id k11mr14028069qav.22.1386864829863; Thu, 12 Dec 2013 08:13:49 -0800 (PST) Received: by 10.224.36.137 with HTTP; Thu, 12 Dec 2013 08:13:49 -0800 (PST) In-Reply-To: <52A9C98E.3050509@gmail.com> References: <52A9C98E.3050509@gmail.com> Date: Thu, 12 Dec 2013 16:13:49 +0000 Message-ID: Subject: Re: miniupnpd not inserting pf rules From: krad To: Volodymyr Kostyrko Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: ports@freebsd.org, quat@squat.no, FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2013 16:13:51 -0000 cool i was tired so couldnt make the last step, i can confirm removing the WITH makes the patch get applied On 12 December 2013 14:34, Volodymyr Kostyrko wrote: > 11.12.2013 17:00, krad wrote: > >> I have being having some trouble/fun with miniupnpd, in that it didnt seem >> to be inserting the rules into pf ( pfctl -sr -a miniupnpd >> ). The rdr rules are inserted fine just not the firewall rules at the >> rules >> anchor. I think I have traced the problem down to the port build itself. I >> have tested and reproduced it on a clean system on both 9.2 and 10 64bit >> intel builds, but I would be good to have a sanity check make sure i have >> not missed something before I raise a pr/bug report to the maintainer. >> >> >> The problem lies with the extra_patch that isnt applied even if the >> dialogue option is checked. Manually specifying it in the environment >> doesn't work either >> >> ..if ${PORT_OPTIONS:MWITH_PF_ENABLE_FILTER_RULES} >> EXTRA_PATCHES= ${PATCHDIR}/pf_enable_filter_rules.patch >> > > Man you are awesome! I had installed this one and thought there was some > compatibility problems so I just thrashed it. > > In the above example please remove 'WITH_' portion and try to recheck. If > this will clear things for you - fire up a pr with a patch. > > -- > Sphinx of black quartz, judge my vow. >