cmwap联网失败与移动的推送页

我在用j2me和android访问我们自己的服务器时,如果选用cmwap连接是有时候会返回这样的信息(抓包抓的):
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml><card><p><do type="prev" name="Back" label="Back"><prev/></do>Not an error.  You should not be seeing this message.</p></card></wml>
在服务器的log中查看请求并没有发送到,也就是说移动把请求拦截了,但是有时候会连接上

 

下边是用移动卡和联通卡访问页面Headers信息:

中国移动:

Connection=close
Via=WTP/1.1 FJFZ-PS-WAP3-GW11 (Nokia WAP Gateway 4.1 CD1/ECD13_D/4.1.04)
Content-Length=0
Accept=text/javascript, text/ecmascript, application/x-javascript, text/html, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/css, multipart/mixed, text/vnd.wap.wml, application/vnd.wap.wmlc, application/vnd.wap.wmlscriptc, application/java-archive, application/java, application/x-java-archive, text/vnd.sun.j2me.app-descriptor, application/vnd.oma.drm.message, application/vnd.oma.drm.content, application/vnd.wap.mms-message, application/vnd.wap.sic, text/x-co-desc, application/vnd.oma.dd+xml, */*, text/x-vcard, text/x-vcalendar, image/gif, image/vnd.wap.wbmp
Accept-Charset=iso-8859-1, utf-8, iso-10646-ucs-2; q=0.6
Accept-Encoding=gzip, deflate, x-gzip, identity; q=0.9
Accept-Language=zh-cn, zh;q=1.0, en;q=0.5
Cookie=jid=Nb42mFRT4p!-592106187
Host=code.5k3g.com
Cookie2=$Version=1
X-Network-info=CSD,8613481510533,10.216.180.224,10.214.0.2,unsecured
X-Forwarded-For=10.216.180.224
X-Source-ID=10.214.0.2
X-Nokia-CONNECTION_MODE=TCP
X-Up-Bearer-Type=CSD
X-Nokia-gateway-id=NWG/4.1/Build4.1.04

 

中国联通:

 

Connection=close
Via=ZXWAP GateWay,ZTE Technologies
Accept=text/javascript, text/ecmascript, application/x-javascript, text/html, application/vnd.wap.xhtml+xml, application/xhtml+xml, text/css, multipart/mixed, text/vnd.wap.wml, application/vnd.wap.wmlc, application/vnd.wap.wmlscriptc, application/java-archive, application/java, application/x-java-archive, text/vnd.sun.j2me.app-descriptor, application/vnd.oma.drm.message, application/vnd.oma.drm.content, application/vnd.wap.mms-message, application/vnd.wap.sic, text/x-co-desc, application/vnd.oma.dd+xml, */*
Accept-Charset=iso-8859-1, utf-8, iso-10646-ucs-2; q=0.6
Accept-Encoding=gzip, deflate, x-gzip, identity; q=0.9
Accept-Language=zh-cn, zh;q=1.0, en;q=0.5
Host=code.5k3g.com
User-Agent=NokiaN73-1/4.0747.31.1.1 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1
x-up-bear-type=GPRS
x-source-id=10.115.255.254
x-forwarded-for=172.26.75.168
x-up-calling-line-id=8613255044704

 

后来又发现,移动卡若改用cmnet接入代码就能正常获取User-Agent,所以,中国移动cmwap上网拦截了手机User-Agent!

posted on 2012-03-15 19:23  ①块腹肌  阅读(1357)  评论(0编辑  收藏  举报

导航