View previous topic :: View next topic |
Author |
Message |
preddy
Joined: 09 Feb 2015 Posts: 12 Location: chennai
|
Posted: Mon Feb 09, 2015 6:59 am Post subject: Miniupnpd not displaying in windows network places |
|
|
Hi ,
I am using miniupnpd version 1.7 in my device which is running on top of linux OS and working properly for ipv4 address and when enable IPv6 flag under genconfig.sh and compiled and loaded in to my box and enabled only ipv6 network only in my windows pc, Miniupnpd devive is not showing under windows network places. But when in wire shark logs I can find that handing is happening properly as expected, NOTIFY, M-Serach HTTP 200 OK message are exchanged b/w my device and windows 7 pc with IPv6 address, but the device icon is not showing under network places.
Please can any one help in this regards. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Mon Feb 09, 2015 8:51 am Post subject: |
|
|
please use latest sources. 1.7 is quite OLD
to show the icon in windows network place, I think the presentation URL is mandatory.
Please check the root description includes proper presentationURL value. _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
preddy
Joined: 09 Feb 2015 Posts: 12 Location: chennai
|
Posted: Mon Feb 09, 2015 10:00 am Post subject: Miniupnpd not displaying in windows network places |
|
|
Thanks for the reply,
I have downloaded and installed 1.9 version in my linux box and compiled by enabling IPv6 flag inside geconfig.sh and running with the follwoing command in linux PC
miniupnpd -d -f /etc/miniupnpd/minupnpd.conf -u UUId -t 30 sec
IN windows 7 pc when enabled tcp/ipv4 and tcp/ipv6 both the linux box is showing under network places as ubuntu router and when enable only ipv6 using tcp/ipv6 and unchecking ipv4 the my linux pc is not showing network places but i can able to find wireshark logs as same as ipv4 like Notify M -search, HPPT 1:1 200 ok form ipv6 link local address of my pc to window ipv6 handshaking is proper.
Thanks in advance |
|
Back to top |
|
|
preddy
Joined: 09 Feb 2015 Posts: 12 Location: chennai
|
Posted: Mon Feb 09, 2015 10:23 am Post subject: Miniupnpd not displaying in windows network places |
|
|
I have checked the prenstation url is generation to miniupnpd.xml file as "<presentationURL>http://192.168.1.60:80</presentationURL>,
it should be in ipv6 address for ipv6 device to display in network places ??? |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Mon Feb 09, 2015 10:34 am Post subject: |
|
|
I don't know.
I don't even know if windows 7 properly supports IPV6 only UPNP devics.
ask microsoft ! _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
preddy
Joined: 09 Feb 2015 Posts: 12 Location: chennai
|
Posted: Mon Feb 09, 2015 10:38 am Post subject: Miniupnpd not displaying in windows network places |
|
|
Ok fine,
I tried to installl miniupndp inspector in my linux pc still this is not displaying when I have enabled ipv6 alone in my linux pc.
Please can you support any linux tools which supports for upnpd with ipv6 and displays the device using ipv6 alone. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Mon Feb 09, 2015 11:55 am Post subject: Re: Miniupnpd not displaying in windows network places |
|
|
preddy wrote: | Ok fine,
I tried to installl miniupndp inspector in my linux pc still this is not displaying when I have enabled ipv6 alone in my linux pc.
Please can you support any linux tools which supports for upnpd with ipv6 and displays the device using ipv6 alone. |
miniupnpc (upnpc using the -6 switch)
_________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
preddy
Joined: 09 Feb 2015 Posts: 12 Location: chennai
|
Posted: Mon Feb 09, 2015 12:54 pm Post subject: Miniupnpd not displaying in windows network places |
|
|
please can you say the command line options for upnpc on liunx
upnpc -6 -1 is not working |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Mon Feb 09, 2015 12:55 pm Post subject: |
|
|
upnpc -6 -l
or
upnpc -6 -s
or whatever. upnpc -h will give you help _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
preddy
Joined: 09 Feb 2015 Posts: 12 Location: chennai
|
Posted: Wed Feb 11, 2015 9:27 am Post subject: Miniupnpd not displaying in windows network places |
|
|
Hi,
I have took the wireshark trace and found that for ipv4 the root description is proper i.e
"http://192.168.1.119:30179/rootDesc.xml" and this is reachable.
But for ipv6 i have seen some thing like
"http://[::1]:30179/rootDesc.xml" and this is not reachable.
Please any can help me out regards this. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Wed Feb 11, 2015 10:30 am Post subject: |
|
|
what are the IPv6 address of your box ?
in the logs you should see that line when miniupnpd starts :
Code: |
miniupnpd[26373]: HTTP IPv6 address given to control points : [2a01:xxxxxxx]
|
_________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
preddy
Joined: 09 Feb 2015 Posts: 12 Location: chennai
|
Posted: Wed Feb 11, 2015 11:06 am Post subject: Miniupnpd not displaying in windows network places |
|
|
yes i can see the message as you sent
"HTTP IPv6 address given to control points : [fed0::7b1d:980e:f6a9:782]"
it is of scope-site |
|
Back to top |
|
|
preddy
Joined: 09 Feb 2015 Posts: 12 Location: chennai
|
Posted: Wed Feb 11, 2015 11:10 am Post subject: Miniupnpd not displaying in windows network places |
|
|
After changing my miniupnpd.conf under /etc with the presentation url as IPv6 address the following logs are seen
miniupnpd[4934]: system uptime is 412838 seconds
miniupnpd[4934]: Starting NAT-PMP UPnP-IGD with external interface eth2
miniupnpd[4934]: HTTP listening on port 30179
miniupnpd[4934]: HTTP IPv6 address given to control points : [fed0::7b1d:980e:f6a9:782]
miniupnpd[4934]: Listening for NAT-PMP traffic on port 5351
miniupnpd[4934]: chain MINIUPNPD not found
miniupnpd[4934]: HTTP connection from [::ffff:192.168.1.54]:50943
miniupnpd[4934]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[4934]: Received UDP Packet (IPv6)
miniupnpd[4934]: ST: upnp:rootdevice (ver=0)
miniupnpd[4934]: SSDP M-SEARCH from [fe80::4f9:86a9:a68:4ae2]:56708 ST: upnp:rootdevice
miniupnpd[4934]: Single search found
miniupnpd[4934]: SSDP Announce 355 bytes to [fe80::4f9:86a9:a68:4ae2]:56708 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: upnp:rootdevice
USN: uuid:30ca676d-3dd3-4fad-b4fc-e582a6570655::upnp:rootdevice
EXT:
SERVER: Ubuntu/precise UPnP/1.1 MiniUPnPd/1.7
LOCATION: http://[fed0::7b1d:980e:f6a9:782]:30179/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337
But still i am not able to see my linux box under linux upnp inspector tool but when i enable internet protocol v4 and v6 i cant see my linux box and logs are the follow
SERVER: Ubuntu/precise UPnP/1.1 MiniUPnPd/1.7
LOCATION: http://192.168.1.104:30179/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337 |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Wed Feb 11, 2015 11:21 am Post subject: |
|
|
please use latest sources from https://github.com/miniupnp/miniupnp
MiniUPnPd/1.7 is old and IPv6 has been fixed since.
however the following location is OK Code: | LOCATION: http://[fed0::7b1d:980e:f6a9:782]:30179/rootDesc.xml |
_________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
preddy
Joined: 09 Feb 2015 Posts: 12 Location: chennai
|
Posted: Wed Feb 11, 2015 12:08 pm Post subject: Miniupnpd not displaying in windows network places |
|
|
hi i am using the miniupnpd version 1.9 now but still it is not showing and logs are follows which looks similar.
miniupnpd[5588]: system uptime is 419301 seconds
miniupnpd[5588]: Starting NAT-PMP/PCP UPnP-IGD with external interface eth2
miniupnpd[5588]: HTTP listening on port 30179
miniupnpd[5588]: HTTP IPv6 address given to control points : [fed0::7b1d:980e:f6a9:782]
miniupnpd[5588]: Listening for NAT-PMP/PCP traffic on port 5351
miniupnpd[5588]: chain MINIUPNPD not found
miniupnpd[5588]: HTTP connection from [::ffff:192.168.1.54]:51118
miniupnpd[5588]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5588]: HTTP connection from [::ffff:192.168.1.54]:51119
miniupnpd[5588]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5588]: HTTP connection from [::ffff:192.168.1.110]:4404
miniupnpd[5588]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5588]: HTTP connection from [::ffff:192.168.1.163]:1210
miniupnpd[5588]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5588]: HTTP connection from [::ffff:192.168.1.116]:2464
miniupnpd[5588]: HTTP REQUEST : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[5588]: Received UDP Packet (IPv6)
miniupnpd[5588]: get_lan_for_peer() looking for LAN interface index=2
miniupnpd[5588]: ifname=eth2 index=2 str=192.168.1.104 addr=c0a80168 mask=ffffff00
miniupnpd[5588]: ST: upnp:rootdevice (ver=0)
miniupnpd[5588]: SSDP M-SEARCH from [fe80::4f9:86a9:a68:4ae2%eth2]:49809 ST: upnp:rootdevice
miniupnpd[5588]: Single search found
miniupnpd[5588]: SendSSDPResponse(): 0 bytes to [fe80::4f9:86a9:a68:4ae2%eth2]:49809 ST: HTTP/1.1 200 OK
CACHE-CONTROL: max-age=120
ST: upnp:rootdevice
USN: uuid:6c0576d3-1167-43ec-8a3b-da25d821cf3f::upnp:rootdevice
EXT:
SERVER: Ubuntu/precise UPnP/1.1 MiniUPnPd/1.9
LOCATION: http://[fed0::7b1d:980e:f6a9:782]:30179/rootDesc.xml
OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
01-NLS: 1
BOOTID.UPNP.ORG: 1
CONFIGID.UPNP.ORG: 1337 |
|
Back to top |
|
|
|