Hello Brigitte!
Although I am no longer involved with WAP, I took
a close look at the capture you sent. It revealed a highlighting bug in the
address record of both the WSP redirect PDU and the SIR/SIA content. In
addition, there was a parsing bug for SIR versions above zero, where the
entire address record length was not added to the offset, resulting in
incorrect parsing.
I checked in a fix for both issues. Next Ethereal
version should resolve your issue.
However it seems there's still something wrong
with that capture:
Wireless Session Protocol, Method: Push (0x06),
Content-Type: application/vnd.wap.sia
Session Initiation
Request
Version: 1
Application-ID
List Length: 0
WSP Contact Points Length:
8
WSP Contact
Points
Address Record:
1
Flags/Length:
0xc4
1... .... = Bearer Type Included:
Yes
.1.. .... = Port Number Included:
Yes
..00 0100 = Address Length:
4
Bearer
Type: IPv4
(0x00)
Port Number:
9201
IPv4 Address: 127.0.0.1 (127.0.0.1)
Non-WSP Contact
Points Length: 10
Non-WSP Contact
Points
Address Record:
1
Flags/Length:
0xc4
1... .... = Bearer Type Included:
Yes
.1.. .... = Port Number Included:
Yes
..00 0100 = Address Length:
4
Bearer
Type: IPv4
(0x00)
Port Number:
9201
IPv4 Address: 127.0.0.1
(127.0.0.1)
Address Record:
2
Flags/Length:
0x01
0... .... = Bearer Type Included:
No
.0.. .... = Port Number Included:
No
..00 0001 = Address Length:
1
Address: 00
[Malformed Packet: WAP SIR]
I expect the non-WSP address length field should
be 8 (0x08) and not 10 (0x0a). I also suspect some SIR v1 fields are missing,
but I don't have the Push specs at hand.
Cheers!
Olivier
----- Original Message -----
Sent: Friday, September 16, 2005 3:06
PM
Subject: [Ethereal-users] SIR message
containing both WSP and HTTP contactpoints
Hi,
For HTTP push I'm trying to assembla a SIR
message that contains both OTA-WSP and OTA-HTTP contact points.
When viewing this message with Ethereal (I'm
using the last version 0.10.12) it seems to be messed up :
Ethereal seems to interpret the same bytes once as an WSP
contact point address, and then he interprets the same bytes as a
ContactPointsLen ?
<<sir_http.snp>>
1. Is the OTA-HTTP contact point already
supported in Ethereal ?
2. If it is, can you send me an example of a
snoop file that works ?
Kind regards,
Brigitte Van Gerven
System Engineer
Siemens
n.v.
Tel. ++32 14 253774
Mailto:brigitte.van_gerven@xxxxxxxxxxx
http://www.siemens.be
You must cut the mightiest tree in the forest
wiiiiith ... a herring. (Monty Python)
_______________________________________________
Ethereal-users
mailing
list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users