After a couple of startups of WLM the firewall rules list in my router
is full with WLM UPnP rules, often same ports again and again, I get the
feeling that WLM doesn't unmap very well. Is this a common problem or is
it my specific router (DI-624) that doesn't handle WLM although other
applications work well with it.
I did some wiresharking and it actually looks like WLM tries to delete
the portmapping but my router doesn't get it.
// This doesn't work
This is how WLM does it:
POST /WANIPConnection HTTP/1.1
HOST: 192.168.0.1:5678
CONTENT-LENGTH: 415
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION:
"urn:schemas-upnp-org:service:WANIPConnection:1#DeletePortMapping"
<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<u

eletePortMapping
xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewRemoteHost></NewRemoteHost>
<NewExternalPort>11775</NewExternalPort>
<NewProtocol>TCP</NewProtocol>
</u

eletePortMapping>
</s:Body>
</s:Envelope>
// This works
This is how it looks when I delete the portmapping via Network
connections/Internet gateway in Windows.
POST /WANIPConnection HTTP/1.1
Content-Type: text/xml; charset="utf-8"
SOAPAction:
"urn:schemas-upnp-org:service:WANIPConnection:1#DeletePortMapping"
User-Agent: Mozilla/4.0 (compatible; UPnP/1.0; Windows 9x)
Host: 192.168.0.1:5678
Content-Length: 605
Connection: Keep-Alive
Cache-Control: no-cache
Pragma: no-cache
<?xml version="1.0"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<m

eletePortMapping
xmlns:m="urn:schemas-upnp-org:service:WANIPConnection:1">
<NewRemoteHost xmlns:dt="urn:schemas-microsoft-com:datatypes"
dt:dt="string"></NewRemoteHost>
<NewExternalPort xmlns:dt="urn:schemas-microsoft-com:datatypes"
dt:dt="ui2">11775</NewExternalPort>
<NewProtocol xmlns:dt="urn:schemas-microsoft-com:datatypes"
dt:dt="string">TCP</NewProtocol>
</m

eletePortMapping>
</SOAP-ENV:Body></SOAP-ENV:Envelope>