All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 02-05-2007, 06:42 PM
nokia_guy nokia_guy is offline
Registered User
 
Join Date: Apr 2007
Posts: 13
nokia_guy is on a distinguished road
is TCP port 1900 of N95 open

Hello,

I was trying to stream content from N95 to a philips SLM 5500 device.

I did a port scan of the N95 (using nmap) , and it came up with some interesteing results.

c:\programs\nmap --open 192_168_1_6 -p 1900

Starting Nmap 4.20 < url for insecure_org> at 2007-05-02 11:28 Pacific Daylight Time
The 1 scanned port on 192_168_1_6 is closed
MAC Address: 00:ab:cd:ef:gh:ij <Nokia Danmark A/S>

NMap finished: 1 IP address <1 host up> scanned in 13.550 seconds.



c:\programs\nmap --open 192_168_1_6 -sV

Starting Nmap 4.20 < url for insecure_org> at 2007-05-02 11:28 Pacific Daylight Time
All 1697 scanned ports on 192_168_1_6 are closed
MAC Address: 00:ab:cd:ef:gh:ij <Nokia Danmark A/S>

Service detection performed. Please report any incorrect results at [insecure_org_nmap_submit] .
NMap finished: 1 IP address <1_host_up> scanned in 20.019 seconds.

since port 1900 is used for service discovery of UPnP and it is closed, how is the N95 recognised as a UPnP device?

Last edited by nokia_guy; 02-05-2007 at 06:45 PM.

  #2  
Old 02-05-2007, 07:04 PM
autopilot autopilot is offline
Registered User
 
Join Date: Apr 2007
Posts: 231
autopilot is on a distinguished road
I think you need to have the crappy Nokia Home server running that comes on a CD in the box. Nokia's implementation of uPnP is shocking, i think it requires the Nokia software running on a PC to mediate. I'm probably wrong.

For what it's worth, I think instead of "Universal Plug And Play" it should have been called "Nokia's Crappy Proprietary Plug And Pray".

  #3  
Old 02-05-2007, 07:18 PM
Rafe's Avatar
Rafe Rafe is offline
Founder / Chief
 
Join Date: Jul 2001
Location: Sussex
Posts: 6,199
Rafe is a glorious beacon of lightRafe is a glorious beacon of lightRafe is a glorious beacon of lightRafe is a glorious beacon of lightRafe is a glorious beacon of lightRafe is a glorious beacon of light
You have to turn on UPnP in the Home Network application before it will work.
__________________
Remember: The search command is your friend.
Feedback wanted: PM, email or post with your suggestions, complaints, feedback.

  #4  
Old 02-05-2007, 07:25 PM
indie indie is offline
Registered User
 
Join Date: Apr 2007
Posts: 73
indie is on a distinguished road
UPnP only uses UDP on port 1900 because a UPnP session starts with a broadcast which TCP doesn't support. Since you're doing a TCP scan in nmap it won't show up the open port.

Once the device has done a broadcast it then uses TCP over port 5000.

Last edited by indie; 02-05-2007 at 07:27 PM.

  #5  
Old 03-05-2007, 07:08 AM
nokia_guy nokia_guy is offline
Registered User
 
Join Date: Apr 2007
Posts: 13
nokia_guy is on a distinguished road
thanks for the reply,

upnp is turned on on all the home network applications.

upnp uses UDP not TCP on port 1900?

the nokia n95 does not mention tcp port 5000 it mentions port 1900 and three other ports, you think it has missed out a port.

doesn't nmap scan support udp scans?

  #6  
Old 03-05-2007, 05:45 PM
indie indie is offline
Registered User
 
Join Date: Apr 2007
Posts: 73
indie is on a distinguished road
It sounds like Nokia aren't sticking to the protocol if it mentions other ports then. UPnP definitely uses UDP on port 1900 for the initial broadcast then goes to TCP on 5000 for UPnP events. It's the only way it could work as the device needs to send a discovery packet which will only work with UDP.

Nmap supports UDP scanning, try -u or something like that, have a search for a list of switches.

  #7  
Old 03-05-2007, 06:53 PM
nokia_guy nokia_guy is offline
Registered User
 
Join Date: Apr 2007
Posts: 13
nokia_guy is on a distinguished road
thanks for the reply

i will find the switch for udp scanning, i think it is -sU.

i guess the generic nmap --open -p 1-65535 just searches for open tcp ports, correct?

does upnp mandate the use of port5000 for upnp? i guess it would be opened once communicatio nhas been established using udp1900?
 

Bookmarks

Tags
1900, n95, open, port, tcp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File sharing via Wifi duckson Nokia N80 35 07-05-2007 06:39 AM
Nokia Follow Apple's Lead in Developing Open Source Web Browser for Series 60 Rafe Series 60 3 13-06-2005 01:19 PM
Open Bit launches Superdistribution - viral spread of programs Rafe Series 60 0 28-10-2003 12:34 AM
RealNetworks announces Helix, Symbian supports Rafe Symbian OS News 0 28-07-2002 11:04 AM



All times are GMT. The time now is 07:14 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy