WonderGate/bplXX.mopera.ne.jp: Difference between revisions
From WSdev Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
| 0x01 || 1 || Header size in bytes, always 0x18 | | 0x01 || 1 || Header size in bytes, always 0x18 | ||
|- | |- | ||
| 0x02 || 2 || | | 0x02 || 2 || Message type: | ||
* 0x0000 - | * 0x0000 - request: GET | ||
* 0x0010 - allow + 0 blocks | * 0x0002 - request: POST | ||
* 0x0012 - deny + 1 block | * 0x0010 - response: allow + 0 blocks | ||
* 0x0021 - require ID/password + 1 block | * 0x0012 - response: deny + 1 block | ||
* 0x0023 - unknown (too large?) + 0 blocks | * 0x0021 - response: require ID/password + 1 block | ||
* 0x0023 - response: unknown (too large?) + 0 blocks | |||
|- | |- | ||
| 0x04 || 4 || Total packet size in bytes, including all headers and blocks | | 0x04 || 4 || Total packet size in bytes, including all headers and blocks |
Revision as of 15:04, 19 August 2023
For the MobileWonderGate software, NTT DoCoMo operated network servers for validating and redirecting URL requests:
bpl01.mopera.ne.jp
bpl02.mopera.ne.jp
These servers listened on TCP port 5555 for request packets in the following format, and issued a response in the same format.
Packet format
Every packet sent from and to the server follows the same format: a global header, followed by an arbitrary number of blocks with their respective headers.
Header
Offset | Length | Description |
---|---|---|
0x00 | 1 | Unknown, always 0x01 |
0x01 | 1 | Header size in bytes, always 0x18 |
0x02 | 2 | Message type:
|
0x04 | 4 | Total packet size in bytes, including all headers and blocks |
0x08 | 4 | Unknown |
0x0C | 4 | Unknown |
0x10 | 4 | Unknown (216.0.192.1?) |
0x14 | 4 | Unknown (255.255.0.0?) |
Block header
Blocks typically consist of zero-terminated strings - a final zero appears to be omitted.
Offset | Length | Description |
---|---|---|
0x00 | 2 | Block size in bytes, including header |
0x02 | 1 | Block type:
|