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 "APPEND" or "INSERT"

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



Joined: 01 Mar 2010
Posts: 16

PostPosted: Mon Mar 01, 2010 9:00 am    Post subject: iptables "APPEND" or "INSERT" Reply with quote

please, add capability INSERT nat rule in lieu of APPEND nat rule
for purpose use return rule in end line:
iptables -t nat -A upnp -j RETURN
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1442

PostPosted: Wed Mar 03, 2010 11:14 am    Post subject: Reply with quote

I'm no iptables expert so I dont really understand what you want.
_________________
Main miniUPnP author.
http://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: 1442

PostPosted: Wed Mar 03, 2010 11:20 am    Post subject: Reply with quote

you could edit netfilter/iptcrd.c file and change call to iptc_append_entry() at line 530.
iptc_insert_entry() take an additionnal argument, the position for insertion.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
zamir



Joined: 01 Mar 2010
Posts: 16

PostPosted: Thu Mar 04, 2010 7:12 am    Post subject: Reply with quote

yes, this that necessary (with insert position 1)
It can be possible to make an option in a file of a configuration for behaviour change? Rolling Eyes
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Feature Request 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.