]> The Tcpdump Group git mirrors - tcpdump/commitdiff
RADIUS: Add a fixed test from an invalid length test
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 27 Sep 2023 11:39:19 +0000 (13:39 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 27 Sep 2023 13:15:45 +0000 (15:15 +0200)
It's a copy from radius_rfc5447_invalid_length.pcap updated to fix
the length from 57 to 56.
(See previous commit.)

tests/TESTLIST
tests/radius_rfc5447-v.out [new file with mode: 0644]
tests/radius_rfc5447.pcap [new file with mode: 0644]

index 1c78d69f6a0a9e5d1a18bf937c39b9fed814dc40..982655b2e9549d04699ddba1bf9a7621f67c7bdd 100644 (file)
@@ -440,6 +440,7 @@ radius-rfc5176      RADIUS-RFC5176.pcap     radius-rfc5176-v.out    -v
 radius-port1700        RADIUS-port1700.pcap    radius-port1700-v.out   -v
 radius-rfc5176-2       RADIUS-RFC5176-2.pcap   radius-rfc5176-2-v.out  -v
 radius_rfc5447_invalid_length radius_rfc5447_invalid_length.pcap radius_rfc5447_invalid_length-v.out -v
+radius_rfc5447 radius_rfc5447.pcap radius_rfc5447-v.out -v
 radius-rfc5580 RADIUS-RFC5580.pcap     radius-rfc5580-v.out    -v
 
 # link-level protocols
diff --git a/tests/radius_rfc5447-v.out b/tests/radius_rfc5447-v.out
new file mode 100644 (file)
index 0000000..a52c245
--- /dev/null
@@ -0,0 +1,6 @@
+    1  13:47:25.180847 IP (tos 0x0, ttl 64, id 47488, offset 0, flags [none], proto UDP (17), length 84)
+    127.0.0.1.55520 > 127.0.0.1.1812: RADIUS, length: 56
+       Access-Request (1), id: 0x4f, Authenticator: 5bec15a7f3ac1590f65629a9f979c340
+         User-Name Attribute (1), length: 7, Value: luser
+         MIP6-Feature-Vector Attribute (124), length: 10, Value: [MIP6_INTEGRATED, IP4_HOA_SUPPORTED, LOCAL_MAG_ROUTING_SUPPORTED]
+         MIP6-Home-Link-Prefix Attribute (125), length: 19, Value: 2001:db8::/32
diff --git a/tests/radius_rfc5447.pcap b/tests/radius_rfc5447.pcap
new file mode 100644 (file)
index 0000000..2fabfb3
Binary files /dev/null and b/tests/radius_rfc5447.pcap differ