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 

compiling miniupnpd without iptables support?

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



Joined: 30 Jun 2011
Posts: 4
Location: Irvine

PostPosted: Thu Jun 30, 2011 1:57 am    Post subject: compiling miniupnpd without iptables support? Reply with quote

Is it possible to compile miniupnpd without iptables support?

I can compile OK with miniupnpd-1.5.20110623 and iptables-1.4.11 and run on the target.

Since the target does not have iptables.
syslog error reads:
daemon.err miniupnpd[563]: get_redirect_rule_by_index() : iptc_init() failed : iptables who? (do you need to insmod?)

Just wondering if iptables support should be optional and if it has been attempted before. Otherwise will have attempt to modify and get it to compile and run without dependency on iptables.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Thu Jun 30, 2011 7:47 pm    Post subject: Reply with quote

Ok, but what is the purpose of running miniupnpd without iptables ?
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
amathur



Joined: 30 Jun 2011
Posts: 4
Location: Irvine

PostPosted: Thu Jun 30, 2011 10:53 pm    Post subject: Reply with quote

My requirement is basically automatic discovery of my devices so they show up along-side other network equipment.

Users can now inspect all the instances of the device on their network, and
the presentationUrl takes them to the device web page for configuration.

miniupnpd works perfectly for me and I was hoping to reduce the size and prerequisites for an embedded target.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Fri Jul 01, 2011 8:05 am    Post subject: Reply with quote

miniupnpd is a "Internet Gateway Device" UPnP device, maybe you should look for another type of UPnP device which fits your need better.
_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
amathur



Joined: 30 Jun 2011
Posts: 4
Location: Irvine

PostPosted: Fri Jul 01, 2011 4:55 pm    Post subject: Reply with quote

Thank you for the prompt responses on the list. I will consider other options too.
Back to top
View user's profile Send private message
schma



Joined: 19 Sep 2011
Posts: 1
Location: Germany

PostPosted: Mon Sep 19, 2011 7:01 am    Post subject: Reply with quote

@amathur
I have the same goal as you have: only UPnP discovery is required. Also on my embedded target I look for small footprint daemon, without iptables.

Did you find your solution already?
Back to top
View user's profile Send private message
amathur



Joined: 30 Jun 2011
Posts: 4
Location: Irvine

PostPosted: Thu Jan 12, 2012 7:20 pm    Post subject: Reply with quote

@schma
I worked around it by disabling all references/calls to iptables in the code.
Hope it is not too late to reply.
Back to top
View user's profile Send private message
Malay



Joined: 11 May 2013
Posts: 16
Location: Anand

PostPosted: Mon May 13, 2013 6:43 am    Post subject: Can you send me the code for that? Reply with quote

Can you send me the code for that?
I have removed many lines of code from miniupnpd which is related to iptables and nfnetlink.
I have also removed the files from makefile which will prevent the compilation of those files.
I kindly request you if possible then please send the changed code.
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 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.