Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type = "auth"
- ipaddr = 127.0.0.1
- port = 18120
- }
- ... adding new socket proxy address * port 34514
- Listening on authentication address * port 1812
- Listening on accounting address * port 1813
- Listening on command file /var/run/radiusd/radiusd.sock
- Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel
- Listening on proxy address * port 1814
- Ready to process requests.
- rad_recv: Access-Request packet from host 10.141.1.128 port 49154, id=0, length=94
- User-Name = "quidillaatmaax"
- User-Password = "xxxxx"
- Cisco-AVPair = "shell:priv-lvl=1"
- NAS-IP-Address = 10.141.1.128
- Acct-Session-Id = "0500007F"
- # Executing section authorize from file /etc/raddb/sites-enabled/default
- +- entering group authorize {...}
- ++- entering policy filter_username {...}
- +++? if (User-Name =~ /^ /)
- ? Evaluating (User-Name =~ /^ /) -> FALSE
- +++? if (User-Name =~ /^ /) -> FALSE
- +++? if (User-Name =~ / $$/)
- ? Evaluating (User-Name =~ / $$/) -> FALSE
- +++? if (User-Name =~ / $$/) -> FALSE
- +++? if (User-Name != "%{tolower:%{User-Name}}")
- expand: %{User-Name} -> quidillaatmaax
- expand: %{tolower:%{User-Name}} -> quidillaatmaax
- ? Evaluating (User-Name != "%{tolower:%{User-Name}}") -> FALSE
- +++? if (User-Name != "%{tolower:%{User-Name}}") -> FALSE
- ++- policy filter_username returns notfound
- ++[preprocess] returns ok
- [auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/10.141.1.128/auth-detail-20130801
- [auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/10.141.1.128/auth-detail-20130801
- [auth_log] expand: %t -> Thu Aug 1 14:47:15 2013
- ++[auth_log] returns ok
- ++[chap] returns noop
- ++[mschap] returns noop
- ++[digest] returns noop
- [suffix] No '@' in User-Name = "quidillaatmaax", looking up realm NULL
- [suffix] No such realm "NULL"
- ++[suffix] returns noop
- [eap] No EAP-Message, not doing EAP
- ++[eap] returns noop
- ++[files] returns noop
- [sql] expand: %{User-Name} -> quidillaatmaax
- [sql] sql_set_user escaped user --> 'quidillaatmaax'
- rlm_sql (sql): Reserving sql socket id: 3
- [sql] 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 = 'quidillaatmaax' ORDER BY id
- rlm_sql_mysql: query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'quidillaatmaax' ORDER BY id
- [sql] User found in radcheck table
- [sql] expand: SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'quidillaatmaax' ORDER BY id
- rlm_sql_mysql: query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'quidillaatmaax' ORDER BY id
- [sql] expand: SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority -> SELECT groupname FROM radusergroup WHERE username = 'quidillaatmaax' ORDER BY priority
- rlm_sql_mysql: query: SELECT groupname FROM radusergroup WHERE username = 'quidillaatmaax' ORDER BY priority
- [sql] expand: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{Sql-Group}' ORDER BY id -> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'Netops - Exp 29 Nov 2013' ORDER BY id
- rlm_sql_mysql: query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'Netops - Exp 29 Nov 2013' ORDER BY id
- rlm_sql (sql): Released sql socket id: 3
- ++[sql] returns ok
- ++[expiration] returns noop
- ++[logintime] returns noop
- [pap] Normalizing MD5-Password from hex encoding
- ++[pap] returns updated
- Found Auth-Type = PAP
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !!! Replacing User-Password in config items with Cleartext-Password. !!!
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- !!! Please update your configuration so that the "known good" !!!
- !!! clear text password is in Cleartext-Password, and not in User-Password. !!!
- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- # Executing group from file /etc/raddb/sites-enabled/default
- +- entering group PAP {...}
- [pap] login attempt with password "xxxxx"
- [pap] Using MD5 encryption.
- [pap] User authenticated successfully
- ++[pap] returns ok
- Login OK: [quidillaatmaax] (from client MAAX port 0)
- # Executing section post-auth from file /etc/raddb/sites-enabled/default
- +- entering group post-auth {...}
- [sql] expand: %{User-Name} -> quidillaatmaax
- [sql] sql_set_user escaped user --> 'quidillaatmaax'
- [sql] expand: %{User-Password} -> xxxxx
- [sql] expand: INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( '%{User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S') -> INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'quidillaatmaax', 'xxxxx', 'Access-Accept', '2013-08-01 14:47:15')
- [sql] expand: /var/log/radius/sqltrace.sql -> /var/log/radius/sqltrace.sql
- rlm_sql (sql) in sql_postauth: query is INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'quidillaatmaax', 'xxxxx', 'Access-Accept', '2013-08-01 14:47:15')
- rlm_sql (sql): Reserving sql socket id: 2
- rlm_sql_mysql: query: INSERT INTO radpostauth (username, pass, reply, authdate) VALUES ( 'quidillaatmaax', 'xxxxx', 'Access-Accept', '2013-08-01 14:47:15')
- rlm_sql (sql): Released sql socket id: 2
- ++[sql] returns ok
- ++[exec] returns noop
- Sending Access-Accept of id 0 to 10.141.1.128 port 49154
- Service-Type = Administrative-User
- Finished request 0.
- Going to the next request
- Waking up in 4.9 seconds.
- rad_recv: Accounting-Request packet from host 10.141.1.128 port 49154, id=0, length=91
- User-Name = "quidillaatmaax"
- NAS-IP-Address = 10.141.1.128
- Called-Station-Id = "10.141.1.128"
- Calling-Station-Id = "10.141.59.3"
- Acct-Status-Type = Start
- Acct-Session-Id = "0500007F"
- Acct-Authentic = RADIUS
- # Executing section preacct from file /etc/raddb/sites-enabled/default
- +- entering group preacct {...}
- ++[preprocess] returns ok
- expand: %{Acct-Session-Time} ->
- ... expanding second conditional
- expand: %{Acct-Delay-Time} ->
- ... expanding second conditional
- expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1375339635 - 0 - 0
- expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1375339635
- ++[request] returns ok
- [acct_unique] WARNING: Attribute NAS-Port was not found in request, unique ID MAY be inconsistent
- [acct_unique] Hashing ',Client-IP-Address = 10.141.1.128,NAS-IP-Address = 10.141.1.128,Acct-Session-Id = "0500007F",User-Name = "quidillaatmaax"'
- [acct_unique] Acct-Unique-Session-ID = "1fbd6f4030deecf4".
- ++[acct_unique] returns ok
- [suffix] No '@' in User-Name = "quidillaatmaax", looking up realm NULL
- [suffix] No such realm "NULL"
- ++[suffix] returns noop
- ++[files] returns noop
- # Executing section accounting from file /etc/raddb/sites-enabled/default
- +- entering group accounting {...}
- [detail] expand: %{Packet-Src-IP-Address} -> 10.141.1.128
- [detail] expand: /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radius/radacct/10.141.1.128/detail-20130801
- [detail] /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radius/radacct/10.141.1.128/detail-20130801
- [detail] expand: %t -> Thu Aug 1 14:47:15 2013
- ++[detail] returns ok
- ++[unix] returns noop
- [radutmp] expand: /var/log/radius/radutmp -> /var/log/radius/radutmp
- [radutmp] expand: %{User-Name} -> quidillaatmaax
- rlm_radutmp: No NAS-Port seen. Cannot do anything.
- rlm_radumtp: WARNING: checkrad will probably not work!
- ++[radutmp] returns noop
- [sql] expand: %{User-Name} -> quidillaatmaax
- [sql] sql_set_user escaped user --> 'quidillaatmaax'
- [sql] expand: %{Acct-Delay-Time} ->
- [sql] ... expanding second conditional
- [sql] expand: 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}',
- [sql] expand: /var/log/radius/sqltrace.sql -> /var/log/radius/sqltrace.sql
- rlm_sql (sql): Reserving sql socket id: 1
- rlm_sql_mysql: 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 ('0500007F', '1fbd6f4030deecf4', 'quidillaatmaax', '', '10.141.1.128', '', '', '2013-08-01 14:47:15', NULL, '0', 'RADIUS', '', '', '0', '0', '10.141.1.128', '10.141.59.3', '', '', '', '', '0', '0', '')
- rlm_sql (sql): Released sql socket id: 1
- ++[sql] returns ok
- ++? if (noop)
- ? Evaluating (noop) -> FALSE
- ++? if (noop) -> FALSE
- ++[exec] returns noop
- [attr_filter.accounting_response] expand: %{User-Name} -> quidillaatmaax
- attr_filter: Matched entry DEFAULT at line 12
- ++[attr_filter.accounting_response] returns updated
- Sending Accounting-Response of id 0 to 10.141.1.128 port 49154
- Finished request 1.
- Cleaning up request 1 ID 0 with timestamp +22
- Going to the next request
- Waking up in 4.9 seconds.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement