Skip to content

Commit

Permalink
RADIUS: Redo the RFC 5580 test for Solaris. [skip ci]
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
infrastation committed Aug 27, 2020
1 parent 28baf96 commit bc3bc62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified tests/RADIUS-RFC5580.pcap
Binary file not shown.
6 changes: 3 additions & 3 deletions tests/radius-rfc5580-v.out
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit bc3bc62

Please sign in to comment.