rlm_eap Errors

Rokkhan rokkhan at gmail.com
Fri Aug 7 13:30:10 CEST 2009


Hello!
I upgraded Freeradius to version 2.1.6. as suggested and now sometimes
i get some diferent EAP errors.

My eap.conf is configured like this:

        eap {
                default_eap_type = mschapv2
                timer_expire     = 60
                ignore_unknown_eap_types = yes
                cisco_accounting_username_bug = no
                max_sessions = 2048

                # Cisco LEAP
                leap {
                }

                ## EAP-TLS
                #
                tls {
                        certdir = ${confdir}/certs
                        cadir = ${confdir}/certs

                        private_key_password = secret
                        private_key_file = ${certdir}/cert-srv.pem

                        certificate_file = ${certdir}/cert-srv.pem

                        #  Trusted Root CA list
                        CA_file = ${cadir}/cacert.pem
                        dh_file = ${certdir}/dh
                        random_file = ${certdir}/random

                        fragment_size = 1024
                        include_length = yes

                        cipher_list = "DEFAULT"
                        make_cert_command = "${certdir}/bootstrap"

                        cache {

                              enable = no
                              lifetime = 24 # hours
                              max_entries = 255
                        }
                }
                peap {

                        default_eap_type = mschapv2
                        copy_request_to_tunnel = no
                        use_tunneled_reply = no
                        #  proxy_tunneled_request_as_eap = yes
                        virtual_server = "tunel.interior.peap"
                }
                mschapv2 {
                }
        }


And the errors i get are:

Fri Aug  7 13:27:19 2009 : Error: rlm_eap_mschapv2: Response is of
incorrect length 16
Fri Aug  7 13:27:38 2009 : Error: rlm_eap_mschapv2: Response is of
incorrect length 16
Fri Aug  7 13:27:44 2009 : Error: rlm_eap: No EAP session matching the
State variable.
Fri Aug  7 13:27:56 2009 : Error: rlm_eap_mschapv2: Response is of
incorrect length 16
Fri Aug  7 13:28:14 2009 : Error: rlm_eap_mschapv2: Response is of
incorrect length 16
Fri Aug  7 13:28:32 2009 : Error: rlm_eap_mschapv2: Response is of
incorrect length 16

By the way when is recomendable to enable cache?
Whi is the better configuration for PEAP?

Thanks in advance



More information about the Freeradius-Users mailing list