X header field analysis [transfer]


I've recently started collecting "X-headers" headers for fun. The X header field is the collective name for the header fields starting with X in the HTTP request. Simply put, these header fields are included or proprietary to some non-standard HTTP protocols. These header fields can play an interesting role when developing mobile portals. I will share the results of my collection of x header fields.

Generally speaking, it is wise to only speak about what you know. So I feel like I'm on thin ice with what I'm doing now, but I hope this post does a little bit of good for the reader.

The X header field can be used in many aspects: user authentication, device identification, network feature confirmation, and so on. This information is useful both in terms of creating a good mobile app experience and in terms of satisfaction.

I have compiled the following list of header domains from devices that have visited  my site . I can't understand what they all mean; some are my guesses, but they're still interesting. If I get some of these wrong and you happen to know, please let me know.

These header fields are familiar to us.

header field name meaning
x-forwarded-for The source IP address of the client connecting to the server
x-forwarded-host source hostname
x-forwarded-server origin server name
x-wap-profile User agent configuration following specified standards
x-wap-profile-diff A wap gateway or proxy can optionally override the user agent configuration. which differs from this designation

Other interesting header fields:

header field name meaning
x-apn-id: Access point identification. Wap, Internet, Email, etc. can have different access point settings.
x-charging-id: Does anyone know what this is for? its value is empty
x-drutt-3pi-request-uri Drutt is a business support system provided by Ericsson. The role of this header field is unknown...
x-drutt-3pi-serviceid unknown
x-drutt-device-id Identify the device by name. Such as: "Nokia_N95__S60_browser_"
x-drutt-request-id unknown
x-ebo-ua: unknown
x-ggsnip: Contains the IP address of the GGSN in the network
x-h3g-cc unknown
x-h3g-client-ip The IP of the device on the current network. session identification
x-h3g-customer-subtype Identify custom types
x-h3g-customer-type Identify customer type
x-h3g-device-name Device name. For example: Nokia-N95-Safari
x-h3g-nc Unknown, its value is "4".
x-h3g-network-quality Network type, such as "3G"
x-h3g-party-country Indicate the user's country
x-h3g-party-id unknown
x-h3g-party-status unknown
x-h3g-party-user-id unknown
x-h3g-roaming-status Indicates whether the user is roaming. Boolean value
XID: unknown
x-jphone-color Some softbank related stuff
x-jphone-display screen size
x-jphone-msname Unknown, example value: 821P
x-jphone-region: unknown
x-jphone-smaf Unknown, example value: "40/pcm"
x-jphone-uid: I guess it's the user id
x-lori-time-1: unknown
x-net-info unknown
x-network-info: Contains information such as the internal IP address of the bearer network (such as GPRS)
x-os-prefs: Indicates device capabilities. Example values: "fw:240; fh:320; cd:24c; pl:3; pj:1; pa:1;pi:1;ps:2;"
x-proxy-id: unknown
x-psp-browser PSP browser version
x-psp-productcode Unknown, example value: "CEL"
x-roaming: 漫游信息。取值 "Yes" 或 "No"
x-sgsnip:

 SGSN的IP地址

x-source-id 未知
x-wapipaddr: wap网关的IP地址
x-wap-proxy-cookie: cookie?
x-wsb-contextid 未知,Vodafone(沃达丰)相关的东西?

由 OpenWave 网关获得的头域。我对这个不太熟,所以我直接查的wirelessFAQ

头域名称 涵义
x-up-calling-line-id: 终端用户手机号码
x-up-devcap-accept-language: 与accept-language头域类似
x-up-devcap-cc: 未知,示例值:1
x-up-devcap-charset: 字符集
x-up-devcap-charset: utf 字符集相关
x-up-devcap-immed-alert: 未知
x-up-devcap-iscolor: 布尔值,定义设备是否为彩色屏幕
x-up-devcap-max-pdu: 最大负载值
x-up-devcap-msize: 未知
x-up-devcap-numsoftkeys: 设备软键数目
x-up-devcap-screen-chars: 一行能容纳的字符数?
x-up-devcap-screendepth: 色深
x-up-devcap-screenpixels: 以点为单位的屏幕尺寸
x-up-devcap-smartdialing: 不知道智能拨号是干啥的。可能是一键拨号功能吧。
x-up-devcap-softkeysize: 未知
x-up-fax-accepts: 未知
x-up-fax-limit: 未知?
x-up-subno: 某种最终用户ID
x-up-uplink: 看起来像是wap网关的dns名称
x-up-wappush-secure: 未知
x-up-wappush-unsecure: 未知
x-up-wtls-info: 未知

诺基亚wap网关头域:

头域名称 涵义
x-nokia-alias 最终用户手机号,加密
x-nokia-bearer: GPRS之类的
x-nokia-connection_mode 一般是TCPIP
x-nokia-gateway-id: wap网关标识。看起来跟Via头域差不多的用法
x-nokia-imsi: Imsi值
x-nokia-ipaddress: 内部IP地址
x-nokia-localsocket: 内部IP地址和端口号
x-nokia-msisdn: 用户手机号,普通文本
x-nokia-musicshop-bearer Nokia音乐商店。典型值 "GPRS/3G"
x-nokia-musicshop-version: Nokia音乐商店版本号
x-nokia-prepaidind: 与定制相关的东西。取值 "4"

代码转换头域

头域名称 涵义
x-novarra-device-type: Novarra头域,作用未知,取值为"0"
x-operamini-features:  Opera Mini代理加上的头域。取值为 "advanced, download, camera, folding, inputhints"
x-operamini-phone: Opera Mini代理提供的手机名
x-operamini-phone-ua: 使用Opera Mini浏览器的设备原始用户代理名称
x-original-user-agent: 由Googles转换的发至服务器的原设备用户代理名称
x-surfopen-msisdn: 一些SurfOpen的东西。取值标示着此对话为人为创建
x-moz: 未知,但看起来像是代理的行为。取值为"prefetch".
x-bluecoat-via 不明白这是什么。但可能跟bluecoat. 有关。是它的转换代码?
x-mobile-gateway: 标识网关/代理。比如:"Novarra-Vision/6.9 (TELIASONERA; Server-Only)"
x-mobile-ua:  Mowser 转换的原始用户代理
x-device-accept:

经过转码的设备原始accept头域。比如; Novarra. 这是w3c鼓励的行为方式

x-device-accept-charset: 如前
x-device-user-agent: 如前

可以用来识别最终用户的头域

头域名称 涵义
x-drutt-client-ip 手机当前的IP地址。取值为内部10.开头的内部IP
x-drutt-portal-user-id drutt系统中用户唯一识别码
x-drutt-portal-user-msisdn 手机号码
x-h3g-msisdn 手机号码
x-imsi: imsi号码。辨识最终用户
x-msisdn

最终用户手机号码

x-nas-ip: 未知,但取值为一内网IP
x-wap-clientid: 看起来好似唯一用户识别码
x-wap-personalization: 无线网内设备IP
x-wsb-identity 最终用户手机号
x-wte-msisdn: 说是手机号码,但看起来不像
x-nokia-imsi: Imsi值
x-nokia-alias 用户手机号,密文
x-nokia-msisdn: 普通文本形式的用户手机号
x-up-calling-line-id: 最终用户识别码

AvantGo 头域

头域名称 涵义
x-avantgo-browser 标识AvantGo浏览器
x-avantgo-channelid 显而易见的
x-avantgo-clientcharset 客户端字符集
x-avantgo-clientlanguage 客户端语言设置
x-avantgo-colordepth 取值: "MTY"
x-avantgo-cradlesync 取值: "TRUE"
x-avantgo-deviceid 标识设备的代码
x-avantgo-deviceos 操作系统?
x-avantgo-deviceosversion 操作系统版本?
x-avantgo-deviceprocessor 处理器名称?
x-avantgo-platformdata ?
x-avantgo-screensize 提供屏幕尺寸的字符串。取值示例:"MTUweDo1MA"
x-avantgo-tracking-referer ?
x-avantgo-url 如果它标示URL,那应该是加密的
x-avantgo-userid 最终用户为一识别码
x-avantgo-version  AvangGo版本

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325519621&siteId=291194637