radius系列:freeradius测试
来源:互联网 发布:js鼠标移动轨迹 编辑:程序博客网 时间:2024/06/16 00:33
常用工具:
radclient
radtest
radeapclient
eapol_test
jradius simulator
jradius编码
先简单备注下测试配置,后期再作说明:
服务器端配置如下:
## etc/raddb/users 用户配置"madding" Cleartext-Password := "hell01234"## etc/raddb/clients.conf 配置客户端密码, 由于是本机测试,配置这个点即可:client localhost secret = testing123## /etc/raddb/eap.conf## eap-tls配置,在tls模块配置客户端证书## 将父证书到顶级证书的内容都加入奥pem中,要不然freeradius无法识别,区别apache CA_file = ${cadir}/alilang/alilang_ca_merge.pem## etc/raddb/sites-enabled/default## 配置验证和授权的方式,计费可不考虑,这次不测是到这个点;确认开启了以下几个方式papeapchapmschap
pap:
/opt/freeradius/bin/radtest madding hell01234 127.0.0.1 1812 testing123
eap-md5:
# eap-md5.sh/opt/freeradius/bin/radeapclient -x 127.0.0.1 auth testing123 < eap-md5.txt# eap-md5.txtUser-Name = "madding"Cleartext-Password = "hell01234"EAP-Code = ResponseEAP-Id = 210EAP-Type-Identity = "ufiletest"Message-Authenticator = 0x00
## eapol_test -c peap-mschapv2.conf -s testing123#network={ ssid="example" key_mgmt=WPA-EAP eap=PEAP identity="madding" anonymous_identity="anonymous" password="hell01234" phase2="autheap=MSCHAPV2" # # Uncomment the following to perform server certificate validation.# ca_cert="/etc/raddb/certs/ca.der"}
eap-tls:
# eapol_test -c tls.conf -a 127.0.0.1 -p 1812 -s testing123 -r 1network={ eap=TLS eapol_flags=0 key_mgmt=IEEE8021X identity="madding" password="hell01234" # client #ca_cert="/opt/freeradius/etc/raddb/certs/ca.pem" #client_cert="/opt/freeradius/etc/raddb/certs/client.pem" #private_key="/opt/freeradius/etc/raddb/certs/client.key" #private_key_passwd="whatever" # self cert client client_cert="/home/madding/output/alilang_client_25741.pem" private_key="/home/madding/output/alilang_client_25741.key" private_key_passwd="hell01234" # server #ca_cert="/opt/freeradius/etc/raddb/certs/ca.pem" #client_cert="/opt/freeradius/etc/raddb/certs/server.pem" #private_key="/opt/freeradius/etc/raddb/certs/server.key" #private_key_passwd="whatever"}
ttls-chap:
## eapol_test -c ttls-pap.conf -s testing123#network={ ssid="example" key_mgmt=WPA-EAP eap=TTLS identity="madding" anonymous_identity="anonymous" password="hell01234" phase2="auth=CHAP" # # Uncomment the following to perform server certificate validation.# ca_cert="/etc/raddb/certs/ca.der"}
ttls-eapmd5:
## eapol_test -c ttls-eapmd5.conf -s testing123#network={ ssid="example" key_mgmt=WPA-EAP eap=TTLS identity="madding" anonymous_identity="anonymous" password="hell01234" phase2="autheap=MD5" # # Uncomment the following to perform server certificate validation.# ca_cert="/etc/raddb/certs/ca.der"}~
ttls-mschapv2:
## eapol_test -c ttls-mschapv2.conf -s testing123#network={ ssid="example" key_mgmt=WPA-EAP eap=TTLS identity="bob" anonymous_identity="anonymous" password="hello" phase2="autheap=MSCHAPv2" # # Uncomment the following to perform server certificate validation.# ca_cert="/etc/raddb/certs/ca.der"}
ttls-pap:
## eapol_test -c ttls-pap.conf -s testing123#network={ ssid="example" key_mgmt=WPA-EAP eap=TTLS identity="madding" anonymous_identity="anonymous" password="hell01234" phase2="auth=PAP" #}
0 0
- radius系列:freeradius测试
- radius系列:freeradius搭建
- FreeRadius AAA Radius 工作原理
- 架设freeradius+mysql 的radius服务器[转]
- 架设freeradius+mysql的radius服务器
- 架设freeradius+mysql 的radius服务器
- 架设freeradius+mysql 的radius服务器
- 架设freeradius+mysql 的radius服务器
- 【freeradius】使用radclient调试radius协议
- windows radius server搭建(freeradius.net)
- freeRADIUS下EAP测试
- 测试FreeRadius的EAP
- freeRadius安装测试
- freeRadius 基础配置及测试
- freeradius
- freeradius
- radius manager系列软件下载
- freeRADIUS下EAP测试(转载)
- Asp.NET随记---NO3---server&session对象。
- OpenGL与Memory DC
- At Christmas Time
- fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shar
- 如何动态定义一个 对象指针数组
- radius系列:freeradius测试
- 推荐系统入门(协同过滤 基于内容 基于用户 基于项目 )
- 转的一个比较时间字符串的方法
- iText – 使用Java将HTML转换为PDF
- java变量命名规范
- 2014年放假方案发布让我忍不住要说几句“除夕不放假”
- matlab添加工具箱
- 国内频谱分配
- 在php使用PDO类查询Mysql