Your message dated Wed, 28 May 2014 14:35:24 +0800 with message-id <[email protected]> and subject line Wont fix this has caused the Debian Bug report #688279, regarding miniupnpd: Support for multiple 'listen_ip's to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 688279: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688279 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: miniupnpd Version: 1.7-4 Severity: normal Please, make 'MiniUPnPd_LISTENING_IP' option in '/etc/default/miniupnp' optional for init script. This is needed to make daemon listen for requests on two or more interfaces. (for me this is br0 and br2). Commenting following section in init script - solves the problem for me, but this is dirty hack. #if [ -z "${MiniUPnPd_LISTENING_IP}" ] #then # log_daemon_msg "${DAEMON_NAME}: no listening IP defined: exiting" # log_end_msg 1 # # exit 0 #fi This line also need to be changed (miniupnpd.init:151): -start-stop-daemon -q --start --exec "/usr/sbin/miniupnpd" -- -i ${MiniUPnPd_EXTERNAL_INTERFACE} -o ${EXTIP} -a ${MiniUPnPd_LISTENING_IP} ${MiniUPnPd_OTHER_OPTIONS} +start-stop-daemon -q --start --exec "/usr/sbin/miniupnpd" -- -i ${MiniUPnPd_EXTERNAL_INTERFACE} -o ${EXTIP} ${MiniUPnPd_OTHER_OPTIONS} Possible way to fix: ignore value if empty. Something like this (in initscript, instead of code above): if [ ! -z "${MiniUPnPd_LISTENING_IP}" ]; then MiniUPnPd_OTHER_OPTIONS="-a ${MiniUPnPd_LISTENING_IP} ${MiniUPnPd_OTHER_OPTIONS}" elif [ "x${MiniUPnPd_LISTENING_IP}" == "xconfig" ]; then # pass else log_warning_msg "Warning, you don't set listening ip for $NAME" log_warning_msg "Daemon will listen on '0.0.0.0/0'. Possible this is not you want." fi -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages miniupnpd depends on: ii debconf [debconf-2.0] 1.5.46 ii iproute 20120521-3 ii iptables 1.4.14-3 ii libc6 2.13-35 ii net-tools 1.60-24.1 ii uuid-runtime 2.20.1-5.1
--- End Message ---
--- Begin Message ---Hi, I'm sorry, but I think this is too dangerous, and may lead to the daemon listening on all interface, including the public internet. So I will not do that, this is IMO too dangerous. If you want to do what you wrote in the bug, then feel free to continue patching the init script, which anyway is marked as CONFFILES, so it will stay from one version to the next. Cheers, Thomas Goirand (zigo)
--- End Message ---

