Adding Testcases to modules

shivu prasad shivaprasad2452 at gmail.com
Mon Oct 8 17:04:14 CEST 2018


Hi Alan,

Since You mentioned there may be some configuration change in my set up I
download fresh code(freeradius-server-3.0.17.tar.gz) and retried the setup
here is steps I  am invoking.

1.Configure (./configure --prefix=/usr/local/freeradius-server-3.0.17)
2.make
3. sudo make Install
4. sudo /usr/local/afreeradius/sbin/radiusd -X  (I got the SSL error here I
fixed it by allowing ssl
# allow_vulnerable_openssl = no
        allow_vulnerable_openssl = 'CVE-2016-6304'
)
**this is the only change I have done to fix the SSL issue and to make the
server up.

5. make tests  (changed directory to src/tests and run the make tests
command).
the make tests failing after some time.
I am not getting where I am doing wrong.

I have captured the log and added here.
Starting server... failed
Last log entries were:
Mon Oct  8 20:02:01 2018 : Debug: Loading rlm_eap_gtc with path:
/scratch/myfolder/todel/freeradius-server-3.0.17/build/lib/.libs/rlm_eap_gtc.so
Mon Oct  8 20:02:01 2018 : Debug:    # Linked to sub-module rlm_eap_gtc
Mon Oct  8 20:02:01 2018 : Debug:    gtc {
Mon Oct  8 20:02:01 2018 : Debug:        challenge = "Password: "
Mon Oct  8 20:02:01 2018 : Debug:        auth_type = "PAP"
Mon Oct  8 20:02:01 2018 : Debug:    }
Mon Oct  8 20:02:01 2018 : Debug: Loading rlm_eap_tls with path:
/scratch/myfolder/todel/freeradius-server-3.0.17/build/lib/.libs/rlm_eap_tls.so
Mon Oct  8 20:02:01 2018 : Debug:    # Linked to sub-module rlm_eap_tls
Mon Oct  8 20:02:01 2018 : Debug:    tls {
Mon Oct  8 20:02:01 2018 : Debug:        tls = "tls-common"
Mon Oct  8 20:02:01 2018 : Debug:    }
Mon Oct  8 20:02:01 2018 : Debug:    tls-config tls-common {
Mon Oct  8 20:02:01 2018 : Debug:        verify_depth = 0
Mon Oct  8 20:02:01 2018 : Debug:        ca_path =
"/scratch/myfolder/todel/freeradius-server-3.0.17/raddb//certs"
Mon Oct  8 20:02:01 2018 : Debug:        pem_file_type = yes
Mon Oct  8 20:02:01 2018 : Debug:        private_key_file =
"/scratch/myfolder/todel/freeradius-server-3.0.17/raddb//certs/server.pem"
Mon Oct  8 20:02:01 2018 : Error: Unable to check file
"/scratch/myfolder/todel/freeradius-server-3.0.17/raddb//certs/server.pem":
No such file or directory
Mon Oct  8 20:02:01 2018 : Error: rlm_eap_tls: Failed initializing SSL
context
Mon Oct  8 20:02:01 2018 : Error: rlm_eap (EAP): Failed to initialise
rlm_eap_tls
Mon Oct  8 20:02:01 2018 : Error:
/scratch/myfolder/todel/freeradius-server-3.0.17/raddb//mods-enabled/eap[14]:
Instantiation failed for module "eap"
ok
Running tests:
mschapv1_1 : FAILED
Sent Access-Request Id 111 from 0.0.0.0:41497 to 127.0.0.1:12340 length 127
    User-Name = "bob"
    MS-CHAP-Challenge = 0xb9634adc358b2ab3
    MS-CHAP-Response =
0xb9010000000000000000000000000000000000000000000000007a42408782f745ef90a86fd21b0d9294132750f4af66a419
    Test-Name = "mschapv1"
    Test-Number = 1
Sent Access-Request Id 111 from 0.0.0.0:41497 to 127.0.0.1:12340 length 127
    User-Name = "bob"
    MS-CHAP-Challenge = 0xb9634adc358b2ab3
    MS-CHAP-Response =
0xb9010000000000000000000000000000000000000000000000007a42408782f745ef90a86fd21b0d9294132750f4af66a419
    Test-Name = "mschapv1"
    Test-Number = 1
Sent Access-Request Id 111 from 0.0.0.0:41497 to 127.0.0.1:12340 length 127
    User-Name = "bob"
    MS-CHAP-Challenge = 0xb9634adc358b2ab3
    MS-CHAP-Response =
0xb9010000000000000000000000000000000000000000000000007a42408782f745ef90a86fd21b0d9294132750f4af66a419
    Test-Name = "mschapv1"
    Test-Number = 1
digest-auth-int_1 : FAILED
Sent Access-Request Id 44 from 0.0.0.0:60432 to 127.0.0.1:12340 length 282
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Message-Authenticator = 0x
    Test-Name = "digest-auth-int"
    Test-Number = 1
Sent Access-Request Id 44 from 0.0.0.0:60432 to 127.0.0.1:12340 length 282
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Message-Authenticator = 0x
    Test-Name = "digest-auth-int"
    Test-Number = 1
Sent Access-Request Id 44 from 0.0.0.0:60432 to 127.0.0.1:12340 length 282
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Message-Authenticator = 0x
    Test-Name = "digest-auth-int"
    Test-Number = 1
digest-auth_int-MD5_1 : FAILED
Sent Access-Request Id 183 from 0.0.0.0:55935 to 127.0.0.1:12340 length 268
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5"
    Test-Number = 1
Sent Access-Request Id 183 from 0.0.0.0:55935 to 127.0.0.1:12340 length 268
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5"
    Test-Number = 1
Sent Access-Request Id 183 from 0.0.0.0:55935 to 127.0.0.1:12340 length 268
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5"
    Test-Number = 1
digest-auth_int-MD5_2 : FAILED
Sent Access-Request Id 248 from 0.0.0.0:35738 to 127.0.0.1:12340 length 268
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5"
    Test-Number = 2
Sent Access-Request Id 248 from 0.0.0.0:35738 to 127.0.0.1:12340 length 268
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5"
    Test-Number = 2
Sent Access-Request Id 248 from 0.0.0.0:35738 to 127.0.0.1:12340 length 268
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5"
    Test-Number = 2
digest-auth_int-MD5_Sess_1 : FAILED
Sent Access-Request Id 209 from 0.0.0.0:45227 to 127.0.0.1:12340 length 278
    User-Name = "bob"
    Digest-Response = "91984da2d8663716e91554859c22ca70"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5_Sess"
    Test-Number = 1
Sent Access-Request Id 209 from 0.0.0.0:45227 to 127.0.0.1:12340 length 278
    User-Name = "bob"
    Digest-Response = "91984da2d8663716e91554859c22ca70"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5_Sess"
    Test-Number = 1
Sent Access-Request Id 209 from 0.0.0.0:45227 to 127.0.0.1:12340 length 278
    User-Name = "bob"
    Digest-Response = "91984da2d8663716e91554859c22ca70"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5_Sess"
    Test-Number = 1
digest-auth_int-MD5_Sess_2 : FAILED
Sent Access-Request Id 90 from 0.0.0.0:53615 to 127.0.0.1:12340 length 278
    User-Name = "bob"
    Digest-Response = "91984da2d8663716e91554859c22ca70"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5_Sess"
    Test-Number = 2
Sent Access-Request Id 90 from 0.0.0.0:53615 to 127.0.0.1:12340 length 278
    User-Name = "bob"
    Digest-Response = "91984da2d8663716e91554859c22ca70"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5_Sess"
    Test-Number = 2
Sent Access-Request Id 90 from 0.0.0.0:53615 to 127.0.0.1:12340 length 278
    User-Name = "bob"
    Digest-Response = "91984da2d8663716e91554859c22ca70"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-MD5_Sess"
    Test-Number = 2
digest-auth_int-noalgo_1 : FAILED
Sent Access-Request Id 48 from 0.0.0.0:53832 to 127.0.0.1:12340 length 264
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-noalgo"
    Test-Number = 1
Sent Access-Request Id 48 from 0.0.0.0:53832 to 127.0.0.1:12340 length 264
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-noalgo"
    Test-Number = 1
Sent Access-Request Id 48 from 0.0.0.0:53832 to 127.0.0.1:12340 length 264
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-noalgo"
    Test-Number = 1
digest-auth_int-noalgo_2 : FAILED
Sent Access-Request Id 111 from 0.0.0.0:56273 to 127.0.0.1:12340 length 264
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-noalgo"
    Test-Number = 2
Sent Access-Request Id 111 from 0.0.0.0:56273 to 127.0.0.1:12340 length 264
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-noalgo"
    Test-Number = 2
Sent Access-Request Id 111 from 0.0.0.0:56273 to 127.0.0.1:12340 length 264
    User-Name = "bob"
    Digest-Response = "bdbeebb2da6adb6bca02599c2239e192"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050a617574682d696e74
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Digest-Attributes =
0x07226331656430313862386563346133623137306330393231663562353634653438
    Test-Name = "digest-auth_int-noalgo"
    Test-Number = 2
digest-auth-MD5_1 : FAILED
Sent Access-Request Id 101 from 0.0.0.0:55694 to 127.0.0.1:12340 length 224
    User-Name = "bob"
    Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5"
    Test-Number = 1
Sent Access-Request Id 101 from 0.0.0.0:55694 to 127.0.0.1:12340 length 224
    User-Name = "bob"
    Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5"
    Test-Number = 1
Sent Access-Request Id 101 from 0.0.0.0:55694 to 127.0.0.1:12340 length 224
    User-Name = "bob"
    Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5"
    Test-Number = 1
digest-auth-MD5_2 : FAILED
Sent Access-Request Id 197 from 0.0.0.0:47385 to 127.0.0.1:12340 length 224
    User-Name = "bob"
    Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5"
    Test-Number = 2
Sent Access-Request Id 197 from 0.0.0.0:47385 to 127.0.0.1:12340 length 224
    User-Name = "bob"
    Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5"
    Test-Number = 2
Sent Access-Request Id 197 from 0.0.0.0:47385 to 127.0.0.1:12340 length 224
    User-Name = "bob"
    Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x06054d4435
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5"
    Test-Number = 2
digest-auth-MD5_Sess_1 : FAILED
Sent Access-Request Id 128 from 0.0.0.0:56588 to 127.0.0.1:12340 length 234
    User-Name = "bob"
    Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5_Sess"
    Test-Number = 1
Sent Access-Request Id 128 from 0.0.0.0:56588 to 127.0.0.1:12340 length 234
    User-Name = "bob"
    Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5_Sess"
    Test-Number = 1
Sent Access-Request Id 128 from 0.0.0.0:56588 to 127.0.0.1:12340 length 234
    User-Name = "bob"
    Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5_Sess"
    Test-Number = 1
digest-auth-MD5_Sess_2 : FAILED
Sent Access-Request Id 14 from 0.0.0.0:57050 to 127.0.0.1:12340 length 234
    User-Name = "bob"
    Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5_Sess"
    Test-Number = 2
Sent Access-Request Id 14 from 0.0.0.0:57050 to 127.0.0.1:12340 length 234
    User-Name = "bob"
    Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5_Sess"
    Test-Number = 2
Sent Access-Request Id 14 from 0.0.0.0:57050 to 127.0.0.1:12340 length 234
    User-Name = "bob"
    Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x060a4d44352d53657373
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-MD5_Sess"
    Test-Number = 2
digest-auth-noalgo_1 : FAILED
Sent Access-Request Id 77 from 0.0.0.0:36327 to 127.0.0.1:12340 length 220
    User-Name = "bob"
    Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-noalgo"
    Test-Number = 1
Sent Access-Request Id 77 from 0.0.0.0:36327 to 127.0.0.1:12340 length 220
    User-Name = "bob"
    Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-noalgo"
    Test-Number = 1
Sent Access-Request Id 77 from 0.0.0.0:36327 to 127.0.0.1:12340 length 220
    User-Name = "bob"
    Digest-Response = "89eb0059246c02b2f6ee02c7961d5ea3"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-auth-noalgo"
    Test-Number = 1
digest-md5-sess_1 : FAILED
Sent Access-Request Id 206 from 0.0.0.0:40586 to 127.0.0.1:12340 length 229
    User-Name = "bob"
    Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x060a4d44352d73657373
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-md5-sess"
    Test-Number = 1
Sent Access-Request Id 206 from 0.0.0.0:40586 to 127.0.0.1:12340 length 229
    User-Name = "bob"
    Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x060a4d44352d73657373
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-md5-sess"
    Test-Number = 1
Sent Access-Request Id 206 from 0.0.0.0:40586 to 127.0.0.1:12340 length 229
    User-Name = "bob"
    Digest-Response = "e4e4ea61d186d07a92c9e1f6919902e9"
    Digest-Attributes = 0x010c62696c6f78692e636f6d
    Digest-Attributes =
0x022464636439386237313032646432663065386231316430663630306266623063303933
    Digest-Attributes = 0x0308494e56495445
    Digest-Attributes = 0x04147369703a626f624062696c6f78692e636f6d
    Digest-Attributes = 0x060a4d44352d73657373
    Digest-Attributes = 0x0a05626f62
    Digest-Attributes = 0x050661757468
    Digest-Attributes = 0x090a3030303030303031
    Digest-Attributes = 0x080a3061346631313362
    Test-Name = "digest-md5-sess"
    Test-Number = 1
test.example.com_1 : FAILED
Sent Access-Request Id 48 from 0.0.0.0:46169 to 127.0.0.1:12340 length 96
    User-Name = "bob at test.example.com"
    User-Password = "bob"
    Test-Name = "test.example.com"
    Test-Number = 1
    Cleartext-Password = "bob"
Sent Access-Request Id 48 from 0.0.0.0:46169 to 127.0.0.1:12340 length 96
    User-Name = "bob at test.example.com"
    User-Password = "bob"
    Test-Name = "test.example.com"
    Test-Number = 1
    Cleartext-Password = "bob"
Sent Access-Request Id 48 from 0.0.0.0:46169 to 127.0.0.1:12340 length 96
    User-Name = "bob at test.example.com"
    User-Password = "bob"
    Test-Name = "test.example.com"
    Test-Number = 1
    Cleartext-Password = "bob"
See radclient.log for more details

*logs of radclient.log*
Sent Access-Request Id 48 from 0.0.0.0:46169 to 127.0.0.1:12340 length 96
    User-Name = "bob at test.example.com"
    User-Password = "bob"
    Test-Name = "test.example.com"
    Test-Number = 1
    Cleartext-Password = "bob"
Sent Access-Request Id 48 from 0.0.0.0:46169 to 127.0.0.1:12340 length 96
    User-Name = "bob at test.example.com"
    User-Password = "bob"
    Test-Name = "test.example.com"
    Test-Number = 1
    Cleartext-Password = "bob"
Sent Access-Request Id 48 from 0.0.0.0:46169 to 127.0.0.1:12340 length 96
    User-Name = "bob at test.example.com"
    User-Password = "bob"
    Test-Name = "test.example.com"
    Test-Number = 1
    Cleartext-Password = "bo
*b"*





*Regards,*
*Shivaprasad*




On Sun, Oct 7, 2018 at 2:02 AM Alan DeKok <aland at deployingradius.com> wrote:

> On Oct 6, 2018, at 3:46 AM, shivu prasad <shivaprasad2452 at gmail.com>
> wrote:
> > Yes Even simple make tests command is failing, I have not changed
> anything
> > in exiting test modules
>
>   Then you changed raddb/radiusd.conf, or something else in raddb.
>
>   The tests assume a default configuration.  If you break the
> configuration, then the tests won't pass.
>
> > just wanted to understand the how exiting test
> > suite works so that I can add the testcases in similar way.
>
>   The test suite is fairly simple.  There's some magic in the Makefiles,
> but you can largely ignore that.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/devel.html


More information about the Freeradius-Devel mailing list