Not able to receive inner identity in Access-Accept in EAP-TTLS.

Stefan Paetow Stefan.Paetow at ja.net
Sat Aug 30 16:07:32 CEST 2014


Oh, and Axel, 

I used to make the same mistake (using MSCHAPv2 instead of EAPMSCHAPv2). :-)

Stefan

________________________________________
From: Stefan Paetow
Sent: 30 August 2014 15:05
To: FreeRadius users mailing list
Subject: RE: Not able to receive inner identity in Access-Accept in EAP-TTLS.

Axel,

Setting phase2 in EAPOL_TEST to "MSCHAPV2" does *not* set the inner authentication method to EAP-MSCHAPv2, which is what you will need for it to work.

Set it to phase2="auth=EAPMSCHAPv2"

Try that. It should be successful.

Stefan

________________________________________
From: freeradius-users-bounces+stefan.paetow=ja.net at lists.freeradius.org [freeradius-users-bounces+stefan.paetow=ja.net at lists.freeradius.org] on behalf of Axel Luttgens [axel.luttgens at skynet.be]
Sent: 30 August 2014 14:15
To: FreeRadius users mailing list
Subject: Re: Not able to receive inner identity in Access-Accept in EAP-TTLS.

Le 29 août 2014 à 11:48, Stefan Paetow a écrit :

>> My log excerpts provided examples of the problem I was facing with
>> both TTLS-MSCHAPv2 and PEAP-MSCHAPv2; I also tried TTLS-PAP, with
>> the same negative result.
>
> I haven't seen any full debug logs (i.e. running radiusd -X and sending the list the complete output) from you... only snippets, which are not helpful without any context.

OK, here we go (should you reply to this message, please don't top post and please trim your reply).

Starting with raddb as created at compile time:
        - uncomment the entry for "bob" in the users file
        - uncomment the "update outer.reply" section in file inner-tunnel
Call eapol_test with:
        - eap=TTLS
        - phase2="auth=MSCHAPV2"
It appears that the reply comes with the outer identity ("anonymous"), not the inner one ("bob").
(see output "WITH update outer.reply" hereafter)

Let's then change FR's config:
        - in file inner-tunnel, replace "outer.reply" with "reply"
        - set use_tunneled_reply to "yes" in file eap
Call eapol_test with the same settings as above.
The reply now comes with the inner identity.
(see output "WITH update reply / use_tunneled_reply=yes" in my next message)

If someone could provide the rationale, I am very interested. :-)


>> To be sure, do you mean you really manage to retrieve the inner identity
>> with the help of an "update outer.reply" only?
>
> Yes. In the 'eap' module I have:
>
> eap: default_eap_type = ttls
>
> eap, ttls: default_eap_type = mschapv2
> copy_request_to_tunnel = yes
> use_tunneled_reply = no
>
> eap, peap: identical to eap, ttls.
>
> In inner-tunnel, post-auth:
>
> if (... comparison here irrelevant ...) {
>   update outer.reply {
>       User-Name := "%{Stripped-User-Name}"
>   }
> }
> else {
>   cui-inner
> }

Thanks for the details.
Indeed, this shouldn't behave differently than with "update outer.reply" alone.


> Works fine here...
>
> One thing I did find when I used eapol_test (or more specifically, rad_eap_test, which calls eapol_test), I had to make sure I specified EAPMSCHAPv2 as the inner auth method. Just specifying MSCHAPv2 does not make it EAP-MSCHAPv2.

You're right; playing with various combinations for eapol_test, it seems that the "update outer.reply only" approach works for some of them.
The problem is, the set of possible combinations is quite large...
And the set of supplicants is quite large too.

If possible, I would like to set up something that works always instead of sometimes.
But I guess I'm not sufficiently versed in the intricacies of FR (and RADIUS and EAP and...).

Axel



WITH update outer.reply
=======================

radiusd: FreeRADIUS Version 3.0.4, for host i386-apple-darwin12.5.0, built on Aug 15 2014 at 15:27:17
Copyright (C) 1999-2014 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary
including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.dhcp
including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.vqp
including dictionary file /usr/local/etc/raddb/dictionary
including configuration file /usr/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/proxy.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/mods-enabled/
including configuration file /usr/local/etc/raddb/mods-enabled/always
including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter
including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap
including configuration file /usr/local/etc/raddb/mods-enabled/chap
including configuration file /usr/local/etc/raddb/mods-enabled/detail
including configuration file /usr/local/etc/raddb/mods-enabled/detail.log
including configuration file /usr/local/etc/raddb/mods-enabled/dhcp
including configuration file /usr/local/etc/raddb/mods-enabled/digest
including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients
including configuration file /usr/local/etc/raddb/mods-enabled/eap
including configuration file /usr/local/etc/raddb/mods-enabled/echo
including configuration file /usr/local/etc/raddb/mods-enabled/exec
including configuration file /usr/local/etc/raddb/mods-enabled/expiration
including configuration file /usr/local/etc/raddb/mods-enabled/expr
including configuration file /usr/local/etc/raddb/mods-enabled/files
including configuration file /usr/local/etc/raddb/mods-enabled/linelog
including configuration file /usr/local/etc/raddb/mods-enabled/logintime
including configuration file /usr/local/etc/raddb/mods-enabled/mschap
including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth
including configuration file /usr/local/etc/raddb/mods-enabled/pap
including configuration file /usr/local/etc/raddb/mods-enabled/passwd
including configuration file /usr/local/etc/raddb/mods-enabled/preprocess
including configuration file /usr/local/etc/raddb/mods-enabled/radutmp
including configuration file /usr/local/etc/raddb/mods-enabled/realm
including configuration file /usr/local/etc/raddb/mods-enabled/replicate
including configuration file /usr/local/etc/raddb/mods-enabled/soh
including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp
including configuration file /usr/local/etc/raddb/mods-enabled/unix
including configuration file /usr/local/etc/raddb/mods-enabled/unpack
including configuration file /usr/local/etc/raddb/mods-enabled/utf8
including files in directory /usr/local/etc/raddb/policy.d/
including configuration file /usr/local/etc/raddb/policy.d/accounting
including configuration file /usr/local/etc/raddb/policy.d/canonicalization
including configuration file /usr/local/etc/raddb/policy.d/control
including configuration file /usr/local/etc/raddb/policy.d/cui
OPTIMIZING no yes --> FALSE
OPTIMIZING no yes --> FALSE
including configuration file /usr/local/etc/raddb/policy.d/dhcp
including configuration file /usr/local/etc/raddb/policy.d/eap
including configuration file /usr/local/etc/raddb/policy.d/filter
including configuration file /usr/local/etc/raddb/policy.d/operator-name
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/default
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
main {
security {
        allow_core_dumps = no
}
}
main {
        name = "radiusd"
        prefix = "/usr/local/freeradius-3.0.4-b0bed69cd6"
        localstatedir = "/usr/local/var"
        sbindir = "/usr/local/freeradius-3.0.4-b0bed69cd6/sbin"
        logdir = "/usr/local/var/log/radius"
        run_dir = "/usr/local/var/run/radiusd"
        libdir = "/usr/local/freeradius-3.0.4-b0bed69cd6/lib"
        radacctdir = "/usr/local/var/log/radius/radacct"
        hostname_lookups = no
        max_request_time = 30
        cleanup_delay = 5
        max_requests = 1024
        pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
        checkrad = "/usr/local/freeradius-3.0.4-b0bed69cd6/sbin/checkrad"
        debug_level = 0
        proxy_requests = yes
log {
        stripped_names = no
        auth = no
        auth_badpass = no
        auth_goodpass = no
        colourise = yes
        msg_denied = "You are already logged in - access denied"
}
security {
        max_attributes = 200
        reject_delay = 1
        status_server = yes
        allow_vulnerable_openssl = "no"
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
        retry_delay = 5
        retry_count = 3
        default_fallback = no
        dead_time = 120
        wake_all_if_all_dead = no
}
home_server localhost {
        ipaddr = 127.0.0.1
        port = 1812
        type = "auth"
        secret = <<< secret >>>
        response_window = 20.000000
        response_timeouts = 1
        max_outstanding = 65536
        zombie_period = 40
        status_check = "status-server"
        ping_interval = 30
        check_interval = 30
        check_timeout = 4
        num_answers_to_alive = 3
        revive_interval = 120
 coa {
        irt = 2
        mrt = 16
        mrc = 5
        mrd = 30
 }
 limit {
        max_connections = 16
        max_requests = 0
        lifetime = 0
        idle_timeout = 0
 }
}
home_server_pool my_auth_failover {
        type = fail-over
        home_server = localhost
}
realm example.com {
        auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
        ipaddr = 127.0.0.1
        require_message_authenticator = no
        secret = <<< secret >>>
        nas_type = "other"
        proto = "*"
 limit {
        max_connections = 16
        lifetime = 0
        idle_timeout = 30
 }
}
client localhost_ipv6 {
        ipv6addr = ::1
        require_message_authenticator = no
        secret = <<< secret >>>
 limit {
        max_connections = 16
        lifetime = 0
        idle_timeout = 30
 }
}
radiusd: #### Instantiating modules ####
instantiate {
}
modules {
 # Loaded module rlm_always
 # Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always
 always reject {
        rcode = "reject"
        simulcount = 0
        mpp = no
 }
 # Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always
 always fail {
        rcode = "fail"
        simulcount = 0
        mpp = no
 }
 # Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always
 always ok {
        rcode = "ok"
        simulcount = 0
        mpp = no
 }
 # Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always
 always handled {
        rcode = "handled"
        simulcount = 0
        mpp = no
 }
 # Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always
 always invalid {
        rcode = "invalid"
        simulcount = 0
        mpp = no
 }
 # Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always
 always userlock {
        rcode = "userlock"
        simulcount = 0
        mpp = no
 }
 # Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always
 always notfound {
        rcode = "notfound"
        simulcount = 0
        mpp = no
 }
 # Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always
 always noop {
        rcode = "noop"
        simulcount = 0
        mpp = no
 }
 # Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always
 always updated {
        rcode = "updated"
        simulcount = 0
        mpp = no
 }
 # Loaded module rlm_attr_filter
 # Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
 attr_filter attr_filter.post-proxy {
        filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy"
        key = "%{Realm}"
        relaxed = no
 }
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy
 # Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
 attr_filter attr_filter.pre-proxy {
        filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy"
        key = "%{Realm}"
        relaxed = no
 }
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy
 # Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter
 attr_filter attr_filter.access_reject {
        filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject"
        key = "%{User-Name}"
        relaxed = no
 }
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject
 # Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter
 attr_filter attr_filter.access_challenge {
        filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge"
        key = "%{User-Name}"
        relaxed = no
 }
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge
 # Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter
 attr_filter attr_filter.accounting_response {
        filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response"
        key = "%{User-Name}"
        relaxed = no
 }
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response
 # Loaded module rlm_cache
 # Instantiating module "cache_eap" from file /usr/local/etc/raddb/mods-enabled/cache_eap
 cache cache_eap {
        key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
        ttl = 15
        max_entries = 16384
        epoch = 0
        add_stats = no
 }
 # Loaded module rlm_chap
 # Instantiating module "chap" from file /usr/local/etc/raddb/mods-enabled/chap
 # Loaded module rlm_detail
 # Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail
 detail {
        filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
        header = "%t"
        permissions = 384
        locking = no
        log_packet_header = no
 }
 # Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
 detail auth_log {
        filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
        header = "%t"
        permissions = 384
        locking = no
        log_packet_header = no
 }
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
 # Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
 detail reply_log {
        filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
        header = "%t"
        permissions = 384
        locking = no
        log_packet_header = no
 }
 # Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
 detail pre_proxy_log {
        filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
        header = "%t"
        permissions = 384
        locking = no
        log_packet_header = no
 }
 # Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
 detail post_proxy_log {
        filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
        header = "%t"
        permissions = 384
        locking = no
        log_packet_header = no
 }
 # Loaded module rlm_dhcp
 # Instantiating module "dhcp" from file /usr/local/etc/raddb/mods-enabled/dhcp
 # Loaded module rlm_digest
 # Instantiating module "digest" from file /usr/local/etc/raddb/mods-enabled/digest
 # Loaded module rlm_dynamic_clients
 # Instantiating module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients
 # Loaded module rlm_eap
 # Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
 eap {
        default_eap_type = "md5"
        timer_expire = 60
        ignore_unknown_eap_types = no
        mod_accounting_username_bug = no
        max_sessions = 1024
 }
  # Linked to sub-module rlm_eap_md5
  # Linked to sub-module rlm_eap_leap
  # Linked to sub-module rlm_eap_gtc
  gtc {
        challenge = "Password: "
        auth_type = "PAP"
  }
  # Linked to sub-module rlm_eap_tls
  tls {
        tls = "tls-common"
  }
  tls-config tls-common {
        rsa_key_exchange = no
        dh_key_exchange = yes
        rsa_key_length = 512
        dh_key_length = 512
        verify_depth = 0
        ca_path = "/usr/local/etc/raddb/certs"
        pem_file_type = yes
        private_key_file = "/usr/local/etc/raddb/certs/server.pem"
        certificate_file = "/usr/local/etc/raddb/certs/server.pem"
        ca_file = "/usr/local/etc/raddb/certs/ca.pem"
        private_key_password = <<< secret >>>
        dh_file = "/usr/local/etc/raddb/certs/dh"
        fragment_size = 1024
        include_length = yes
        check_crl = no
        cipher_list = "DEFAULT"
        ecdh_curve = "prime256v1"
   cache {
        enable = yes
        lifetime = 24
        max_entries = 255
   }
   verify {
   }
   ocsp {
        enable = no
        override_cert_url = yes
        url = "http://127.0.0.1/ocsp/"
        use_nonce = yes
        timeout = 0
        softfail = yes
   }
  }
  # Linked to sub-module rlm_eap_ttls
  ttls {
        tls = "tls-common"
        default_eap_type = "md5"
        copy_request_to_tunnel = no
        use_tunneled_reply = no
        virtual_server = "inner-tunnel"
        include_length = yes
        require_client_cert = no
  }
Using cached TLS configuration from previous invocation
  # Linked to sub-module rlm_eap_peap
  peap {
        tls = "tls-common"
        default_method = "mschapv2"
        copy_request_to_tunnel = no
        use_tunneled_reply = no
        proxy_tunneled_request_as_eap = yes
        virtual_server = "inner-tunnel"
        soh = no
        require_client_cert = no
  }
Using cached TLS configuration from previous invocation
  # Linked to sub-module rlm_eap_mschapv2
  mschapv2 {
        with_ntdomain_hack = no
        send_error = no
  }
 # Loaded module rlm_exec
 # Instantiating module "echo" from file /usr/local/etc/raddb/mods-enabled/echo
 exec echo {
        wait = yes
        program = "/bin/echo %{User-Name}"
        input_pairs = "request"
        output_pairs = "reply"
        shell_escape = yes
 }
 # Instantiating module "exec" from file /usr/local/etc/raddb/mods-enabled/exec
 exec {
        wait = no
        input_pairs = "request"
        shell_escape = yes
        timeout = 10
 }
 # Loaded module rlm_expiration
 # Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration
 # Loaded module rlm_expr
 # Instantiating module "expr" from file /usr/local/etc/raddb/mods-enabled/expr
 expr {
        safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
 }
 # Loaded module rlm_files
 # Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files
 files {
        filename = "/usr/local/etc/raddb/mods-config/files/authorize"
        usersfile = "/usr/local/etc/raddb/mods-config/files/authorize"
        acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting"
        preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy"
        compat = "cistron"
 }
reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize
[/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ...
[/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ...
[/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ...
[/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ...
reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize
[/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ...
[/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ...
[/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ...
[/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ...
reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting
reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy
 # Loaded module rlm_linelog
 # Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog
 linelog {
        filename = "/usr/local/var/log/radius/linelog"
        permissions = 384
        format = "This is a log message for %{User-Name}"
        reference = "messages.%{%{Packet-Type}:-default}"
 }
 # Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog
 linelog log_accounting {
        filename = "/usr/local/var/log/radius/linelog-accounting"
        permissions = 384
        format = ""
        reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
 }
 # Loaded module rlm_logintime
 # Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime
 logintime {
        minimum_timeout = 60
 }
 # Loaded module rlm_mschap
 # Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap
 mschap {
        use_mppe = yes
        require_encryption = no
        require_strong = no
        with_ntdomain_hack = yes
  passchange {
  }
        allow_retry = yes
 }
 # Instantiating module "ntlm_auth" from file /usr/local/etc/raddb/mods-enabled/ntlm_auth
 exec ntlm_auth {
        wait = yes
        program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
        shell_escape = yes
 }
 # Loaded module rlm_pap
 # Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
 pap {
        normalise = yes
 }
 # Loaded module rlm_passwd
 # Instantiating module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd
 passwd etc_passwd {
        filename = "/etc/passwd"
        format = "*User-Name:Crypt-Password:"
        delimiter = ":"
        ignore_nislike = no
        ignore_empty = yes
        allow_multiple_keys = no
        hash_size = 100
 }
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
 # Loaded module rlm_preprocess
 # Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess
 preprocess {
        huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups"
        hints = "/usr/local/etc/raddb/mods-config/preprocess/hints"
        with_ascend_hack = no
        ascend_channels_per_line = 23
        with_ntdomain_hack = no
        with_specialix_jetstream_hack = no
        with_cisco_vsa_hack = no
        with_alvarion_vsa_hack = no
 }
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints
 # Loaded module rlm_radutmp
 # Instantiating module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp
 radutmp {
        filename = "/usr/local/var/log/radius/radutmp"
        username = "%{User-Name}"
        case_sensitive = yes
        check_with_nas = yes
        permissions = 384
        caller_id = yes
 }
 # Loaded module rlm_realm
 # Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
 realm IPASS {
        format = "prefix"
        delimiter = "/"
        ignore_default = no
        ignore_null = no
 }
 # Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm
 realm suffix {
        format = "suffix"
        delimiter = "@"
        ignore_default = no
        ignore_null = no
 }
 # Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm
 realm realmpercent {
        format = "suffix"
        delimiter = "%"
        ignore_default = no
        ignore_null = no
 }
 # Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm
 realm ntdomain {
        format = "prefix"
        delimiter = "\"
        ignore_default = no
        ignore_null = no
 }
 # Loaded module rlm_replicate
 # Instantiating module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate
 # Loaded module rlm_soh
 # Instantiating module "soh" from file /usr/local/etc/raddb/mods-enabled/soh
 soh {
        dhcp = yes
 }
 # Instantiating module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp
 radutmp sradutmp {
        filename = "/usr/local/var/log/radius/sradutmp"
        username = "%{User-Name}"
        case_sensitive = yes
        check_with_nas = yes
        permissions = 420
        caller_id = no
 }
 # Loaded module rlm_unix
 # Instantiating module "unix" from file /usr/local/etc/raddb/mods-enabled/unix
 unix {
        radwtmp = "/usr/local/var/log/radius/radwtmp"
 }
 # Loaded module rlm_unpack
 # Instantiating module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack
 # Loaded module rlm_utf8
 # Instantiating module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /usr/local/etc/raddb/radiusd.conf
} # server
server default { # from file /usr/local/etc/raddb/sites-enabled/default
# Creating Auth-Type = digest
# Loading authenticate {...}
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server default
server inner-tunnel { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
        type = "auth"
        ipaddr = *
        port = 0
  limit {
        max_connections = 16
        lifetime = 0
        idle_timeout = 30
  }
}
listen {
        type = "acct"
        ipaddr = *
        port = 0
  limit {
        max_connections = 16
        lifetime = 0
        idle_timeout = 30
  }
}
listen {
        type = "auth"
        ipv6addr = ::
        port = 0
  limit {
        max_connections = 16
        lifetime = 0
        idle_timeout = 30
  }
}
listen {
        type = "acct"
        ipv6addr = ::
        port = 0
  limit {
        max_connections = 16
        lifetime = 0
        idle_timeout = 30
  }
}
listen {
        type = "auth"
        ipaddr = 127.0.0.1
        port = 18120
}
Listening on auth address * port 1812 as server default
Listening on acct address * port 1813 as server default
Listening on auth address :: port 1812 as server default
Listening on acct address :: port 1813 as server default
Listening on auth address 127.0.0.1 port 18120 as server inner-tunnel
Opening new proxy socket 'proxy address * port 0'
Listening on proxy address * port 58707
Ready to process requests
Received Access-Request Id 0 from 127.0.0.1:53911 to 127.0.0.1:1812 length 126
        User-Name = 'anonymous'
        NAS-IP-Address = 127.0.0.1
        Calling-Station-Id = '02-00-00-00-00-01'
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        Connect-Info = 'CONNECT 11Mbps 802.11b'
        EAP-Message = 0x0200000e01616e6f6e796d6f7573
        Message-Authenticator = 0x30bea35f2ef5243665b8f613eefc3cff
(0) Received Access-Request packet from host 127.0.0.1 port 53911, id=0, length=126
(0)     User-Name = 'anonymous'
(0)     NAS-IP-Address = 127.0.0.1
(0)     Calling-Station-Id = '02-00-00-00-00-01'
(0)     Framed-MTU = 1400
(0)     NAS-Port-Type = Wireless-802.11
(0)     Connect-Info = 'CONNECT 11Mbps 802.11b'
(0)     EAP-Message = 0x0200000e01616e6f6e796d6f7573
(0)     Message-Authenticator = 0x30bea35f2ef5243665b8f613eefc3cff
(0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(0)   authorize {
(0)   filter_username filter_username {
(0)     if (!&User-Name)
(0)     if (!&User-Name)  -> FALSE
(0)     if (&User-Name =~ / /)
(0)     if (&User-Name =~ / /)  -> FALSE
(0)     if (&User-Name =~ /@.*@/ )
(0)     if (&User-Name =~ /@.*@/ )  -> FALSE
(0)     if (&User-Name =~ /\\.\\./ )
(0)     if (&User-Name =~ /\\.\\./ )  -> FALSE
(0)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))
(0)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))   -> FALSE
(0)     if (&User-Name =~ /\\.$/)
(0)     if (&User-Name =~ /\\.$/)   -> FALSE
(0)     if (&User-Name =~ /@\\./)
(0)     if (&User-Name =~ /@\\./)   -> FALSE
(0)   } # filter_username filter_username = notfound
(0)   [preprocess] = ok
(0)   [chap] = noop
(0)   [mschap] = noop
(0)   [digest] = noop
(0)  suffix : Checking for suffix after "@"
(0)  suffix : No '@' in User-Name = "anonymous", looking up realm NULL
(0)  suffix : No such realm "NULL"
(0)   [suffix] = noop
(0)  eap : Peer sent code Response (2) ID 0 length 14
(0)  eap : EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(0)   [eap] = ok
(0)  } #  authorize = ok
(0) Found Auth-Type = EAP
(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(0)   authenticate {
(0)  eap : Peer sent method Identity (1)
(0)  eap : Calling eap_md5 to process EAP data
(0)  eap_md5 : Issuing MD5 Challenge
(0)  eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bb8046f4b
(0)   [eap] = handled
(0)  } #  authenticate = handled
(0) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=0, length=0
(0)     EAP-Message = 0x010100160410b0fe1ca94a1bbe2bcd6af2aab4ba77de
(0)     Message-Authenticator = 0x00000000000000000000000000000000
(0)     State = 0xb8056b3bb8046f4b09117badccd65bb6
Sending Access-Challenge Id 0 from 127.0.0.1:1812 to 127.0.0.1:53911
        EAP-Message = 0x010100160410b0fe1ca94a1bbe2bcd6af2aab4ba77de
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xb8056b3bb8046f4b09117badccd65bb6
(0) Finished request
Waking up in 0.3 seconds.
Received Access-Request Id 1 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136
        User-Name = 'anonymous'
        NAS-IP-Address = 127.0.0.1
        Calling-Station-Id = '02-00-00-00-00-01'
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        Connect-Info = 'CONNECT 11Mbps 802.11b'
        EAP-Message = 0x020100060315
        State = 0xb8056b3bb8046f4b09117badccd65bb6
        Message-Authenticator = 0x0f5671705cb2eff04359f4f6c10ed795
(1) Received Access-Request packet from host 127.0.0.1 port 53911, id=1, length=136
(1)     User-Name = 'anonymous'
(1)     NAS-IP-Address = 127.0.0.1
(1)     Calling-Station-Id = '02-00-00-00-00-01'
(1)     Framed-MTU = 1400
(1)     NAS-Port-Type = Wireless-802.11
(1)     Connect-Info = 'CONNECT 11Mbps 802.11b'
(1)     EAP-Message = 0x020100060315
(1)     State = 0xb8056b3bb8046f4b09117badccd65bb6
(1)     Message-Authenticator = 0x0f5671705cb2eff04359f4f6c10ed795
(1) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(1)   authorize {
(1)   filter_username filter_username {
(1)     if (!&User-Name)
(1)     if (!&User-Name)  -> FALSE
(1)     if (&User-Name =~ / /)
(1)     if (&User-Name =~ / /)  -> FALSE
(1)     if (&User-Name =~ /@.*@/ )
(1)     if (&User-Name =~ /@.*@/ )  -> FALSE
(1)     if (&User-Name =~ /\\.\\./ )
(1)     if (&User-Name =~ /\\.\\./ )  -> FALSE
(1)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))
(1)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))   -> FALSE
(1)     if (&User-Name =~ /\\.$/)
(1)     if (&User-Name =~ /\\.$/)   -> FALSE
(1)     if (&User-Name =~ /@\\./)
(1)     if (&User-Name =~ /@\\./)   -> FALSE
(1)   } # filter_username filter_username = notfound
(1)   [preprocess] = ok
(1)   [chap] = noop
(1)   [mschap] = noop
(1)   [digest] = noop
(1)  suffix : Checking for suffix after "@"
(1)  suffix : No '@' in User-Name = "anonymous", looking up realm NULL
(1)  suffix : No such realm "NULL"
(1)   [suffix] = noop
(1)  eap : Peer sent code Response (2) ID 1 length 6
(1)  eap : No EAP Start, assuming it's an on-going EAP conversation
(1)   [eap] = updated
(1)   [files] = noop
(1)   [expiration] = noop
(1)   [logintime] = noop
(1)  WARNING: pap : No "known good" password found for the user.  Not setting Auth-Type
(1)  WARNING: pap : Authentication will fail unless a "known good" password is available
(1)   [pap] = noop
(1)  } #  authorize = updated
(1) Found Auth-Type = EAP
(1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(1)   authenticate {
(1)  eap : Expiring EAP session with state 0xb8056b3bb8046f4b
(1)  eap : Finished EAP session with state 0xb8056b3bb8046f4b
(1)  eap : Previous EAP request found for state 0xb8056b3bb8046f4b, released from the list
(1)  eap : Peer sent method NAK (3)
(1)  eap : Found mutually acceptable type TTLS (21)
(1)  eap : Calling eap_ttls to process EAP data
(1)  eap_ttls : Flushing SSL sessions (of #0)
(1)  eap_ttls : Initiate
(1)  eap_ttls : Start returned 1
(1)  eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bb9077e4b
(1)   [eap] = handled
(1)  } #  authenticate = handled
(1) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=1, length=0
(1)     EAP-Message = 0x010200061520
(1)     Message-Authenticator = 0x00000000000000000000000000000000
(1)     State = 0xb8056b3bb9077e4b09117badccd65bb6
Sending Access-Challenge Id 1 from 127.0.0.1:1812 to 127.0.0.1:53911
        EAP-Message = 0x010200061520
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xb8056b3bb9077e4b09117badccd65bb6
(1) Finished request
Waking up in 0.3 seconds.
Received Access-Request Id 2 from 127.0.0.1:53911 to 127.0.0.1:1812 length 230
        User-Name = 'anonymous'
        NAS-IP-Address = 127.0.0.1
        Calling-Station-Id = '02-00-00-00-00-01'
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        Connect-Info = 'CONNECT 11Mbps 802.11b'
        EAP-Message = 0x02020064150016030100590100005503015401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100
        State = 0xb8056b3bb9077e4b09117badccd65bb6
        Message-Authenticator = 0x23855de8025c4999d346aa2a6c7674a4
(2) Received Access-Request packet from host 127.0.0.1 port 53911, id=2, length=230
(2)     User-Name = 'anonymous'
(2)     NAS-IP-Address = 127.0.0.1
(2)     Calling-Station-Id = '02-00-00-00-00-01'
(2)     Framed-MTU = 1400
(2)     NAS-Port-Type = Wireless-802.11
(2)     Connect-Info = 'CONNECT 11Mbps 802.11b'
(2)     EAP-Message = 0x02020064150016030100590100005503015401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100
(2)     State = 0xb8056b3bb9077e4b09117badccd65bb6
(2)     Message-Authenticator = 0x23855de8025c4999d346aa2a6c7674a4
(2) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(2)   authorize {
(2)   filter_username filter_username {
(2)     if (!&User-Name)
(2)     if (!&User-Name)  -> FALSE
(2)     if (&User-Name =~ / /)
(2)     if (&User-Name =~ / /)  -> FALSE
(2)     if (&User-Name =~ /@.*@/ )
(2)     if (&User-Name =~ /@.*@/ )  -> FALSE
(2)     if (&User-Name =~ /\\.\\./ )
(2)     if (&User-Name =~ /\\.\\./ )  -> FALSE
(2)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))
(2)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))   -> FALSE
(2)     if (&User-Name =~ /\\.$/)
(2)     if (&User-Name =~ /\\.$/)   -> FALSE
(2)     if (&User-Name =~ /@\\./)
(2)     if (&User-Name =~ /@\\./)   -> FALSE
(2)   } # filter_username filter_username = notfound
(2)   [preprocess] = ok
(2)   [chap] = noop
(2)   [mschap] = noop
(2)   [digest] = noop
(2)  suffix : Checking for suffix after "@"
(2)  suffix : No '@' in User-Name = "anonymous", looking up realm NULL
(2)  suffix : No such realm "NULL"
(2)   [suffix] = noop
(2)  eap : Peer sent code Response (2) ID 2 length 100
(2)  eap : Continuing tunnel setup
(2)   [eap] = ok
(2)  } #  authorize = ok
(2) Found Auth-Type = EAP
(2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(2)   authenticate {
(2)  eap : Expiring EAP session with state 0xb8056b3bb9077e4b
(2)  eap : Finished EAP session with state 0xb8056b3bb9077e4b
(2)  eap : Previous EAP request found for state 0xb8056b3bb9077e4b, released from the list
(2)  eap : Peer sent method TTLS (21)
(2)  eap : EAP TTLS (21)
(2)  eap : Calling eap_ttls to process EAP data
(2)  eap_ttls : Authenticate
(2)  eap_ttls : processing EAP-TLS
(2)  eap_ttls : eaptls_verify returned 7
(2)  eap_ttls : Done initial handshake
(2)  eap_ttls : (other): before/accept initialization
(2)  eap_ttls : TLS_accept: before/accept initialization
(2)  eap_ttls : <<< TLS 1.0 Handshake [length 0059], ClientHello
(2)  eap_ttls : TLS_accept: SSLv3 read client hello A
(2)  eap_ttls : >>> TLS 1.0 Handshake [length 0051], ServerHello
(2)  eap_ttls : TLS_accept: SSLv3 write server hello A
(2)  eap_ttls : >>> TLS 1.0 Handshake [length 08d0], Certificate
(2)  eap_ttls : TLS_accept: SSLv3 write certificate A
(2)  eap_ttls : >>> TLS 1.0 Handshake [length 020d], ServerKeyExchange
(2)  eap_ttls : TLS_accept: SSLv3 write key exchange A
(2)  eap_ttls : >>> TLS 1.0 Handshake [length 0004], ServerHelloDone
(2)  eap_ttls : TLS_accept: SSLv3 write server done A
(2)  eap_ttls : TLS_accept: SSLv3 flush data
(2)  eap_ttls : TLS_accept: Need to read more data: SSLv3 read client certificate A
In SSL Handshake Phase
In SSL Accept mode
(2)  eap_ttls : eaptls_process returned 13
(2)  eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bba067e4b
(2)   [eap] = handled
(2)  } #  authenticate = handled
(2) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=2, length=0
(2)     EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f520a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b1530039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b8
(2)     Message-Authenticator = 0x00000000000000000000000000000000
(2)     State = 0xb8056b3bba067e4b09117badccd65bb6
Sending Access-Challenge Id 2 from 127.0.0.1:1812 to 127.0.0.1:53911
        EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f520a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b1530039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xb8056b3bba067e4b09117badccd65bb6
(2) Finished request
Waking up in 0.3 seconds.
Received Access-Request Id 3 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136
        User-Name = 'anonymous'
        NAS-IP-Address = 127.0.0.1
        Calling-Station-Id = '02-00-00-00-00-01'
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        Connect-Info = 'CONNECT 11Mbps 802.11b'
        EAP-Message = 0x020300061500
        State = 0xb8056b3bba067e4b09117badccd65bb6
        Message-Authenticator = 0x312f78189b4826a001cbff6eb4d28105
(3) Received Access-Request packet from host 127.0.0.1 port 53911, id=3, length=136
(3)     User-Name = 'anonymous'
(3)     NAS-IP-Address = 127.0.0.1
(3)     Calling-Station-Id = '02-00-00-00-00-01'
(3)     Framed-MTU = 1400
(3)     NAS-Port-Type = Wireless-802.11
(3)     Connect-Info = 'CONNECT 11Mbps 802.11b'
(3)     EAP-Message = 0x020300061500
(3)     State = 0xb8056b3bba067e4b09117badccd65bb6
(3)     Message-Authenticator = 0x312f78189b4826a001cbff6eb4d28105
(3) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(3)   authorize {
(3)   filter_username filter_username {
(3)     if (!&User-Name)
(3)     if (!&User-Name)  -> FALSE
(3)     if (&User-Name =~ / /)
(3)     if (&User-Name =~ / /)  -> FALSE
(3)     if (&User-Name =~ /@.*@/ )
(3)     if (&User-Name =~ /@.*@/ )  -> FALSE
(3)     if (&User-Name =~ /\\.\\./ )
(3)     if (&User-Name =~ /\\.\\./ )  -> FALSE
(3)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))
(3)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))   -> FALSE
(3)     if (&User-Name =~ /\\.$/)
(3)     if (&User-Name =~ /\\.$/)   -> FALSE
(3)     if (&User-Name =~ /@\\./)
(3)     if (&User-Name =~ /@\\./)   -> FALSE
(3)   } # filter_username filter_username = notfound
(3)   [preprocess] = ok
(3)   [chap] = noop
(3)   [mschap] = noop
(3)   [digest] = noop
(3)  suffix : Checking for suffix after "@"
(3)  suffix : No '@' in User-Name = "anonymous", looking up realm NULL
(3)  suffix : No such realm "NULL"
(3)   [suffix] = noop
(3)  eap : Peer sent code Response (2) ID 3 length 6
(3)  eap : Continuing tunnel setup
(3)   [eap] = ok
(3)  } #  authorize = ok
(3) Found Auth-Type = EAP
(3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(3)   authenticate {
(3)  eap : Expiring EAP session with state 0xb8056b3bba067e4b
(3)  eap : Finished EAP session with state 0xb8056b3bba067e4b
(3)  eap : Previous EAP request found for state 0xb8056b3bba067e4b, released from the list
(3)  eap : Peer sent method TTLS (21)
(3)  eap : EAP TTLS (21)
(3)  eap : Calling eap_ttls to process EAP data
(3)  eap_ttls : Authenticate
(3)  eap_ttls : processing EAP-TLS
(3)  eap_ttls : Received TLS ACK
(3)  eap_ttls : Received TLS ACK
(3)  eap_ttls : ACK handshake fragment handler
(3)  eap_ttls : eaptls_verify returned 1
(3)  eap_ttls : eaptls_process returned 13
(3)  eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbb017e4b
(3)   [eap] = handled
(3)  } #  authenticate = handled
(3) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=3, length=0
(3)     EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d0101010500038201
(3)     Message-Authenticator = 0x00000000000000000000000000000000
(3)     State = 0xb8056b3bbb017e4b09117badccd65bb6
Sending Access-Challenge Id 3 from 127.0.0.1:1812 to 127.0.0.1:53911
        EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d010101050003820
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xb8056b3bbb017e4b09117badccd65bb6
(3) Finished request
Waking up in 0.3 seconds.
Received Access-Request Id 4 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136
        User-Name = 'anonymous'
        NAS-IP-Address = 127.0.0.1
        Calling-Station-Id = '02-00-00-00-00-01'
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        Connect-Info = 'CONNECT 11Mbps 802.11b'
        EAP-Message = 0x020400061500
        State = 0xb8056b3bbb017e4b09117badccd65bb6
        Message-Authenticator = 0x2cfbd40946326558240fd06ebea5c741
(4) Received Access-Request packet from host 127.0.0.1 port 53911, id=4, length=136
(4)     User-Name = 'anonymous'
(4)     NAS-IP-Address = 127.0.0.1
(4)     Calling-Station-Id = '02-00-00-00-00-01'
(4)     Framed-MTU = 1400
(4)     NAS-Port-Type = Wireless-802.11
(4)     Connect-Info = 'CONNECT 11Mbps 802.11b'
(4)     EAP-Message = 0x020400061500
(4)     State = 0xb8056b3bbb017e4b09117badccd65bb6
(4)     Message-Authenticator = 0x2cfbd40946326558240fd06ebea5c741
(4) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(4)   authorize {
(4)   filter_username filter_username {
(4)     if (!&User-Name)
(4)     if (!&User-Name)  -> FALSE
(4)     if (&User-Name =~ / /)
(4)     if (&User-Name =~ / /)  -> FALSE
(4)     if (&User-Name =~ /@.*@/ )
(4)     if (&User-Name =~ /@.*@/ )  -> FALSE
(4)     if (&User-Name =~ /\\.\\./ )
(4)     if (&User-Name =~ /\\.\\./ )  -> FALSE
(4)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))
(4)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))   -> FALSE
(4)     if (&User-Name =~ /\\.$/)
(4)     if (&User-Name =~ /\\.$/)   -> FALSE
(4)     if (&User-Name =~ /@\\./)
(4)     if (&User-Name =~ /@\\./)   -> FALSE
(4)   } # filter_username filter_username = notfound
(4)   [preprocess] = ok
(4)   [chap] = noop
(4)   [mschap] = noop
(4)   [digest] = noop
(4)  suffix : Checking for suffix after "@"
(4)  suffix : No '@' in User-Name = "anonymous", looking up realm NULL
(4)  suffix : No such realm "NULL"
(4)   [suffix] = noop
(4)  eap : Peer sent code Response (2) ID 4 length 6
(4)  eap : Continuing tunnel setup
(4)   [eap] = ok
(4)  } #  authorize = ok
(4) Found Auth-Type = EAP
(4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(4)   authenticate {
(4)  eap : Expiring EAP session with state 0xb8056b3bbb017e4b
(4)  eap : Finished EAP session with state 0xb8056b3bbb017e4b
(4)  eap : Previous EAP request found for state 0xb8056b3bbb017e4b, released from the list
(4)  eap : Peer sent method TTLS (21)
(4)  eap : EAP TTLS (21)
(4)  eap : Calling eap_ttls to process EAP data
(4)  eap_ttls : Authenticate
(4)  eap_ttls : processing EAP-TLS
(4)  eap_ttls : Received TLS ACK
(4)  eap_ttls : Received TLS ACK
(4)  eap_ttls : ACK handshake fragment handler
(4)  eap_ttls : eaptls_verify returned 1
(4)  eap_ttls : eaptls_process returned 13
(4)  eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbc007e4b
(4)   [eap] = handled
(4)  } #  authenticate = handled
(4) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=4, length=0
(4)     EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece20
(4)     Message-Authenticator = 0x00000000000000000000000000000000
(4)     State = 0xb8056b3bbc007e4b09117badccd65bb6
Sending Access-Challenge Id 4 from 127.0.0.1:1812 to 127.0.0.1:53911
        EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece2
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xb8056b3bbc007e4b09117badccd65bb6
(4) Finished request
Waking up in 0.3 seconds.
Received Access-Request Id 5 from 127.0.0.1:53911 to 127.0.0.1:1812 length 334
        User-Name = 'anonymous'
        NAS-IP-Address = 127.0.0.1
        Calling-Station-Id = '02-00-00-00-00-01'
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        Connect-Info = 'CONNECT 11Mbps 802.11b'
        EAP-Message = 0x020500cc150016030100861000008200805d52f2a81b7d21d8a01e84e521e0f80dbc0077726aaa43b837bb4ce9c6c2befc7ceaba7ed8f2c53caa31dfc2f487ce33406cd96785851f0b5ca72a257c0c44df6e9c8e24cab605f26e15a0e37c9a58b6cb5783d2f4762ca899694e3fecea1b4867f2b0f606d7610d3eb1b7d502be2bba51f5b153ee5ca85547b1edf5ddd72e18140301000101160301003012d689949e6713488d5788f7c1f09d2cd14a46116020cf9f33f096ad78ff286b897e8cb27059f7c216a0343a0a6dc3c0
        State = 0xb8056b3bbc007e4b09117badccd65bb6
        Message-Authenticator = 0x7bfd995088c61dc73cb1a8a9eea5db22
(5) Received Access-Request packet from host 127.0.0.1 port 53911, id=5, length=334
(5)     User-Name = 'anonymous'
(5)     NAS-IP-Address = 127.0.0.1
(5)     Calling-Station-Id = '02-00-00-00-00-01'
(5)     Framed-MTU = 1400
(5)     NAS-Port-Type = Wireless-802.11
(5)     Connect-Info = 'CONNECT 11Mbps 802.11b'
(5)     EAP-Message = 0x020500cc150016030100861000008200805d52f2a81b7d21d8a01e84e521e0f80dbc0077726aaa43b837bb4ce9c6c2befc7ceaba7ed8f2c53caa31dfc2f487ce33406cd96785851f0b5ca72a257c0c44df6e9c8e24cab605f26e15a0e37c9a58b6cb5783d2f4762ca899694e3fecea1b4867f2b0f606d7610d3eb1b7d502be2bba51f5b153ee5ca85547b1edf5ddd72e18140301000101160301003012d689949e6713488d5788f7c1f09d2cd14a46116020cf9f33f096ad78ff286b897e8cb27059f7c216a0343a0a6dc3c0
(5)     State = 0xb8056b3bbc007e4b09117badccd65bb6
(5)     Message-Authenticator = 0x7bfd995088c61dc73cb1a8a9eea5db22
(5) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(5)   authorize {
(5)   filter_username filter_username {
(5)     if (!&User-Name)
(5)     if (!&User-Name)  -> FALSE
(5)     if (&User-Name =~ / /)
(5)     if (&User-Name =~ / /)  -> FALSE
(5)     if (&User-Name =~ /@.*@/ )
(5)     if (&User-Name =~ /@.*@/ )  -> FALSE
(5)     if (&User-Name =~ /\\.\\./ )
(5)     if (&User-Name =~ /\\.\\./ )  -> FALSE
(5)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))
(5)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))   -> FALSE
(5)     if (&User-Name =~ /\\.$/)
(5)     if (&User-Name =~ /\\.$/)   -> FALSE
(5)     if (&User-Name =~ /@\\./)
(5)     if (&User-Name =~ /@\\./)   -> FALSE
(5)   } # filter_username filter_username = notfound
(5)   [preprocess] = ok
(5)   [chap] = noop
(5)   [mschap] = noop
(5)   [digest] = noop
(5)  suffix : Checking for suffix after "@"
(5)  suffix : No '@' in User-Name = "anonymous", looking up realm NULL
(5)  suffix : No such realm "NULL"
(5)   [suffix] = noop
(5)  eap : Peer sent code Response (2) ID 5 length 204
(5)  eap : Continuing tunnel setup
(5)   [eap] = ok
(5)  } #  authorize = ok
(5) Found Auth-Type = EAP
(5) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(5)   authenticate {
(5)  eap : Expiring EAP session with state 0xb8056b3bbc007e4b
(5)  eap : Finished EAP session with state 0xb8056b3bbc007e4b
(5)  eap : Previous EAP request found for state 0xb8056b3bbc007e4b, released from the list
(5)  eap : Peer sent method TTLS (21)
(5)  eap : EAP TTLS (21)
(5)  eap : Calling eap_ttls to process EAP data
(5)  eap_ttls : Authenticate
(5)  eap_ttls : processing EAP-TLS
(5)  eap_ttls : eaptls_verify returned 7
(5)  eap_ttls : Done initial handshake
(5)  eap_ttls : <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange
(5)  eap_ttls : TLS_accept: SSLv3 read client key exchange A
(5)  eap_ttls : <<< TLS 1.0 ChangeCipherSpec [length 0001]
(5)  eap_ttls : <<< TLS 1.0 Handshake [length 0010], Finished
(5)  eap_ttls : TLS_accept: SSLv3 read finished A
(5)  eap_ttls : >>> TLS 1.0 ChangeCipherSpec [length 0001]
(5)  eap_ttls : TLS_accept: SSLv3 write change cipher spec A
(5)  eap_ttls : >>> TLS 1.0 Handshake [length 0010], Finished
(5)  eap_ttls : TLS_accept: SSLv3 write finished A
(5)  eap_ttls : TLS_accept: SSLv3 flush data
 SSL: adding session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 to cache
(5)  eap_ttls : (other): SSL negotiation finished successfully
SSL Connection Established
(5)  eap_ttls : eaptls_process returned 13
(5)  eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbd037e4b
(5)   [eap] = handled
(5)  } #  authenticate = handled
(5) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=5, length=0
(5)     EAP-Message = 0x0106004515800000003b140301000101160301003021c1ddb1e728b86d587f795a2f72ff6da47234d23a9006c288a958c2af4a8ec5ec4ffacc1aaae4fc0974d09460bf2ab4
(5)     Message-Authenticator = 0x00000000000000000000000000000000
(5)     State = 0xb8056b3bbd037e4b09117badccd65bb6
Sending Access-Challenge Id 5 from 127.0.0.1:1812 to 127.0.0.1:53911
        EAP-Message = 0x0106004515800000003b140301000101160301003021c1ddb1e728b86d587f795a2f72ff6da47234d23a9006c288a958c2af4a8ec5ec4ffacc1aaae4fc0974d09460bf2ab4
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xb8056b3bbd037e4b09117badccd65bb6
(5) Finished request
Waking up in 0.3 seconds.
Received Access-Request Id 6 from 127.0.0.1:53911 to 127.0.0.1:1812 length 306
        User-Name = 'anonymous'
        NAS-IP-Address = 127.0.0.1
        Calling-Station-Id = '02-00-00-00-00-01'
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        Connect-Info = 'CONNECT 11Mbps 802.11b'
        EAP-Message = 0x020600b01500170301002084ea9238f865db48b42b92ac958d44ca355c452f266848b804378684438aad7a170301008066e64dde693d78067ed9eb6077a72c6641c9ed7930adf5ec36e18006dca7315d82a5a2d0d4b3bdec5fb06ffb2b28158f739b7e2232bef1bfb86c660496e935f257a8b321ad817bfa0fda8a78d988611b675218a57749aa2a1c8949f6b10fb998a551aed040fcbd624554ff1cc3ceac0f42287126d9d8912bfd5c5da3492f9afe
        State = 0xb8056b3bbd037e4b09117badccd65bb6
        Message-Authenticator = 0xcbb70b1df241b11ad30455d8f5540c32
(6) Received Access-Request packet from host 127.0.0.1 port 53911, id=6, length=306
(6)     User-Name = 'anonymous'
(6)     NAS-IP-Address = 127.0.0.1
(6)     Calling-Station-Id = '02-00-00-00-00-01'
(6)     Framed-MTU = 1400
(6)     NAS-Port-Type = Wireless-802.11
(6)     Connect-Info = 'CONNECT 11Mbps 802.11b'
(6)     EAP-Message = 0x020600b01500170301002084ea9238f865db48b42b92ac958d44ca355c452f266848b804378684438aad7a170301008066e64dde693d78067ed9eb6077a72c6641c9ed7930adf5ec36e18006dca7315d82a5a2d0d4b3bdec5fb06ffb2b28158f739b7e2232bef1bfb86c660496e935f257a8b321ad817bfa0fda8a78d988611b675218a57749aa2a1c8949f6b10fb998a551aed040fcbd624554ff1cc3ceac0f42287126d9d8912bfd5c5da3492f9afe
(6)     State = 0xb8056b3bbd037e4b09117badccd65bb6
(6)     Message-Authenticator = 0xcbb70b1df241b11ad30455d8f5540c32
(6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(6)   authorize {
(6)   filter_username filter_username {
(6)     if (!&User-Name)
(6)     if (!&User-Name)  -> FALSE
(6)     if (&User-Name =~ / /)
(6)     if (&User-Name =~ / /)  -> FALSE
(6)     if (&User-Name =~ /@.*@/ )
(6)     if (&User-Name =~ /@.*@/ )  -> FALSE
(6)     if (&User-Name =~ /\\.\\./ )
(6)     if (&User-Name =~ /\\.\\./ )  -> FALSE
(6)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))
(6)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))   -> FALSE
(6)     if (&User-Name =~ /\\.$/)
(6)     if (&User-Name =~ /\\.$/)   -> FALSE
(6)     if (&User-Name =~ /@\\./)
(6)     if (&User-Name =~ /@\\./)   -> FALSE
(6)   } # filter_username filter_username = notfound
(6)   [preprocess] = ok
(6)   [chap] = noop
(6)   [mschap] = noop
(6)   [digest] = noop
(6)  suffix : Checking for suffix after "@"
(6)  suffix : No '@' in User-Name = "anonymous", looking up realm NULL
(6)  suffix : No such realm "NULL"
(6)   [suffix] = noop
(6)  eap : Peer sent code Response (2) ID 6 length 176
(6)  eap : Continuing tunnel setup
(6)   [eap] = ok
(6)  } #  authorize = ok
(6) Found Auth-Type = EAP
(6) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(6)   authenticate {
(6)  eap : Expiring EAP session with state 0xb8056b3bbd037e4b
(6)  eap : Finished EAP session with state 0xb8056b3bbd037e4b
(6)  eap : Previous EAP request found for state 0xb8056b3bbd037e4b, released from the list
(6)  eap : Peer sent method TTLS (21)
(6)  eap : EAP TTLS (21)
(6)  eap : Calling eap_ttls to process EAP data
(6)  eap_ttls : Authenticate
(6)  eap_ttls : processing EAP-TLS
(6)  eap_ttls : eaptls_verify returned 7
(6)  eap_ttls : Done initial handshake
(6)  eap_ttls : eaptls_process returned 7
(6)  eap_ttls : Session established.  Proceeding to decode tunneled attributes
(6)  eap_ttls : Got tunneled request
        User-Name = 'bob'
        MS-CHAP-Challenge = 0x2f3e438e52ee686d2b4cd3355348690a
        MS-CHAP2-Response = 0xa9004ad8b8fb8ea65ebfa44dc4757e5269610000000000000000c94ab2f306da828819235600a2113cc576cc6d53827cd185
(6)  eap_ttls : Sending tunneled request
(6)  server inner-tunnel {
(6)    Request:
        User-Name = 'bob'
        MS-CHAP-Challenge = 0x2f3e438e52ee686d2b4cd3355348690a
        MS-CHAP2-Response = 0xa9004ad8b8fb8ea65ebfa44dc4757e5269610000000000000000c94ab2f306da828819235600a2113cc576cc6d53827cd185
(6)  # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(6)    authorize {
(6)    [chap] = noop
(6)   mschap : Found MS-CHAP attributes.  Setting 'Auth-Type  = mschap'
(6)    [mschap] = ok
(6)   suffix : Checking for suffix after "@"
(6)   suffix : No '@' in User-Name = "bob", looking up realm NULL
(6)   suffix : No such realm "NULL"
(6)    [suffix] = noop
(6)    update control {
(6)     Proxy-To-Realm := 'LOCAL'
(6)    } # update control = noop
(6)   eap : No EAP-Message, not doing EAP
(6)    [eap] = noop
(6)   files : users: Matched entry bob at line 88
(6)   files : EXPAND Hello, %{User-Name}
(6)   files :    --> Hello, bob
(6)    [files] = ok
(6)    [expiration] = noop
(6)    [logintime] = noop
(6)   WARNING: pap : Auth-Type already set.  Not setting to PAP
(6)    [pap] = noop
(6)   } #  authorize = ok
(6)  Found Auth-Type = MSCHAP
(6)  # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(6)   Auth-Type MS-CHAP {
(6)   mschap : Found Cleartext-Password, hashing to create LM-Password
(6)   mschap : Found Cleartext-Password, hashing to create NT-Password
(6)   mschap : Creating challenge hash with username: bob
(6)   mschap : Client is using MS-CHAPv2
(6)   mschap : Adding MS-CHAPv2 MPPE keys
(6)    [mschap] = ok
(6)   } # Auth-Type MS-CHAP = ok
(6)  # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(6)    post-auth {
(6)    update outer.reply {
(6)  EXPAND %{request:User-Name}
(6)     --> bob
(6)     User-Name = "bob"
(6)    } # update outer.reply = noop
(6)   } #  post-auth = noop
(6)    Reply:
        Reply-Message = 'Hello, bob'
        MS-CHAP2-Success = 0xa9533d42434330464436413831454436414141323838413043364530303333344134453943363238453834
        MS-MPPE-Recv-Key = 0xe7ea3ecd0dc5e6590509921bf346908b
        MS-MPPE-Send-Key = 0x53fcf30bdc1da42883bd82ab30e14059
        MS-MPPE-Encryption-Policy = Encryption-Allowed
        MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(6)  } # server inner-tunnel
(6)  eap_ttls : Got tunneled Access-Accept
(6)  eap_ttls : Got MS-CHAP2-Success, tunneling it to the client in a challenge
(6)  eap_ttls : sending tunneled reply attributes
        MS-CHAP2-Success = 0xa9533d42434330464436413831454436414141323838413043364530303333344134453943363238453834
(6)  eap_ttls : end tunneled reply attributes
(6)  eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbe027e4b
(6)   [eap] = handled
(6)  } #  authenticate = handled
(6) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=6, length=0
(6)     User-Name = 'bob'
(6)     EAP-Message = 0x0107005f1580000000551703010050235c6f82ac6d9cfa91457f1ee6d2219eb1ffeefe6cdfcc8b8adcd9648de093c2c1223adc01533e3f9cedb1072f26dc4e554f49fd4d950bfb856ef773e97e9d81a8bf2af706662675733c21ab961df649
(6)     Message-Authenticator = 0x00000000000000000000000000000000
(6)     State = 0xb8056b3bbe027e4b09117badccd65bb6
Sending Access-Challenge Id 6 from 127.0.0.1:1812 to 127.0.0.1:53911
        User-Name = 'bob'
        EAP-Message = 0x0107005f1580000000551703010050235c6f82ac6d9cfa91457f1ee6d2219eb1ffeefe6cdfcc8b8adcd9648de093c2c1223adc01533e3f9cedb1072f26dc4e554f49fd4d950bfb856ef773e97e9d81a8bf2af706662675733c21ab961df649
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xb8056b3bbe027e4b09117badccd65bb6
(6) Finished request
Waking up in 0.3 seconds.
Received Access-Request Id 7 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136
        User-Name = 'anonymous'
        NAS-IP-Address = 127.0.0.1
        Calling-Station-Id = '02-00-00-00-00-01'
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        Connect-Info = 'CONNECT 11Mbps 802.11b'
        EAP-Message = 0x020700061500
        State = 0xb8056b3bbe027e4b09117badccd65bb6
        Message-Authenticator = 0x966259fc36d079b4cb89e36c5d87674e
(7) Received Access-Request packet from host 127.0.0.1 port 53911, id=7, length=136
(7)     User-Name = 'anonymous'
(7)     NAS-IP-Address = 127.0.0.1
(7)     Calling-Station-Id = '02-00-00-00-00-01'
(7)     Framed-MTU = 1400
(7)     NAS-Port-Type = Wireless-802.11
(7)     Connect-Info = 'CONNECT 11Mbps 802.11b'
(7)     EAP-Message = 0x020700061500
(7)     State = 0xb8056b3bbe027e4b09117badccd65bb6
(7)     Message-Authenticator = 0x966259fc36d079b4cb89e36c5d87674e
(7) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(7)   authorize {
(7)   filter_username filter_username {
(7)     if (!&User-Name)
(7)     if (!&User-Name)  -> FALSE
(7)     if (&User-Name =~ / /)
(7)     if (&User-Name =~ / /)  -> FALSE
(7)     if (&User-Name =~ /@.*@/ )
(7)     if (&User-Name =~ /@.*@/ )  -> FALSE
(7)     if (&User-Name =~ /\\.\\./ )
(7)     if (&User-Name =~ /\\.\\./ )  -> FALSE
(7)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))
(7)     if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\\.(.+)$/))   -> FALSE
(7)     if (&User-Name =~ /\\.$/)
(7)     if (&User-Name =~ /\\.$/)   -> FALSE
(7)     if (&User-Name =~ /@\\./)
(7)     if (&User-Name =~ /@\\./)   -> FALSE
(7)   } # filter_username filter_username = notfound
(7)   [preprocess] = ok
(7)   [chap] = noop
(7)   [mschap] = noop
(7)   [digest] = noop
(7)  suffix : Checking for suffix after "@"
(7)  suffix : No '@' in User-Name = "anonymous", looking up realm NULL
(7)  suffix : No such realm "NULL"
(7)   [suffix] = noop
(7)  eap : Peer sent code Response (2) ID 7 length 6
(7)  eap : Continuing tunnel setup
(7)   [eap] = ok
(7)  } #  authorize = ok
(7) Found Auth-Type = EAP
(7) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(7)   authenticate {
(7)  eap : Expiring EAP session with state 0xb8056b3bbe027e4b
(7)  eap : Finished EAP session with state 0xb8056b3bbe027e4b
(7)  eap : Previous EAP request found for state 0xb8056b3bbe027e4b, released from the list
(7)  eap : Peer sent method TTLS (21)
(7)  eap : EAP TTLS (21)
(7)  eap : Calling eap_ttls to process EAP data
(7)  eap_ttls : Authenticate
(7)  eap_ttls : processing EAP-TLS
(7)  eap_ttls : Received TLS ACK
(7)  eap_ttls : Received TLS ACK
(7)  eap_ttls : ACK handshake is finished
(7)  eap_ttls : eaptls_verify returned 3
(7)  eap_ttls : eaptls_process returned 3
(7)  eap_ttls : Using saved attributes from the original Access-Accept
(7)  WARNING: eap_ttls : No information to cache: session caching will be disabled for session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153
 SSL: Removing session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 from the cache
(7)  eap : Freeing handler
(7)   [eap] = ok
(7)  } #  authenticate = ok
(7) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
(7)   post-auth {
(7)   [exec] = noop
(7)   remove_reply_message_if_eap remove_reply_message_if_eap {
(7)     if (&reply:EAP-Message && reply:Reply-Message)
(7)     if (&reply:EAP-Message && reply:Reply-Message)  -> FALSE
(7)    else else {
(7)     [noop] = noop
(7)    } # else else = noop
(7)   } # remove_reply_message_if_eap remove_reply_message_if_eap = noop
(7)  } #  post-auth = noop
(7) Sending Access-Accept packet to host 127.0.0.1 port 53911, id=7, length=0
(7)     MS-MPPE-Recv-Key = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d5
(7)     MS-MPPE-Send-Key = 0x52cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b
(7)     EAP-MSK = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d552cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b
(7)     EAP-EMSK = 0x55caa40d812fd8a419dbf2ed7fcb34cd77f14c08c57503ff9acdbbbc4b968dce3c2ffdb9d8ba573025275c57ac451da2e7b57659ce70c2eb7e63f1ed6878bd47
(7)     EAP-Session-Id = 0x155401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd85401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f5
(7)     EAP-Message = 0x03070004
(7)     Message-Authenticator = 0x00000000000000000000000000000000
(7)     User-Name = 'anonymous'
Sending Access-Accept Id 7 from 127.0.0.1:1812 to 127.0.0.1:53911
        MS-MPPE-Recv-Key = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d5
        MS-MPPE-Send-Key = 0x52cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b
        EAP-Message = 0x03070004
        Message-Authenticator = 0x00000000000000000000000000000000
        User-Name = 'anonymous'
(7) Finished request
Waking up in 0.2 seconds.
Waking up in 4.6 seconds.
(0) Cleaning up request packet ID 0 with timestamp +81
(1) Cleaning up request packet ID 1 with timestamp +81
(2) Cleaning up request packet ID 2 with timestamp +81
(3) Cleaning up request packet ID 3 with timestamp +81
(4) Cleaning up request packet ID 4 with timestamp +81
(5) Cleaning up request packet ID 5 with timestamp +81
(6) Cleaning up request packet ID 6 with timestamp +81
(7) Cleaning up request packet ID 7 with timestamp +81
Ready to process requests

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Janet(UK) is a trading name of Jisc Collections and Janet Limited, a 
not-for-profit company which is registered in England under No. 2881024 
and whose Registered Office is at Lumen House, Library Avenue,
Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238



More information about the Freeradius-Users mailing list