]> The Tcpdump Group git mirrors - tcpdump/commitdiff
RADIUS: Rename a test with an invalid length
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 27 Sep 2023 10:23:48 +0000 (12:23 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 27 Sep 2023 13:14:42 +0000 (15:14 +0200)
The RADIUS length is invalid. The UDP length is 64, thus the UDP
payload is 56 bytes, but the RADIUS length is 57.

tcpdump doesn't currently show it because of the following lines in
radius_print():
   if (len > length)
          len = length;

This code will be fixed in a future update.

tests/TESTLIST
tests/radius_rfc5447_invalid_length-v.out [moved from tests/radius-rfc5447-v.out with 100% similarity]
tests/radius_rfc5447_invalid_length.pcap [moved from tests/RADIUS-RFC5447.pcap with 100% similarity]

index ab638204b68ea65e24b8411419e08e8d27f1a500..1c78d69f6a0a9e5d1a18bf937c39b9fed814dc40 100644 (file)
@@ -439,7 +439,7 @@ radius-rfc4675      RADIUS-RFC4675.pcap     radius-rfc4675-v.out    -v
 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-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 RADIUS-RFC5447.pcap     radius-rfc5447-v.out    -v
+radius_rfc5447_invalid_length radius_rfc5447_invalid_length.pcap radius_rfc5447_invalid_length-v.out -v
 radius-rfc5580 RADIUS-RFC5580.pcap     radius-rfc5580-v.out    -v
 
 # link-level protocols
 radius-rfc5580 RADIUS-RFC5580.pcap     radius-rfc5580-v.out    -v
 
 # link-level protocols