Date: Thu, 12 Dec 2013 16:34:54 +0200 From: Volodymyr Kostyrko <c.kworr@gmail.com> To: krad <kraduk@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>, ports@freebsd.org Cc: quat@squat.no Subject: Re: miniupnpd not inserting pf rules Message-ID: <52A9C98E.3050509@gmail.com> In-Reply-To: <CALfReyeni-QtQ%2BpJW5CqWOSqcG7OdJhsM_gKDFx3r9UgAJTQtQ@mail.gmail.com> References: <CALfReyeni-QtQ%2BpJW5CqWOSqcG7OdJhsM_gKDFx3r9UgAJTQtQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52A9C98E.3050509>