注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

zjc的博客

技术积累

 
 
 

日志

 
 

日志  

2009-03-18 15:30:23|  分类: 业务应用 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
ad_recv: Access-Request packet from host 192.168.17.5:1812, id=172, length=403
        User-Name = "*greenme6001@green"
        User-Password = "888888"
        NAS-Port = 50331648
        NAS-IP-Address = 192.168.17.5
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Calling-Station-Id = "GigabitEthernet 12/0.170072:17-72#587214488###pppoe 00:15:c5:7c:36:1c#"
        NAS-Identifier = "IPCTL-DBJ-MA5200G-A"
        NAS-Port-Type = Virtual
        NAS-Port-Id = "slot=3;subslot=0;port=0;vlanid=0;"
        Acct-Session-Id = "IPCTL-D030000000000009569a300550"
        Tunnel-Type:0 = L2TP
        Tunnel-Medium-Type:0 = IP
        Tunnel-Server-Endpoint:0 = "61.135.22.129"
        Tunnel-Client-Endpoint:0 = "61.148.0.166"
        Tunnel-Client-Auth-Id:0 = "green-tunnel"
        Tunnel-Server-Auth-Id:0 = "green-tunnel"
        Vendor-2011-Attr-59 = 0x483729c7
        Vendor-2011-Attr-60 = 0x3235352e3235352e3235352e3235352066663a66663a66663a66663a66663a6666
        Vendor-2011-Attr-26 = 0x00000226
        Vendor-2011-Attr-254 = 0x487561776569204d413532303047
        Vendor-2011-Attr-255 = 0x4d4135323030
        Vendor-2011-Attr-138 = 0x677265656e
Wed Mar 18 15:24:21 2009 : Debug:   Processing the authorize section of radiusd.conf
Wed Mar 18 15:24:21 2009 : Debug: modcall: entering group authorize for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: calling preprocess (rlm_preprocess) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: returned from preprocess (rlm_preprocess) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modcall[authorize]: module "preprocess" returns ok for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: calling chap (rlm_chap) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: returned from chap (rlm_chap) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modcall[authorize]: module "chap" returns noop for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: calling mschap (rlm_mschap) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: returned from mschap (rlm_mschap) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modcall[authorize]: module "mschap" returns noop for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: calling suffix (rlm_realm) for request 75
Wed Mar 18 15:24:21 2009 : Debug:     rlm_realm: Looking up realm "green" for User-Name = "*greenme6001@green"
Wed Mar 18 15:24:21 2009 : Debug:     rlm_realm: No such realm "green"
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: returned from suffix (rlm_realm) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modcall[authorize]: module "suffix" returns noop for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: calling eap (rlm_eap) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   rlm_eap: No EAP-Message, not doing EAP
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: returned from eap (rlm_eap) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modcall[authorize]: module "eap" returns noop for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: calling sql (rlm_sql) for request 75
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  '*greenme6001@green'
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): sql_set_user escaped user --> '*greenme6001@green'
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = to_char('*greenme6001@green') ORDER BY id'
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): Reserving sql socket id: 1
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op  FROM radgroupcheck,usergroup WHERE usergroup.Username = '*greenme6001@green' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = '*greenme6001@green' ORDER BY id'
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op  FROM radgroupreply,usergroup WHERE usergroup.Username = '*greenme6001@green' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id'
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): Released sql socket id: 1
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: returned from sql (rlm_sql) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modcall[authorize]: module "sql" returns ok for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: calling dailycounter (rlm_sqlcounter) for request 75
Wed Mar 18 15:24:21 2009 : Debug: rlm_sqlcounter: Entering module authorize code
Wed Mar 18 15:24:21 2009 : Debug: sqlcounter_expand:  'SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='%{User-Name}' and (to_number(substr(to_timestamp(sysdate),1,2))-to_number(substr(AcctStartTime,1,2)))=0'
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  'SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='*greenme6001@green' and (to_number(substr(to_timestamp(sysdate),1,2))-to_number(substr(AcctStartTime,1,2)))=0'
Wed Mar 18 15:24:21 2009 : Debug: sqlcounter_expand:  '%{sql:SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='*greenme6001@green' and (to_number(substr(to_timestamp(sysdate),1,2))-to_number(substr(AcctStartTime,1,2)))=0}'
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat: Running registered xlat function of module sql for string 'SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='*greenme6001@green' and (to_number(substr(to_timestamp(sysdate),1,2))-to_number(substr(AcctStartTime,1,2)))=0'
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): - sql_xlat
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  '*greenme6001@green'
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): sql_set_user escaped user --> '*greenme6001@green'
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  'SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='*greenme6001@green' and (to_number(substr(to_timestamp(sysdate),1,2))-to_number(substr(AcctStartTime,1,2)))=0'
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): Reserving sql socket id: 0
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): - sql_xlat finished
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): Released sql socket id: 0
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  '726'
Wed Mar 18 15:24:21 2009 : Debug: rlm_sqlcounter: (Check item - counter) is greater than zero
Wed Mar 18 15:24:21 2009 : Debug: rlm_sqlcounter: Authorized user *greenme6001@green, check_item=86400, counter=726
Wed Mar 18 15:24:21 2009 : Debug: rlm_sqlcounter: Sent Reply-Item for user *greenme6001@green, Type=Session-Timeout, value=117339
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[authorize]: returned from dailycounter (rlm_sqlcounter) for request 75
Wed Mar 18 15:24:21 2009 : Debug:   modcall[authorize]: module "dailycounter" returns ok for request 75
Wed Mar 18 15:24:21 2009 : Debug: modcall: leaving group authorize (returns ok) for request 75
Wed Mar 18 15:24:21 2009 : Debug: auth: type Local
Wed Mar 18 15:24:21 2009 : Debug: zjc:Don`t pair User-Password!!!!****
Sending Access-Accept of id 172 to 192.168.17.5 port 1812
        Session-Timeout = 117339
Wed Mar 18 15:24:21 2009 : Debug: Finished request 75
Wed Mar 18 15:24:21 2009 : Debug: Going to the next request
Wed Mar 18 15:24:21 2009 : Debug: --- Walking the entire request list ---
Wed Mar 18 15:24:21 2009 : Debug: Waking up in 6 seconds...
rad_recv: Accounting-Request packet from host 192.168.17.5:1812, id=99, length=409
        User-Name = "*greenme6001@green"
        NAS-Port = 50331648
        NAS-IP-Address = 192.168.17.5
        Framed-IP-Address = 61.135.48.135
        NAS-Identifier = "IPCTL-DBJ-MA5200G-A"
        Acct-Status-Type = Start
        Acct-Delay-Time = 0
        Acct-Session-Id = "IPCTL-D030000000000009569a300550"
        Acct-Authentic = RADIUS
        Event-Timestamp = "Mar 18 2009 15:22:59 CST"
        NAS-Port-Type = Virtual
        Calling-Station-Id = "GigabitEthernet 12/0.170072:17-72#587214488###pppoe 00:15:c5:7c:36:1c#"
        NAS-Port-Id = "slot=3;subslot=0;port=0;vlanid=0;"
        Tunnel-Type:0 = L2TP
        Tunnel-Medium-Type:0 = IP
        Tunnel-Server-Endpoint:0 = "61.135.22.129"
        Tunnel-Client-Endpoint:0 = "61.148.0.166"
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Vendor-2011-Attr-60 = 0x36312e3133352e34382e3133352066663a66663a66663a66663a66663a6666
        Vendor-2011-Attr-3 = 0x00000000
        Vendor-2011-Attr-2 = 0x00000000
        Vendor-2011-Attr-6 = 0x00000000
        Vendor-2011-Attr-5 = 0x00000000
        Vendor-2011-Attr-22 = 0x0000000f
        Vendor-2011-Attr-26 = 0x00000226
        Vendor-2011-Attr-138 = 0x677265656e
        Vendor-2011-Attr-4 = 0x00000000
        Vendor-2011-Attr-1 = 0x00000000
        Vendor-2011-Attr-77 = 0x00000000
        Vendor-2011-Attr-78 = 0x00000000
Wed Mar 18 15:24:21 2009 : Debug:   Processing the preacct section of radiusd.conf
Wed Mar 18 15:24:21 2009 : Debug: modcall: entering group preacct for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[preacct]: calling preprocess (rlm_preprocess) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[preacct]: returned from preprocess (rlm_preprocess) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modcall[preacct]: module "preprocess" returns noop for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[preacct]: calling acct_unique (rlm_acct_unique) for request 76
Wed Mar 18 15:24:21 2009 : Debug: rlm_acct_unique: Hashing 'NAS-Port = 50331648,Client-IP-Address = 192.168.17.5,NAS-IP-Address = 192.168.17.5,Acct-Session-Id = "IPCTL-D030000000000009569a300550",User-Name = "*greenme6001@green"'
Wed Mar 18 15:24:21 2009 : Debug: rlm_acct_unique: Acct-Unique-Session-ID = "c8283d78f74ed71e".
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[preacct]: returned from acct_unique (rlm_acct_unique) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modcall[preacct]: module "acct_unique" returns ok for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[preacct]: calling suffix (rlm_realm) for request 76
Wed Mar 18 15:24:21 2009 : Debug:     rlm_realm: Looking up realm "green" for User-Name = "*greenme6001@green"
Wed Mar 18 15:24:21 2009 : Debug:     rlm_realm: No such realm "green"
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[preacct]: returned from suffix (rlm_realm) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modcall[preacct]: module "suffix" returns noop for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[preacct]: calling files (rlm_files) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[preacct]: returned from files (rlm_files) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modcall[preacct]: module "files" returns noop for request 76
Wed Mar 18 15:24:21 2009 : Debug: modcall: leaving group preacct (returns ok) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   Processing the accounting section of radiusd.conf
Wed Mar 18 15:24:21 2009 : Debug: modcall: entering group accounting for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: calling detail (rlm_detail) for request 76
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  '/usr/local/var/log/radius/radacct/192.168.17.5/detail-20090318'
Wed Mar 18 15:24:21 2009 : Debug: rlm_detail: /usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /usr/local/var/log/radius/radacct/192.168.17.5/detail-20090318
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: returned from detail (rlm_detail) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modcall[accounting]: module "detail" returns ok for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: calling unix (rlm_unix) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: returned from unix (rlm_unix) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modcall[accounting]: module "unix" returns ok for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: calling radutmp (rlm_radutmp) for request 76
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  '/usr/local/var/log/radius/radutmp'
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  '*greenme6001@green'
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: returned from radutmp (rlm_radutmp) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modcall[accounting]: module "radutmp" returns ok for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: calling sql (rlm_sql) for request 76
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  '*greenme6001@green'
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): sql_set_user escaped user --> '*greenme6001@green'
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  'INSERT into radacct (RadAcctId, 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('', 'IPCTL-D030000000000009569a300550', 'c8283d78f74ed71e', '*greenme6001@green', '', '192.168.17.5', 'slot=3D3=3Bsubslot=3D0=3Bport=3D0=3Bvlanid=3D0=3B', 'Virtual', TO_DATE('2009-03-18 15:24:21','yyyy-mm-dd hh24:mi:ss'), NULL, '0', 'RADIUS', '', '', '0', '0', '', 'GigabitEthernet 12/0.170072:17-72=23587214488=23=23=23pppoe 00:15:c5:7c:36:1c=23', '', 'Framed-User', 'PPP', '61.135.48.135', '0', '0')'
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): Reserving sql socket id: 4
Wed Mar 18 15:24:21 2009 : Debug: rlm_sql (sql): Released sql socket id: 4
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: returned from sql (rlm_sql) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modcall[accounting]: module "sql" returns ok for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: calling updatefe (rlm_exec) for request 76
Wed Mar 18 15:24:21 2009 : Debug: radius_xlat:  '/usr/local/bin/updatefe *greenme6001@green 61.135.48.135 Start'
Wed Mar 18 15:24:21 2009 : Debug: Exec-Program: /usr/local/bin/updatefe *greenme6001@green 61.135.48.135 Start
Wed Mar 18 15:24:21 2009 : Debug: Exec-Program output: the inode path is /root/etc/config.ini  #@#@#@user *greenme6001@green  white flag is   0 @#@#@@#  #@#@#@user *greenme6001@green  white flag is   0 @#@#@@# error!! ORA-01403: no data found  MSN is 0,QQ is 0
Wed Mar 18 15:24:21 2009 : Debug: Exec-Program-Wait: plaintext: the inode path is /root/etc/config.ini  #@#@#@user *greenme6001@green  white flag is   0 @#@#@@#  #@#@#@user *greenme6001@green  white flag is   0 @#@#@@# error!! ORA-01403: no data found  MSN is 0,QQ is 0
Wed Mar 18 15:24:21 2009 : Debug: Exec-Program: returned: 0
Wed Mar 18 15:24:21 2009 : Debug:   modsingle[accounting]: returned from updatefe (rlm_exec) for request 76
Wed Mar 18 15:24:21 2009 : Debug:   modcall[accounting]: module "updatefe" returns ok for request 76
Wed Mar 18 15:24:21 2009 : Debug: modcall: leaving group accounting (returns ok) for request 76
Sending Accounting-Response of id 99 to 192.168.17.5 port 1812
Wed Mar 18 15:24:21 2009 : Debug: Finished request 76
Wed Mar 18 15:24:21 2009 : Debug: Going to the next request
Wed Mar 18 15:24:21 2009 : Debug: Waking up in 6 seconds...
Wed Mar 18 15:24:27 2009 : Debug: --- Walking the entire request list ---
Wed Mar 18 15:24:27 2009 : Debug: Cleaning up request 76 ID 99 with timestamp 49c0a1a5
Wed Mar 18 15:24:27 2009 : Debug: Cleaning up request 75 ID 172 with timestamp 49c0a1a5
Wed Mar 18 15:24:27 2009 : Debug: Nothing to do.  Sleeping until we see a request.
  评论这张
 
阅读(561)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017