常用工具:

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无法识别,区别apacheCA_file = ${cadir}/alilang/alilang_ca_merge.pem## etc/raddb/sites-enabled/default
## 配置验证和授权的方式,计费可不考虑,这次不测是到这个点;确认开启了以下几个方式
pap
eap
chap
mschap

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.txt
User-Name = "madding"
Cleartext-Password = "hell01234"
EAP-Code = Response
EAP-Id = 210
EAP-Type-Identity = "ufiletest"
Message-Authenticator = 0x00

peap-mschapv2:

#
#   eapol_test -c peap-mschapv2.conf -s testing123
#
network={ssid="example"key_mgmt=WPA-EAPeap=PEAPidentity="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=TLSeapol_flags=0key_mgmt=IEEE8021Xidentity="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-EAPeap=TTLSidentity="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-EAPeap=TTLSidentity="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-EAPeap=TTLSidentity="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-EAPeap=TTLSidentity="madding"anonymous_identity="anonymous"password="hell01234"phase2="auth=PAP"#
}

radius系列:freeradius测试相关推荐

  1. FreeRADIUS 测试环境搭建

    AAA服务器和RADIUS协议 AAA(Authentication,Authorization,Accounting)验证,授权,记账.AAA服务器主要功能是:哪些用户具有访问权限,具有访问权限的用 ...

  2. 赏金猎人系列-如何测试sso相关的漏洞

    赏金猎人系列-如何测试sso相关的漏洞 声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由用户承担全部法律及连带责任,文章作者不承担任何法律及连带责任. ...

  3. 三菱PLC——Q系列和FX3U系列通讯测试

    目录 一.介绍 二.代码 三.其他 一.介绍 主要用于三菱PLC(Q系列和FX3U系列)测试通讯:测试连接.读取数据.写入数据. 下图中的通讯类型:MC1E(三菱FX3U系列通讯):MC3E(三菱Q系 ...

  4. Lake Shore 8400 系列霍尔效应测试系统

    Lake Shore 8400 系列可与直流和交流场霍尔测量方法一起使用,以促进最广泛的研究应用.该系统包括完全集成的仪器.磁铁和电源,以及可显着帮助您提高研究效率并提供值得信赖的结果的软件. 当与 ...

  5. 三星手机续航测试软件,三星S21系列续航测试简报出炉

    这两天我司火力全开,测试了不少机型的性能.续航等等项目,其中就包括了S21和S21 Ultra,之前三星旗舰系列是每年续航测试重点关注对象.今天就给大家分享一下这两款机型的续航.充电数据.另外,本次数 ...

  6. ldap radius mysql_OpenLDAP+FreeRADIUS+MySQL+RP-PPPOE 构建PPPOE服务器

    经过几天的奋战,总算搞定这个PPPOE服务器. 基本环境: Host:       LFS-6.x openLDAP:   2.3.19 MySQL:      5.0.24 rp-pppoe:   ...

  7. iphone7防水_iPhone11系列防水测试,其结果令人意外

     从不大力宣传防水的苹果  直到现在,还有很多人不知道iPhone7以后都是防水的,日常生活中特别怕手机进水损坏. 事实上现在的iPhone11是支持 IP68 级别防水,其中 iPhone 11 能 ...

  8. freeradius 测试mysql_在linux下安装配置mysql+freeradius

    %h{JbLDu0今天终于配置成功了mysql+freeradius,下面是我的安装.配置过程 m#d:KfN)w)F0linux操作系统为RedHat 9 3au\,A*\0 fH:l5d]*dnO ...

  9. 指南|研控MCC系列运动控制卡测试软件(YK-Motion )使用手册

    YK-Motion 控制卡测试软件是研控运动控制卡的功能演示和调试软件,通过该软件可以查看和监控控制卡状态.配置板卡.测试控制卡不同功能模块.调试电机系统等,还可以快速测试传感器.开关等IO设备性能. ...

最新文章

  1. centos7下安装intel Media Server Studio记录
  2. Java Scoket之java.io.EOFException解决方案
  3. python代码大全p-Python5种代码维护工具
  4. SparkStreamingStateful
  5. pdf百度云下载 python编程 从数据分析到数据科学_python零基础入门教程,不同方向的,这很重要...
  6. python中列表数据汇总和平均值_python的列表List求均值和中位数实例
  7. 【jQuery插件】textSlider 文字滚动插件
  8. 牛逼哄哄的 MQ 到底有啥用?
  9. scilab和matlab的区别,matlab 与scilab的比较.doc
  10. LP3667B反激式开关电源5W(5V1A)输出电路
  11. XMind 8破解教程
  12. ps盖印图层在哪里_ps盖印图层快捷键怎么用? ps盖印图层教程
  13. 建造者模式(Builder和Director)
  14. 教你怎么一下哄好赌气的女朋友​
  15. 泛函分析笔记(十七) 弱偏导数
  16. dedecms织梦后台登录一直提示验证码错误
  17. 机器人(含自动驾驶汽车)成本和电脑手机相比有哪些差异化
  18. Redux以及Flux介绍
  19. 无线wifi与802.1x 说明
  20. 【项目实战】基于Python的校园二手交易网站Django二手商城系统

热门文章

  1. matlab角频率怎么表示,[Matlab]频率f,角频率Ω和数字频率w的物理含义
  2. Linux-DRBD
  3. npm和cnpm的区别和安装
  4. E.03.10 Coffee Drinking Tied to Lower Risk of Heart Failure
  5. 不同类型的钻展图怎么设计?
  6. spring加载一个或者多个properties配置文件方法
  7. 亚马逊正在逐渐压垮出版社,帮了世界一把
  8. java 实习生刚入职都会做些什么工作呢?
  9. RuntimeError: CUDA error: an illegal memory access was encountered
  10. oracle时间戳概念,Oracle时间戳数据types