miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multiple interfaces & multicasting

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
arvis



Joined: 24 Feb 2009
Posts: 1

PostPosted: Tue Feb 24, 2009 2:45 am    Post subject: Multiple interfaces & multicasting Reply with quote

Hi!
Sorry for my english Embarassed

I have broblem with many interfaces and multicasting...

# route add -net 239.0.0.0 netmask 255.0.0.0 br0
# route add -net 239.0.0.0 netmask 255.0.0.0 tap0
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp0
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp1
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp2
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp3
# route add -net 239.0.0.0 netmask 255.0.0.0 ppp4

Then started miniupnp daemon:

# /usr/local/sbin/miniupnpd -d -a 0.0.0.0

Code:

miniupnpd[12127]: system uptime is 10091 seconds
miniupnpd[12127]: Reloading rules from lease file
miniupnpd[12127]: HTTP listening on port 22347
miniupnpd[12127]: Listening for NAT-PMP traffic on port 5351
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2526 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2526 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2526 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2533 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2533 ST: upnp:rootdevice
miniupnpd[12127]: SSDP M-SEARCH from 10.0.87.192:2533 ST: upnp:rootdevice


Here packet dump:

# tcpdump -i ppp2 -s1500
Code:

.ZЈI 3..........................E..o..@...&.
.WяпяяъTЅ.l.['ЈNOTIFY * HTTP/1.1
HOST:239.255.255.250:1900
Cache-Control:max-age=120
Location:http://0.0.0.0:22347/rootDesc.xml
Server: Linux/2.6.28-ae UPnP/1.0 MiniUPnPd/1.2
NT:urn:schemas-upnp-org:device:InternetGatewayDevice:1
USN:uuid:fc4ec57e-b051-11db-88f8-0060085db3f6::urn:schemas-upnp-org:device:Inter
netGatewayDevice:1
NTS:ssdp:alive

.ZЈI_3..{...{...................E..k..@...&.
.WяпяяъTЅ.l.W.рNOTIFY * HTTP/1.1
HOST:239.255.255.250:1900
Cache-Control:max-age=120
Location:http://0.0.0.0:22347/rootDesc.xml
Server: Linux/2.6.28-ae UPnP/1.0 MiniUPnPd/1.2
NT:urn:schemas-upnp-org:device:WANConnectionDevice:1
USN:uuid:fc4ec57e-b051-11db-88f8-0060085db3f6::urn:schemas-upnp-org:device:WANCo
nnectionDevice:1
NTS:ssdp:alive

.WяпяяъTЅ.l.Ca.NOTIFY * HTTP/1.1
HOST:239.255.255.250:1900
Cache-Control:max-age=120
Location:http://0.0.0.0:22347/rootDesc.xml
Server: Linux/2.6.28-ae UPnP/1.0 MiniUPnPd/1.2
NT:urn:schemas-upnp-org:device:WANDevice:1
USN:uuid:fc4ec57e-b051-11db-88f8-0060085db3f6::urn:schemas-upnp-org:device:WANDe
vice:1
NTS:ssdp:alive

.ZЈIШ3..........................E..w..@...&}
.WяпяяъTЅ.l.c]ВNOTIFY * HTTP/1.1
HOST:239.255.255.250:1900
Cache-Control:max-age=120
Location:http://0.0.0.0:22347/rootDesc.xml
Server: Linux/2.6.28-ae UPnP/1.0 MiniUPnPd/1.2
NT:urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1
USN:uuid:fc4ec57e-b051-11db-88f8-0060085db3f6::urn:schemas-upnp-org:service:WANC
ommonInterfaceConfig:1
NTS:ssdp:alive


I think you need replace Location:http://0.0.0.0:22347/rootDesc.xml with source interface address or something like that...
Thank you!
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Wed Feb 25, 2009 1:05 pm    Post subject: Reply with quote

instead of
Code:
# /usr/local/sbin/miniupnpd -d -a 0.0.0.0

you have to do
Code:
# /usr/local/sbin/miniupnpd -d -a [ip of 1st lan interface] -a [ip of 2nd lan interface] [etc.]

_________________
Main miniUPnP author.
https://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.