miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FreeBSD PF and rdr pass quick on...

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
h0kum



Joined: 03 Sep 2010
Posts: 1

PostPosted: Fri Sep 03, 2010 11:57 am    Post subject: FreeBSD PF and rdr pass quick on... Reply with quote

Hi,

The problem I have discovered is:

on FreeBSD 8.1 ( I suspect also other versions will suffer this )
miniupnpd with pf

the daemon is adding rules with "quick" flag on via
rdr-anchor "miniupnpd"
e.g.
rdr pass quick on ExtIF inet proto tcp from any to any port = PORT keep state label "LABEL" rtable 0 -> TargetIP port PORT

the way I understand it the QUICK flag is preventing the packets from being processed by the other rules in my pf configuration.

for example processing the packets through different queues.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Fri Sep 10, 2010 9:19 am    Post subject: Reply with quote

look in the file obsdrdr.c for pcr.rule.quick = 1 and change that ! Smile
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Thu Mar 06, 2014 4:47 pm    Post subject: Reply with quote

Or you can change your miniupnpd.conf file and write :
Code:
quickrules=no

_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.