2012年3月15日星期四

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

我在用j2me和android访问我们自己的服务器时,如果选用cmwap连接是有时候会返回这样的信息(抓包抓的):
<?<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.<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+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+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!


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

TAG: