From: Denis Ovsienko Date: Thu, 27 Aug 2020 22:04:49 +0000 (+0100) Subject: RADIUS: Redo the RFC 5580 test for Solaris. [skip ci] X-Git-Tag: tcpdump-4.99-bp~260 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/bc3bc62f51d022e86618a7c8d5408cbec06020c9 RADIUS: Redo the RFC 5580 test for Solaris. [skip ci] 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. --- diff --git a/tests/RADIUS-RFC5580.pcap b/tests/RADIUS-RFC5580.pcap index abfec323..5867125a 100644 Binary files a/tests/RADIUS-RFC5580.pcap and b/tests/RADIUS-RFC5580.pcap differ diff --git a/tests/radius-rfc5580-v.out b/tests/radius-rfc5580-v.out index 392c2d40..c5da65b1 100644 --- a/tests/radius-rfc5580-v.out +++ b/tests/radius-rfc5580-v.out @@ -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"