Skip to content

Commit d0f3be9

Browse files
committed
TESTrun: Add LWAPP tests from Wireshark menagerie.
1 parent 44a13cf commit d0f3be9

File tree

4 files changed

+77
-0
lines changed

4 files changed

+77
-0
lines changed

tests/TESTrun

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,17 @@ my @decode_tests = (
604604
output => 'arcnet-rfc1201-arp-icmp-http-e.out',
605605
args => '-e'
606606
},
607+
{
608+
name => 'lwapp',
609+
input => 'lwapp-data.pcap',
610+
output => 'lwapp-data.out',
611+
},
612+
{
613+
name => 'lwapp-v',
614+
input => 'lwapp-data.pcap',
615+
output => 'lwapp-data-v.out',
616+
args => '-v'
617+
},
607618
);
608619

609620
sub decode_exit_status {

tests/lwapp-data-v.out

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
1 2005-09-29 12:35:51.933609 IP (tos 0x0, ttl 127, id 53, offset 0, flags [none], proto UDP (17), length 58)
2+
10.48.74.126.20105 > 10.48.73.246.12222: LWAPPv0, Data frame, Radio-id 1, Flags [none], Frag-id 29, length 24
3+
0x0000: 0040 0000 000b 8524 e890 0002 8ad8 de9a
4+
0x0010: 000b
5+
2 2005-09-29 12:35:52.069158 IP (tos 0x0, ttl 127, id 54, offset 0, flags [none], proto UDP (17), length 98)
6+
10.48.74.126.20105 > 10.48.73.246.12222: LWAPPv0, Data frame, Radio-id 1, Flags [none], Frag-id 30, length 64
7+
0x0000: 0000 0075 000b 8524 e890 0002 8ad8 de9a
8+
0x0010: 000b 8524 e890 53f0 0021 00c8 000b 6164
9+
0x0020: 6761 722d 766f 6963 6501 0402 040b 16dd
10+
0x0030: 0700 50f2 0200 0100 dd06
11+
3 2005-09-29 12:35:52.108063 IP (tos 0x0, ttl 127, id 59072, offset 0, flags [none], proto UDP (17), length 67)
12+
10.48.73.246.12223 > 10.48.74.126.20105: LWAPPv0, Data frame, Radio-id 1, Flags [none], Frag-id 191, length 33
13+
Msg type: Unknown (0), Seqnum: 16, Msg len: 0, Session: 0x00028ad8
14+
Msg type: Unknown (222), Seqnum: 154, Msg len: 11, Session: 0x8524e890 [|lwapp_control]
15+
4 2005-09-29 12:35:52.109698 IP (tos 0x0, ttl 127, id 59073, offset 0, flags [none], proto UDP (17), length 124)
16+
10.48.73.246.12223 > 10.48.74.126.20105: LWAPPv0, Control frame, Radio-id 0, Flags [Control], Frag-id 192, length 90
17+
Msg type: Update req (12), Seqnum: 150, Msg len: 82, Session: 0x52cc56e6
18+
5 2005-09-29 12:35:52.109881 IP (tos 0x0, ttl 127, id 55, offset 0, flags [none], proto UDP (17), length 48)
19+
10.48.74.126.20105 > 10.48.73.246.12223: LWAPPv0, Control frame, Radio-id 0, Flags [Control], Frag-id 0, length 8
20+
AP identity: 00:0b:85:24:e8:90
21+
Msg type: Update resp (13), Seqnum: 150, Msg len: 0, Session: 0x8048e4e0
22+
6 2005-09-29 12:35:52.110132 IP (tos 0x0, ttl 127, id 56, offset 0, flags [none], proto UDP (17), length 83)
23+
10.48.74.126.20105 > 10.48.73.246.12222: LWAPPv0, Data frame, Radio-id 1, Flags [none], Frag-id 31, length 49
24+
0x0000: 0108 0075 000b 8524 e890 0002 8ad8 de9a
25+
0x0010: 000b 8524 e89f 5400 aaaa 0300 4096 0000
26+
0x0020: 0011 4001 000b 8524 e89f 00
27+
7 2005-09-29 12:35:52.111933 IP (tos 0x0, ttl 127, id 57, offset 0, flags [none], proto UDP (17), length 394)
28+
10.48.74.126.20105 > 10.48.73.246.12222: LWAPPv0, Data frame, Radio-id 1, Flags [none], Frag-id 32, length 360
29+
0x0000: 0108 0075 000b 8524 e890 0002 8ad8 de9a
30+
0x0010: ffff ffff ffff 5410 aaaa 0300 0000 0800
31+
0x0020: 4500 0148 7623 0000 8011 627e 6400 fd03
32+
0x0030: ffff ffff 0044 0043 0134 da76 0101 0600
33+
0x0040: ae41 607e 0000 0000 6400 fd03 0000 0000
34+
0x0050: 0000 0000 0000 0000 0002 8ad8 de9a 0000
35+
0x0060: 0000 0000 0000 0000 0000 0000 0000 0000
36+
0x0070: 0000 0000 0000 0000 0000 0000 0000 0000
37+
0x0080: 0000 0000 0000 0000 0000 0000 0000 0000
38+
0x0090: 0000 0000 0000 0000 0000 0000 0000 0000
39+
0x00a0: 0000 0000 0000 0000 0000 0000 0000 0000
40+
0x00b0: 0000 0000 0000 0000 0000 0000 0000 0000
41+
0x00c0: 0000 0000 0000 0000 0000 0000 0000 0000
42+
0x00d0: 0000 0000 0000 0000 0000 0000 0000 0000
43+
0x00e0: 0000 0000 0000 0000 0000 0000 0000 0000
44+
0x00f0: 0000 0000 0000 0000 0000 0000 0000 0000
45+
0x0100: 0000 0000 0000 0000 0000 0000 0000 0000
46+
0x0110: 0000 0000 0000 0000 0000 0000 0000 0000
47+
0x0120: 0000 0000 0000 0000 6382 5363 3501 033d
48+
0x0130: 0701 0002 8ad8 de9a 0c0d 6168 7562 6572
49+
0x0140: 742d 7732 6b30 353c 084d 5346 5420 352e
50+
0x0150: 3037 0a01 0f03 062c 2e2f 1f21 2bff 0000
51+
0x0160: 0000
52+
8 2005-09-29 12:35:52.153648 IP (tos 0x0, ttl 127, id 59074, offset 0, flags [none], proto UDP (17), length 398)
53+
10.48.73.246.12223 > 10.48.74.126.20105: LWAPPv0, Data frame, Radio-id 1, Flags [none], Frag-id 193, length 364
54+
Msg type: Discovery resp (2), Seqnum: 8, Msg len: 0, Session: 0x00028ad8
55+
Msg type: Unknown (222), Seqnum: 154, Msg len: 11, Session: 0x8524e890
56+
Msg type: Unknown (0), Seqnum: 0, Msg len: 8, Session: 0x00450001
57+
Msg type: Unknown (155), Seqnum: 1, Msg len: 257, Session: 0x016400fd
58+
Msg goes past end of PDU

tests/lwapp-data.out

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
1 2005-09-29 12:35:51.933609 IP 10.48.74.126.20105 > 10.48.73.246.12222: LWAPPv0, Data frame, Flags [none], length 30
2+
2 2005-09-29 12:35:52.069158 IP 10.48.74.126.20105 > 10.48.73.246.12222: LWAPPv0, Data frame, Flags [none], length 70
3+
3 2005-09-29 12:35:52.108063 IP 10.48.73.246.12223 > 10.48.74.126.20105: LWAPPv0, Data frame, Flags [none], length 39
4+
4 2005-09-29 12:35:52.109698 IP 10.48.73.246.12223 > 10.48.74.126.20105: LWAPPv0, Control frame, Flags [Control], length 96
5+
5 2005-09-29 12:35:52.109881 IP 10.48.74.126.20105 > 10.48.73.246.12223: LWAPPv0, Control frame, Flags [Control], length 20
6+
6 2005-09-29 12:35:52.110132 IP 10.48.74.126.20105 > 10.48.73.246.12222: LWAPPv0, Data frame, Flags [none], length 55
7+
7 2005-09-29 12:35:52.111933 IP 10.48.74.126.20105 > 10.48.73.246.12222: LWAPPv0, Data frame, Flags [none], length 366
8+
8 2005-09-29 12:35:52.153648 IP 10.48.73.246.12223 > 10.48.74.126.20105: LWAPPv0, Data frame, Flags [none], length 370

tests/lwapp-data.pcap

1.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)