PDA

View Full Version : What my Nokia 3200 sent to my webserver :)



ichidan
11-07-2004, 03:03 PM
This is a typical internet explorer GET request to my WAP site:

New Connection at 10:08:25AM:
(197:GET / HTTP/1.1
Accept: */*
Accept-Language: en-gb
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: localhost:8888
Connection: Keep-Alive

)

bold - data client (MSIE 6.0) sent to server
------------------------------------------

This is what my Nokia 3200's GET request to my WAP site looks like:

New Connection at 10:09:08AM:
(1673:GET / HTTP/1.1
Host: 217.44.58.184:8888
Pragma: no-cache
accept-language: en
user-agent: Nokia3200/1.0 () Profile/MIDP-1.0 Configuration/CLDC-1.0
x-wap.tod-coded: Thu, 01 Jan 1970 00:00:00 GMT
x-wsb-msisdn-content-filter: 447901687259
opt: "http://www.w3.org/1999/06/24-CCPPexchange" ; ns=13
13-profile: "http://nds1.nds.nokia.com/uaprof/N6220r100.xml"
accept:text/css,application/vnd.wap.wmlscriptc,application/vnd.wap.wbxml,application/x-wap-prov.browser-settings,application/x-nokia.settings,text/x-vcard,text/x-vcalendar,application/vnd.wap.wtls-ca-certificate,application/vnd.wap.hashed-certificate,application/vnd.wap.signed-certificate,application/vnd.wap.cert-response,application/vnd.wap.sic,application/vnd.wap.slc,application/x-wap-prov.browser-bookmarks,text/html,application/vnd.wap.wmlc,application/xhtml+xml,application/vnd.wap.xhtml+xml,text/x-co-desc,application/vnd.oma.dd+xml,application/vnd.oma.drm.message,image/gif,image/jpeg,image/jpg,image/bmp,image/png,image/vnd.wap.wbmp,image/vnd.nok-wallpaper,audio/amr,audio/amr-wb,audio/midi,audio/mid,audio/x-midi,audio/x-mid,audio/sp-midi,application/vnd.nokia.ringing-tone,image/vnd-nok-camera-snap,image/vnd-nok-camera-snsp,text/vnd.sun.j2me.app-descriptor,application/vnd.oma.drm.content,application/java,application/vnd.oma.drm.rights+xml,image/vnd.nok-oplogo-color,application/java-archive,application/vnd.oma.drm.rights+wbxml,application/x-java-archive,x-obex/file,x-obex/folder-listing,application/vnd.wap.mms-message,text/vnd.wap.wml,text/vnd.wap.wmlscript,*/*;q=0.001
accept-charset:iso-8859-1,utf-8;q=0.800,us-ascii;q=0.700,iso-10646-ucs-2;q=0.600,*;q=0.001
accept-encoding:*;q=0.001

)

bold - data client (Nokia3200/1.0) sent to server
------------------------------------------

just thought i'd share.

using my php webserver, i've managed to obtain the ip # of the mobile phone connection (a typical IPv4 dotted quad xxx.xxx.xxx.xxx number). just wondering is this ip # unique to my phone, and is it dynamic or static. im a newbie to all this stuff - just bought this phone 2 days ago, but i've been coding for years (mostly PC games, but also console N64, Gameboy Advance etc.) is it possible for a webserver to know the approx location of the mobile device (e.g. from working out where the closest mobile phone mast is or something?).

nokstick
20-07-2004, 02:06 PM
surely that IP is just of a general network proxy?