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 

ip6tables chains don't get created from init.d script

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation
View previous topic :: View next topic  
Author Message
vom513



Joined: 13 Sep 2018
Posts: 10
Location: Ohio, USA

PostPosted: Thu Sep 13, 2018 6:43 pm    Post subject: ip6tables chains don't get created from init.d script Reply with quote

Hello,

Apologies if this is documented somewhere already.

I see that there are ip[6]tables* scripts in /etc/miniupnpd/ - which do the analog to their ipv4 counterpart scripts. But in the init.d script - they don't get called.

What I did is to simply "double up":

Code:
IPTABLES_CREATE=/etc/miniupnpd/iptables_init.sh
IPTABLES_REMOVE=/etc/miniupnpd/iptables_removeall.sh

IP6TABLES_CREATE=/etc/miniupnpd/ip6tables_init.sh
IP6TABLES_REMOVE=/etc/miniupnpd/ip6tables_removeall.sh


And then everywhere IPTABLES_* is called, also call IP6TABLES_*.

Would it harm anything to go ahead and put this in the script ? I'm trying to think of a downside or gotcha. In other words, even if someone isn't using IPv6 - populating the ip6tables filters shouldn't cause any harm should it ?

Thanks.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1587

PostPosted: Fri Sep 14, 2018 9:37 am    Post subject: Reply with quote

I think nobody uses UPnP for IPv6...
but you are perfectly right, that wouldn't do any harm to run the IPv6 init scripts
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Dosch



Joined: 20 Dec 2018
Posts: 1
Location: Raleigh, NC

PostPosted: Fri Dec 21, 2018 2:14 pm    Post subject: Reply with quote

Why's that? Is UPnP particularly bad for iPv6?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1587

PostPosted: Sat Jan 21, 2023 12:04 pm    Post subject: Reply with quote

This is finally fixed :
https://github.com/miniupnp/miniupnp/commit/98cc9f1b43de0cebfa1f0c3fdbdb4c04c1ee5a28
_________________
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 Compilation/Installation 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.