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 

iptables firewall error on 2.1

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



Joined: 10 Feb 2018
Posts: 17

PostPosted: Tue May 22, 2018 7:45 pm    Post subject: iptables firewall error on 2.1 Reply with quote

I've noticed the new iptables scripts, which I like (I'd written my own to clear down iptables before your init ones ran for probably a similar reason), but I think a bug has been introduced. In the old scripts a "-w" switch was added to the $IPTABLES parameter so the command "path/iptables -w" ran. Now only "path/iptables" is used and this can produce table locking issues.

I think it needs to be put into /etc/miniupnpd/miniupnpd_functions.sh. It can possibly go as the last line as I am not sure it is necessary for the listing commands. Something like:
Code:
IPTABLES="$IPTABLES -w"
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1433

PostPosted: Tue May 29, 2018 10:23 am    Post subject: Reply with quote

indeed the -w option was lost in commit 82ec7bc3df0eab362163545f5e61eb97a84652cd
_________________
Main miniUPnP author.
http://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.