#
# In normal operation, the seed is taken from fr_rand()
#
-encode-pair Tunnel-Password := "foo"
+encode-pair Tunnel-Password = "foo"
match 45 15 00 89 73 c6 80 f6 15 54 ac 5a 0f 6d 5b c0 ad 41 f8 0f 1a
decode-pair -
#
# The second one has it's own salt, which includes a counter to guarantee uniqueness.
#
-encode-pair Tunnel-Password := "foo", Tunnel-Password := "bar"
+encode-pair Tunnel-Password = "foo", Tunnel-Password = "bar"
match 45 15 00 89 73 c6 80 f6 15 54 ac 5a 0f 6d 5b c0 ad 41 f8 0f 1a 45 15 00 9d c5 c4 69 23 3a 16 57 b3 5c 97 82 3c 97 ec 6b 7e f1
decode-pair -
# different encoded password. Note that the entire encoded string
# is different.
#
-encode-pair Tunnel-Password := "barbar"
+encode-pair Tunnel-Password = "barbar"
match 45 15 00 80 6f 90 5f e5 ef e3 6f 0e a5 54 4d 7d 75 4d ea 04 c2
decode-pair -
#
# See if encoding multiple attributes works
#
-encode-pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 33
+encode-pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 33
match 1a 17 00 00 60 b5 1c 11 00 01 04 00 21 02 04 00 21 03 06 00 00 00 21
-encode-pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 33
+encode-pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 33
match 1a 25 00 00 60 b5 1c 1f 00 01 04 00 20 02 04 00 20 03 06 00 00 00 20 01 04 00 21 02 04 00 21 03 06 00 00 00 21
-encode-pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 33, Session-Timeout := 7200
+encode-pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 33, Session-Timeout = 7200
match 1a 25 00 00 60 b5 1c 1f 00 01 04 00 20 02 04 00 20 03 06 00 00 00 20 01 04 00 21 02 04 00 21 03 06 00 00 00 21 1b 06 00 00 1c 20
-encode-pair Acct-Interim-Interval := 3600, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 33, Session-Timeout := 7200
+encode-pair Acct-Interim-Interval = 3600, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 33, Session-Timeout = 7200
match 55 06 00 00 0e 10 1a 25 00 00 60 b5 1c 1f 00 01 04 00 20 02 04 00 20 03 06 00 00 00 20 01 04 00 21 02 04 00 21 03 06 00 00 00 21 1b 06 00 00 1c 20
-pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 32, Session-Timeout := 7200, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 33
-match Vendor-Specific = { WiMAX = { Packet-Flow-Descriptor = { Packet-Data-Flow-Id := 32, Service-Data-Flow-Id := 32, Service-Profile-Id := 32, Packet-Data-Flow-Id := 33, Service-Data-Flow-Id := 33, Service-Profile-Id := 33 } } }, Session-Timeout := 7200
+pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 32, Session-Timeout = 7200, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 33
+match Vendor-Specific = { WiMAX = { Packet-Flow-Descriptor = { Packet-Data-Flow-Id = 32, Service-Data-Flow-Id = 32, Service-Profile-Id = 32, Packet-Data-Flow-Id = 33, Service-Data-Flow-Id = 33, Service-Profile-Id = 33 } } }, Session-Timeout = 7200
-encode-pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 32, Session-Timeout := 7200, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID := 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID := 33
+encode-pair Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 32, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 32, Session-Timeout = 7200, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Packet-Data-Flow-Id = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Data-Flow-ID = 33, Vendor-Specific.WiMAX.Packet-Flow-Descriptor.Service-Profile-ID = 33
match 1a 25 00 00 60 b5 1c 1f 00 01 04 00 20 02 04 00 20 03 06 00 00 00 20 01 04 00 21 02 04 00 21 03 06 00 00 00 21 1b 06 00 00 1c 20
decode-pair -