On Mon, Apr 07, 2008 at 03:36:17AM -0700, SANDY KALUGDAN wrote:
try to send the radiusd -X output after you've done some authentication.
radiusd -X output whith gabo2 login and password saved as MD5 .. FreeRADIUS Version 2.0.3, for host i686-pc-linux-gnu, built on Mar 26 2008 at 12:53:26 Copyright (C) 1999-2008 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. 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 configuration file /usr/local/etc/raddb/snmp.conf including configuration file /usr/local/etc/raddb/eap.conf including configuration file /usr/local/etc/raddb/sql.conf including configuration file /usr/local/etc/raddb/sql/mysql/dialup.conf including configuration file /usr/local/etc/raddb/sql/mysql/counter.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 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 security { max_attributes = 200 reject_delay = 1 status_server = yes } } client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = "testing123" nastype = "other" } client 192.168.168.6/32 { require_message_authenticator = no secret = "12tzdnAE20" shortname = "Test" nastype = "other" } client 192.168.168.1/32 { require_message_authenticator = no secret = "testing123" nastype = "other" } 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 = "testing123" response_window = 20 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_check = "none" ping_interval = 30 check_interval = 30 num_answers_to_alive = 3 num_pings_to_alive = 3 revive_interval = 120 status_check_timeout = 4 } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Instantiating modules #### instantiate { Module: Linked to module rlm_exec Module: Instantiating exec exec { wait = yes 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 { modules { Module: Checking authenticate {...} for more modules to load Module: Linked to module rlm_pap Module: Instantiating pap pap { encryption_scheme = "auto" auto_header = yes } Module: Linked to module rlm_chap Module: Instantiating chap Module: Linked to module rlm_mschap Module: Instantiating mschap mschap { use_mppe = yes require_encryption = yes require_strong = yes with_ntdomain_hack = no } Module: Linked to module rlm_unix Module: Instantiating unix unix { radwtmp = "/usr/local/var/log/radius/radwtmp" } Module: Linked to module rlm_eap Module: Instantiating eap eap { default_eap_type = "peap" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no } 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 = "JmmD5koLT9" 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" } 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" } 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 = yes } 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: 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_realm Module: Instantiating suffix realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } Module: Linked to module rlm_sql Module: Instantiating sql sql { driver = "rlm_sql_mysql" server = "localhost" port = "" login = "radiususer" password = "Cpjnd.Aspp?" radius_db = "radius" read_groups = yes sqltrace = no sqltracefile = "/usr/local/var/log/radius/sqltrace.sql" readclients = no deletestalesessions = yes num_sql_socks = 5 sql_user_name = "%{User-Name}" default_user_profile = "" nas_query = "SELECT id, nasname, shortname, type, secret FROM nas" authorize_check_query = "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id" authorize_reply_query = "SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id" authorize_group_check_query = "SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{Sql-Group}' ORDER BY id" authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{Sql-Group}' ORDER BY id" accounting_onoff_query = " UPDATE radacct SET acctstoptime = '%S', acctsessiontime = unix_timestamp('%S') - unix_timestamp(acctstarttime), acctterminatecause = '%{Acct-Terminate-Cause}', acctstopdelay = %{%{Acct-Delay-Time}:-0} WHERE acctsessiontime = 0 AND acctstoptime = NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= '%S'" accounting_update_query = " UPDATE radacct SET framedipaddress = '%{Framed-IP-Address}', acctsessiontime = '%{Acct-Session-Time}', acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE acctsessionid = '%{Acct-Session-Id}' AND username = '%{SQL-User-Name}' AND nasipaddress = '%{NAS-IP-Address}'" accounting_update_query_alt = " INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctsessiontime, acctauthentic, connectinfo_start, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, servicetype, framedprotocol, framedipaddress, acctstartdelay, xascendsessionsvrkey) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', DATE_SUB('%S', INTERVAL (%{%{Acct-Session-Time}:-0} + %{%{Acct-Delay-Time}:-0}) SECOND), '%{Acct-Session-Time}', '%{Acct-Authentic}', '', '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', '%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0', '%{X-Ascend-Session-Svr-Key}')" accounting_start_query = " INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, acctstartdelay, acctstopdelay, xascendsessionsvrkey) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', '%S', NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{%{Acct-Delay-Time}:-0}', '0', '%{X-Ascend-Session-Svr-Key}')" accounting_start_query_alt = " UPDATE radacct SET acctstarttime = '%S', acctstartdelay = '%{%{Acct-Delay-Time}:-0}', connectinfo_start = '%{Connect-Info}' WHERE acctsessionid = '%{Acct-Session-Id}' AND username = '%{SQL-User-Name}' AND nasipaddress = '%{NAS-IP-Address}'" accounting_stop_query = " UPDATE radacct SET acctstoptime = '%S', acctsessiontime = '%{Acct-Session-Time}', acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', acctterminatecause = '%{Acct-Terminate-Cause}', acctstopdelay = '%{%{Acct-Delay-Time}:-0}', connectinfo_stop = '%{Connect-Info}' WHERE acctsessionid = '%{Acct-Session-Id}' AND username = '%{SQL-User-Name}' AND nasipaddress = '%{NAS-IP-Address}'" accounting_stop_query_alt = " INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, acctstartdelay, acctstopdelay) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', DATE_SUB('%S', INTERVAL (%{%{Acct-Session-Time}:-0} + %{%{Acct-Delay-Time}:-0}) SECOND), '%S', '%{Acct-Session-Time}', '%{Acct-Authentic}', '', '%{Connect-Info}', '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', '%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Acct-Terminate-Cause}', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0', '%{%{Acct-Delay-Time}:-0}')" group_membership_query = "SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority" connect_failure_retry_delay = 60 simul_count_query = "" simul_verify_query = "SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct WHERE username = '%{SQL-User-Name}' AND acctstoptime = NULL" postauth_query = "INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S')" safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" } rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked rlm_sql (sql): Attempting to connect to radiususer@localhost:/radius rlm_sql (sql): starting 0 rlm_sql (sql): Attempting to connect rlm_sql_mysql #0 rlm_sql_mysql: Starting connect to MySQL server for #0 rlm_sql (sql): Connected new DB handle, #0 rlm_sql (sql): starting 1 rlm_sql (sql): Attempting to connect rlm_sql_mysql #1 rlm_sql_mysql: Starting connect to MySQL server for #1 rlm_sql (sql): Connected new DB handle, #1 rlm_sql (sql): starting 2 rlm_sql (sql): Attempting to connect rlm_sql_mysql #2 rlm_sql_mysql: Starting connect to MySQL server for #2 rlm_sql (sql): Connected new DB handle, #2 rlm_sql (sql): starting 3 rlm_sql (sql): Attempting to connect rlm_sql_mysql #3 rlm_sql_mysql: Starting connect to MySQL server for #3 rlm_sql (sql): Connected new DB handle, #3 rlm_sql (sql): starting 4 rlm_sql (sql): Attempting to connect rlm_sql_mysql #4 rlm_sql_mysql: Starting connect to MySQL server for #4 rlm_sql (sql): Connected new DB handle, #4 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: 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 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}" } } } radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = 192.168.168.1 port = 1812 } listen { type = "acct" ipaddr = * port = 0 } Listening on authentication address 192.168.168.1 port 1812 Listening on accounting address * port 1813 Listening on proxy address 192.168.168.1 port 1814 Ready to process requests. User-Name = "gabo2" NAS-IP-Address = 192.168.168.6 NAS-Port = 0 Called-Station-Id = "004f6213f212" Calling-Station-Id = "000272574082" NAS-Identifier = "Realtek Access Point. 8181" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Service-Type = Framed-User Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x0200000a016761626f32 Message-Authenticator = 0x49cb3eca0b310ba43ce5dc873354b0a1 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 0 length 10 rlm_eap: No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated expand: %{User-Name} -> gabo2 rlm_sql (sql): sql_set_user escaped user --> 'gabo2' rlm_sql (sql): Reserving sql socket id: 4 expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'gabo2' ORDER BY id expand: SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority -> SELECT groupname FROM radusergroup WHERE username = 'gabo2' ORDER BY priority rlm_sql (sql): Released sql socket id: 4 rlm_sql (sql): User gabo2 not found ++[sql] returns notfound ++[expiration] returns noop ++[logintime] returns noop rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: EAP Identity rlm_eap: processing type tls rlm_eap_tls: Initiate rlm_eap_tls: Start returned 1 ++[eap] returns handled EAP-Message = 0x010100061920 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x60c08eb160c19765879fa2c70a089f3d Finished request 0. Going to the next request Waking up in 4.9 seconds. User-Name = "gabo2" NAS-IP-Address = 192.168.168.6 NAS-Port = 0 Called-Station-Id = "004f6213f212" Calling-Station-Id = "000272574082" NAS-Identifier = "Realtek Access Point. 8181" NAS-Port-Type = Wireless-802.11 Service-Type = Framed-User Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x0201005019800000004616030100410100003d030147f9faba930b173226c9a54966d15b293bf380b570a11314e4f09b0ea40f290500001600040005000a000900640062000300060013001200630100 State = 0x60c08eb160c19765879fa2c70a089f3d Message-Authenticator = 0x758712785b660e45acc2e89876c8d261 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 1 length 80 rlm_eap: Continuing tunnel setup. ++[eap] returns ok rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/peap rlm_eap: processing type peap rlm_eap_peap: Authenticate rlm_eap_tls: processing TLS TLS Length 70 rlm_eap_tls: Length Included eaptls_verify returned 11 (other): before/accept initialization TLS_accept: before/accept initialization rlm_eap_tls: <<< TLS 1.0 Handshake [length 0041], ClientHello TLS_accept: SSLv3 read client hello A rlm_eap_tls: >>> TLS 1.0 Handshake [length 004a], ServerHello TLS_accept: SSLv3 write server hello A rlm_eap_tls: >>> TLS 1.0 Handshake [length 0810], Certificate TLS_accept: SSLv3 write certificate A rlm_eap_tls: >>> TLS 1.0 Handshake [length 0004], ServerHelloDone TLS_accept: SSLv3 write server done A TLS_accept: SSLv3 flush data TLS_accept: Need to read more data: SSLv3 read client certificate A In SSL Handshake Phase In SSL Accept mode eaptls_process returned 13 rlm_eap_peap: EAPTLS_HANDLED ++[eap] returns handled EAP-Message = 0x0102040019c00000086d160301004a02000046030147f9faa1d5b288afc6c56fd2ca39fe55804b51c37bbdbb49569d87edd2aeacc420d82ca9ef7e7f3b545ec7b1b8a7d09f1cdeb2849e4d4d004a0c7fa4a9018d12b400040016030108100b00080c00080900038e3082038a30820272a003020102020101300d06092a864886f70d0101040500308181310b300906035504061302534b3111300f06035504081308536c6f76616b6961310d300b060355040713045a535345310f300d060355040a1306526164697573311f301d06092a864886f70d010901161073797361646d407a7373656c682e736b311e301c0603550403131543657274696669 EAP-Message = 0x6361746520417574686f72697479301e170d3038303332383133343931355a170d3039303332383133343931355a3076310b300906035504061302534b3111300f06035504081308536c6f76616b6961310f300d060355040a1306526164697573312230200603550403131952616469757320536572766572204365727469666963617465311f301d06092a864886f70d010901161073797361646d407a7373656c682e736b30820122300d06092a864886f70d01010105000382010f003082010a0282010100d4e384402036cd66d2023aea177f5ff5d30a9849b5b30b0c2c3921dd36449a7fa449498d9fb1ca81e036413913375642142a2f7db57f EAP-Message = 0x985e164688bd89e21f35225e0b74f7e0aa6db9cf5430390afae79e4b6758837d7d70fff47ccd61f5688cd7a15a66f9ae655350d9426b635da6068bab14af5a4b6ec22bc8d6adcf754bee1e51d4beb4d541d9fb7727ca2b8d47182e14166ab84961877bbf2526d2a32653fca7fc175122f103a97923e5f929ce14bbbb1a376dc653bf4635f05f51481025c5c2f61c1d7a753d65eff0c56852972ad0d75c87cd572c0ca4468349ac1c44fda3f312274a0df252052ad4e57e88d11dcbacd2baf95eb6229229e6beb7dd991f0203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d0101040500038201010025 EAP-Message = 0xc8e472deba7c5e4b53671e1a1b93ad405ecd3bab99be227034590b867d47d394cc557fdea2f23e3502e2974d0b128d63b43524f9c70f78191795daeb58b46d3c5c182e676f0cb7dd6d3039b3cdc029439584e879e0c7906666085e4fabd5cd47603e61682c6c2674349911701d912edb4e969de0841a16709cfac075c7998cf775cafdbee39c635a18fd00d55610519bdbe5b43b7a77b4adae1cc194d9d420551ee2d4ba5692a2c2a8a55ff261ba8f159d48e776ab106a11cd27e16361569ee4d815f708b6522a3073ee84610eafdacfb2741213d1c295451d21ddbb669cafe7dd5b7bfd4b5023488bbabca2637bde70b27676d713f93e23eb394185f3 EAP-Message = 0xf46900047530820471308203 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x60c08eb161c29765879fa2c70a089f3d Finished request 1. Going to the next request Waking up in 4.5 seconds. User-Name = "gabo2" NAS-IP-Address = 192.168.168.6 NAS-Port = 0 Called-Station-Id = "004f6213f212" Calling-Station-Id = "000272574082" NAS-Identifier = "Realtek Access Point. 8181" NAS-Port-Type = Wireless-802.11 Service-Type = Framed-User Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x020200061900 State = 0x60c08eb161c29765879fa2c70a089f3d Message-Authenticator = 0xc45332bc6fe6986ac65e590cc35960e9 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 2 length 6 rlm_eap: Continuing tunnel setup. ++[eap] returns ok rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/peap rlm_eap: processing type peap rlm_eap_peap: Authenticate rlm_eap_tls: processing TLS rlm_eap_tls: Received EAP-TLS ACK message rlm_eap_tls: ack handshake fragment handler eaptls_verify returned 1 eaptls_process returned 13 rlm_eap_peap: EAPTLS_HANDLED ++[eap] returns handled EAP-Message = 0x010303fc194059a003020102020900e7e421080a2e8b5c300d06092a864886f70d0101050500308181310b300906035504061302534b3111300f06035504081308536c6f76616b6961310d300b060355040713045a535345310f300d060355040a1306526164697573311f301d06092a864886f70d010901161073797361646d407a7373656c682e736b311e301c06035504031315436572746966696361746520417574686f72697479301e170d3038303332383133343931355a170d3038303432373133343931355a308181310b300906035504061302534b3111300f06035504081308536c6f76616b6961310d300b060355040713045a53534531 EAP-Message = 0x0f300d060355040a1306526164697573311f301d06092a864886f70d010901161073797361646d407a7373656c682e736b311e301c06035504031315436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100c03e194a8f2a667ed61bf5ab1150ba71f178de81cd478f2e64519d837bc26e7c72b8ca4e5a92f52b11a496fed8d2e4fed24421712edae5a4421dbcf118b2675b0f5ccb5e765a51ddbd22e19c927b1759bde6cdce9c516918a49ad1a2f34063b1ce2a67bce8d09407e1387d1e25589faf985c33e63431c95586eba56537d78bd13fd98c407bcd8762a135d7 EAP-Message = 0xdd9299babb9ff09565ca2a60afc7b1331008137eb79b4ee32df1ba370b7535fd33ca6831976e87bdef06e13da0e69ba0de6c4259b44e7aecde12b0950c012b9dbdf77fdf52414cd5432a0e6243ecad6f92483f4bcdc3c0611b249c5f688a8d6163d7cc0d28287ef73b988259035661daf86b8ccb1d0203010001a381e93081e6301d0603551d0e04160414f1df256a500def2ea70ad777abf55f3af95586f13081b60603551d230481ae3081ab8014f1df256a500def2ea70ad777abf55f3af95586f1a18187a48184308181310b300906035504061302534b3111300f06035504081308536c6f76616b6961310d300b060355040713045a535345310f EAP-Message = 0x300d060355040a1306526164697573311f301d06092a864886f70d010901161073797361646d407a7373656c682e736b311e301c06035504031315436572746966696361746520417574686f72697479820900e7e421080a2e8b5c300c0603551d13040530030101ff300d06092a864886f70d010105050003820101002fc947730835d4d6183a513c22bfbc66b7713202455c3f0523076d9ceba832b1d52df859f7545f31812d9cae27f8c74f633d9f05ab92079aaae84a8b8129c2d1df858b85d13fd2f4c0bd1134e91a50a7efc2c64058afadbd0788f987cc2247f9c634c4d0fff1a829565951b0a3f4451240887c5c830094f838162b8de51f93a2 EAP-Message = 0xd9a8b2976b357573 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x60c08eb162c39765879fa2c70a089f3d Finished request 2. Going to the next request Waking up in 4.1 seconds. User-Name = "gabo2" NAS-IP-Address = 192.168.168.6 NAS-Port = 0 Called-Station-Id = "004f6213f212" Calling-Station-Id = "000272574082" NAS-Identifier = "Realtek Access Point. 8181" NAS-Port-Type = Wireless-802.11 Service-Type = Framed-User Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x020300061900 State = 0x60c08eb162c39765879fa2c70a089f3d Message-Authenticator = 0x0f20598bb8d93ed58c09992e3a01d222 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 3 length 6 rlm_eap: Continuing tunnel setup. ++[eap] returns ok rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/peap rlm_eap: processing type peap rlm_eap_peap: Authenticate rlm_eap_tls: processing TLS rlm_eap_tls: Received EAP-TLS ACK message rlm_eap_tls: ack handshake fragment handler eaptls_verify returned 1 eaptls_process returned 13 rlm_eap_peap: EAPTLS_HANDLED ++[eap] returns handled EAP-Message = 0x010400871900683ca7adee1a9568990273e685769a42a6ed2e54d21335c1075c8adacb29ab52596ff91f1f8d7a7c91abeafc94593b88d6616043b51a0e1060c591b25947358640817f298207b1e0e7852444991c2b3d49b7f7a3bf8eb267d4c1aa7b1ab14f381df36cf6fcd8b67be337435b758cc6895733dab6a0c71acb16030100040e000000 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x60c08eb163c49765879fa2c70a089f3d Finished request 3. Going to the next request Waking up in 3.7 seconds. User-Name = "gabo2" NAS-IP-Address = 192.168.168.6 NAS-Port = 0 Called-Station-Id = "004f6213f212" Calling-Station-Id = "000272574082" NAS-Identifier = "Realtek Access Point. 8181" NAS-Port-Type = Wireless-802.11 Service-Type = Framed-User Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x020401401980000001361603010106100001020100696742dc745bf68a63dfe68e1e55839977e17fda049e66a7875dd1c19df239dc1a7cfd8a6085d6cd7b55b6bc53c0150cde7592aa0520315d8f12783d12f30d79631ef29bc58e706d69bd53d4559c1de52109fbd6c48adeaaded48f100f11e10b786a715af03dc5e959d025623dd7ad28bad7a42d5ba7a0b74ada35a07b1c3417a6c1fb856de8898ea2bb068bd427b365ff64de6734c088f03ec362cdc747a667c073f7652de50453f6bf927646b8f45b516d6fef0d7c084a8dc1e6a4bc083512ef0afc19684e9f4517cb2ffe05a96f9438cee947aee049beace6fd79a33952ec3a2a58eafd7f2606 EAP-Message = 0x9562212d96bac5feff558a88bac3e9d5b5974fe3e68e08f51403010001011603010020e79669587d126cc2e68fa2f06c61b18833788e5987a76070967341bba1e5cfa2 State = 0x60c08eb163c49765879fa2c70a089f3d Message-Authenticator = 0x6b400c03df6f7dcb4188190bde46c718 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 4 length 253 rlm_eap: Continuing tunnel setup. ++[eap] returns ok rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/peap rlm_eap: processing type peap rlm_eap_peap: Authenticate rlm_eap_tls: processing TLS TLS Length 310 rlm_eap_tls: Length Included eaptls_verify returned 11 rlm_eap_tls: <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange TLS_accept: SSLv3 read client key exchange A rlm_eap_tls: <<< TLS 1.0 ChangeCipherSpec [length 0001] rlm_eap_tls: <<< TLS 1.0 Handshake [length 0010], Finished TLS_accept: SSLv3 read finished A rlm_eap_tls: >>> TLS 1.0 ChangeCipherSpec [length 0001] TLS_accept: SSLv3 write change cipher spec A rlm_eap_tls: >>> TLS 1.0 Handshake [length 0010], Finished TLS_accept: SSLv3 write finished A TLS_accept: SSLv3 flush data (other): SSL negotiation finished successfully SSL Connection Established eaptls_process returned 13 rlm_eap_peap: EAPTLS_HANDLED ++[eap] returns handled EAP-Message = 0x0105003119001403010001011603010020ae0d8ad2e054eded9d946c90030d10185fab98e702b4634abf54ad72bfd87a31 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x60c08eb164c59765879fa2c70a089f3d Finished request 4. Going to the next request Waking up in 3.3 seconds. User-Name = "gabo2" NAS-IP-Address = 192.168.168.6 NAS-Port = 0 Called-Station-Id = "004f6213f212" Calling-Station-Id = "000272574082" NAS-Identifier = "Realtek Access Point. 8181" NAS-Port-Type = Wireless-802.11 Service-Type = Framed-User Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x020500061900 State = 0x60c08eb164c59765879fa2c70a089f3d Message-Authenticator = 0xc9cca6b8b9728de98ea01d51184f349f +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 5 length 6 rlm_eap: Continuing tunnel setup. ++[eap] returns ok rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/peap rlm_eap: processing type peap rlm_eap_peap: Authenticate rlm_eap_tls: processing TLS rlm_eap_tls: Received EAP-TLS ACK message rlm_eap_tls: ack handshake is finished eaptls_verify returned 3 eaptls_process returned 3 rlm_eap_peap: EAPTLS_SUCCESS ++[eap] returns handled EAP-Message = 0x010600201900170301001503fed754b2a0351cd212377759eeaf5d58c3f2ab12 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x60c08eb165c69765879fa2c70a089f3d Finished request 5. Going to the next request Waking up in 3.1 seconds. User-Name = "gabo2" NAS-IP-Address = 192.168.168.6 NAS-Port = 0 Called-Station-Id = "004f6213f212" Calling-Station-Id = "000272574082" NAS-Identifier = "Realtek Access Point. 8181" NAS-Port-Type = Wireless-802.11 Service-Type = Framed-User Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x0206002119001703010016d1d2cc4aefadc1bf15996189c4278f85d344c5f4ddea State = 0x60c08eb165c69765879fa2c70a089f3d Message-Authenticator = 0x3b4f04a16294986543439de3b5bbf1f3 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 6 length 33 rlm_eap: Continuing tunnel setup. ++[eap] returns ok rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/peap rlm_eap: processing type peap rlm_eap_peap: Authenticate rlm_eap_tls: processing TLS eaptls_verify returned 7 rlm_eap_tls: Done initial handshake eaptls_process returned 7 rlm_eap_peap: EAPTLS_OK rlm_eap_peap: Session established. Decoding tunneled attributes. rlm_eap_peap: Identity - gabo2 PEAP: Got tunneled identity of gabo2 PEAP: Setting default EAP type for tunneled EAP session. PEAP: Setting User-Name to gabo2 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 6 length 10 rlm_eap: No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated expand: %{User-Name} -> gabo2 rlm_sql (sql): sql_set_user escaped user --> 'gabo2' rlm_sql (sql): Reserving sql socket id: 3 expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'gabo2' ORDER BY id expand: SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority -> SELECT groupname FROM radusergroup WHERE username = 'gabo2' ORDER BY priority rlm_sql (sql): Released sql socket id: 3 rlm_sql (sql): User gabo2 not found ++[sql] returns notfound ++[expiration] returns noop ++[logintime] returns noop rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: EAP Identity rlm_eap: processing type mschapv2 rlm_eap_mschapv2: Issuing Challenge ++[eap] returns handled PEAP: Got tunneled Access-Challenge ++[eap] returns handled EAP-Message = 0x010700361900170301002b76194dc12a477aaf2a4fa3c627bae6f5833ac436336023cfa5e14293124da623d30e5331feacc92a6fd9dc Message-Authenticator = 0x00000000000000000000000000000000 State = 0x60c08eb166c79765879fa2c70a089f3d Finished request 6. Going to the next request Waking up in 2.7 seconds. User-Name = "gabo2" NAS-IP-Address = 192.168.168.6 NAS-Port = 0 Called-Station-Id = "004f6213f212" Calling-Station-Id = "000272574082" NAS-Identifier = "Realtek Access Point. 8181" NAS-Port-Type = Wireless-802.11 Service-Type = Framed-User Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x020700571900170301004cbf4630b76953e0121c4f1f242018ee780f7e5023c4f4516000f3a4086cf74f713278a04196b168d055aa73b56571324dffa828e15185083b6a69175739c9b013ef57022ee6882f67debe8aa8 State = 0x60c08eb166c79765879fa2c70a089f3d Message-Authenticator = 0xb763edddd1624a1157c0f4664442c4e8 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 7 length 87 rlm_eap: Continuing tunnel setup. ++[eap] returns ok rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/peap rlm_eap: processing type peap rlm_eap_peap: Authenticate rlm_eap_tls: processing TLS eaptls_verify returned 7 rlm_eap_tls: Done initial handshake eaptls_process returned 7 rlm_eap_peap: EAPTLS_OK rlm_eap_peap: Session established. Decoding tunneled attributes. rlm_eap_peap: EAP type mschapv2 PEAP: Setting User-Name to gabo2 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 7 length 64 rlm_eap: No EAP Start, assuming it's an on-going EAP conversation ++[eap] returns updated expand: %{User-Name} -> gabo2 rlm_sql (sql): sql_set_user escaped user --> 'gabo2' rlm_sql (sql): Reserving sql socket id: 2 expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'gabo2' ORDER BY id expand: SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority -> SELECT groupname FROM radusergroup WHERE username = 'gabo2' ORDER BY priority rlm_sql (sql): Released sql socket id: 2 rlm_sql (sql): User gabo2 not found ++[sql] returns notfound ++[expiration] returns noop ++[logintime] returns noop rlm_pap: WARNING! No "known good" password found for the user. Authentication may fail because of this. ++[pap] returns noop rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/mschapv2 rlm_eap: processing type mschapv2 +- entering group MS-CHAP rlm_mschap: No Cleartext-Password configured. Cannot create LM-Password. rlm_mschap: No Cleartext-Password configured. Cannot create NT-Password. rlm_mschap: Told to do MS-CHAPv2 for gabo2 with NT-Password rlm_mschap: FAILED: No NT/LM-Password. Cannot perform authentication. rlm_mschap: FAILED: MS-CHAP2-Response is incorrect ++[mschap] returns reject rlm_eap: Freeing handler ++[eap] returns reject auth: Failed to validate the user. Login incorrect: [gabo2/<via Auth-Type = EAP>] (from client Test port 0) PEAP: Tunneled authentication was rejected. rlm_eap_peap: FAILURE ++[eap] returns handled EAP-Message = 0x010800261900170301001b63ee472832a96343de1c219f2eeba60c9585da356ad29a3b0bdcbb Message-Authenticator = 0x00000000000000000000000000000000 State = 0x60c08eb167c89765879fa2c70a089f3d Finished request 7. Going to the next request Waking up in 2.4 seconds. User-Name = "gabo2" NAS-IP-Address = 192.168.168.6 NAS-Port = 0 Called-Station-Id = "004f6213f212" Calling-Station-Id = "000272574082" NAS-Identifier = "Realtek Access Point. 8181" NAS-Port-Type = Wireless-802.11 Service-Type = Framed-User Connect-Info = "CONNECT 11Mbps 802.11b" EAP-Message = 0x020800261900170301001b763235d20b10eca964464cbf331b5b707ac69fc0acb2de58d4e3ad State = 0x60c08eb167c89765879fa2c70a089f3d Message-Authenticator = 0x953ee4212a5dcd69d7cfab90d50d01f4 +- entering group authorize ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop rlm_realm: No '@' in User-Name = "gabo2", looking up realm NULL rlm_realm: No such realm "NULL" ++[suffix] returns noop rlm_eap: EAP packet type response id 8 length 38 rlm_eap: Continuing tunnel setup. ++[eap] returns ok rad_check_password: Found Auth-Type EAP auth: type "EAP" +- entering group authenticate rlm_eap: Request found, released from the list rlm_eap: EAP/peap rlm_eap: processing type peap rlm_eap_peap: Authenticate rlm_eap_tls: processing TLS eaptls_verify returned 7 rlm_eap_tls: Done initial handshake eaptls_process returned 7 rlm_eap_peap: EAPTLS_OK rlm_eap_peap: Session established. Decoding tunneled attributes. rlm_eap_peap: Received EAP-TLV response. rlm_eap_peap: Had sent TLV failure. User was rejected earlier in this session. rlm_eap: Handler failed in EAP/peap rlm_eap: Failed in EAP select ++[eap] returns invalid auth: Failed to validate the user. Login incorrect: [gabo2/<via Auth-Type = EAP>] (from client Test port 0 cli 000272574082) Found Post-Auth-Type Reject +- entering group REJECT expand: %{User-Name} -> gabo2 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 EAP-Message = 0x04080004 Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 1.1 seconds. Cleaning up request 0 ID 182 with timestamp +83 Waking up in 0.4 seconds. Cleaning up request 1 ID 183 with timestamp +83 Waking up in 0.4 seconds. Cleaning up request 2 ID 184 with timestamp +84 Waking up in 0.3 seconds. Cleaning up request 3 ID 185 with timestamp +84 Waking up in 0.4 seconds. Cleaning up request 4 ID 186 with timestamp +84 Waking up in 0.2 seconds. Cleaning up request 5 ID 187 with timestamp +85 Waking up in 0.4 seconds. Cleaning up request 6 ID 188 with timestamp +85 Waking up in 0.2 seconds. Cleaning up request 7 ID 189 with timestamp +85 Waking up in 1.2 seconds. Cleaning up request 8 ID 190 with timestamp +86 Ready to process requests. -- .--. |o_o | Ing. Martin Gabauer |:_/ | network & system administrator // \ \ Zdruzena stredna skola elektrotechnicka (| | ) v Lipt. Hradku /'\_ _/`\ Europe / Slovakia \___)=(___/ homepage : http://www.zsselh.sk/mgabauer icq : #289207549