]> The Tcpdump Group git mirrors - tcpdump/commitdiff
RADIUS: Redo the RFC 5580 test for Solaris. [skip ci]
authorDenis Ovsienko <[email protected]>
Thu, 27 Aug 2020 22:04:49 +0000 (23:04 +0100)
committerDenis Ovsienko <[email protected]>
Thu, 27 Aug 2020 22:04:49 +0000 (23:04 +0100)
The file tests/RADIUS-RFC5580.pcap had all NTP timestamps set to
0x01234567.89abcdef seconds since year 1900, which on Linux and FreeBSD
produced "19088743.537777777 (1900-08-09T22:25:43Z)", but on Solaris 10
produced "(unrepresentable)". Increment Sighting Time by 120 nominal
years worth of seconds and make Time-to-Live and Retention Expires 12
and 48 hours later respectively.

tests/RADIUS-RFC5580.pcap
tests/radius-rfc5580-v.out

index abfec323ee99083dca5a2832bf8ab1605ca674b7..5867125a9d735b6cc8d43f5d0f77b79c338df579 100644 (file)
Binary files a/tests/RADIUS-RFC5580.pcap and b/tests/RADIUS-RFC5580.pcap differ
index 392c2d40726370fd74ac572a175f9c5f36902880..c5da65b1af33a977f9a04bfd2d43bf8bc3a3ca6c 100644 (file)
@@ -6,8 +6,8 @@
          Operator-Name Attribute (126), length: 17, Value: [E212] namespace E212
          Operator-Name Attribute (126), length: 16, Value: [ICC] namespace ICC
          Operator-Name Attribute (126), length: 20, Value: [unknown namespace 52] namespace INVALID
-         Location-Information Attribute (127), length: 25, Value: index 1, code Civic, entity User, sighting time 19088743.537777777 (1900-08-09T22:25:43Z), time to live 19088743.537777777 (1900-08-09T22:25:43Z), method "GPS"
+         Location-Information Attribute (127), length: 25, Value: index 1, code Civic, entity User, sighting time 3803408743.537777777 (2020-07-10T22:25:43Z), time to live 3803451943.537777777 (2020-07-11T10:25:43Z), method "GPS"
          Location-Data Attribute (128), length: 15, Value: index 1, location
            0x0000:  6d79 206c 6f63 6174 696f 6e              my.location
-         Basic-Location-Policy-Rules Attribute (129), length: 17, Value: flags [none], retention expires 19088743.537777777 (1900-08-09T22:25:43Z), note well "test1"
-         Basic-Location-Policy-Rules Attribute (129), length: 17, Value: flags [Retransmission Allowed], retention expires 19088743.537777777 (1900-08-09T22:25:43Z), note well "test2"
+         Basic-Location-Policy-Rules Attribute (129), length: 17, Value: flags [none], retention expires 3803581543.537777777 (2020-07-12T22:25:43Z), note well "test1"
+         Basic-Location-Policy-Rules Attribute (129), length: 17, Value: flags [Retransmission Allowed], retention expires 3803581543.537777777 (2020-07-12T22:25:43Z), note well "test2"