请教两个问题:关于无线局域网和Radius+MD5认证
(2012-06-05 06:00:06)
标签:
认证
无线
局域网
杂谈
请教两个问题:关于无线局域网和Radius+MD5认证1,要完成一个WLAN接入过程的模拟,现在的问题是客户端发出来的EAP-MD5数据包只能发送到AP上,我希望AP把这些MAC层的广播包转发到通过网线与AP相连的服务器上,请大侠们指点一二!!!
如果有WDS功能是否能够实现??
2,现在已经搭建了一套radius+mysql的认证环境,进行eap-md5验证,
但是不管客户端发送的用户名是什么radius得到的总是:User-Name =
"\025\004"
以下是radiusd -X 时候打印的结果,很奇怪,是不是我的配置有问题??
客户端截包证明客户端没有问题。
请各位指教!!!
rad_recv: Access-Request packet from host 192.168.1.1:65474, id=13,
length=106
User-Name = "\025\004"
NAS-Por
9493641486
EAP-Message =
0x0202001a0410ee0c60f285703ba80e6448dbabe0ed0674657374
Message-Authenticator = 0xac2574c87e3704b2711eff04cde3a7d7
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 11
modcall: module "preprocess"
returns ok for request 11
modcall: module "chap" returns
noop for request 11
modcall: module "mschap" returns
noop for request 11
rlm_realm: No '@' in User-Name =
"??", looking up realm NULL
rlm_realm: No such realm
"NULL"
modcall: module "suffix" returns
noop for request 11
rlm_eap: EAP packet type response id 2 length 26
rlm_eap: No EAP Start, assuming it's an on-going EAP
conversation
modcall: module "eap" returns
updated for request 11
modcall: module "files" returns
notfound for request 11
radius_xlat:'\025\004'
rlm_sql (sql): sql_set_user escaped user -->
'\025\004'
radius_xlat:'SELECT id, UserName, Attribute, Value, op FROM
radcheck WHERE Username =
'=5C=5C025=5C=5C004' ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 3
rlm_sql (sql): User \025\004 not found in radcheck
radius_xlat:'SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op
FROM radgroupcheck,usergroup WHERE usergroup.Username =
'=5C=5C025=5C=5C004' AND usergroup.GroupName =
radgroupcheck.GroupName ORDER BY radgroupcheck.id'
radius_xlat:'SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op
FROM radgroupreply,usergroup WHERE usergroup.Username =
'=5C=5C025=5C=5C004' AND usergroup.GroupName =
radgroupreply.GroupName ORDER BY radgroupreply.id'
rlm_sql (sql): User \025\004 not found in radgroupcheck
rlm_sql (sql): Released sql socket id: 3
rlm_sql (sql): User not found
modcall: module "sql" returns
notfound for request 11
rlm_pap: WARNINGhttp://www.wwhsx.com/! No "known
good" password found for the user.Authentication
may fail because of this.
modcall: module "pap" returns
noop for request 11
modcall: leaving group authorize (returns updated) for request
11
rad_check_password:Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 11
rlm_eap: Request foundhttp://www.sxjxweb.com/, released from the
list
rlm_eap: EAP/md5
rlm_eap: processing type md5
rlm_eap_md5: User-Password is required for EAP-MD5
authentication
rlm_eap: Handler failed in EAP/md5
rlm_eap: Failed in EAP select
modcall: module "eap" returns
invalid for request 11
modcall: leaving group authenticate (returns invalid) for request
11
auth: Failed to validate the user.
Delaying request 11 for 1 seconds
Finished request 11
Going to the next request
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 10 ID 12 with timestamp 46dc1473
Sending Access-Reject of id 13 to 192.168.1.1 port 65474
EAP-Message = 0x04020004
Message-Authenticator = 0x00000000000000000000000000000000
Cleaning up request 11 ID 13 with timestamp 46dc1473
Nothing to do.Sleeping until we see a request.:em02:
大侠们帮帮忙呀!!:em09: :em09: 好啊看看
分享:
喜欢
0
赠金笔
加载中,请稍候......
评论加载中,请稍候...
发评论
登录名: 密码: 找回密码 注册记住登录状态
昵 称:
评论并转载此博文
发评论
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。