From owner-freebsd-questions@FreeBSD.ORG Thu Dec 12 14:35:00 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 BBAA29D2; Thu, 12 Dec 2013 14:35:00 +0000 (UTC) Received: from mail-ea0-x22f.google.com (mail-ea0-x22f.google.com [IPv6:2a00:1450:4013:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2BD9F16D6; Thu, 12 Dec 2013 14:35:00 +0000 (UTC) Received: by mail-ea0-f175.google.com with SMTP id z10so276960ead.6 for ; Thu, 12 Dec 2013 06:34:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=5QhuVprz45UGAGFPHaxJIKnga46ygfLhg6ihXoY571A=; b=A1+5GYUTH+Y29hstljlAf2awVtGSfLFQV46hVVja4WVUbxFS/Ey2VcNUdpaddoy+4t d6l5GhYj22awy93K9eLxFfe+MZqYiZzkkFZHsPN4GYhp1HsNlB55qxzAGYBWFrmwL7kh 1/T2HmRlHnBV4JdconmbyudVPXkAVAmi6VtHK3a/32l8IvnoztRW19PTIA7XQF4HN0Gy oNwZPXrMghQ4IQnI7wRUysqzviaM7h52aqXMnfKPJp3vPG52z4Xo1mfa1HpfsldojUEj gsC6+rfOPj3daIv8ZwXBdm91kMoZnN5yEf08lPdfujkwm8pfObbGhqjF3ECFQY2lVAye Smzg== X-Received: by 10.15.82.136 with SMTP id a8mr8305370eez.81.1386858898276; Thu, 12 Dec 2013 06:34:58 -0800 (PST) Received: from [192.168.1.129] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id b41sm66652986eef.16.2013.12.12.06.34.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 06:34:57 -0800 (PST) Message-ID: <52A9C98E.3050509@gmail.com> Date: Thu, 12 Dec 2013 16:34:54 +0200 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: krad , FreeBSD Questions , ports@freebsd.org Subject: Re: miniupnpd not inserting pf rules References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: quat@squat.no 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 14:35:00 -0000 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.