View previous topic :: View next topic |
Author |
Message |
amathur
Joined: 30 Jun 2011 Posts: 4 Location: Irvine
|
Posted: Thu Jun 30, 2011 1:57 am Post subject: compiling miniupnpd without iptables support? |
|
|
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 |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Thu Jun 30, 2011 7:47 pm Post subject: |
|
|
Ok, but what is the purpose of running miniupnpd without iptables ? _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
amathur
Joined: 30 Jun 2011 Posts: 4 Location: Irvine
|
Posted: Thu Jun 30, 2011 10:53 pm Post subject: |
|
|
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 |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Fri Jul 01, 2011 8:05 am Post subject: |
|
|
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 |
|
|
amathur
Joined: 30 Jun 2011 Posts: 4 Location: Irvine
|
Posted: Fri Jul 01, 2011 4:55 pm Post subject: |
|
|
Thank you for the prompt responses on the list. I will consider other options too. |
|
Back to top |
|
|
schma
Joined: 19 Sep 2011 Posts: 1 Location: Germany
|
Posted: Mon Sep 19, 2011 7:01 am Post subject: |
|
|
@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 |
|
|
amathur
Joined: 30 Jun 2011 Posts: 4 Location: Irvine
|
Posted: Thu Jan 12, 2012 7:20 pm Post subject: |
|
|
@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 |
|
|
Malay
Joined: 11 May 2013 Posts: 16 Location: Anand
|
Posted: Mon May 13, 2013 6:43 am Post subject: Can you send me the code for that? |
|
|
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 |
|
|
|