Bug#1008796: miniupnpd: compile miniupnpd also with IGD v1 only

2022-11-29 Thread Mobeets

On Mon, 2 May 2022 11:40:54 +0800 Yangfl  wrote:
> This does not help a lot. Please, consider filling at least the
> following information:
> * The hardware type and software version of the clients;
> * Network captures of IGD1 and IGD2 miniupnpds;
> * miniupnpd log, if any.
>
>
Hello,

I believe these Github issues have the information necessary to address 
this problem:


https://github.com/miniupnp/miniupnp/issues/539
https://github.com/openwrt/packages/pull/14656

Older versions of miniupnpd do not catch the Microsoft browser 
user-agent to format the rootDesc.xml and WANIPCn.xml properly. Using 
the "force_igd_desc_v1=yes" configuration option on the Debian version 
does not work properly as it does not omit the XML that is incompatible 
with Microsoft's IGD service.



*What led up to the situation?
Using an open source router software named "VyOS" that depends on this 
package for UPnP. NAT/UPnP was type "strict" on all the services tested 
(Playstation Network, Xbox Live, Microsoft Gaming Hub). UPnP tester 
programs reported also reported no ability to manipulate UPnP through 
"WANIPConnection".


* What action was performed that was effective in addressing the problem?
Grabbed the source of the miniupnpd-2.2.1 package from the Debian 
repository and re-compiled with default configure options which do NOT 
enable IGDv2.


* What was the outcome of this action?
NAT/UPnP type changed to "open" which is the intended outcome, UPnP 
testers reporting "WANIPConnection".




Bug#1008796: miniupnpd: compile miniupnpd also with IGD v1 only

2022-05-01 Thread Yangfl
This does not help a lot. Please, consider filling at least the
following information:
* The hardware type and software version of the clients;
* Network captures of IGD1 and IGD2 miniupnpds;
* miniupnpd log, if any.



Bug#1008796: miniupnpd: compile miniupnpd also with IGD v1 only

2022-04-11 Thread Matteo Croce
Hi,

I don't know what differs, but after several tries, I found that only
the compile time change fixes it.
If you look on some online forums it seems a known issue, and
recompilation is the only workaround by now.

-- 
per aspera ad upstream



Bug#1008796: miniupnpd: compile miniupnpd also with IGD v1 only

2022-04-02 Thread Yangfl
Control: tags -1 moreinfo

On Fri, 01 Apr 2022 20:41:29 +0200 Matteo Croce 
wrote:
> Package: miniupnpd
> Version: 2.2.1-1
> Severity: normal
>
> Dear Maintainer,
>
> miniupnpd has the force_igd_desc_v1 config option to use the v1 IGD
descriptor.
> Unfortunately, the runtime behaviour differs between the daemon compiled
with
> and without --igd2, even when force_igd_desc_v1 set.
> This makes the daemon non interoperable with some devices.
> Please consider adding another package like miniupnpd-igd1, where the
daemon
> is compiled without --igd2.
>
How differs? This should be considered as an upstream bug.


Bug#1008796: miniupnpd: compile miniupnpd also with IGD v1 only

2022-04-01 Thread Matteo Croce
Package: miniupnpd
Version: 2.2.1-1
Severity: normal

Dear Maintainer,

miniupnpd has the force_igd_desc_v1 config option to use the v1 IGD descriptor.
Unfortunately, the runtime behaviour differs between the daemon compiled with
and without --igd2, even when force_igd_desc_v1 set.
This makes the daemon non interoperable with some devices.
Please consider adding another package like miniupnpd-igd1, where the daemon
is compiled without --igd2.

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 11.3
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.1-saturno (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages miniupnpd depends on:
ii  debconf [debconf-2.0]  1.5.77
ii  init-system-helpers1.60
ii  lsb-base   11.1.0
ii  miniupnpd-nftables 2.2.1-1
ii  uuid-runtime   2.36.1-8+deb11u1

miniupnpd recommends no packages.

miniupnpd suggests no packages.

-- debconf information:
  miniupnpd/force_igd_desc_v1: false
* miniupnpd/start_daemon: false
  miniupnpd/ip6script: false
* miniupnpd/iface: eno1
* miniupnpd/listen: