Freeradius as a proxy converting EAP to non EAP radius Request

Jacques FOUCHER jacques.foucher at gmail.com
Sat Oct 3 17:56:34 CEST 2009


I did some modifications. But there is nothing new really interresting.
I assumed that error is normal
*"[pap] WARNING! No "known good" password found for the user.
Authentication may fail because of this."*
until [peap] EAPTLS_HANDLED. Is is right Alan ?

Alan told me this message means it is working
*"PEAP: Tunneled authentication will be proxied to jack*"

but Alan told me too proxying is not made
  PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy.
[eap]   Tunneled session will be proxied.  Not doing EAP.
++[eap] returns handled
  WARNING: Empty section.  Using default return values.
ERROR: Failed to create a new socket for proxying requests.
ERROR: Failed inserting request into proxy hash.
ERROR: Failed to proxy request 8

Sorry Alan , i don't have any idea.




debian:/usr/local/etc/raddb# radiusd -X
FreeRADIUS *Version 2.1.7,* for host i686-pc-linux-gnu, built on Oct  3 2009
at 12:10:20
Copyright (C) 1999-2009 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 v2.
Starting - reading configuration files ...
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/modules/
including configuration file /usr/local/etc/raddb/modules/mac2vlan
including configuration file /usr/local/etc/raddb/modules/policy
including configuration file /usr/local/etc/raddb/modules/radutmp
including configuration file /usr/local/etc/raddb/modules/checkval
including configuration file /usr/local/etc/raddb/modules/always
including configuration file /usr/local/etc/raddb/modules/pap
including configuration file /usr/local/etc/raddb/modules/mac2ip
including configuration file /usr/local/etc/raddb/modules/files
including configuration file /usr/local/etc/raddb/modules/sradutmp
including configuration file /usr/local/etc/raddb/modules/wimax
including configuration file /usr/local/etc/raddb/modules/unix
including configuration file /usr/local/etc/raddb/modules/cui
including configuration file /usr/local/etc/raddb/modules/inner-eap
including configuration file /usr/local/etc/raddb/modules/attr_filter
including configuration file /usr/local/etc/raddb/modules/perl
including configuration file /usr/local/etc/raddb/modules/chap
including configuration file /usr/local/etc/raddb/modules/detail.log
including configuration file /usr/local/etc/raddb/modules/exec
including configuration file /usr/local/etc/raddb/modules/ldap
including configuration file /usr/local/etc/raddb/modules/pam
including configuration file /usr/local/etc/raddb/modules/etc_group
including configuration file /usr/local/etc/raddb/modules/smbpasswd
including configuration file /usr/local/etc/raddb/modules/mschap
including configuration file /usr/local/etc/raddb/modules/smsotp
including configuration file /usr/local/etc/raddb/modules/preprocess
including configuration file /usr/local/etc/raddb/modules/passwd
including configuration file /usr/local/etc/raddb/modules/realm
including configuration file /usr/local/etc/raddb/modules/acct_unique
including configuration file
/usr/local/etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /usr/local/etc/raddb/modules/ippool
including configuration file /usr/local/etc/raddb/modules/sql_log
including configuration file /usr/local/etc/raddb/modules/logintime
including configuration file /usr/local/etc/raddb/modules/echo
including configuration file /usr/local/etc/raddb/modules/counter
including configuration file /usr/local/etc/raddb/modules/linelog
including configuration file /usr/local/etc/raddb/modules/otp
including configuration file /usr/local/etc/raddb/modules/expiration
including configuration file /usr/local/etc/raddb/modules/detail.example.com
including configuration file /usr/local/etc/raddb/modules/digest
including configuration file /usr/local/etc/raddb/modules/detail
including configuration file /usr/local/etc/raddb/modules/krb5
including configuration file /usr/local/etc/raddb/modules/attr_rewrite
including configuration file /usr/local/etc/raddb/modules/expr
including configuration file /usr/local/etc/raddb/eap.conf
including configuration file /usr/local/etc/raddb/policy.conf
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/proxy-inner-tunnel
including configuration file
/usr/local/etc/raddb/sites-enabled/control-socket
including dictionary file /usr/local/etc/raddb/dictionary
main {
        prefix = "/usr/local"
        localstatedir = "/usr/local/var"
        logdir = "/usr/local/var/log/radius"
        libdir = "/usr/local/lib"
        radacctdir = "/usr/local/var/log/radius/radacct"
        hostname_lookups = no
        max_request_time = 30
        cleanup_delay = 5
        max_requests = 1024
        allow_core_dumps = no
        pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
        checkrad = "/usr/local/sbin/checkrad"
        debug_level = 0
        proxy_requests = yes
 log {
        stripped_names = no
        auth = no
        auth_badpass = no
        auth_goodpass = no
 }
 security {
        max_attributes = 200
        reject_delay = 1
        status_server = yes
 }
}
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 IAS {
        ipaddr = 192.168.0.252
        port = 1812
        type = "auth"
        secret = "lrnp2tlm"
        response_window = 20
        max_outstanding = 65536
        require_message_authenticator = no
        zombie_period = 40
        status_check = "status-server"
        ping_interval = 30
        check_interval = 30
        num_answers_to_alive = 3
        num_pings_to_alive = 3
        revive_interval = 120
        status_check_timeout = 4
        irt = 2
        mrt = 16
        mrc = 5
        mrd = 30
 }
 home_server_pool jack_pool {
        type = fail-over
        home_server = IAS
 }
 realm jack {
        auth_pool = jack_pool
 }
 realm LOCAL {
 }
radiusd: #### Loading Clients ####
 client localhost {
        ipaddr = 127.0.0.1
        require_message_authenticator = no
        secret = "testing123"
        nastype = "other"
 }
 client 192.168.0.250 {
        require_message_authenticator = no
        secret = "lrnp2tlm"
        shortname = "AP1"
 }
radiusd: #### Instantiating modules ####
 instantiate {
 Module: Linked to module rlm_exec
 Module: Instantiating exec
  exec {
        wait = no
        input_pairs = "request"
        shell_escape = yes
  }
 Module: Linked to module rlm_expr
 Module: Instantiating expr
 Module: Linked to module rlm_expiration
 Module: Instantiating expiration
  expiration {
        reply-message = "Password Has Expired  "
  }
 Module: Linked to module rlm_logintime
 Module: Instantiating logintime
  logintime {
        reply-message = "You are calling outside your allowed timespan  "
        minimum-timeout = 60
  }
 }
radiusd: #### Loading Virtual Servers ####
server proxy-inner-tunnel {
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Linked to module rlm_eap
 Module: Instantiating eap
  eap {
        default_eap_type = "mschapv2"
        timer_expire = 60
        ignore_unknown_eap_types = no
        cisco_accounting_username_bug = no
        max_sessions = 2048
  }
 Module: Linked to sub-module rlm_eap_md5
 Module: Instantiating eap-md5
 Module: Linked to sub-module rlm_eap_leap
 Module: Instantiating eap-leap
 Module: Linked to sub-module rlm_eap_gtc
 Module: Instantiating eap-gtc
   gtc {
        challenge = "Password: "
        auth_type = "PAP"
   }
 Module: Linked to sub-module rlm_eap_tls
 Module: Instantiating eap-tls
   tls {
        rsa_key_exchange = no
        dh_key_exchange = yes
        rsa_key_length = 512
        dh_key_length = 512
        verify_depth = 0
        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 = "whatever"
        dh_file = "/usr/local/etc/raddb/certs/dh"
        random_file = "/usr/local/etc/raddb/certs/random"
        fragment_size = 1024
        include_length = yes
        check_crl = no
        cipher_list = "DEFAULT"
        make_cert_command = "/usr/local/etc/raddb/certs/bootstrap"
    cache {
        enable = no
        lifetime = 24
        max_entries = 255
    }
   }
 Module: Linked to sub-module rlm_eap_ttls
 Module: Instantiating eap-ttls
   ttls {
        default_eap_type = "md5"
        copy_request_to_tunnel = no
        use_tunneled_reply = no
        virtual_server = "inner-tunnel"
        include_length = yes
   }
 Module: Linked to sub-module rlm_eap_peap
 Module: Instantiating eap-peap
   peap {
        default_eap_type = "mschapv2"
        copy_request_to_tunnel = no
        use_tunneled_reply = no
        proxy_tunneled_request_as_eap = no
        virtual_server = "proxy-inner-tunnel"
   }
 Module: Linked to sub-module rlm_eap_mschapv2
 Module: Instantiating eap-mschapv2
   mschapv2 {
        with_ntdomain_hack = no
   }
 Module: Checking authorize {...} for more modules to load
 Module: Checking post-proxy {...} for more modules to load
 } # modules
} # server
server {
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Linked to module rlm_pap
 Module: Instantiating pap
  pap {
        encryption_scheme = "auto"
        auto_header = no
  }
 Module: Linked to module rlm_chap
 Module: Instantiating chap
 Module: Linked to module rlm_mschap
 Module: Instantiating mschap
  mschap {
        use_mppe = yes
        require_encryption = no
        require_strong = no
        with_ntdomain_hack = no
  }
 Module: Linked to module rlm_unix
 Module: Instantiating unix
  unix {
        radwtmp = "/usr/local/var/log/radius/radwtmp"
  }
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_preprocess
 Module: Instantiating preprocess
  preprocess {
        huntgroups = "/usr/local/etc/raddb/huntgroups"
        hints = "/usr/local/etc/raddb/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
  }
 Module: Linked to module rlm_files
 Module: Instantiating files
  files {
        usersfile = "/usr/local/etc/raddb/users"
        acctusersfile = "/usr/local/etc/raddb/acct_users"
        preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
        compat = "no"
  }
 Module: Checking preacct {...} for more modules to load
 Module: Linked to module rlm_acct_unique
 Module: Instantiating acct_unique
  acct_unique {
        key = "User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port"
  }
 Module: Checking accounting {...} for more modules to load
 Module: Linked to module rlm_detail
 Module: Instantiating detail
  detail {
        detailfile =
"/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
        header = "%t"
        detailperm = 384
        dirperm = 493
        locking = no
        log_packet_header = no
  }
 Module: Linked to module rlm_radutmp
 Module: Instantiating radutmp
  radutmp {
        filename = "/usr/local/var/log/radius/radutmp"
        username = "%{User-Name}"
        case_sensitive = yes
        check_with_nas = yes
        perm = 384
        callerid = yes
  }
 Module: Linked to module rlm_attr_filter
 Module: Instantiating attr_filter.accounting_response
  attr_filter attr_filter.accounting_response {
        attrsfile = "/usr/local/etc/raddb/attrs.accounting_response"
        key = "%{User-Name}"
  }
 Module: Checking session {...} for more modules to load
 Module: Checking post-proxy {...} for more modules to load
 Module: Checking post-auth {...} for more modules to load
 Module: Instantiating attr_filter.access_reject
  attr_filter attr_filter.access_reject {
        attrsfile = "/usr/local/etc/raddb/attrs.access_reject"
        key = "%{User-Name}"
  }
 } # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
        type = "auth"
        ipaddr = *
        port = 0
}
listen {
        type = "acct"
        ipaddr = *
        port = 0
}
listen {
        type = "control"
 listen {
        socket = "/usr/local/var/run/radiusd/radiusd.sock"
 }
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /usr/local/var/run/radiusd/radiusd.sock
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=64,
length=239
        Acct-Session-Id = "9e431836-000000bb"
        NAS-Port = 188
        NAS-Port-Type = Wireless-802.11
        NAS-Identifier = "AP1"
        NAS-IP-Address = 192.168.0.250
        Framed-MTU = 1496
        User-Name = "test at jack"
        Calling-Station-Id = "00-13-02-C4-80-4C"
        Called-Station-Id = "00-0F-61-FE-EF-D2"
        Service-Type = Framed-User
        EAP-Message = 0x0288000e0174657374406a61636b
        Colubris-AVPair = "ssid=test2"
        Colubris-AVPair = "vsc-unique-id=3"
        Colubris-AVPair = "phytype=IEEE802dot11g"
        Colubris-Attr-250 = 0x00000000
        Colubris-Attr-249 = 0x00000000
        Message-Authenticator = 0x6bf0a42140e4199e04a2cad3b6de81c8
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 136 length 14
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[unix] returns notfound
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user.  Authentication
may fail because of this.
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 64 to 192.168.0.250 port 32769
        EAP-Message =
0x018900231a0189001e101283c65b2b3d464aed6caa838f646b9274657374406a61636b
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xe52c2b56e5a5316612cb0109c784fb0b
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=49,
length=249
        Acct-Session-Id = "9e431836-000000bb"
        NAS-Port = 188
        NAS-Port-Type = Wireless-802.11
        NAS-Identifier = "AP1"
        NAS-IP-Address = 192.168.0.250
        Framed-MTU = 1496
        User-Name = "test at jack"
        Calling-Station-Id = "00-13-02-C4-80-4C"
        Called-Station-Id = "00-0F-61-FE-EF-D2"
        Service-Type = Framed-User
        EAP-Message = 0x028900060319
        State = 0xe52c2b56e5a5316612cb0109c784fb0b
        Colubris-AVPair = "ssid=test2"
        Colubris-AVPair = "vsc-unique-id=3"
        Colubris-AVPair = "phytype=IEEE802dot11g"
        Colubris-Attr-250 = 0x00000000
        Colubris-Attr-249 = 0x00000000
        Message-Authenticator = 0x111fb6ef271b8a065e422e8adb711829
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 137 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[unix] returns notfound
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user.  Authentication
may fail because of this.
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 49 to 192.168.0.250 port 32769
        EAP-Message = 0x018a00061920
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xe52c2b56e4a6326612cb0109c784fb0b
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=155,
length=351
        Acct-Session-Id = "9e431836-000000bb"
        NAS-Port = 188
        NAS-Port-Type = Wireless-802.11
        NAS-Identifier = "AP1"
        NAS-IP-Address = 192.168.0.250
        Framed-MTU = 1496
        User-Name = "test at jack"
        Calling-Station-Id = "00-13-02-C4-80-4C"
        Called-Station-Id = "00-0F-61-FE-EF-D2"
        Service-Type = Framed-User
        EAP-Message =
0x028a006c190016030100610100005d03014ac76c5936cdef8fe925f5885fd3e327830bc5198e16d2ee6b2121614719112b00003600390038003500160013000a00330032002f0007006600050004006300620061001500120009006500640060001400110008000600030100
        State = 0xe52c2b56e4a6326612cb0109c784fb0b
        Colubris-AVPair = "ssid=test2"
        Colubris-AVPair = "vsc-unique-id=3"
        Colubris-AVPair = "phytype=IEEE802dot11g"
        Colubris-Attr-250 = 0x00000000
        Colubris-Attr-249 = 0x00000000
        Message-Authenticator = 0xa3d3fecf02d51e202b966d106175f397
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 138 length 108
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap]     (other): before/accept initialization
[peap]     TLS_accept: before/accept initialization
[peap] <<< TLS 1.0 Handshake [length 0061], ClientHello
[peap]     TLS_accept: SSLv3 read client hello A
[peap] >>> TLS 1.0 Handshake [length 002a], ServerHello
[peap]     TLS_accept: SSLv3 write server hello A
[peap] >>> TLS 1.0 Handshake [length 085e], Certificate
[peap]     TLS_accept: SSLv3 write certificate A
[peap] >>> TLS 1.0 Handshake [length 020d], ServerKeyExchange
[peap]     TLS_accept: SSLv3 write key exchange A
[peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone
[peap]     TLS_accept: SSLv3 write server done A
[peap]     TLS_accept: SSLv3 flush data
[peap]     TLS_accept: Need to read more data: SSLv3 read client certificate
A
In SSL Handshake Phase
In SSL Accept mode
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 155 to 192.168.0.250 port 32769
        EAP-Message =
0x018b040019c000000aad160301002a0200002603014ac76c875aa5f2d4365bcf271e11f464291b3dab89a5a1e4df7db68032d2fc7a00003900160301085e0b00085a0008570003a6308203a23082028aa003020102020101300d06092a864886f70d0101040500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479
        EAP-Message =
0x301e170d3039313030333131353530385a170d3130313030333131353530385a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100c977ca845928769c7592684fd76f6e39558f6b08b4b461b9f8367128f7e183bc4543a5b547ed41c73e55b09c841c780c0e970d8d593729286f17dc2ed825
        EAP-Message =
0xfe9213084a89be6a440c275a8624b43ca33b44ff5791b43776e88112fdcb27bb8e1ecdb9bb90aeef2c36aa3daaf84fb6e7c470be1d867a78bbd45de58a532850a1450f50c2b62d8cc49dad26eb410382c8b767ad74b682d1e53ac8a804396abdf3d1b121c19ce998bc7b9b572f50edba04444d4266f603bb41d33670267db4a30ad4447575a9f9bb801bcd66a11805f8da193207f80b527e864f8a6f359db31608c073cf8c41a73504c78444e78b9c9682b4292cc8c4c5e685705789b5bfb31fb9830203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d010104050003820101002b03a99f2ca81069e7
        EAP-Message =
0xbfea6c24aa02f80c81556dc5a2663fc30289f5f28baa8999b9c7287a278b11126b48fec1a5324a9efb36a1de6990bb8c5d419b4039d6d7a4c62ec54017e9e7eb5939d7b3a5292dfdc0460850baa44a668bf9eb070a8c919b20233b5f4adca02199e4021de0734fa7ea40fb5b826ee6012dd1e72cc51253981e84fa0cbcec764c905e74a3939880114d103889bfb6349398f35479d54f44acca26f94b797462985bb566939477debd5a58ad4c7b1870ef3777b97fa52aa0e6dbc17e6ac4f4f1124d89f20b4306a415ef9d23251c2bd6f453e34f0c35f1ab3809c560ba63eda3b1c9ffdd7deebb951544e4ba0cf78e74873c133fd95b9d340004ab308204
        EAP-Message = 0xa73082038fa0030201020209
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xe52c2b56e7a7326612cb0109c784fb0b
Finished request 2.
Going to the next request
Waking up in 4.7 seconds.
rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=53,
length=249
        Acct-Session-Id = "9e431836-000000bb"
        NAS-Port = 188
        NAS-Port-Type = Wireless-802.11
        NAS-Identifier = "AP1"
        NAS-IP-Address = 192.168.0.250
        Framed-MTU = 1496
        User-Name = "test at jack"
        Calling-Station-Id = "00-13-02-C4-80-4C"
        Called-Station-Id = "00-0F-61-FE-EF-D2"
        Service-Type = Framed-User
        EAP-Message = 0x028b00061900
        State = 0xe52c2b56e7a7326612cb0109c784fb0b
        Colubris-AVPair = "ssid=test2"
        Colubris-AVPair = "vsc-unique-id=3"
        Colubris-AVPair = "phytype=IEEE802dot11g"
        Colubris-Attr-250 = 0x00000000
        Colubris-Attr-249 = 0x00000000
        Message-Authenticator = 0x0c53e57eaf80f88919ae730f5e6fd9a8
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 139 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 53 to 192.168.0.250 port 32769
        EAP-Message =
0x018c03fc194000d627db08b1f1d49d300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3039313030333131353530385a170d3130313030333131353530385a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504
        EAP-Message =
0x071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100d11d9a9ceaf8b5db3897abd05977ba239e08012f8ba4c2a6dc57d77a31abba94c6a58855e2cb3ef60a6d28a3065a375740ccd8ca3d397541449019ba9c2a29906ac3c670de93386e83bba0d31db8d9e5b849ba66fca3d192d8b5980f5f76c0184e69d5f658e1d13a84f5505f002695
        EAP-Message =
0x59241a9a597ba51a26ff0dae3408cac7f19be47616e505d482b4f2a201168fb6f16c6aa1ed428620a5ee95534708e0fdd7930f341ab1e23ae8d192358de556bb0de23305e325ba31f990fa05dfef2121c03612b5088ce7b0e5395d8bf14d00bc935e94f84e412e7ee0e2b8d32d18fea8e992d12228da112808e43d49d6181270bcaabf29af18a713a9416117da14c5b5a70203010001a381fb3081f8301d0603551d0e04160414ea220c40c1589ecb14ff7c33bc6f7b99830e26833081c80603551d230481c03081bd8014ea220c40c1589ecb14ff7c33bc6f7b99830e2683a18199a48196308193310b3009060355040613024652310f300d06035504
        EAP-Message =
0x0813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479820900d627db08b1f1d49d300c0603551d13040530030101ff300d06092a864886f70d010105050003820101006f640516944f2f29678dfb0c8156c77a6545ea6ab5639e5828ed8871e0d51ba6e5e9a435daca88f17dee45f7070889cd2d558befe32cd240c092fdd543a6ab3e2598146080dee552edbce54a3972a78fc976
        EAP-Message = 0xa96ccef88261bd0f
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xe52c2b56e6a0326612cb0109c784fb0b
Finished request 3.
Going to the next request
Waking up in 4.7 seconds.
rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=61,
length=249
        Acct-Session-Id = "9e431836-000000bb"
        NAS-Port = 188
        NAS-Port-Type = Wireless-802.11
        NAS-Identifier = "AP1"
        NAS-IP-Address = 192.168.0.250
        Framed-MTU = 1496
        User-Name = "test at jack"
        Calling-Station-Id = "00-13-02-C4-80-4C"
        Called-Station-Id = "00-0F-61-FE-EF-D2"
        Service-Type = Framed-User
        EAP-Message = 0x028c00061900
        State = 0xe52c2b56e6a0326612cb0109c784fb0b
        Colubris-AVPair = "ssid=test2"
        Colubris-AVPair = "vsc-unique-id=3"
        Colubris-AVPair = "phytype=IEEE802dot11g"
        Colubris-Attr-250 = 0x00000000
        Colubris-Attr-249 = 0x00000000
        Message-Authenticator = 0xc635ffa70850a35d8b1c9b6c1a891cf1
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 140 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 61 to 192.168.0.250 port 32769
        EAP-Message =
0x018d02c719006b12531915a2f5904be5b1f2e238cad1d151c12c9f10e2d042c571301840bb175b7cac5312747363551a3aec7f54adbbf7ceb62220bc648309d60ae44695bb9183166d96bab11be3b6c48cbc547706294c13f5567d18928d2a8979265216d69763ea8420173f1b882ebd4a8423f647e7ad229007c02f3f56be441751f2f3272ca94aac274b2cee8083a05bacec86ef70c95e9bb53fb9003e1ecf12e60033c5669380395acabc160301020d0c0002090080e0375d772d1f65bcdd181712e0cb05509bfb7d35d97d5a48bbde36a33672b61513cd955faee148506fddf7a33fb13d941ce92dc5129322191d7b9cd3148f2337006411057dce
        EAP-Message =
0xf75bf80d510dfde8b6ec0075762f740e21d57cee1da32c4c69817802218262aa9aabab4b7239d1a6205fa67ecc1a55205477aa5e87cc4ebcd68b00010200804c1e47b3f8eaf5d37d7e6c7279dd9d6f9e64abdb2b1a9d22d2fd123b18a4f17e9267cc1fd230ecacafd801db23fce81fe24d7fa26ec93723b7ef474c06120f7c9810fa0f3c55e9f7728bf1eeacf1fd88db98eb61bee498d7f5064289fac0235e77c9d8f03ffa953d528b1d2186f6ef96771e1d7251d298664a4a9f4f6e1526bb0100c4edfa8fa41510dcba75f9cb2efd4460db1ac82af3a9038e8fbc44d4e851c2970a1b6d62b176d852e9d846eb3245b45ce47c4ae87c135b5c033628f7
        EAP-Message =
0xb1dbca7e82127d15124e272fe96545dca05ca32ed73dd1cc4f70f8ac0a3f02e585bef24b5cc56f3a12392ee3cb324e6019239e9a2942daa34e5b2aeb4088509e5ab4e64773cfedb6b750acf89f319127b5eef2952577985e2eb2781b76f343e50443bc912b92162b44b6dff5ec4b27ed0205e35f6b384a4da4a43e1e561023357bb8e3faeda9c750cd0244bab1743fe009550564c40637d06fc408a69ceb53c9b7338f771ad8555383a5fe1d6ff5b98cbad6e3806043fee084ab1cab1ce0ef9c12ce156916030100040e000000
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xe52c2b56e1a1326612cb0109c784fb0b
Finished request 4.
Going to the next request
Waking up in 4.7 seconds.
rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=128,
length=447
        Acct-Session-Id = "9e431836-000000bb"
        NAS-Port = 188
        NAS-Port-Type = Wireless-802.11
        NAS-Identifier = "AP1"
        NAS-IP-Address = 192.168.0.250
        Framed-MTU = 1496
        User-Name = "test at jack"
        Calling-Station-Id = "00-13-02-C4-80-4C"
        Called-Station-Id = "00-0F-61-FE-EF-D2"
        Service-Type = Framed-User
        EAP-Message =
0x028d00cc19001603010086100000820080a2bf7e2e20601d391a29d994714a67e70a0b4133dcbd459b4123103864defd1479f8aaaef3af629a095bee09d0bfdfeb55d8d7242edad5f2c1ef937f2a5cfb0691931bb6e9df105f31c433bfdf6231725eb5c48ba1b475682ffd5e4a064e64f21ec0f0d1cc198a06fa42aaa396b6116b0a6da139b55e6e7c4d7b6062ec08e70e14030100010116030100302c992ae49ac885432cb2b00f4d54dee6f33e6d65ff2e164744d48b3b03bd232438f56dc9e6c6d11e64cec3a5e7f5100e
        State = 0xe52c2b56e1a1326612cb0109c784fb0b
        Colubris-AVPair = "ssid=test2"
        Colubris-AVPair = "vsc-unique-id=3"
        Colubris-AVPair = "phytype=IEEE802dot11g"
        Colubris-Attr-250 = 0x00000000
        Colubris-Attr-249 = 0x00000000
        Message-Authenticator = 0x309e111ca2707b6e0b1164686773d926
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 141 length 204
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange
[peap]     TLS_accept: SSLv3 read client key exchange A
[peap] <<< TLS 1.0 ChangeCipherSpec [length 0001]
[peap] <<< TLS 1.0 Handshake [length 0010], Finished
[peap]     TLS_accept: SSLv3 read finished A
[peap] >>> TLS 1.0 ChangeCipherSpec [length 0001]
[peap]     TLS_accept: SSLv3 write change cipher spec A
[peap] >>> TLS 1.0 Handshake [length 0010], Finished
[peap]     TLS_accept: SSLv3 write finished A
[peap]     TLS_accept: SSLv3 flush data
[peap]     (other): SSL negotiation finished successfully
SSL Connection Established
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 128 to 192.168.0.250 port 32769
        EAP-Message =
0x018e0041190014030100010116030100309c6dddc727fa5be972b0028ef606167307058ee382cfcddf5753f17b3eb76a58ab76db4f95d6b7e9538d1a41ceaabffe
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xe52c2b56e0a2326612cb0109c784fb0b
Finished request 5.
Going to the next request
Waking up in 4.6 seconds.
rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=221,
length=249
        Acct-Session-Id = "9e431836-000000bb"
        NAS-Port = 188
        NAS-Port-Type = Wireless-802.11
        NAS-Identifier = "AP1"
        NAS-IP-Address = 192.168.0.250
        Framed-MTU = 1496
        User-Name = "test at jack"
        Calling-Station-Id = "00-13-02-C4-80-4C"
        Called-Station-Id = "00-0F-61-FE-EF-D2"
        Service-Type = Framed-User
        EAP-Message = 0x028e00061900
        State = 0xe52c2b56e0a2326612cb0109c784fb0b
        Colubris-AVPair = "ssid=test2"
        Colubris-AVPair = "vsc-unique-id=3"
        Colubris-AVPair = "phytype=IEEE802dot11g"
        Colubris-Attr-250 = 0x00000000
        Colubris-Attr-249 = 0x00000000
        Message-Authenticator = 0x55b12d5f25571aeafdfaaa0f96551d8b
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 142 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake is finished
[peap] eaptls_verify returned 3
[peap] eaptls_process returned 3
[peap] EAPTLS_SUCCESS
++[eap] returns handled
Sending Access-Challenge of id 221 to 192.168.0.250 port 32769
        EAP-Message =
0x018f002b1900170301002086695e8114105240318e65f8a3cb63fd39be5dcad072139dd9fdcc4028d9122d
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xe52c2b56e3a3326612cb0109c784fb0b
Finished request 6.
Going to the next request
Waking up in 4.6 seconds.
rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=35,
length=339
        Acct-Session-Id = "9e431836-000000bb"
        NAS-Port = 188
        NAS-Port-Type = Wireless-802.11
        NAS-Identifier = "AP1"
        NAS-IP-Address = 192.168.0.250
        Framed-MTU = 1496
        User-Name = "test at jack"
        Calling-Station-Id = "00-13-02-C4-80-4C"
        Called-Station-Id = "00-0F-61-FE-EF-D2"
        Service-Type = Framed-User
        EAP-Message =
0x028f006019001703010020978d4d9eca3a710add216f1901a8f26e35d9db1acb5cd6b02dc33aedb51b88611703010030193a7049784a965e6d45f091d94a605f554a8a2c72660ca46566eeb72a60855449f45d034e3baeaf5513fa9bb0aa97c9
        State = 0xe52c2b56e3a3326612cb0109c784fb0b
        Colubris-AVPair = "ssid=test2"
        Colubris-AVPair = "vsc-unique-id=3"
        Colubris-AVPair = "phytype=IEEE802dot11g"
        Colubris-Attr-250 = 0x00000000
        Colubris-Attr-249 = 0x00000000
        Message-Authenticator = 0xa4d260a89d80c97f64c310c36e9b6e92
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 143 length 96
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established.  Decoding tunneled attributes.
[peap] Identity - jacques.net\test
[peap] Got tunneled request
        EAP-Message = 0x028f0015016a6163717565732e6e65745c74657374
server  {
  PEAP: Got tunneled identity of jacques.net\test
  PEAP: Setting default EAP type for tunneled EAP session.
  PEAP: Setting User-Name to jacques.net\test
Sending tunneled request
        EAP-Message = 0x028f0015016a6163717565732e6e65745c74657374
        FreeRADIUS-Proxied-To = 127.0.0.1
        User-Name = "jacques.net\\test"
server proxy-inner-tunnel {
+- entering group authorize {...}
++[control] returns notfound
} # server proxy-inner-tunnel
[peap] Got tunneled reply code 0
  PEAP: Calling authenticate in order to initiate tunneled EAP session.
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] returns handled
    PEAP: Cancelling proxy to realm jack until the tunneled EAP session has
been established
[peap] Got tunneled reply RADIUS code 11
        EAP-Message =
0x0190002a1a0190002510c10f54dab7de15966db1a01a2611a7276a6163717565732e6e65745c74657374
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xec67b216ecf7a849ce57f8738cf9165c
[peap] Got tunneled Access-Challenge
++[eap] returns handled
Sending Access-Challenge of id 35 to 192.168.0.250 port 32769
        EAP-Message =
0x0190004b190017030100403e7cd70c74fcf8396fd718bc480b8a5f3d31feb49ce858b06499b06e0f4610c1b30b9594312ce3942b68cde5a66cce7b10de36ab9457eed2cc345cfb2a0284c2
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 0xe52c2b56e2bc326612cb0109c784fb0b
Finished request 7.
Going to the next request
Waking up in 4.5 seconds.
rad_recv: Access-Request packet from host 192.168.0.250 port 32769, id=146,
length=387
        Acct-Session-Id = "9e431836-000000bb"
        NAS-Port = 188
        NAS-Port-Type = Wireless-802.11
        NAS-Identifier = "AP1"
        NAS-IP-Address = 192.168.0.250
        Framed-MTU = 1496
        User-Name = "test at jack"
        Calling-Station-Id = "00-13-02-C4-80-4C"
        Called-Station-Id = "00-0F-61-FE-EF-D2"
        Service-Type = Framed-User
        EAP-Message =
0x02900090190017030100204848b442b8caed161089a0e773f0e8810e605039e31d926db0143fdaca595ba117030100605958c607552620b4702516a62820e815cf0df4daeee444791c36edadd2f3f0540a58d9c8ae800aef7b8abd21eb13c20ef3462433d15ecfc8f4bfcafa927d3edf6a5f34522d19bf71987279be09170a4c1d7c3149dc5f13cf8b256404a93c1a25
        State = 0xe52c2b56e2bc326612cb0109c784fb0b
        Colubris-AVPair = "ssid=test2"
        Colubris-AVPair = "vsc-unique-id=3"
        Colubris-AVPair = "phytype=IEEE802dot11g"
        Colubris-Attr-250 = 0x00000000
        Colubris-Attr-249 = 0x00000000
        Message-Authenticator = 0x4873f45a1e056622518304c1d0f8d26a
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 144 length 144
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established.  Decoding tunneled attributes.
[peap] EAP type mschapv2
[peap] Got tunneled request
        EAP-Message =
0x0290004b1a0290004631d21d967b64714af03946b98d24989f64000000000000000043d4de7ac03109b339b2f8da0329c4c554132fc8bd97f6ba006a6163717565732e6e65745c74657374
server  {
  PEAP: Setting User-Name to jacques.net\test
Sending tunneled request
        EAP-Message =
0x0290004b1a0290004631d21d967b64714af03946b98d24989f64000000000000000043d4de7ac03109b339b2f8da0329c4c554132fc8bd97f6ba006a6163717565732e6e65745c74657374
        FreeRADIUS-Proxied-To = 127.0.0.1
        User-Name = "jacques.net\\test"
        State = 0xec67b216ecf7a849ce57f8738cf9165c
server proxy-inner-tunnel {
+- entering group authorize {...}
++[control] returns notfound
} # server proxy-inner-tunnel
[peap] Got tunneled reply code 0
  PEAP: Calling authenticate in order to initiate tunneled EAP session.
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[eap]   Not-EAP proxy set.  Not composing EAP
++[eap] returns handled
  PEAP: Tunneled authentication will be proxied to jack
  PEAP: Remembering to do EAP-MS-CHAP-V2 post-proxy.
[eap]   Tunneled session will be proxied.  Not doing EAP.
++[eap] returns handled
  WARNING: Empty section.  Using default return values.
ERROR: Failed to create a new socket for proxying requests.
ERROR: Failed inserting request into proxy hash.
ERROR: Failed to proxy request 8
There was no response configured: rejecting request 8
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject]     expand: %{User-Name} -> test at jack
 attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 8 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 8
Sending Access-Reject of id 146 to 192.168.0.250 port 32769
Waking up in 3.5 seconds.
Cleaning up request 0 ID 64 with timestamp +32
Cleaning up request 1 ID 49 with timestamp +32
Waking up in 0.1 seconds.
Cleaning up request 2 ID 155 with timestamp +32
Cleaning up request 3 ID 53 with timestamp +32
Cleaning up request 4 ID 61 with timestamp +32
Waking up in 0.1 seconds.
Cleaning up request 5 ID 128 with timestamp +32
Cleaning up request 6 ID 221 with timestamp +32
Cleaning up request 7 ID 35 with timestamp +32
Waking up in 1.0 seconds.
Cleaning up request 8 ID 146 with timestamp +32
Ready to process requests.
^C
debian:/usr/local/etc/raddb#

Jacques
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091003/da7c5e23/attachment.html>


More information about the Freeradius-Users mailing list