From: Arran Cudbard-Bell Date: Wed, 20 Jan 2021 19:34:03 +0000 (+0000) Subject: Add Packet-Type = Access-Request to more attrs files X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eba33c2df1ff0b2c9ba3b1674c27672633871ff8;p=thirdparty%2Ffreeradius-server.git Add Packet-Type = Access-Request to more attrs files --- diff --git a/src/tests/modules/always/set_status_dead.attrs b/src/tests/modules/always/set_status_dead.attrs index 6dcc44256cb..8ddc41626cb 100644 --- a/src/tests/modules/always/set_status_dead.attrs +++ b/src/tests/modules/always/set_status_dead.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "hello" diff --git a/src/tests/modules/always/set_status_revive.attrs b/src/tests/modules/always/set_status_revive.attrs index 6dcc44256cb..8ddc41626cb 100644 --- a/src/tests/modules/always/set_status_revive.attrs +++ b/src/tests/modules/always/set_status_revive.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "hello" diff --git a/src/tests/modules/cache_rbtree/cache-bin.attrs b/src/tests/modules/cache_rbtree/cache-bin.attrs index 319a898e232..2c3f3ac57f0 100644 --- a/src/tests/modules/cache_rbtree/cache-bin.attrs +++ b/src/tests/modules/cache_rbtree/cache-bin.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "olobobob" diff --git a/src/tests/modules/cache_rbtree/cache-logic.attrs b/src/tests/modules/cache_rbtree/cache-logic.attrs index 319a898e232..2c3f3ac57f0 100644 --- a/src/tests/modules/cache_rbtree/cache-logic.attrs +++ b/src/tests/modules/cache_rbtree/cache-logic.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "olobobob" diff --git a/src/tests/modules/cache_rbtree/cache-update.attrs b/src/tests/modules/cache_rbtree/cache-update.attrs index 319a898e232..2c3f3ac57f0 100644 --- a/src/tests/modules/cache_rbtree/cache-update.attrs +++ b/src/tests/modules/cache_rbtree/cache-update.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "olobobob" diff --git a/src/tests/modules/cache_rbtree/map.attrs b/src/tests/modules/cache_rbtree/map.attrs index 319a898e232..2c3f3ac57f0 100644 --- a/src/tests/modules/cache_rbtree/map.attrs +++ b/src/tests/modules/cache_rbtree/map.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "olobobob" diff --git a/src/tests/modules/default-input.attrs b/src/tests/modules/default-input.attrs index 8b7914eed69..24fef056dc8 100644 --- a/src/tests/modules/default-input.attrs +++ b/src/tests/modules/default-input.attrs @@ -1,10 +1,11 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "hello" # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/eap_aka_sim/sim_xlat_id_aka.attrs b/src/tests/modules/eap_aka_sim/sim_xlat_id_aka.attrs index 76b8c1cb9ca..6473f29cc2a 100644 --- a/src/tests/modules/eap_aka_sim/sim_xlat_id_aka.attrs +++ b/src/tests/modules/eap_aka_sim/sim_xlat_id_aka.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "0420032219455258" # diff --git a/src/tests/modules/eap_aka_sim/sim_xlat_id_error.attrs b/src/tests/modules/eap_aka_sim/sim_xlat_id_error.attrs index f85d8fccd73..1d2d3b00b82 100644 --- a/src/tests/modules/eap_aka_sim/sim_xlat_id_error.attrs +++ b/src/tests/modules/eap_aka_sim/sim_xlat_id_error.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "foo" # diff --git a/src/tests/modules/eap_aka_sim/sim_xlat_id_sim.attrs b/src/tests/modules/eap_aka_sim/sim_xlat_id_sim.attrs index 7698c1592cd..76a3cc23f9e 100644 --- a/src/tests/modules/eap_aka_sim/sim_xlat_id_sim.attrs +++ b/src/tests/modules/eap_aka_sim/sim_xlat_id_sim.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "1420032219455258" # diff --git a/src/tests/modules/exec/async.attrs b/src/tests/modules/exec/async.attrs index af5d824e7be..05fe5b872ba 100644 --- a/src/tests/modules/exec/async.attrs +++ b/src/tests/modules/exec/async.attrs @@ -1,10 +1,11 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "fivel" User-Password = "mousekewitz" # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/exec/backticks_list.attrs b/src/tests/modules/exec/backticks_list.attrs index 9023627b4ac..4a263dbb3df 100644 --- a/src/tests/modules/exec/backticks_list.attrs +++ b/src/tests/modules/exec/backticks_list.attrs @@ -1,10 +1,11 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "tony" User-Password = "taponi" # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/exec/sync.attrs b/src/tests/modules/exec/sync.attrs index 9023627b4ac..4a263dbb3df 100644 --- a/src/tests/modules/exec/sync.attrs +++ b/src/tests/modules/exec/sync.attrs @@ -1,10 +1,11 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "tony" User-Password = "taponi" # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/files/addcontrol.attrs b/src/tests/modules/files/addcontrol.attrs index 82a9a1bb4a3..bc019887c96 100644 --- a/src/tests/modules/files/addcontrol.attrs +++ b/src/tests/modules/files/addcontrol.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "addcontrol" User-Password = "testing123" diff --git a/src/tests/modules/files/addreply.attrs b/src/tests/modules/files/addreply.attrs index aa99cf5d321..f4f31e3f165 100644 --- a/src/tests/modules/files/addreply.attrs +++ b/src/tests/modules/files/addreply.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "addreply" User-Password = "testing123" diff --git a/src/tests/modules/files/bob.attrs b/src/tests/modules/files/bob.attrs index 7b5164b61a1..b39e9482321 100644 --- a/src/tests/modules/files/bob.attrs +++ b/src/tests/modules/files/bob.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "doug" User-Password = "goodbye" diff --git a/src/tests/modules/files/doug.attrs b/src/tests/modules/files/doug.attrs index 7b5164b61a1..b39e9482321 100644 --- a/src/tests/modules/files/doug.attrs +++ b/src/tests/modules/files/doug.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "doug" User-Password = "goodbye" diff --git a/src/tests/modules/files/fall-through.attrs b/src/tests/modules/files/fall-through.attrs index 72439204238..1b17bf82dc1 100644 --- a/src/tests/modules/files/fall-through.attrs +++ b/src/tests/modules/files/fall-through.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "famous" User-Password = "bradpitt" diff --git a/src/tests/modules/files/filterreply.attrs b/src/tests/modules/files/filterreply.attrs index 9944f2a4dc5..863f60fda56 100644 --- a/src/tests/modules/files/filterreply.attrs +++ b/src/tests/modules/files/filterreply.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "filterreply" User-Password = "testing123" diff --git a/src/tests/modules/files/subreply.attrs b/src/tests/modules/files/subreply.attrs index 409ea9c8b96..b102344ea0a 100644 --- a/src/tests/modules/files/subreply.attrs +++ b/src/tests/modules/files/subreply.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "subreply" User-Password = "testing123" diff --git a/src/tests/modules/icmp/ping.attrs b/src/tests/modules/icmp/ping.attrs index 6dcc44256cb..8ddc41626cb 100644 --- a/src/tests/modules/icmp/ping.attrs +++ b/src/tests/modules/icmp/ping.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "hello" diff --git a/src/tests/modules/imap/auth_bad_pw.attrs b/src/tests/modules/imap/auth_bad_pw.attrs index 356b7e125df..5986b963260 100644 --- a/src/tests/modules/imap/auth_bad_pw.attrs +++ b/src/tests/modules/imap/auth_bad_pw.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'user2' User-Password = 'test_fail' diff --git a/src/tests/modules/imap/auth_bad_usr.attrs b/src/tests/modules/imap/auth_bad_usr.attrs index f1323471c60..5436bc16a6d 100644 --- a/src/tests/modules/imap/auth_bad_usr.attrs +++ b/src/tests/modules/imap/auth_bad_usr.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'fail_user' User-Password = 'test1' diff --git a/src/tests/modules/imap/auth_plaintext.attrs b/src/tests/modules/imap/auth_plaintext.attrs index e36f788b5f6..80149a8d63f 100644 --- a/src/tests/modules/imap/auth_plaintext.attrs +++ b/src/tests/modules/imap/auth_plaintext.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'user1' User-Password = 'test1' diff --git a/src/tests/modules/imap/imap_bad_tls/auth_bad_tls.attrs b/src/tests/modules/imap/imap_bad_tls/auth_bad_tls.attrs index 9c272441dac..08c17c7cbcd 100644 --- a/src/tests/modules/imap/imap_bad_tls/auth_bad_tls.attrs +++ b/src/tests/modules/imap/imap_bad_tls/auth_bad_tls.attrs @@ -1,6 +1,7 @@ # Input packet # +Packet-Type = Access-Request User-Name = 'user1' User-Password = 'test1' diff --git a/src/tests/modules/imap/imap_opt_tls/auth_try_tls.attrs b/src/tests/modules/imap/imap_opt_tls/auth_try_tls.attrs index e36f788b5f6..80149a8d63f 100644 --- a/src/tests/modules/imap/imap_opt_tls/auth_try_tls.attrs +++ b/src/tests/modules/imap/imap_opt_tls/auth_try_tls.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'user1' User-Password = 'test1' diff --git a/src/tests/modules/imap/imap_tls/auth_tls.attrs b/src/tests/modules/imap/imap_tls/auth_tls.attrs index e36f788b5f6..80149a8d63f 100644 --- a/src/tests/modules/imap/imap_tls/auth_tls.attrs +++ b/src/tests/modules/imap/imap_tls/auth_tls.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'user1' User-Password = 'test1' diff --git a/src/tests/modules/json/encode.attrs b/src/tests/modules/json/encode.attrs index 3b5a0c688c4..bdf0b699314 100644 --- a/src/tests/modules/json/encode.attrs +++ b/src/tests/modules/json/encode.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' Filter-Id = "f1" Filter-Id += "f2" diff --git a/src/tests/modules/json/eval.attrs b/src/tests/modules/json/eval.attrs index e8090c8897f..2376770b0ba 100644 --- a/src/tests/modules/json/eval.attrs +++ b/src/tests/modules/json/eval.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' diff --git a/src/tests/modules/json/parser.attrs b/src/tests/modules/json/parser.attrs index e8090c8897f..2376770b0ba 100644 --- a/src/tests/modules/json/parser.attrs +++ b/src/tests/modules/json/parser.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' diff --git a/src/tests/modules/json/quote.attrs b/src/tests/modules/json/quote.attrs index e8090c8897f..2376770b0ba 100644 --- a/src/tests/modules/json/quote.attrs +++ b/src/tests/modules/json/quote.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' diff --git a/src/tests/modules/ldap/acct.attrs b/src/tests/modules/ldap/acct.attrs index e1456362fd9..c1dcd60d6e6 100644 --- a/src/tests/modules/ldap/acct.attrs +++ b/src/tests/modules/ldap/acct.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' NAS-Port = 17826193 NAS-IP-Address = 192.0.2.10 diff --git a/src/tests/modules/ldap/auth.attrs b/src/tests/modules/ldap/auth.attrs index 5a0da933316..8fa89b78dcc 100644 --- a/src/tests/modules/ldap/auth.attrs +++ b/src/tests/modules/ldap/auth.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "john" User-Password = "password" NAS-IP-Address = 1.2.3.5 diff --git a/src/tests/modules/ldap/groups_rfc2307bis.attrs b/src/tests/modules/ldap/groups_rfc2307bis.attrs index 5a0da933316..8fa89b78dcc 100644 --- a/src/tests/modules/ldap/groups_rfc2307bis.attrs +++ b/src/tests/modules/ldap/groups_rfc2307bis.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "john" User-Password = "password" NAS-IP-Address = 1.2.3.5 diff --git a/src/tests/modules/ldap/map.attrs b/src/tests/modules/ldap/map.attrs index 198bea59f2b..6b9d34f4d9a 100644 --- a/src/tests/modules/ldap/map.attrs +++ b/src/tests/modules/ldap/map.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "mike" User-Password = "mikeymikemike" NAS-IP-Address = 6.6.6.6 @@ -8,4 +9,4 @@ NAS-IP-Address = 6.6.6.6 # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/linelog/linelog-delim.attrs b/src/tests/modules/linelog/linelog-delim.attrs index 319a898e232..2c3f3ac57f0 100644 --- a/src/tests/modules/linelog/linelog-delim.attrs +++ b/src/tests/modules/linelog/linelog-delim.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "olobobob" diff --git a/src/tests/modules/linelog/linelog-escapes.attrs b/src/tests/modules/linelog/linelog-escapes.attrs index 319a898e232..2c3f3ac57f0 100644 --- a/src/tests/modules/linelog/linelog-escapes.attrs +++ b/src/tests/modules/linelog/linelog-escapes.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "olobobob" diff --git a/src/tests/modules/linelog/linelog-multi.attrs b/src/tests/modules/linelog/linelog-multi.attrs index 319a898e232..2c3f3ac57f0 100644 --- a/src/tests/modules/linelog/linelog-multi.attrs +++ b/src/tests/modules/linelog/linelog-multi.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "olobobob" diff --git a/src/tests/modules/linelog/linelog.attrs b/src/tests/modules/linelog/linelog.attrs index 319a898e232..2c3f3ac57f0 100644 --- a/src/tests/modules/linelog/linelog.attrs +++ b/src/tests/modules/linelog/linelog.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "olobobob" diff --git a/src/tests/modules/lua/auth.attrs b/src/tests/modules/lua/auth.attrs index c3e9cd3bcdd..a4fffb05bea 100644 --- a/src/tests/modules/lua/auth.attrs +++ b/src/tests/modules/lua/auth.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "caipirinha" User-Password = "gelo" Called-Station-Id = "aa:bb:cc:dd:ee:ff" diff --git a/src/tests/modules/pap/bin_random.attrs b/src/tests/modules/pap/bin_random.attrs index a0484d5d2f5..a4ee6fb4198 100644 --- a/src/tests/modules/pap/bin_random.attrs +++ b/src/tests/modules/pap/bin_random.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'test' # diff --git a/src/tests/modules/pap/pbkfd2_dig_big.attrs b/src/tests/modules/pap/pbkfd2_dig_big.attrs index 8f1a75c0c35..f08326a4e14 100644 --- a/src/tests/modules/pap/pbkfd2_dig_big.attrs +++ b/src/tests/modules/pap/pbkfd2_dig_big.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_dig_big' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_dig_small.attrs b/src/tests/modules/pap/pbkfd2_dig_small.attrs index b93026975ec..a4bcffa1b6e 100644 --- a/src/tests/modules/pap/pbkfd2_dig_small.attrs +++ b/src/tests/modules/pap/pbkfd2_dig_small.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_dig_small' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_iter0.attrs b/src/tests/modules/pap/pbkfd2_iter0.attrs index 56159bb6eb0..f78c7dbb413 100644 --- a/src/tests/modules/pap/pbkfd2_iter0.attrs +++ b/src/tests/modules/pap/pbkfd2_iter0.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_iter0' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_iter1.attrs b/src/tests/modules/pap/pbkfd2_iter1.attrs index d4142a5597a..a2584c4d03a 100644 --- a/src/tests/modules/pap/pbkfd2_iter1.attrs +++ b/src/tests/modules/pap/pbkfd2_iter1.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_iter1' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_iter1000.attrs b/src/tests/modules/pap/pbkfd2_iter1000.attrs index 4436cd2d461..b49ae0b2984 100644 --- a/src/tests/modules/pap/pbkfd2_iter1000.attrs +++ b/src/tests/modules/pap/pbkfd2_iter1000.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_iter1000' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_iter100000.attrs b/src/tests/modules/pap/pbkfd2_iter100000.attrs index e5bf54e0dbb..567231e1661 100644 --- a/src/tests/modules/pap/pbkfd2_iter100000.attrs +++ b/src/tests/modules/pap/pbkfd2_iter100000.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_iter100000' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_iter_big.attrs b/src/tests/modules/pap/pbkfd2_iter_big.attrs index a88dd8d3f68..881d1f0a987 100644 --- a/src/tests/modules/pap/pbkfd2_iter_big.attrs +++ b/src/tests/modules/pap/pbkfd2_iter_big.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_iter_big' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_iter_miss.attrs b/src/tests/modules/pap/pbkfd2_iter_miss.attrs index 76fa02dde25..c25606f9f2b 100644 --- a/src/tests/modules/pap/pbkfd2_iter_miss.attrs +++ b/src/tests/modules/pap/pbkfd2_iter_miss.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_iter_miss' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_iter_small.attrs b/src/tests/modules/pap/pbkfd2_iter_small.attrs index 9757d5f6a7b..d4bbf21a1fa 100644 --- a/src/tests/modules/pap/pbkfd2_iter_small.attrs +++ b/src/tests/modules/pap/pbkfd2_iter_small.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_iter_small' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_passlib.attrs b/src/tests/modules/pap/pbkfd2_passlib.attrs index f1ed91fd1b5..494de5af14f 100644 --- a/src/tests/modules/pap/pbkfd2_passlib.attrs +++ b/src/tests/modules/pap/pbkfd2_passlib.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_passlib' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_salt0.attrs b/src/tests/modules/pap/pbkfd2_salt0.attrs index be2df588fa7..77f8d838c85 100644 --- a/src/tests/modules/pap/pbkfd2_salt0.attrs +++ b/src/tests/modules/pap/pbkfd2_salt0.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_salt0' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_salt1.attrs b/src/tests/modules/pap/pbkfd2_salt1.attrs index 59e296e3064..f75e209e47d 100644 --- a/src/tests/modules/pap/pbkfd2_salt1.attrs +++ b/src/tests/modules/pap/pbkfd2_salt1.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_salt1' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_salt1024.attrs b/src/tests/modules/pap/pbkfd2_salt1024.attrs index f23bf1400a1..049457764b9 100644 --- a/src/tests/modules/pap/pbkfd2_salt1024.attrs +++ b/src/tests/modules/pap/pbkfd2_salt1024.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_salt1024' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_salt64.attrs b/src/tests/modules/pap/pbkfd2_salt64.attrs index ed7f2618efe..7e398d894fc 100644 --- a/src/tests/modules/pap/pbkfd2_salt64.attrs +++ b/src/tests/modules/pap/pbkfd2_salt64.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_salt64' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_salt_big.attrs b/src/tests/modules/pap/pbkfd2_salt_big.attrs index c29c5d34096..aadc8b77fae 100644 --- a/src/tests/modules/pap/pbkfd2_salt_big.attrs +++ b/src/tests/modules/pap/pbkfd2_salt_big.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_salt_big' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_salt_small.attrs b/src/tests/modules/pap/pbkfd2_salt_small.attrs index c0dc5540a25..cdee2cbeee0 100644 --- a/src/tests/modules/pap/pbkfd2_salt_small.attrs +++ b/src/tests/modules/pap/pbkfd2_salt_small.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_salt_small' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_sha1.attrs b/src/tests/modules/pap/pbkfd2_sha1.attrs index 8e5bf23a287..04a5331942e 100644 --- a/src/tests/modules/pap/pbkfd2_sha1.attrs +++ b/src/tests/modules/pap/pbkfd2_sha1.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_sha1' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_sha2_224.attrs b/src/tests/modules/pap/pbkfd2_sha2_224.attrs index 335a0d6ad7c..42542636e18 100644 --- a/src/tests/modules/pap/pbkfd2_sha2_224.attrs +++ b/src/tests/modules/pap/pbkfd2_sha2_224.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_sha2_224' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_sha2_256.attrs b/src/tests/modules/pap/pbkfd2_sha2_256.attrs index d75f1aa0dfd..50cc3573dd9 100644 --- a/src/tests/modules/pap/pbkfd2_sha2_256.attrs +++ b/src/tests/modules/pap/pbkfd2_sha2_256.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_sha2_256' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_sha2_384.attrs b/src/tests/modules/pap/pbkfd2_sha2_384.attrs index d7c1d6936cb..cfceb017204 100644 --- a/src/tests/modules/pap/pbkfd2_sha2_384.attrs +++ b/src/tests/modules/pap/pbkfd2_sha2_384.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_sha2_384' User-Password = 'password' diff --git a/src/tests/modules/pap/pbkfd2_sha2_512.attrs b/src/tests/modules/pap/pbkfd2_sha2_512.attrs index e9d568938df..9165622e82d 100644 --- a/src/tests/modules/pap/pbkfd2_sha2_512.attrs +++ b/src/tests/modules/pap/pbkfd2_sha2_512.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'pbkdf2_sha2_512' User-Password = 'password' diff --git a/src/tests/modules/pap/plaintext_with_dollar_0.attrs b/src/tests/modules/pap/plaintext_with_dollar_0.attrs index 7c9599a7264..939f3c4f280 100644 --- a/src/tests/modules/pap/plaintext_with_dollar_0.attrs +++ b/src/tests/modules/pap/plaintext_with_dollar_0.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'plaintext_with_dollar_0' User-Password = 'password$' diff --git a/src/tests/modules/pap/plaintext_with_dollar_1.attrs b/src/tests/modules/pap/plaintext_with_dollar_1.attrs index cf6ac414a89..b354576ef5b 100644 --- a/src/tests/modules/pap/plaintext_with_dollar_1.attrs +++ b/src/tests/modules/pap/plaintext_with_dollar_1.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'plaintext_with_dollar_1' User-Password = '$password' diff --git a/src/tests/modules/pap/plaintext_with_dollar_2.attrs b/src/tests/modules/pap/plaintext_with_dollar_2.attrs index ba65cb5cae9..946a5cd4e69 100644 --- a/src/tests/modules/pap/plaintext_with_dollar_2.attrs +++ b/src/tests/modules/pap/plaintext_with_dollar_2.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'plaintext_with_dollar_2' User-Password = 'pass$word' diff --git a/src/tests/modules/pap/plaintext_with_dollar_3.attrs b/src/tests/modules/pap/plaintext_with_dollar_3.attrs index 557326dca47..c7a6fc34860 100644 --- a/src/tests/modules/pap/plaintext_with_dollar_3.attrs +++ b/src/tests/modules/pap/plaintext_with_dollar_3.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'plaintext_with_dollar_3' User-Password = '$pass$word' diff --git a/src/tests/modules/perl/unknown.attrs b/src/tests/modules/perl/unknown.attrs index c0b38e4b85f..e92a8b3383d 100644 --- a/src/tests/modules/perl/unknown.attrs +++ b/src/tests/modules/perl/unknown.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "hello" raw.17 = 0xabcdef @@ -8,4 +9,4 @@ raw.17 = 0xabcdef # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/python/auth_configured_module.attrs b/src/tests/modules/python/auth_configured_module.attrs index 8b7914eed69..24fef056dc8 100644 --- a/src/tests/modules/python/auth_configured_module.attrs +++ b/src/tests/modules/python/auth_configured_module.attrs @@ -1,10 +1,11 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "hello" # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/python/auth_multi_inst.attrs b/src/tests/modules/python/auth_multi_inst.attrs index 8b7914eed69..24fef056dc8 100644 --- a/src/tests/modules/python/auth_multi_inst.attrs +++ b/src/tests/modules/python/auth_multi_inst.attrs @@ -1,10 +1,11 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "hello" # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/python/auth_with_shared_storage.attrs b/src/tests/modules/python/auth_with_shared_storage.attrs index 8b7914eed69..24fef056dc8 100644 --- a/src/tests/modules/python/auth_with_shared_storage.attrs +++ b/src/tests/modules/python/auth_with_shared_storage.attrs @@ -1,10 +1,11 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "hello" # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/python/auth_with_tls.attrs b/src/tests/modules/python/auth_with_tls.attrs index 8b7914eed69..24fef056dc8 100644 --- a/src/tests/modules/python/auth_with_tls.attrs +++ b/src/tests/modules/python/auth_with_tls.attrs @@ -1,10 +1,11 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "bob" User-Password = "hello" # # Expected answer # -Packet-Type == Access-Accept \ No newline at end of file +Packet-Type == Access-Accept diff --git a/src/tests/modules/redis/cluster_key.attrs b/src/tests/modules/redis/cluster_key.attrs index e8090c8897f..2376770b0ba 100644 --- a/src/tests/modules/redis/cluster_key.attrs +++ b/src/tests/modules/redis/cluster_key.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' diff --git a/src/tests/modules/redis/cluster_node_fail.attrs b/src/tests/modules/redis/cluster_node_fail.attrs index e8090c8897f..2376770b0ba 100644 --- a/src/tests/modules/redis/cluster_node_fail.attrs +++ b/src/tests/modules/redis/cluster_node_fail.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' diff --git a/src/tests/modules/redis_ippool/alloc.attrs b/src/tests/modules/redis_ippool/alloc.attrs index ab87596788e..871a106ce7c 100644 --- a/src/tests/modules/redis_ippool/alloc.attrs +++ b/src/tests/modules/redis_ippool/alloc.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' NAS-IP-Address = 127.0.0.1 diff --git a/src/tests/modules/redis_ippool/pool_tool_delete.attrs b/src/tests/modules/redis_ippool/pool_tool_delete.attrs index ab87596788e..871a106ce7c 100644 --- a/src/tests/modules/redis_ippool/pool_tool_delete.attrs +++ b/src/tests/modules/redis_ippool/pool_tool_delete.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' NAS-IP-Address = 127.0.0.1 diff --git a/src/tests/modules/redis_ippool/pool_tool_modify.attrs b/src/tests/modules/redis_ippool/pool_tool_modify.attrs index ab87596788e..871a106ce7c 100644 --- a/src/tests/modules/redis_ippool/pool_tool_modify.attrs +++ b/src/tests/modules/redis_ippool/pool_tool_modify.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' NAS-IP-Address = 127.0.0.1 diff --git a/src/tests/modules/redis_ippool/pool_tool_release.attrs b/src/tests/modules/redis_ippool/pool_tool_release.attrs index ab87596788e..871a106ce7c 100644 --- a/src/tests/modules/redis_ippool/pool_tool_release.attrs +++ b/src/tests/modules/redis_ippool/pool_tool_release.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' NAS-IP-Address = 127.0.0.1 diff --git a/src/tests/modules/redis_ippool/release.attrs b/src/tests/modules/redis_ippool/release.attrs index ab87596788e..871a106ce7c 100644 --- a/src/tests/modules/redis_ippool/release.attrs +++ b/src/tests/modules/redis_ippool/release.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' NAS-IP-Address = 127.0.0.1 diff --git a/src/tests/modules/redis_ippool/update.attrs b/src/tests/modules/redis_ippool/update.attrs index ab87596788e..ff97fb3650e 100644 --- a/src/tests/modules/redis_ippool/update.attrs +++ b/src/tests/modules/redis_ippool/update.attrs @@ -1,6 +1,7 @@ # # Input packet # + User-Name = 'john' User-Password = 'testing123' NAS-IP-Address = 127.0.0.1 diff --git a/src/tests/modules/redis_ippool/update_alloc.attrs b/src/tests/modules/redis_ippool/update_alloc.attrs index ab87596788e..871a106ce7c 100644 --- a/src/tests/modules/redis_ippool/update_alloc.attrs +++ b/src/tests/modules/redis_ippool/update_alloc.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'john' User-Password = 'testing123' NAS-IP-Address = 127.0.0.1 diff --git a/src/tests/modules/smtp/smtp_attachment/tls_attachment.attrs b/src/tests/modules/smtp/smtp_attachment/tls_attachment.attrs index ef4ea8ed8aa..65ec9dc7e4b 100644 --- a/src/tests/modules/smtp/smtp_attachment/tls_attachment.attrs +++ b/src/tests/modules/smtp/smtp_attachment/tls_attachment.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'Bob' User-Password = 'Saget' diff --git a/src/tests/modules/smtp/smtp_authenticate/tls_authenticate.attrs b/src/tests/modules/smtp/smtp_authenticate/tls_authenticate.attrs index ef4ea8ed8aa..65ec9dc7e4b 100644 --- a/src/tests/modules/smtp/smtp_authenticate/tls_authenticate.attrs +++ b/src/tests/modules/smtp/smtp_authenticate/tls_authenticate.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'Bob' User-Password = 'Saget' diff --git a/src/tests/modules/smtp/smtp_crln/tls_crln.attrs b/src/tests/modules/smtp/smtp_crln/tls_crln.attrs index ef4ea8ed8aa..65ec9dc7e4b 100644 --- a/src/tests/modules/smtp/smtp_crln/tls_crln.attrs +++ b/src/tests/modules/smtp/smtp_crln/tls_crln.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'Bob' User-Password = 'Saget' diff --git a/src/tests/modules/smtp/smtp_stringparse/tls_stringparse.attrs b/src/tests/modules/smtp/smtp_stringparse/tls_stringparse.attrs index 02d7f536988..ae1b7a896b1 100644 --- a/src/tests/modules/smtp/smtp_stringparse/tls_stringparse.attrs +++ b/src/tests/modules/smtp/smtp_stringparse/tls_stringparse.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'Bob' User-Password = 'BobsPass' diff --git a/src/tests/modules/smtp/tls_delivery.attrs b/src/tests/modules/smtp/tls_delivery.attrs index ef4ea8ed8aa..65ec9dc7e4b 100644 --- a/src/tests/modules/smtp/tls_delivery.attrs +++ b/src/tests/modules/smtp/tls_delivery.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'Bob' User-Password = 'Saget' diff --git a/src/tests/modules/sql/acct_0_start.attrs b/src/tests/modules/sql/acct_0_start.attrs index 94ce7cc27d8..badcde090f6 100644 --- a/src/tests/modules/sql/acct_0_start.attrs +++ b/src/tests/modules/sql/acct_0_start.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'user0@example.org' NAS-Port = 17826193 NAS-IP-Address = 192.0.2.10 diff --git a/src/tests/modules/sql/acct_1_update.attrs b/src/tests/modules/sql/acct_1_update.attrs index 870e5877f65..2a6d41ec9ad 100644 --- a/src/tests/modules/sql/acct_1_update.attrs +++ b/src/tests/modules/sql/acct_1_update.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'user1@example.org' NAS-Port = 17826193 NAS-IP-Address = 192.0.2.10 diff --git a/src/tests/modules/sql/acct_2_stop.attrs b/src/tests/modules/sql/acct_2_stop.attrs index aa203e7ab1c..12ee5d828f9 100644 --- a/src/tests/modules/sql/acct_2_stop.attrs +++ b/src/tests/modules/sql/acct_2_stop.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'user2@example.org' NAS-Port = 17826193 NAS-IP-Address = 192.0.2.10 diff --git a/src/tests/modules/sql/acct_start_conflict.attrs b/src/tests/modules/sql/acct_start_conflict.attrs index c26a0f2124a..6bb69d2d408 100644 --- a/src/tests/modules/sql/acct_start_conflict.attrs +++ b/src/tests/modules/sql/acct_start_conflict.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'user3@example.org' NAS-Port = 17826193 NAS-IP-Address = 192.0.2.10 diff --git a/src/tests/modules/sql/acct_update_no_start.attrs b/src/tests/modules/sql/acct_update_no_start.attrs index 7d8de7ce48d..0492cf11e68 100644 --- a/src/tests/modules/sql/acct_update_no_start.attrs +++ b/src/tests/modules/sql/acct_update_no_start.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'user4@example.org' NAS-Port = 17826193 NAS-IP-Address = 192.0.2.10 diff --git a/src/tests/modules/sql/auth.attrs b/src/tests/modules/sql/auth.attrs index 95f66d728a8..e3cf5393ba6 100644 --- a/src/tests/modules/sql/auth.attrs +++ b/src/tests/modules/sql/auth.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "user_auth" User-Password = "password" NAS-IP-Address = "1.2.3.4" diff --git a/src/tests/modules/sql/groups.attrs b/src/tests/modules/sql/groups.attrs index 910818625eb..4491924acfa 100644 --- a/src/tests/modules/sql/groups.attrs +++ b/src/tests/modules/sql/groups.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "groups_user_b" User-Password = "UserBPassword" NAS-IP-Address = "1.2.3.4" diff --git a/src/tests/modules/sql/map.attrs b/src/tests/modules/sql/map.attrs index d9acdd53b72..10e11660cc7 100644 --- a/src/tests/modules/sql/map.attrs +++ b/src/tests/modules/sql/map.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = 'bob' # diff --git a/src/tests/modules/sql/reject.attrs b/src/tests/modules/sql/reject.attrs index a1d56940bd8..2a5b3faa2fb 100644 --- a/src/tests/modules/sql/reject.attrs +++ b/src/tests/modules/sql/reject.attrs @@ -1,6 +1,7 @@ # # Input packet # +Packet-Type = Access-Request User-Name = "user_reject" User-Password = "password" NAS-IP-Address = "1.2.3.4"