├── .dockerignore ├── .env.example ├── .env.x ├── .envrc ├── .gitignore ├── .gitmodules ├── .jetbrains ├── .mise.toml ├── README.md ├── bin ├── acct.sh ├── auth.sh ├── dae.sh ├── gdb.sh └── python.sh ├── container ├── debug.sh ├── release.sh ├── restart.sh └── stop.sh ├── data └── db │ ├── backup │ ├── init_sqlite.sh │ ├── show_sqlite_users.sh │ ├── sqlite_insert.sql │ └── users.db │ └── mysql_insert.sql ├── doc └── README.md ├── docker-compose.yml ├── docker ├── Dockerfile ├── debian12-bookworm.sources.aliyun └── debian12-bookworm.sources.tencent ├── etc ├── dictionary │ ├── README.md │ ├── dictionary.h3c │ ├── dictionary.microsoft │ ├── dictionary.pyrad │ ├── dictionary.rfc3576 │ └── dictionary.wispr └── original_dictionary │ └── dictionary.microsoft ├── lib └── libhostapd.so ├── requirements ├── package_version.md ├── requirements-test.txt └── requirements.txt ├── src ├── acct │ ├── __init__.py │ ├── accounting_flow.py │ ├── accounting_session.py │ └── flow.py ├── auth │ ├── __init__.py │ ├── chap_flow.py │ ├── eap_peap_gtc_flow.py │ ├── eap_peap_mschapv2_flow.py │ ├── flow.py │ ├── mac_flow.py │ ├── mschap_flow.py │ ├── pap_flow.py │ └── session.py ├── child_pyrad │ ├── __init__.py │ ├── chap.py │ ├── dictionary.py │ ├── eap.py │ ├── eap_mschapv2_packet.py │ ├── eap_packet.py │ ├── eap_peap_packet.py │ ├── exception.py │ ├── mppe.py │ ├── packet.py │ ├── request.py │ └── response.py ├── controls │ ├── stat.py │ └── user.py ├── library │ ├── crypto.py │ └── tests │ │ └── test_crypto.py ├── models │ ├── __init__.py │ ├── account.py │ ├── field.py │ ├── mac_account.py │ ├── platform.py │ └── speed.py ├── processor │ ├── __init__.py │ ├── acct_processor.py │ ├── auth_processor.py │ └── dae_processor.py ├── pyrad │ ├── __init__.py │ ├── bidict.py │ ├── client.py │ ├── client_async.py │ ├── curved.py │ ├── dictfile.py │ ├── dictionary.py │ ├── host.py │ ├── packet.py │ ├── proxy.py │ ├── server.py │ ├── server_async.py │ └── tools.py ├── settings.py └── utils │ ├── __init__.py │ ├── config.py │ ├── decorators.py │ ├── feishu.py │ ├── prometheus.py │ ├── redispool.py │ └── time.py └── tools ├── gen_access_request_packet.py ├── mppe_test ├── 2.py └── 3.py ├── replace_radius_server_in_ac.py ├── shell_in_docker.sh ├── simulator ├── bin │ ├── eapol_test │ ├── gtc.hostapd │ ├── hostapd │ ├── mschapv2.hostapd │ └── no_crypto_binding.hostapd ├── eap_test │ ├── eapol_test.conf.peapv0.gtc │ ├── eapol_test.conf.peapv0.mschapv2 │ ├── eapol_test.conf.peapv1.gtc │ ├── eapol_test.conf.peapv1.mschapv2 │ └── not_used │ │ ├── eapol_test.conf.tls │ │ ├── eapol_test.conf.ttls_md5 │ │ └── eapol_test.conf.ttls_mschapv2 ├── etc │ ├── .gitignore │ ├── README │ ├── certs │ │ ├── ca.cer │ │ ├── ca.key │ │ ├── dh │ │ ├── index.txt │ │ ├── serial │ │ ├── server.cer │ │ ├── server.csr │ │ └── server.key │ └── dictionary │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── attrnew.pl │ │ ├── attrsort.pl │ │ ├── backref.pl │ │ ├── dct2fr │ │ ├── dictionary │ │ ├── dictionary.3com │ │ ├── dictionary.3gpp │ │ ├── dictionary.3gpp2 │ │ ├── dictionary.acc │ │ ├── dictionary.acme │ │ ├── dictionary.actelis │ │ ├── dictionary.adtran │ │ ├── dictionary.aerohive │ │ ├── dictionary.airespace │ │ ├── dictionary.alcatel │ │ ├── dictionary.alcatel-lucent.aaa │ │ ├── dictionary.alcatel.esam │ │ ├── dictionary.alcatel.sr │ │ ├── dictionary.alteon │ │ ├── dictionary.altiga │ │ ├── dictionary.alvarion │ │ ├── dictionary.alvarion.wimax.v2_2 │ │ ├── dictionary.apc │ │ ├── dictionary.aptilo │ │ ├── dictionary.aptis │ │ ├── dictionary.arbor │ │ ├── dictionary.arista │ │ ├── dictionary.aruba │ │ ├── dictionary.ascend │ │ ├── dictionary.ascend.illegal │ │ ├── dictionary.asn │ │ ├── dictionary.audiocodes │ │ ├── dictionary.avaya │ │ ├── dictionary.azaire │ │ ├── dictionary.bay │ │ ├── dictionary.bigswitch │ │ ├── dictionary.bintec │ │ ├── dictionary.bluecoat │ │ ├── dictionary.boingo │ │ ├── dictionary.bristol │ │ ├── dictionary.broadsoft │ │ ├── dictionary.brocade │ │ ├── dictionary.bskyb │ │ ├── dictionary.bt │ │ ├── dictionary.cablelabs │ │ ├── dictionary.cabletron │ │ ├── dictionary.camiant │ │ ├── dictionary.checkpoint │ │ ├── dictionary.chillispot │ │ ├── dictionary.cisco │ │ ├── dictionary.cisco.asa │ │ ├── dictionary.cisco.bbsm │ │ ├── dictionary.cisco.vpn3000 │ │ ├── dictionary.cisco.vpn5000 │ │ ├── dictionary.citrix │ │ ├── dictionary.clavister │ │ ├── dictionary.cnergee │ │ ├── dictionary.colubris │ │ ├── dictionary.columbia_university │ │ ├── dictionary.compat │ │ ├── dictionary.compatible │ │ ├── dictionary.cosine │ │ ├── dictionary.dante │ │ ├── dictionary.dellemc │ │ ├── dictionary.dhcp │ │ ├── dictionary.digium │ │ ├── dictionary.dlink │ │ ├── dictionary.dragonwave │ │ ├── dictionary.efficientip │ │ ├── dictionary.eltex │ │ ├── dictionary.epygi │ │ ├── dictionary.equallogic │ │ ├── dictionary.ericsson │ │ ├── dictionary.ericsson.ab │ │ ├── dictionary.ericsson.packet.core.networks │ │ ├── dictionary.erx │ │ ├── dictionary.extreme │ │ ├── dictionary.f5 │ │ ├── dictionary.fdxtended │ │ ├── dictionary.force10 │ │ ├── dictionary.fortinet │ │ ├── dictionary.foundry │ │ ├── dictionary.freedhcp │ │ ├── dictionary.freeradius │ │ ├── dictionary.freeradius.internal │ │ ├── dictionary.freeswitch │ │ ├── dictionary.gandalf │ │ ├── dictionary.garderos │ │ ├── dictionary.gemtek │ │ ├── dictionary.h3c │ │ ├── dictionary.hillstone │ │ ├── dictionary.hp │ │ ├── dictionary.huawei │ │ ├── dictionary.iana │ │ ├── dictionary.iea │ │ ├── dictionary.infinera │ │ ├── dictionary.infoblox │ │ ├── dictionary.infonet │ │ ├── dictionary.ipunplugged │ │ ├── dictionary.issanni │ │ ├── dictionary.itk │ │ ├── dictionary.juniper │ │ ├── dictionary.karlnet │ │ ├── dictionary.kineto │ │ ├── dictionary.lancom │ │ ├── dictionary.lantronix │ │ ├── dictionary.livingston │ │ ├── dictionary.localweb │ │ ├── dictionary.lucent │ │ ├── dictionary.manzara │ │ ├── dictionary.meinberg │ │ ├── dictionary.meraki │ │ ├── dictionary.merit │ │ ├── dictionary.meru │ │ ├── dictionary.microsemi │ │ ├── dictionary.microsoft │ │ ├── dictionary.mikrotik │ │ ├── dictionary.mimosa │ │ ├── dictionary.motorola │ │ ├── dictionary.motorola.illegal │ │ ├── dictionary.motorola.wimax │ │ ├── dictionary.navini │ │ ├── dictionary.net │ │ ├── dictionary.netscreen │ │ ├── dictionary.networkphysics │ │ ├── dictionary.nexans │ │ ├── dictionary.nokia │ │ ├── dictionary.nokia.conflict │ │ ├── dictionary.nomadix │ │ ├── dictionary.nortel │ │ ├── dictionary.ntua │ │ ├── dictionary.openser │ │ ├── dictionary.packeteer │ │ ├── dictionary.paloalto │ │ ├── dictionary.patton │ │ ├── dictionary.perle │ │ ├── dictionary.pfsense │ │ ├── dictionary.pica8 │ │ ├── dictionary.propel │ │ ├── dictionary.prosoft │ │ ├── dictionary.proxim │ │ ├── dictionary.purewave │ │ ├── dictionary.quiconnect │ │ ├── dictionary.quintum │ │ ├── dictionary.rcntec │ │ ├── dictionary.redcreek │ │ ├── dictionary.rfc2865 │ │ ├── dictionary.rfc2866 │ │ ├── dictionary.rfc2867 │ │ ├── dictionary.rfc2868 │ │ ├── dictionary.rfc2869 │ │ ├── dictionary.rfc3162 │ │ ├── dictionary.rfc3576 │ │ ├── dictionary.rfc3580 │ │ ├── dictionary.rfc4072 │ │ ├── dictionary.rfc4372 │ │ ├── dictionary.rfc4603 │ │ ├── dictionary.rfc4675 │ │ ├── dictionary.rfc4679 │ │ ├── dictionary.rfc4818 │ │ ├── dictionary.rfc4849 │ │ ├── dictionary.rfc5090 │ │ ├── dictionary.rfc5176 │ │ ├── dictionary.rfc5447 │ │ ├── dictionary.rfc5580 │ │ ├── dictionary.rfc5607 │ │ ├── dictionary.rfc5904 │ │ ├── dictionary.rfc6519 │ │ ├── dictionary.rfc6572 │ │ ├── dictionary.rfc6677 │ │ ├── dictionary.rfc6911 │ │ ├── dictionary.rfc6929 │ │ ├── dictionary.rfc6930 │ │ ├── dictionary.rfc7055 │ │ ├── dictionary.rfc7155 │ │ ├── dictionary.rfc7268 │ │ ├── dictionary.rfc7499 │ │ ├── dictionary.rfc7930 │ │ ├── dictionary.rfc8045 │ │ ├── dictionary.rfc8559 │ │ ├── dictionary.riverbed │ │ ├── dictionary.riverstone │ │ ├── dictionary.roaringpenguin │ │ ├── dictionary.ruckus │ │ ├── dictionary.ruggedcom │ │ ├── dictionary.sangoma │ │ ├── dictionary.sg │ │ ├── dictionary.shasta │ │ ├── dictionary.shiva │ │ ├── dictionary.siemens │ │ ├── dictionary.slipstream │ │ ├── dictionary.sofaware │ │ ├── dictionary.softbank │ │ ├── dictionary.sonicwall │ │ ├── dictionary.springtide │ │ ├── dictionary.starent │ │ ├── dictionary.starent.vsa1 │ │ ├── dictionary.surfnet │ │ ├── dictionary.symbol │ │ ├── dictionary.t_systems_nova │ │ ├── dictionary.telebit │ │ ├── dictionary.telkom │ │ ├── dictionary.terena │ │ ├── dictionary.trapeze │ │ ├── dictionary.travelping │ │ ├── dictionary.tripplite │ │ ├── dictionary.tropos │ │ ├── dictionary.ukerna │ │ ├── dictionary.unix │ │ ├── dictionary.usr │ │ ├── dictionary.usr.illegal │ │ ├── dictionary.utstarcom │ │ ├── dictionary.valemount │ │ ├── dictionary.vasexperts │ │ ├── dictionary.verizon │ │ ├── dictionary.versanet │ │ ├── dictionary.vqp │ │ ├── dictionary.walabi │ │ ├── dictionary.waverider │ │ ├── dictionary.wichorus │ │ ├── dictionary.wifialliance │ │ ├── dictionary.wimax │ │ ├── dictionary.wimax.alvarion │ │ ├── dictionary.wimax.wichorus │ │ ├── dictionary.wispr │ │ ├── dictionary.xedia │ │ ├── dictionary.xylan │ │ ├── dictionary.yubico │ │ ├── dictionary.zeus │ │ ├── dictionary.zte │ │ ├── dictionary.zyxel │ │ └── format.pl ├── hostapd │ ├── README.md │ ├── hostapd-2.10-mschapv2.conf │ ├── hostapd-2.5-all.conf │ ├── hostapd-2.5-mschapv2.conf │ ├── hostapd.eap_user.all │ ├── hostapd.eap_user.mschapv2 │ └── hostapd.radius_clients ├── lib │ └── libfreeradius-radius.so ├── radius_test │ ├── README.md │ ├── acct │ │ ├── i.conf │ │ ├── t.conf │ │ └── u.conf │ ├── auth │ │ ├── chap.conf │ │ └── pap.conf │ └── dae │ │ └── disconnect.conf └── testcase_and_log │ ├── README.md │ ├── acct │ └── acct_packet.example │ ├── hostapd.eapol.peapv0.mschapv2.success │ ├── crypto_binding │ │ ├── crypto_binding.log │ │ ├── eapol.log │ │ └── mschapv2.1812.pcapng │ └── hostapd.log │ ├── hostapd.eapol.peapv1.gtc.success │ ├── eapol.log │ ├── hostapd.log │ └── peap_gtc.1812.pcapng │ ├── hostapd.eapol.peapv1.mschapv2.success │ ├── eapol.log │ ├── hostapd.log │ └── peap_mschapv2.1812.pcapng │ ├── hostapd.iphone12.peapv1.mschapv2.success │ ├── 2812-iphone12-hostapd210.pcapng │ ├── 2812-iphone12-python.pcapng │ ├── iphone-radius-2812.log │ └── iphone12-hostapd210.log │ ├── hostapd.reconnect │ ├── 1.log │ └── 2.log │ └── rs.radtest.peapv1.gtc.success │ ├── acct_packet.log │ ├── auth_packet.log │ ├── eapol.log │ ├── peap_gtc.1812.pcapng │ └── rs.log ├── tcpdump ├── acct_probe.pcapng ├── acct_tcpdump.sh ├── auth_tcpdump.sh ├── chap_1812.pcapng ├── chap_1813.pcapng ├── dae_3799.pcapng ├── dae_tcpdump.sh ├── eapoffload.servertype.extended.1812.fail.pcapng ├── eapoffload.servertype.standard.1812.success.pcapng ├── eapol-hostapd_eap-peap.pcapng ├── mac.1812.pcapng └── pap.1812.pcapng └── user_dictionary └── dictionary /.dockerignore: -------------------------------------------------------------------------------- 1 | .cache 2 | __pycache__ 3 | *.pyc 4 | *.sqlite3 5 | node_modules/ 6 | third_party/ 7 | data/ 8 | tools/ 9 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | RADIUS_DICTIONARY_DIR=/app/etc/dictionary 2 | RADIUS_SECRET=testing123 3 | # 最大12分钟 4 | ACCOUNTING_INTERVAL=720 5 | API_URL=https://api.example.com 6 | 7 | # Hostapd 8 | HOSTAPD_LIBRARY=/app/lib/libhostapd.so 9 | CA_CERT=/app/tools/simulator/etc/certs/ca.cer.pem 10 | CLIENT_CERT=/app/tools/simulator/etc/certs/server.cer.pem 11 | PRIVATE_KEY=/app/tools/simulator/etc/certs/server.key.pem 12 | PRIVATE_KEY_PASSWORD=123456 13 | DH_FILE=/app/tools/simulator/etc/certs/dh 14 | 15 | # DB 16 | DATABASE_URI=postgres://postgres:123456@pgbouncer:6432/trade 17 | 18 | # Redis 19 | REDIS_HOST=redis 20 | REDIS_PORT=6379 21 | REDIS_PASSWORD=123456 22 | REDIS_DB=1 23 | 24 | # 日志 25 | ## 日志级别: TRACE, DEBUG 26 | LOG_LEVEL=DEBUG 27 | -------------------------------------------------------------------------------- /.env.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/.env.x -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- 1 | dotenv ".env" 2 | 3 | export_function() { 4 | local name=$1 5 | local alias_dir=$PWD/.direnv/aliases 6 | mkdir -p "$alias_dir" 7 | PATH_add "$alias_dir" 8 | local target="$alias_dir/$name" 9 | if declare -f "$name" >/dev/null; then 10 | echo "#!/usr/bin/env bash" > "$target" 11 | declare -f "$name" >> "$target" 2>/dev/null 12 | echo "$name" >> "$target" 13 | chmod +x "$target" 14 | fi 15 | } 16 | 17 | cliredis() { 18 | redis-cli -h 127.0.0.1 -p 6379 -n 1 -a 123456 19 | } 20 | climy() { 21 | mycli -h 127.0.0.1 --port=33333 -u root --password=root -D trade 22 | } 23 | export_function cliredis 24 | export_function climy 25 | 26 | # 公共shell配置 27 | export COMPOSE_FILE="$PWD/docker-compose.yml" 28 | # 相同项目会被ps列出, 目录更名后不会重建容器 29 | export COMPOSE_PROJECT_NAME=radius 30 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "third_party/hostapd-2.10"] 2 | path = third_party/hostapd-2.10 3 | url = git@github.com:zeroleo12345/hostapd-2.10.git 4 | branch = ctm_version 5 | [submodule "third_party/wpa_supplicant-2.10"] 6 | path = third_party/wpa_supplicant-2.10 7 | url = git@github.com:zeroleo12345/wpa_supplicant-2.10.git 8 | branch = ctm_version 9 | [submodule "third_party/freeradius-3.2.3"] 10 | path = third_party/freeradius-3.2.3 11 | url = git@github.com:zeroleo12345/freeradius-3.2.3.git 12 | branch = ctm_version 13 | -------------------------------------------------------------------------------- /.jetbrains: -------------------------------------------------------------------------------- 1 | pycharm 2 | -------------------------------------------------------------------------------- /.mise.toml: -------------------------------------------------------------------------------- 1 | [tools] 2 | python = "3.7.17" 3 | -------------------------------------------------------------------------------- /bin/acct.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | cd $(dirname "$0")/.. 4 | project_root=$(pwd) 5 | echo "当前项目目录: $project_root" 6 | 7 | export PYTHONPATH=$project_root/src:$PYTHONPATH 8 | 9 | exec python3 $project_root/src/processor/acct_processor.py 10 | -------------------------------------------------------------------------------- /bin/auth.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | cd $(dirname "$0")/.. 4 | project_root=$(pwd) 5 | echo "当前项目目录: $project_root" 6 | 7 | export PYTHONPATH=$project_root/src:$PYTHONPATH 8 | 9 | pip freeze | sort 10 | exec python3 $project_root/src/processor/auth_processor.py 11 | -------------------------------------------------------------------------------- /bin/dae.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | cd $(dirname "$0")/.. 4 | project_root=$(pwd) 5 | echo "当前项目目录: $project_root" 6 | 7 | export PYTHONPATH=$project_root/src:$PYTHONPATH 8 | 9 | exec python3 $project_root/src/processor/dae_processor.py 10 | -------------------------------------------------------------------------------- /bin/gdb.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | cd $(dirname "$0")/.. 4 | project_root=$(pwd) 5 | echo "当前项目目录: $project_root" 6 | 7 | export PYTHONPATH=$project_root/src:$PYTHONPATH 8 | 9 | pip freeze | sort 10 | exec gdb python3 11 | -------------------------------------------------------------------------------- /bin/python.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | cd $(dirname "$0")/.. 4 | project_root=$(pwd) 5 | echo "当前项目目录: $project_root" 6 | 7 | export PYTHONPATH=$project_root/src:$PYTHONPATH 8 | 9 | exec python3 10 | -------------------------------------------------------------------------------- /container/debug.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | export RESTART_POLICY=no; ENTRYPOINT="tail -f /dev/null" docker compose up auth -------------------------------------------------------------------------------- /container/release.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | docker compose up -d auth 4 | docker compose up -d acct 5 | docker compose up -d dae -------------------------------------------------------------------------------- /container/restart.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | current=$(dirname "$0") 4 | $current/stop.sh && $current/release.sh 5 | -------------------------------------------------------------------------------- /container/stop.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | docker compose stop auth acct dae 4 | -------------------------------------------------------------------------------- /data/db/backup/init_sqlite.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | current_dir=$(cd "$(dirname "$0")"; pwd) 4 | 5 | sqlite3 $current_dir/users.db ".read $current_dir/sqlite_insert.sql" 6 | -------------------------------------------------------------------------------- /data/db/backup/show_sqlite_users.sh: -------------------------------------------------------------------------------- 1 | echo '[显示所有表:]' 2 | sqlite3 users.db '.tables' 3 | 4 | echo '' 5 | echo '[users表记录:]' 6 | sqlite3 users.db 'select * from broadband_user;' 7 | -------------------------------------------------------------------------------- /data/db/backup/sqlite_insert.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `broadband_user` ( 2 | `id` INTEGER PRIMARY KEY, 3 | `username` VARCHAR(255) NOT NULL UNIQUE, 4 | `password` VARCHAR(255) NOT NULL, 5 | `expired_at` DATETIME 6 | ); 7 | CREATE UNIQUE INDEX user_username ON `broadband_user`(username); 8 | 9 | INSERT INTO `broadband_user`(id, username, password, expired_at) VALUES(NULL, 'zhoulixin', 'zhoulixin', '2099-01-01 00:00:00'); 10 | 11 | 12 | CREATE TABLE `session` ( 13 | `id` INTEGER PRIMARY KEY, 14 | `username` VARCHAR(255) NOT NULL, 15 | `mac_address` VARCHAR(255) NOT NULL, 16 | `acct_session_id` VARCHAR(255) NOT NULL, 17 | `updated_at` DATETIME 18 | ); 19 | -------------------------------------------------------------------------------- /data/db/backup/users.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/data/db/backup/users.db -------------------------------------------------------------------------------- /data/db/mysql_insert.sql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE `trade` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; 2 | 3 | CREATE TABLE `account` ( 4 | `id` int(11) NOT NULL AUTO_INCREMENT, 5 | `user_id` bigint(20) NOT NULL, 6 | `platform_id` bigint(20) NOT NULL, 7 | `username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, 8 | `password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, 9 | `is_enable` tinyint(1) NOT NULL, 10 | `role` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL, 11 | `expired_at` datetime(6) NOT NULL, 12 | `created_at` datetime(6) NOT NULL, 13 | `updated_at` datetime(6) NOT NULL, 14 | PRIMARY KEY (`id`), 15 | UNIQUE KEY `account_username_cfe70fab_uniq` (`username`), 16 | UNIQUE KEY `account_user_id_platform_id_88a2cba9_uniq` (`user_id`,`platform_id`) 17 | ) ENGINE=InnoDB AUTO_INCREMENT=194 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; 18 | 19 | INSERT INTO `account` VALUES (1,1351172106029633536,1,'zhoulixin','zhoulixin',1,'pay_user','2031-04-17 00:00:00','2018-11-03 00:00:00','2099-09-01 00:00:00','zhoulixin'); 20 | -------------------------------------------------------------------------------- /doc/README.md: -------------------------------------------------------------------------------- 1 | ## eap-peap 流程文档 2 | > 认证时支持什么协议, 是由Radius Server发起的, 不是由AC或Client发起的 3 | 4 | - EAP协议格式.xlsx 5 | 6 | > https://onedrive.live.com/edit?id=D7911699038556F8!1789&resid=D7911699038556F8!1789&ithint=file%2cxlsx&ct=1713279223373&wdOrigin=OFFICECOM-WEB.START.EDGEWORTH&wdPreviousSessionSrc=HarmonyWeb&wdPreviousSession=532bd0bf-3f63-4cfb-9d88-02d1dd37cae9&wdo=2&cid=d7911699038556f8 7 | 8 | - PEAPv1(EAP-GTC).vsdx 9 | 10 | > https://miro.com/app/board/uXjVKT5REBk=/ 11 | 12 | 13 | ## 编译 hostpad server 14 | - 查看文档 tools/simulator/hostapd/README.md 15 | -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- 1 | # https://hub.docker.com/_/python/, 镜像名说明: 前缀python可选自url; 后缀:3.6-alpine为网页上的tag, 如不指定后缀, 则为:latest 2 | FROM python:3.7.17-slim-bookworm 3 | 4 | # 一. 安装 linux package. (使用: 阿里云 alpine 镜像) 5 | ADD docker/debian12-bookworm.sources.tencent /etc/apt/sources.list 6 | RUN rm -rf /etc/apt/sources.list.d/* 7 | 8 | RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo Asia/Shanghai > /etc/timezone 9 | 10 | RUN apt-get update && apt-get install -y build-essential git libssl-dev libnl-3-dev libnl-genl-3-dev libtalloc-dev libmariadb-dev \ 11 | && apt-get install -y tcpdump procps curl inetutils-ping gdb 12 | 13 | # 二. 安装 python package. 14 | ADD requirements/requirements.txt /app/requirements/requirements.txt 15 | 16 | RUN pip3 install --no-cache-dir --upgrade pip --trusted-host mirrors.tencent.com --index-url https://mirrors.tencent.com/pypi/simple/ \ 17 | && pip3 install --no-cache-dir -r /app/requirements/requirements.txt --trusted-host mirrors.tencent.com --index-url https://mirrors.tencent.com/pypi/simple/ 18 | 19 | # WORKDIR: 如果目录不存在, 则自动创建 20 | WORKDIR /app/ 21 | ADD src /app/src/ 22 | ADD bin /app/bin/ 23 | ENV PYTHONPATH="/app/src:${PYTHONPATH}" 24 | ENV PATH="${PATH}:/app/bin:/app/tools/simulator/bin" 25 | ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/app/lib:/app/tools/simulator/lib" 26 | 27 | # docker-compose.yml 会覆盖 entrypoint 28 | #ENTRYPOINT ["/app/bin/web.sh"] 29 | -------------------------------------------------------------------------------- /docker/debian12-bookworm.sources.aliyun: -------------------------------------------------------------------------------- 1 | deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib 2 | deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib 3 | deb http://mirrors.aliyun.com/debian-security stretch/updates main 4 | deb-src http://mirrors.aliyun.com/debian-security stretch/updates main 5 | deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib 6 | deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib 7 | deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib 8 | deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib 9 | -------------------------------------------------------------------------------- /docker/debian12-bookworm.sources.tencent: -------------------------------------------------------------------------------- 1 | deb https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib 2 | deb-src https://mirrors.tencent.com/debian/ bookworm main non-free non-free-firmware contrib 3 | deb https://mirrors.tencent.com/debian-security/ bookworm-security main 4 | deb-src https://mirrors.tencent.com/debian-security/ bookworm-security main 5 | deb https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib 6 | deb-src https://mirrors.tencent.com/debian/ bookworm-updates main non-free non-free-firmware contrib 7 | deb https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib 8 | deb-src https://mirrors.tencent.com/debian/ bookworm-backports main non-free non-free-firmware contrib 9 | -------------------------------------------------------------------------------- /etc/dictionary/README.md: -------------------------------------------------------------------------------- 1 | ## Dictionary source 2 | - pyrad library (https://github.com/pyradius/pyrad/blob/master/example/dictionary) 3 | - freeradius (./third_party/freeradius-3.2.3/share) 4 | 5 | 6 | ## Modify Point 7 | - remove encrypt=2 in dictionary.microsoft 8 | ``` 9 | ATTRIBUTE MS-MPPE-Send-Key 16 octets encrypt=2 10 | ATTRIBUTE MS-MPPE-Recv-Key 17 octets encrypt=2 11 | ``` 12 | 13 | - change type to octets from string in dictionary.pyrad 14 | ``` 15 | ATTRIBUTE User-Password 2 string 16 | ATTRIBUTE CHAP-Challenge 60 string 17 | ATTRIBUTE EAP-Message 79 string 18 | ``` 19 | -------------------------------------------------------------------------------- /etc/dictionary/dictionary.rfc3576: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 3576. 6 | # https://www.rfc-editor.org/rfc/rfc3576.html 7 | # 8 | # $Id: 9ad092003cb0a889c0a26d80fbf594c2a42921a3 $ 9 | # 10 | ATTRIBUTE Service-Type 6 integer 11 | ATTRIBUTE Error-Cause 101 integer 12 | 13 | # Service Types 14 | 15 | VALUE Service-Type Authorize-Only 17 16 | 17 | # Error causes 18 | 19 | VALUE Error-Cause Residual-Context-Removed 201 20 | VALUE Error-Cause Invalid-EAP-Packet 202 21 | VALUE Error-Cause Unsupported-Attribute 401 22 | VALUE Error-Cause Missing-Attribute 402 23 | VALUE Error-Cause NAS-Identification-Mismatch 403 24 | VALUE Error-Cause Invalid-Request 404 25 | VALUE Error-Cause Unsupported-Service 405 26 | VALUE Error-Cause Unsupported-Extension 406 27 | VALUE Error-Cause Administratively-Prohibited 501 28 | VALUE Error-Cause Proxy-Request-Not-Routable 502 29 | VALUE Error-Cause Session-Context-Not-Found 503 30 | VALUE Error-Cause Session-Context-Not-Removable 504 31 | VALUE Error-Cause Proxy-Processing-Error 505 32 | VALUE Error-Cause Resources-Unavailable 506 33 | VALUE Error-Cause Request-Initiated 507 34 | -------------------------------------------------------------------------------- /etc/dictionary/dictionary.wispr: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # dictionary.wispr 6 | # 7 | # VSAs originally by 8 | # "James Underwood" 9 | # 10 | # Version: $Id: 1493c36545c061049a6ba0f004be8847a33519da $ 11 | # 12 | # For documentation on WISPr RADIUS attributes, see: 13 | # 14 | # Wi-Fi Alliance - Wireless ISP Roaming - Best Current Practices v1, 15 | # Feb 2003, p 14 16 | # 17 | # http://www.weca.net/OpenSection/downloads/WISPr_V1.0.pdf 18 | 19 | VENDOR WISPr 14122 20 | 21 | # 22 | # Standard attribute 23 | # 24 | BEGIN-VENDOR WISPr 25 | 26 | ATTRIBUTE WISPr-Location-ID 1 string 27 | ATTRIBUTE WISPr-Location-Name 2 string 28 | ATTRIBUTE WISPr-Logoff-URL 3 string 29 | ATTRIBUTE WISPr-Redirection-URL 4 string 30 | ATTRIBUTE WISPr-Bandwidth-Min-Up 5 integer 31 | ATTRIBUTE WISPr-Bandwidth-Min-Down 6 integer 32 | ATTRIBUTE WISPr-Bandwidth-Max-Up 7 integer 33 | ATTRIBUTE WISPr-Bandwidth-Max-Down 8 integer 34 | ATTRIBUTE WISPr-Session-Terminate-Time 9 string 35 | ATTRIBUTE WISPr-Session-Terminate-End-Of-Day 10 string 36 | ATTRIBUTE WISPr-Billing-Class-Of-Service 11 string 37 | 38 | END-VENDOR WISPr 39 | -------------------------------------------------------------------------------- /lib/libhostapd.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/lib/libhostapd.so -------------------------------------------------------------------------------- /requirements/package_version.md: -------------------------------------------------------------------------------- 1 | # MacOS pyenv 2 | 3 | - mise 4 | ```bash 5 | mise install python 3.7.17 --verbose 6 | pip install -r requirements/requirements.txt 7 | ``` 8 | 9 | - pycharm project intepreter 10 | ``` 11 | 菜单 Settings... -> 12 | Python Interpreter -> Add Interpreter -> 13 | Virtualenv Environment -> Environment: Existing -> 点击... -> 14 | 复制路径并点击OK: ~/.local/share/mise/installs/python/3.7.17/bin/python 15 | ``` 16 | 17 | 18 | # running package version 19 | ``` 20 | aiocontextvars==0.2.2 21 | certifi==2022.9.14 22 | cffi==1.15.1 23 | chardet==3.0.4 24 | contextvars==2.4 25 | cryptography==3.2 26 | dynaconf==3.1.2 27 | gevent==1.3.7 28 | greenlet==1.1.3 29 | idna==2.7 30 | immutables==0.19 31 | importlib-resources==5.4.0 32 | loguru==0.5.3 33 | netaddr==0.8.0 34 | pycparser==2.21 35 | PyMySQL==0.9.3 36 | pytz==2019.1 37 | redis==3.3.11 38 | requests==2.20.0 39 | sentry-sdk==0.5.5 40 | typing_extensions==4.1.1 41 | urllib3==1.24.3 42 | zipp==3.6.0 43 | ``` 44 | -------------------------------------------------------------------------------- /requirements/requirements-test.txt: -------------------------------------------------------------------------------- 1 | -r requirements.txt 2 | pytest==4.5.0 3 | flake8==3.7.7 4 | -------------------------------------------------------------------------------- /requirements/requirements.txt: -------------------------------------------------------------------------------- 1 | pytz==2019.1 2 | certifi==2022.9.14 3 | greenlet==2.0.2 4 | gevent==22.10.2 5 | netaddr==0.8.0 6 | # pyrad==2.3 # https://github.com/wichert/pyrad.git 7 | # git+https://github.com/pyradius/pyrad.git@547422f2ee3255a5fd47d7db00ebe4c477018cc6#egg=pyrad 8 | cryptography==3.2 9 | dynaconf==3.1.2 10 | requests==2.27.0 11 | peewee==3.17.5 12 | psycopg2-binary==2.8.6 13 | redis==3.3.11 14 | sentry_sdk==2.2.0 15 | loguru==0.7.2 16 | -------------------------------------------------------------------------------- /src/acct/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/src/acct/__init__.py -------------------------------------------------------------------------------- /src/acct/accounting_session.py: -------------------------------------------------------------------------------- 1 | import datetime 2 | 3 | 4 | class AccountingSession(object): 5 | last_datetime = datetime.datetime.now() 6 | sessions = { 7 | 'username': {'mac_address'} 8 | } 9 | 10 | @classmethod 11 | def clean(cls, interval) -> bool: 12 | """ 13 | 每隔多久清空 14 | :param interval: 秒数 15 | """ 16 | now = datetime.datetime.now() 17 | if now - cls.last_datetime > datetime.timedelta(seconds=interval): 18 | cls.last_datetime = now 19 | cls.sessions = { 20 | 'username': {'mac_address'} 21 | } 22 | return True 23 | return False 24 | 25 | @classmethod 26 | def put(cls, username, mac_address): 27 | """ 28 | :param username: 29 | :param mac_address: 30 | :return: 返回当前用户下的mac地址个数 31 | """ 32 | if username not in cls.sessions: 33 | cls.sessions[username] = set() 34 | 35 | cls.sessions[username].add(mac_address) 36 | return len(cls.sessions[username]) 37 | -------------------------------------------------------------------------------- /src/acct/flow.py: -------------------------------------------------------------------------------- 1 | # 第三方库 2 | from child_pyrad.request import AcctRequest 3 | from child_pyrad.response import AcctResponse 4 | # 项目库 5 | from controls.user import AcctUserProfile 6 | from loguru import logger as log 7 | 8 | 9 | class Flow(object): 10 | 11 | @classmethod 12 | def account_response(cls, request: AcctRequest, acct_user_profile: AcctUserProfile): 13 | if not request and not acct_user_profile: 14 | return 15 | data = [ 16 | request.nas_ip, 17 | request.nas_name, 18 | request.iut, 19 | str(request.upload_kb), 20 | str(request.download_kb), 21 | acct_user_profile.packet.outer_username, 22 | acct_user_profile.packet.user_mac, 23 | ] 24 | log.info(f'OUT: acct|{"|".join(data)}|') 25 | reply = AcctResponse.create_account_response(request=request, acct_user_profile=acct_user_profile) 26 | return request.reply_to(reply) 27 | -------------------------------------------------------------------------------- /src/auth/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/src/auth/__init__.py -------------------------------------------------------------------------------- /src/child_pyrad/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/src/child_pyrad/__init__.py -------------------------------------------------------------------------------- /src/child_pyrad/dictionary.py: -------------------------------------------------------------------------------- 1 | import os 2 | # 项目库 3 | from loguru import logger as log 4 | 5 | 6 | def get_dictionaries(directory): 7 | if not os.path.exists(directory): 8 | raise Exception('directory:{} not exist'.format(directory)) 9 | log.info(f'dicts directory: {directory}') 10 | # 遍历目录一次 11 | root, dirs, files = next(os.walk(directory)) 12 | dictionaries = [] 13 | for filename in files: 14 | if filename.startswith('dictionary.'): 15 | log.debug(f'load dictionary: {filename}') 16 | dictionaries.append(os.path.join(root, filename)) 17 | else: 18 | log.debug(f'ignore dictionary: {filename}') 19 | return dictionaries 20 | -------------------------------------------------------------------------------- /src/child_pyrad/eap_mschapv2_packet.py: -------------------------------------------------------------------------------- 1 | """ 2 | reference: 3 | """ 4 | import struct # from struct import pack, unpack, calcsize, unpack_from, pack_into 5 | # 6 | from .exception import PacketError 7 | from .eap import Eap 8 | 9 | 10 | class EapMschapv2Packet(Eap): 11 | """ 12 | Response: 13 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 14 | | Type | Type-Data ... 15 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 16 | """ 17 | def __init__(self, type: int, type_data: bytes): 18 | self.type = type # int 1-byte 19 | self.type_data = type_data # binary 20 | 21 | @classmethod 22 | def parse(cls, packet: bytes, peap_version: int) -> 'EapMschapv2Packet': 23 | # v0: b'\x01testuser'; v1: b'\x02\x05\x00\r\x01testuser'; 24 | if peap_version == 0: 25 | type, = struct.unpack("!B", packet[0:1]) 26 | type_data = packet[1:] 27 | else: 28 | try: 29 | code, id, _length = struct.unpack("!B B H", packet[:4]) 30 | except struct.error: 31 | raise PacketError('EAP header is corrupt') 32 | if len(packet) != _length: 33 | raise PacketError('EAP has invalid length') 34 | assert code in [Eap.CODE_EAP_REQUEST, Eap.CODE_EAP_RESPONSE] 35 | type, = struct.unpack("!B", packet[4:5]) if _length > 4 else None 36 | type_data = packet[5:_length] if _length > 5 else b'' 37 | return EapMschapv2Packet(type=type, type_data=type_data) 38 | 39 | def __str__(self): 40 | attr = 'Attribute:' 41 | attr += '\n ' + self.type_data.hex() 42 | header = 'Mschapv2 Dump:' 43 | header += '\n type:' + str(self.type) 44 | header += '\n' 45 | return header + attr 46 | -------------------------------------------------------------------------------- /src/child_pyrad/exception.py: -------------------------------------------------------------------------------- 1 | class PacketError(Exception): 2 | pass 3 | 4 | 5 | class AuthenticatorError(Exception): 6 | pass 7 | -------------------------------------------------------------------------------- /src/child_pyrad/packet.py: -------------------------------------------------------------------------------- 1 | class PacketCode(object): 2 | CODE_ACCESS_REQUEST = 1 3 | CODE_ACCESS_ACCEPT = 2 4 | CODE_ACCESS_REJECT = 3 5 | # 6 | CODE_ACCOUNT_REQUEST = 4 7 | CODE_ACCOUNT_RESPONSE = 5 8 | # 9 | CODE_ACCESS_CHALLENGE = 11 10 | # 11 | CODE_DISCONNECT_REQUEST = 40 12 | CODE_DISCONNECT_ACK = 41 13 | CODE_DISCONNECT_NAK = 42 14 | # 15 | CODE_COA_REQUEST = 43 16 | CODE_COA_ACK = 44 17 | CODE_COA_NAK = 45 18 | 19 | 20 | class PacketProtocol(object): 21 | CHAP_PROTOCOL = 'CHAP' 22 | PAP_PROTOCOL = 'PAP' 23 | MAC_PROTOCOL = 'MAC' 24 | MSCHAPV2_PROTOCOL = 'MSCHAPV2' 25 | EAP_PEAP_GTC_PROTOCOL = 'EAP-PEAP-GTC' 26 | EAP_PEAP_MSCHAPV2_PROTOCOL = 'EAP-PEAP-MSCHAPV2' 27 | 28 | 29 | def init_packet_from_receive(_class, code, id, secret, authenticator, dict, packet): 30 | """ server receive packet: AuthRequest, AcctRequest, DmResponse, CoAResponse """ 31 | _class.__init__(code=code, id=id, secret=secret, authenticator=authenticator, dict=dict, packet=packet) 32 | 33 | 34 | def init_packet_to_send(_class, code, id, secret, authenticator, dict): 35 | """ server send packet: AuthResponse, AcctResponse, DmRequest, CoARequest """ 36 | _class.__init__(code=code, id=id, secret=secret, authenticator=authenticator, dict=dict) 37 | -------------------------------------------------------------------------------- /src/controls/user.py: -------------------------------------------------------------------------------- 1 | # 项目库 2 | from child_pyrad.request import AuthRequest, AcctRequest 3 | from models.account import Account 4 | 5 | 6 | class _Account(object): 7 | def __init__(self): 8 | self.username: str = '' 9 | self.password: str = '' 10 | self.is_enable: bool = False 11 | self.speed_id: int = -1 12 | 13 | def copy_attribute(self, account: Account): 14 | self.username = account.username 15 | self.password = account.password 16 | self.is_enable = account.is_enable 17 | self.speed_id = account.speed_id 18 | 19 | 20 | class _Packet(object): 21 | def __init__(self, username, user_mac): 22 | self.outer_username: str = username 23 | self.peap_username: str = '' 24 | self.user_mac = user_mac 25 | self.server_challenge: bytes = b'' 26 | self.peer_challenge: bytes = b'' 27 | self.input_password: str = '' 28 | 29 | def set_peap_username(self, account_name: str): 30 | self.peap_username = account_name 31 | 32 | def set_server_challenge(self, server_challenge: bytes): 33 | self.server_challenge = server_challenge 34 | 35 | def set_peer_challenge(self, peer_challenge: bytes): 36 | self.peer_challenge = peer_challenge 37 | 38 | 39 | class AuthUserProfile(object): 40 | 41 | def __init__(self, request: AuthRequest): 42 | self.packet: _Packet = _Packet(username=request.username, user_mac=request.user_mac) 43 | self.account: _Account = _Account() 44 | 45 | 46 | class AcctUserProfile(object): 47 | 48 | def __init__(self, request: AcctRequest): 49 | self.packet: _Packet = _Packet(username=request.username, user_mac=request.user_mac) 50 | self.account: _Account = _Account() 51 | -------------------------------------------------------------------------------- /src/models/__init__.py: -------------------------------------------------------------------------------- 1 | from playhouse.pool import PostgresqlDatabase, PooledPostgresqlDatabase 2 | from playhouse.db_url import parse 3 | from playhouse.shortcuts import ReconnectMixin 4 | # 项目库 5 | from settings import DATABASE_URI 6 | from loguru import logger as log 7 | 8 | # {'database': 'trade', 'user': 'root', 'host': 'pg', 'passwd': 'root'} 9 | db_param: dict = parse(DATABASE_URI) 10 | log.debug(f'db_param: {db_param}') 11 | 12 | 13 | class ReconnectPooledPostgresDatabase(ReconnectMixin, PooledPostgresqlDatabase): 14 | pass 15 | 16 | 17 | class ReconnectPostgresDatabase(ReconnectMixin, PostgresqlDatabase): 18 | # 使用 pgbouncer 后,不需使用 PooledPostgresqlDatabase 19 | pass 20 | 21 | 22 | db = ReconnectPostgresDatabase( 23 | database=db_param['database'], 24 | user=db_param['user'], 25 | password=db_param['password'], 26 | host=db_param['host'], 27 | port=db_param['port'], 28 | ) 29 | 30 | 31 | class BaseModel(object): 32 | @classmethod 33 | def create_(cls, **kwargs): 34 | # create 返回 Model 实例 35 | obj = cls.create(**kwargs) 36 | return obj 37 | -------------------------------------------------------------------------------- /src/models/field.py: -------------------------------------------------------------------------------- 1 | from enum import Enum 2 | 3 | 4 | class ModelEnum(Enum): 5 | @classmethod 6 | def choices(cls): 7 | return [(e.value, e.name) for e in cls] 8 | 9 | @classmethod 10 | def values(cls): 11 | for x in cls: 12 | yield x.value 13 | -------------------------------------------------------------------------------- /src/models/mac_account.py: -------------------------------------------------------------------------------- 1 | # 第三方库 2 | import peewee as models 3 | # 项目库 4 | from models import db, BaseModel 5 | 6 | 7 | class MacAccount(models.Model, BaseModel): 8 | class Meta: 9 | database = db 10 | db_table = 'mac_account' 11 | 12 | id = models.AutoField(primary_key=True) 13 | username = models.CharField(max_length=255) 14 | ssid = models.CharField(max_length=255) 15 | ap_mac = models.CharField(max_length=24) # 连接符"-", 全部大写. 5E-DA-F9-68-41-2B 16 | is_enable = models.BooleanField(default=True) 17 | bind_username = models.CharField(max_length=255, null=True) 18 | created_at = models.DateTimeField() 19 | 20 | def __repr__(self): 21 | return self.username 22 | 23 | @classmethod 24 | def get_(cls, username) -> 'MacAccount': 25 | account = cls.get_or_none(username=username) 26 | return account or None 27 | -------------------------------------------------------------------------------- /src/models/platform.py: -------------------------------------------------------------------------------- 1 | # 第三方库 2 | import peewee as models 3 | # 项目库 4 | from models import db, BaseModel 5 | from loguru import logger as log 6 | 7 | 8 | class Platform(models.Model, BaseModel): 9 | class Meta: 10 | database = db 11 | db_table = 'platform' 12 | 13 | id = models.AutoField(primary_key=True) 14 | platform_id = models.BigIntegerField(null=True) 15 | ssid = models.CharField(max_length=255, null=True) 16 | 17 | @classmethod 18 | def get_(cls, platform_id) -> 'Platform': 19 | # 查找用户明文密码 20 | platform = cls.get_or_none(platform_id=platform_id) 21 | if not platform: 22 | log.error(f'get_platform({platform_id}) not exist in db') 23 | 24 | return platform or None 25 | -------------------------------------------------------------------------------- /src/models/speed.py: -------------------------------------------------------------------------------- 1 | # 第三方库 2 | import peewee as models 3 | # 项目库 4 | from models import db, BaseModel 5 | 6 | 7 | class Speed(models.Model, BaseModel): 8 | class Meta: 9 | database = db 10 | db_table = 'speed' 11 | 12 | speed_id = models.AutoField(primary_key=True) 13 | down_avg_rate = models.IntegerField() # unit: Mbps 14 | up_avg_rate = models.BigIntegerField() # unit: Mbps 15 | down_peak_rate = models.BigIntegerField() # unit: Mbps 16 | up_peak_rate = models.BigIntegerField() # unit: Mbps 17 | 18 | @classmethod 19 | def get_(cls, speed_id) -> 'Speed': 20 | speed = cls.get_or_none(speed_id=speed_id) 21 | return speed or None 22 | -------------------------------------------------------------------------------- /src/processor/__init__.py: -------------------------------------------------------------------------------- 1 | import signal 2 | import time 3 | import traceback 4 | from abc import ABC, abstractmethod 5 | # 第三方库 6 | # 项目库 7 | from loguru import logger as log 8 | 9 | 10 | class Task(ABC): 11 | interval = 20 # 单位秒 12 | term = 0 13 | 14 | def __init__(self): 15 | self.signal_register() 16 | 17 | @abstractmethod 18 | def run(self): 19 | pass 20 | 21 | def signal_register(self): 22 | """ 注册信号 """ 23 | signal.signal(signal.SIGINT, self.signal_handler) 24 | signal.signal(signal.SIGTERM, self.signal_handler) 25 | 26 | def signal_handler(self, sig, frame): 27 | if sig in [signal.SIGINT, signal.SIGTERM]: 28 | self.term = 1 29 | 30 | def start(self): 31 | try: 32 | # 消息循环 33 | while not self.term: 34 | self.run() 35 | log.debug(f'sleep {self.interval} seconds') 36 | time.sleep(self.interval) # 睡眠 X 秒 37 | except KeyboardInterrupt: 38 | log.error('KeyboardInterrupt, break') 39 | except Exception: 40 | log.error(traceback.format_exc()) 41 | finally: 42 | log.info(f'exit, term: {self.term}') 43 | -------------------------------------------------------------------------------- /src/pyrad/__init__.py: -------------------------------------------------------------------------------- 1 | """Python RADIUS client code. 2 | 3 | pyrad is an implementation of a RADIUS client as described in RFC2865. 4 | It takes care of all the details like building RADIUS packets, sending 5 | them and decoding responses. 6 | 7 | Here is an example of doing a authentication request:: 8 | 9 | import pyrad.packet 10 | from pyrad.client import Client 11 | from pyrad.dictionary import Dictionary 12 | 13 | srv = Client(server="radius.my.domain", secret="s3cr3t", 14 | dict = Dictionary("dicts/dictionary", "dictionary.acc")) 15 | 16 | req = srv.CreatePacket(code=pyrad.packet.AccessRequest, 17 | User_Name = "wichert", NAS_Identifier="localhost") 18 | req["User-Password"] = req.PwCrypt("password") 19 | 20 | reply = srv.SendPacket(req) 21 | if reply.code = =pyrad.packet.AccessAccept: 22 | print "access accepted" 23 | else: 24 | print "access denied" 25 | 26 | print "Attributes returned by server:" 27 | for i in reply.keys(): 28 | print "%s: %s" % (i, reply[i]) 29 | 30 | 31 | This package contains four modules: 32 | 33 | - client: RADIUS client code 34 | - dictionary: RADIUS attribute dictionary 35 | - packet: a RADIUS packet as send to/from servers 36 | - tools: utility functions 37 | """ 38 | 39 | __docformat__ = 'epytext en' 40 | 41 | __author__ = 'Christian Giese ' 42 | __url__ = 'http://pyrad.readthedocs.io/en/latest/?badge=latest' 43 | __copyright__ = 'Copyright 2002-2023 Wichert Akkerman, Istvan Ruzman and Christian Giese. All rights reserved.' 44 | __version__ = '2.4' 45 | 46 | __all__ = ['client', 'dictionary', 'packet', 'server', 'tools', 'dictfile'] 47 | -------------------------------------------------------------------------------- /src/pyrad/bidict.py: -------------------------------------------------------------------------------- 1 | # bidict.py 2 | # 3 | # Bidirectional map 4 | 5 | 6 | class BiDict(object): 7 | def __init__(self): 8 | self.forward = {} 9 | self.backward = {} 10 | 11 | def Add(self, one, two): 12 | self.forward[one] = two 13 | self.backward[two] = one 14 | 15 | def __len__(self): 16 | return len(self.forward) 17 | 18 | def __getitem__(self, key): 19 | return self.GetForward(key) 20 | 21 | def __delitem__(self, key): 22 | if key in self.forward: 23 | del self.backward[self.forward[key]] 24 | del self.forward[key] 25 | else: 26 | del self.forward[self.backward[key]] 27 | del self.backward[key] 28 | 29 | def GetForward(self, key): 30 | return self.forward[key] 31 | 32 | def HasForward(self, key): 33 | return key in self.forward 34 | 35 | def GetBackward(self, key): 36 | return self.backward[key] 37 | 38 | def HasBackward(self, key): 39 | return key in self.backward 40 | -------------------------------------------------------------------------------- /src/settings.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import os 3 | # 第三方库 4 | import sentry_sdk 5 | # 项目库 6 | from utils.config import config 7 | from loguru import logger as log 8 | 9 | 10 | SENTRY_DSN = config('SENTRY_DSN', mandatory=False) 11 | SENTRY_PROXY = config('SENTRY_PROXY', default='') 12 | sentry_sdk.init( 13 | dsn=SENTRY_DSN, 14 | debug=False, 15 | http_proxy=SENTRY_PROXY, 16 | https_proxy=SENTRY_PROXY, 17 | ) 18 | 19 | RADIUS_DICTIONARY_DIR = config('RADIUS_DICTIONARY_DIR') 20 | RADIUS_SECRET: bytes = str.encode(config('RADIUS_SECRET')) 21 | RADIUS_PORT = config('RADIUS_PORT') 22 | ACCOUNTING_INTERVAL = config('ACCOUNTING_INTERVAL', default=60, cast='@int') 23 | API_URL = config('API_URL') 24 | 25 | # DB 26 | DATABASE_URI = config('DATABASE_URI') 27 | 28 | # Redis 29 | REDIS_HOST = config('REDIS_HOST') 30 | REDIS_PORT = config('REDIS_PORT') 31 | REDIS_PASSWORD = config('REDIS_PASSWORD') 32 | REDIS_DB = config('REDIS_DB') 33 | 34 | # Log 35 | LOG_LEVEL = config('LOG_LEVEL') 36 | # 初始化日志 37 | log.remove() # workaround: https://github.com/Delgan/loguru/issues/208 38 | # log_console_format = "{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {message}" 39 | log_console_format = "{time:YYYY-MM-DD HH:mm:ss.SSS} | {level: <8} | {message}" 40 | log.add(sys.stderr, level=LOG_LEVEL, format=log_console_format, colorize=False) # print log to terminal 41 | log.info(f'Log parameter. Level: {LOG_LEVEL}') 42 | -------------------------------------------------------------------------------- /src/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/src/utils/__init__.py -------------------------------------------------------------------------------- /src/utils/config.py: -------------------------------------------------------------------------------- 1 | import os 2 | from dynaconf import Dynaconf 3 | 4 | 5 | class Config(object): 6 | _settings = Dynaconf( 7 | load_dotenv=True, # 是否读取.env 8 | dotenv_path='/app/.env' if os.path.exists('/app/.env') else '/app/.env.example', 9 | envvar_prefix=False, # 变量变成是否需前缀 10 | dotenv_override=False, # 设置.env配置是否覆盖环境变量 11 | ) 12 | 13 | def __call__(self, key, default=None, cast=None, mandatory=True, fresh=False, dotted_lookup=True, parent=None): 14 | value = self._settings.get(key, default=default, cast=cast, fresh=fresh, dotted_lookup=dotted_lookup, parent=None) 15 | if mandatory and value is None: 16 | raise Exception(f'config key: {key} is missing') 17 | return value 18 | 19 | 20 | config = Config() 21 | -------------------------------------------------------------------------------- /src/utils/decorators.py: -------------------------------------------------------------------------------- 1 | """ 2 | Reference: https://www.liaoxuefeng.com/wiki/1016959663602400/1017451662295584 3 | 1. 装饰器不需传入参数, decorator就是一个返回函数的高阶函数 4 | 2. 装饰器需要传入参数,那就需要编写一个返回decorator的高阶函数 5 | """ 6 | 7 | import traceback 8 | import sentry_sdk 9 | from loguru import logger as log 10 | 11 | 12 | def catch_exception(func): 13 | """ 14 | 捕捉所有异常, 打印日志 15 | """ 16 | def wrapper(*args, **kwargs): 17 | try: 18 | # 调用原函数 19 | return func(*args, **kwargs) 20 | except Exception as e: 21 | log.error(traceback.format_exc()) 22 | sentry_sdk.capture_exception(e) 23 | 24 | return wrapper 25 | -------------------------------------------------------------------------------- /src/utils/feishu.py: -------------------------------------------------------------------------------- 1 | import json 2 | import requests 3 | # 第三方库 4 | from utils.config import config 5 | 6 | 7 | class Feishu(object): 8 | FEISHU_APP_ID = config('FEISHU_APP_ID') 9 | FEISHU_APP_SECRET = config('FEISHU_APP_SECRET') 10 | FEISHU_CHARGE_CHAT_ID = config('FEISHU_CHARGE_CHAT_ID', default='oc_a4bc2f10dd9ec84f08f2bbcaa82e08cd') 11 | FEISHU_MAC_CHAT_ID = config('FEISHU_MAC_CHAT_ID', default='oc_3a7065d01efdb36d949088341aada466') 12 | FEISHU_SESSION_CHAT_ID = config('FEISHU_SESSION_CHAT_ID', default='oc_19b2404bb0917fc066cce1b3a58c3558') 13 | 14 | @classmethod 15 | def send_groud_msg(cls, receiver_id: str, text: str): 16 | data = { 17 | 'app_id': cls.FEISHU_APP_ID, 18 | 'app_secret': cls.FEISHU_APP_SECRET, 19 | } 20 | response = requests.post('https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal/', json=data) 21 | assert response.ok 22 | body = json.loads(response.text) 23 | if body['code'] != 0: 24 | raise Exception('飞书获取access_token失败') 25 | access_token = response.json()['tenant_access_token'] 26 | # 27 | headers = { 28 | 'Authorization': f'Bearer {access_token}' 29 | } 30 | data = { 31 | 'chat_id': receiver_id, 32 | 'msg_type': 'text', 33 | 'content': { 34 | 'text': text, 35 | } 36 | } 37 | response = requests.post('https://open.feishu.cn/open-apis/message/v4/send/', json=data, headers=headers) 38 | assert response.ok 39 | body = json.loads(response.text) 40 | if body['code'] != 0: 41 | raise Exception('信息发送到飞书败') 42 | -------------------------------------------------------------------------------- /src/utils/prometheus.py: -------------------------------------------------------------------------------- 1 | import requests 2 | # 项目库 3 | from utils.config import config 4 | 5 | 6 | class Prometheus(object): 7 | ENDPOINT = config('PROMETHEUS_ENDPOINT', default='http://metric:8428/prometheus/api/v1/import/prometheus') 8 | 9 | @classmethod 10 | def push_metric(cls, metrics: list): 11 | """ 12 | curl -d 'foo{bar="baz"} 111 1746457233000' -X POST http://metric:8428/prometheus/api/v1/import/prometheus 13 | """ 14 | data = '\n'.join(metrics) 15 | headers = { 16 | "Content-Type": "text/plain; charset=utf-8" 17 | } 18 | response = requests.post(cls.ENDPOINT, data=data.encode('utf-8'), headers=headers, timeout=3) 19 | assert response.status_code == 204 20 | -------------------------------------------------------------------------------- /src/utils/redispool.py: -------------------------------------------------------------------------------- 1 | from gevent.queue import LifoQueue 2 | from redis import StrictRedis 3 | from redis.connection import Connection, BlockingConnectionPool 4 | # 项目库 5 | from settings import REDIS_HOST, REDIS_PORT, REDIS_PASSWORD, REDIS_DB 6 | 7 | 8 | class MyBlockingConnectionPool(BlockingConnectionPool): 9 | def __init__(self, max_connections=50, timeout=20, connection_class=Connection, queue_class=LifoQueue, decode_responses=True, **connection_kwargs): 10 | """ 11 | :param max_connections: 12 | :param timeout: Use timeout to tell it either how many seconds to wait for a connection to become available, or to block forever: 13 | :param connection_class: 14 | :param queue_class: 15 | :param decode_responses: automatically convert responses from bytes to strings 16 | :param connection_kwargs: 17 | """ 18 | # workaround: https://github.com/andymccurdy/redis-py/blob/master/redis/connection.py 19 | super().__init__( 20 | max_connections=max_connections, 21 | timeout=timeout, 22 | connection_class=connection_class, 23 | queue_class=queue_class, 24 | decode_responses=decode_responses, 25 | **connection_kwargs, 26 | ) 27 | 28 | 29 | def get_redis() -> StrictRedis: 30 | connection_pool = MyBlockingConnectionPool( 31 | host=REDIS_HOST, 32 | port=REDIS_PORT, 33 | password=REDIS_PASSWORD, 34 | db=REDIS_DB, 35 | socket_timeout=3, 36 | socket_connect_timeout=3, 37 | ) 38 | return StrictRedis(connection_pool=connection_pool) 39 | -------------------------------------------------------------------------------- /tools/gen_access_request_packet.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import sys 3 | sys.path.append("../src") 4 | import binascii 5 | from pyrad.packet import AuthPacket 6 | from pyrad.dictionary import Dictionary 7 | from child_pyrad.dictionary import get_dictionaries 8 | from loguru import logger as log 9 | 10 | 11 | def gen_pap_packet(): 12 | secret = str.encode('testing123') 13 | dict_dir = '../etc/dictionary' 14 | dictionary = Dictionary(*get_dictionaries(dict_dir)) 15 | # 16 | request = AuthPacket(dict=dictionary, secret=secret) 17 | username = sys.argv[1] 18 | log.info(f'username: {username}') 19 | request['User-Name'] = username 20 | request['User-Password'] = 'password' 21 | request['Service-Type'] = 2 22 | packet = request.RequestPacket() 23 | hex_code = binascii.hexlify(packet).decode() 24 | log.info(f'packet: {packet}') 25 | log.info(f'hex: {hex_code}') 26 | 27 | 28 | if __name__ == "__main__": 29 | gen_pap_packet() 30 | -------------------------------------------------------------------------------- /tools/replace_radius_server_in_ac.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | 3 | import sys 4 | radius_server_ip = sys.argv[1] 5 | print(f"\nRadius Server IP: {radius_server_ip}\n") 6 | 7 | msg = f""" 8 | radius dynamic-author client trusted ip {radius_server_ip} 9 | acl number 3001 10 | undo rule 50 11 | rule 50 permit tcp source {radius_server_ip} 0 destination-port eq telnet 12 | quit 13 | radius scheme eap_radius_scheme 14 | primary authentication {radius_server_ip} probe username user_probe interval 12 15 | primary accounting {radius_server_ip} probe username user_probe interval 12 16 | quit 17 | radius scheme eapoff_radius_scheme 18 | primary authentication {radius_server_ip} probe username user_probe interval 12 19 | primary accounting {radius_server_ip} probe username user_probe interval 12 20 | quit 21 | 22 | save f 23 | """ 24 | 25 | print("################# 执行的语句 ########################") 26 | print(msg) 27 | -------------------------------------------------------------------------------- /tools/shell_in_docker.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | set -o verbose 3 | 4 | docker-compose exec auth bin/shell.sh 5 | 6 | -------------------------------------------------------------------------------- /tools/simulator/bin/eapol_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/bin/eapol_test -------------------------------------------------------------------------------- /tools/simulator/bin/gtc.hostapd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/bin/gtc.hostapd -------------------------------------------------------------------------------- /tools/simulator/bin/hostapd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/bin/hostapd -------------------------------------------------------------------------------- /tools/simulator/bin/mschapv2.hostapd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/bin/mschapv2.hostapd -------------------------------------------------------------------------------- /tools/simulator/bin/no_crypto_binding.hostapd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/bin/no_crypto_binding.hostapd -------------------------------------------------------------------------------- /tools/simulator/eap_test/eapol_test.conf.peapv0.gtc: -------------------------------------------------------------------------------- 1 | # 2 | # TODO: raise EAP has invalid length when parse eap identity (username) 3 | # 4 | network={ 5 | eap=PEAP 6 | eapol_flags=0 7 | key_mgmt=IEEE8021X 8 | identity="zhouliying" 9 | password="zhouliying" 10 | ca_cert="/app/tools/simulator/etc/certs/ca.cer.pem" 11 | phase1="peapver=0" 12 | phase2="auth=GTC" 13 | anonymous_identity="anonymous" 14 | } 15 | -------------------------------------------------------------------------------- /tools/simulator/eap_test/eapol_test.conf.peapv0.mschapv2: -------------------------------------------------------------------------------- 1 | network={ 2 | eap=PEAP 3 | eapol_flags=0 4 | key_mgmt=IEEE8021X 5 | identity="zhouliying" 6 | password="zhouliying" 7 | ca_cert="/app/tools/simulator/etc/certs/ca.cer.pem" 8 | phase1="peapver=0" 9 | phase2="auth=MSCHAPV2" 10 | anonymous_identity="anonymous" 11 | } 12 | -------------------------------------------------------------------------------- /tools/simulator/eap_test/eapol_test.conf.peapv1.gtc: -------------------------------------------------------------------------------- 1 | network={ 2 | eap=PEAP 3 | eapol_flags=0 4 | key_mgmt=IEEE8021X 5 | identity="zhouliying" 6 | password="zhouliying" 7 | ca_cert="/app/tools/simulator/etc/certs/ca.cer.pem" 8 | phase1="peapver=1" 9 | phase2="auth=GTC" 10 | anonymous_identity="anonymous" 11 | } 12 | -------------------------------------------------------------------------------- /tools/simulator/eap_test/eapol_test.conf.peapv1.mschapv2: -------------------------------------------------------------------------------- 1 | network={ 2 | eap=PEAP 3 | eapol_flags=0 4 | key_mgmt=IEEE8021X 5 | identity="zhouliying" 6 | password="zhouliying" 7 | ca_cert="/app/tools/simulator/etc/certs/ca.cer.pem" 8 | phase1="peapver=1" 9 | phase2="auth=MSCHAPV2" 10 | anonymous_identity="anonymous" 11 | } 12 | -------------------------------------------------------------------------------- /tools/simulator/eap_test/not_used/eapol_test.conf.tls: -------------------------------------------------------------------------------- 1 | network={ 2 | eap=TLS 3 | eapol_flags=0 4 | key_mgmt=IEEE8021X 5 | identity="testuser" 6 | ca_cert="/app/tools/simulator/etc/certs/ca.cer.pem" 7 | client_cert="/home/gcheng/myCA/testuser_cert.pem" 8 | private_key="/home/gcheng/myCA/testuser_key.pem" 9 | private_key_passwd="whatever" 10 | } 11 | -------------------------------------------------------------------------------- /tools/simulator/eap_test/not_used/eapol_test.conf.ttls_md5: -------------------------------------------------------------------------------- 1 | network={ 2 | eap=TTLS 3 | eapol_flags=0 4 | key_mgmt=IEEE8021X 5 | identity="testuser" 6 | password="password" 7 | ca_cert="/app/tools/simulator/etc/certs/ca.cer.pem" 8 | phase2="auth=MD5" 9 | anonymous_identity="anonymous" 10 | } 11 | -------------------------------------------------------------------------------- /tools/simulator/eap_test/not_used/eapol_test.conf.ttls_mschapv2: -------------------------------------------------------------------------------- 1 | network={ 2 | eap=TTLS 3 | eapol_flags=0 4 | key_mgmt=IEEE8021X 5 | identity="testuser" 6 | password="password" 7 | ca_cert="/app/tools/simulator/etc/certs/ca.cer.pem" 8 | phase2="auth=MSCHAPV2" 9 | anonymous_identity="anonymous" 10 | } 11 | -------------------------------------------------------------------------------- /tools/simulator/etc/.gitignore: -------------------------------------------------------------------------------- 1 | certs/newcerts/ 2 | certs/*.old 3 | certs/*.attr 4 | -------------------------------------------------------------------------------- /tools/simulator/etc/certs/ca.cer: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIID/TCCAuWgAwIBAgIUNti3l1iKdCEURnk+ucRSXN/ZukAwDQYJKoZIhvcNAQEL 3 | BQAwgY0xCzAJBgNVBAYTAkNOMRIwEAYDVQQIDAlHdWFuZ0RvbmcxEjAQBgNVBAcM 4 | CUd1YW5nWmhvdTETMBEGA1UECgwKemh1emFpeXVhbjETMBEGA1UECwwKemh1emFp 5 | eXVhbjENMAsGA1UEAwwEV0lGSTEdMBsGCSqGSIb3DQEJARYOMTAwMEBnbWFpbC5j 6 | b20wHhcNMjQwMTI5MDMzODE4WhcNMzQwMTI2MDMzODE4WjCBjTELMAkGA1UEBhMC 7 | Q04xEjAQBgNVBAgMCUd1YW5nRG9uZzESMBAGA1UEBwwJR3VhbmdaaG91MRMwEQYD 8 | VQQKDAp6aHV6YWl5dWFuMRMwEQYDVQQLDAp6aHV6YWl5dWFuMQ0wCwYDVQQDDARX 9 | SUZJMR0wGwYJKoZIhvcNAQkBFg4xMDAwQGdtYWlsLmNvbTCCASIwDQYJKoZIhvcN 10 | AQEBBQADggEPADCCAQoCggEBALsK8B43E7VMcbWYKYGgbAd+j/44lJzwRGb5PQeg 11 | CstL+W9nlXS934Ox7Rn8towHrUU7UVqeYDmHAaq08oOuoy8xrx8+2gHHtNvYeofX 12 | HukRTm8y5UV1Tb1s5NKCd79VQAEcE3BOD6GYifqUWEMiVsySTd9FT6dVqLkvR2kl 13 | KHBwEyjVS+7EzTCfXs6YFPtVBpCNmPRU+lQjMFkcUYGmGl5cA/XtNcThKxXqn1Aq 14 | W2EhwOj8NenX7WGMYegGE5XVjpkYyH5tddjhAxQIjlhPrd89n/EuruRbQ0rGqyiX 15 | DktfVt5K8dreyaHE1qzckXpQ5CHKdeJM+sfyokUwm4nu20MCAwEAAaNTMFEwHQYD 16 | VR0OBBYEFO3utMHmsConSUc99TB5diaQgquGMB8GA1UdIwQYMBaAFO3utMHmsCon 17 | SUc99TB5diaQgquGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEB 18 | AIEuIiuF8Lqd+IHNkZcf3R9Roijz3LzB4V41AX3hmzeddkWLWnToqE3bNPbCcRoz 19 | BNjMCkgmU1MZO7E77RPfMm9hCu4mO/jPSc30ewnv/MMMhwRXREJwCDluLLZ2qfm/ 20 | /EM1FVEwd6WgSnqpDywlYqk9mkD/+7B7JbgNpE5l5g/e2KmVnjKMCn3nHMIUQtEI 21 | 73GY0aVFS6u7/9DxZf1tNr84ItEjfHg56Awx75A7pD/AiU0+AWv+A7dMPnLCgTjF 22 | uMeoz+jOMPweQO5/1UHOtFXu2NvcRcEdmXAkO2jcdOTF1IE9G8XFgmCon5rFeEH/ 23 | 9GTLoL8L/epVSkmlfjRWLMs= 24 | -----END CERTIFICATE----- 25 | -------------------------------------------------------------------------------- /tools/simulator/etc/certs/ca.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC7CvAeNxO1THG1 3 | mCmBoGwHfo/+OJSc8ERm+T0HoArLS/lvZ5V0vd+Dse0Z/LaMB61FO1FanmA5hwGq 4 | tPKDrqMvMa8fPtoBx7Tb2HqH1x7pEU5vMuVFdU29bOTSgne/VUABHBNwTg+hmIn6 5 | lFhDIlbMkk3fRU+nVai5L0dpJShwcBMo1UvuxM0wn17OmBT7VQaQjZj0VPpUIzBZ 6 | HFGBphpeXAP17TXE4SsV6p9QKlthIcDo/DXp1+1hjGHoBhOV1Y6ZGMh+bXXY4QMU 7 | CI5YT63fPZ/xLq7kW0NKxqsolw5LX1beSvHa3smhxNas3JF6UOQhynXiTPrH8qJF 8 | MJuJ7ttDAgMBAAECggEADpAC8u9J1wc9ISzYKnIBhzHY5yujknZ4dOX51PKmdH6V 9 | TJGthrnTwa6kLa5Jziw41teP9XS4PDJhNFfDO/JoXR/KqS2dDp9sWuOHYrUigHXq 10 | ++hkBlzkMRfd1u/2f8yU36E+eDNzrxqvv3U2S//L70CC1JvSYE5ghQ6DylFszRgi 11 | ZJj79vYUvzeXpNpGhcyge7ug2rsCuJbqb0mVRfe/azKxRi3aPqqce2mG7PDNzEt/ 12 | IkFm/lw+plfKZrcIiTv96UlcubMzzpf3yC0FBZxvfqHsJaa7/GzdNaIQmUa4uVmJ 13 | t/XukFAP1a+yTGKlh/0ukRgJb2O51seIOvgD17woAQKBgQD4Zj1HOvBuT0m8LV+I 14 | uAUcpwIizzlt1Jbq4dzBM00TIZU5eGgcWmepfkt2k/pN7Nzh3+vqZl0tu4OyMrT+ 15 | aR6LCVU6qvyLR3Cuh4KmOAy057NqxAtLxuVShF5tZG99CTLTRd9QArzJwWaoXFLw 16 | h9RztEa+cBIqibfWZFtS5H5IAQKBgQDAxBR9nlQsCqI6oIXEoHkdi7fvI/xLXuEi 17 | nIzGSbsehQsAIUxiXUL8yYRM6Q35YXCf1O8Ezw0F6MpCwrc+jX6J4br5XYqt0hiW 18 | Kn95kQybPkK/3ycRYLKxAdi9PB+j6zA/logNmbAnLGBJ9HnHWL/+BeFPXoEXnJvT 19 | 2wA9cgoDQwKBgC+MWpSE+rsS4FluEgh4uTnH2kfRhPu6Iv1pKLmu2UUdO5RZsQwk 20 | Xg16yHU1VEeQXKO8GkuvNoznhQkaXb0JYDhbG/5z9o2uqioudFrfBcenRpfcWREz 21 | THhkMDMec5zqotkAWgPV0k+Ift8hdRrn1UokqxoPF9seq5sVcMnIRUgBAoGBAJ9O 22 | LKT4ARX4n8OVv5cVC6LoQdUHR0y+l450FD8W1eZOCx5LZoXwDxk8LPMms17CMUJV 23 | xkaSGnAkx2rO4oN2ifnHLC9DKAWomJsZegnsXp+5n45UDERnRqXUIduZ4YglKNWU 24 | QNIEjjiBiv3zZeTiKqDzGRXvwv3RdlJqLdOZ+D5jAoGBAOkqxSbPDBZ9EfjdLQpv 25 | I06x7Y9ZYlSgSROv263K8QIs5+4/N/cdEsaNioGKfqh4Yp6FuqYcDv+7fDNcz4iS 26 | i7M2GabuFa7Cci//0XlksVy3yorAN/TeWnREy0UW+LkjP0kOOp21aTLgLiWaf26M 27 | uJlUwpqyWqXfF5eBIDjTU26s 28 | -----END PRIVATE KEY----- 29 | -------------------------------------------------------------------------------- /tools/simulator/etc/certs/dh: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIIBDAKCAQEA/vZyyu0RlRuBiWQD5wGVbzl+5MJFGgXOp8degAMROcPd61E7qRpz 3 | KE3L7jdDAds2SE7eoLGRJrSu3Y1uvuBg5cYdPe+/XNTZ/MSp1itrMVRHyRU+nAM5 4 | Im1Th8/paT3Ps+LywLVSrpn/hqdLu353fnMVL+d6pnryPUUEPoA+iXvddUc8tPb3 5 | AR03LEjNHecvgr3L7RFt0ElrFEukqyy5METYfvLpqy1WoOYqh/CCXDBG222omjWJ 6 | 3iYBNhwUZYII8iNGYUWrprp2c1BOkqA0mR385qPK6uf2GBVk43BG/N8c4XFJOy+I 7 | FfEA2Et9OCaC3VyeJiR9I/zA1wHbvrjn3wIBAgICAOE= 8 | -----END DH PARAMETERS----- 9 | -------------------------------------------------------------------------------- /tools/simulator/etc/certs/index.txt: -------------------------------------------------------------------------------- 1 | V 340126034054Z 01 unknown /C=CN/ST=GuangDong/O=zhuzaiyuan/OU=zhuzaiyuan/CN=WIFI/emailAddress=1000@gmail.com 2 | -------------------------------------------------------------------------------- /tools/simulator/etc/certs/serial: -------------------------------------------------------------------------------- 1 | 02 2 | -------------------------------------------------------------------------------- /tools/simulator/etc/certs/server.csr: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE REQUEST----- 2 | MIIC0zCCAbsCAQAwgY0xCzAJBgNVBAYTAkNOMRIwEAYDVQQIDAlHdWFuZ0Rvbmcx 3 | EjAQBgNVBAcMCUd1YW5nWmhvdTETMBEGA1UECgwKemh1emFpeXVhbjETMBEGA1UE 4 | CwwKemh1emFpeXVhbjENMAsGA1UEAwwEV0lGSTEdMBsGCSqGSIb3DQEJARYOMTAw 5 | MEBnbWFpbC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtvRtr 6 | 8649IJ2vWHIgYsy1454cnlohhmsGk33ObZP8B49aiFF9C1axA7BtlOQIYQn43aYY 7 | GsRt9y89MQAjmjtrKTeoovN7/86cBJ5nIXeBz66H3uA9TdFG6vqiCFHrCsNm2KAs 8 | OfOlD6azifOzFxgvbNCoDjwCO0z3bMMJgGcO71MS2kl2momW1QF+uHUegNcKD8iz 9 | 2VibzIe1tcci9VsO1gmqO19h7U8mLniPLnjEhtvUrzs6vf3wwi63pURLKpNl2d0E 10 | nVTV7808M9KExfTqwAYKwO25nVpzUvqwuNwgtVuMACnK/lDQ8klPtm7yBCOwvPn2 11 | txeQPnamx9c8g1xxAgMBAAGgADANBgkqhkiG9w0BAQsFAAOCAQEAN1H7MuUehfzx 12 | hDrdgu14U7QLWbcryt+D6yPaCZU8Dx5Evgp+dAmG+03sEvoW5+/EBxOTIOjB4SOv 13 | bvV8wKlaTKHEWlvq4vZ9XLfDf3jf9DIXA0x1ml9/Fk603Cp05GjAxeUc+y8KRsW1 14 | eNEK4eCtq3URzch3NWVxx78w2K7+gI72v07FEU8pFcLfvIVUZzaxKlx0PYJ46tb4 15 | WrVThj0bt+Qg5GErqO6g2MT58o8hzhxno0h3C1cY6CgmELMY2FhewTlNeR+fSJHi 16 | h8M5Zs3fQfRX9w5lbI+scrK2rJ3P6+ysQ1i4+qJcLSvUaegRiFtxrybOLl96X3j5 17 | CEa67+F34A== 18 | -----END CERTIFICATE REQUEST----- 19 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/Makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Scripts to format dictionary files. 3 | # 4 | # $Id: d3b199c507e20c7f3d95beeeefc5c4274a4eecd0 $ 5 | # 6 | 7 | # 8 | # This should only be run by hand, and then sanity checked by hand! 9 | # 10 | format: $(wildcard dictionary*) 11 | @for x in $(wildcard dictionary*) ; do \ 12 | ./format.pl $$x; \ 13 | done 14 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dct2fr: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | 3 | # 4 | # Horrible hack to convert Funk dictionaries to FreeRADIUS ones. 5 | # 6 | # It won't convert everything, and the files still need to be 7 | # edited afterwards, but it's a start. 8 | # 9 | # ./dct2fr foo.dct > dictionary.foo 10 | # vi dictionary.foo 11 | # replace 'foo' with the real vendor name 12 | # ./format.pl dictionary.foo 13 | # 14 | 15 | while (<>) { 16 | if (/^MACRO\s+([^ \t\(]+)\(t,s\)\s+26\s+\[vid=(\d+)\s+type1=\%t\%\s+len1=\+2\s+data=\%s\%/) { 17 | $name = $1; 18 | $vendor = $2; 19 | 20 | print "VENDOR foo $2\n"; 21 | print "BEGIN-VENDOR foo\n"; 22 | } 23 | 24 | # if (/^ATTRIBUTE\s+([^ \t]+)\s+$name\s*\((\d+),s+(\w+)\)/i) { 25 | 26 | if (/^ATTRIBUTE\s+([^ \t]+)\s+$name\s*\((\d+)\s*,\s*(\w+)/i) { 27 | print "ATTRIBUTE $1 $2 $3\n"; 28 | } 29 | } 30 | 31 | print "END-VENDOR foo\n"; 32 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.3com: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # 3com SuperStack Firewall dictionary 6 | # Bought from Sonicwall, apparently, from Enterprise number 8741. 7 | # 8 | # $Id: 19353871f3e35469bca89cbfe7dc815675e98942 $ 9 | # 10 | 11 | VENDOR 3com 43 12 | 13 | # 14 | # These attributes contain the access-level value. 15 | # 16 | BEGIN-VENDOR 3com 17 | 18 | ATTRIBUTE 3Com-User-Access-Level 1 integer 19 | 20 | # Read-only access to basic network tools (ping, etc) 21 | VALUE 3Com-User-Access-Level 3Com-Visitor 0 22 | 23 | # Read-only access to manageable (not security) parameters 24 | VALUE 3Com-User-Access-Level 3Com-Monitor 1 25 | 26 | # Read-write access to manageable (not security) parameters 27 | VALUE 3Com-User-Access-Level 3Com-Manager 2 28 | 29 | # Read-write access to all manageable parameters 30 | VALUE 3Com-User-Access-Level 3Com-Administrator 3 31 | 32 | ATTRIBUTE 3Com-VLAN-Name 2 string 33 | ATTRIBUTE 3Com-Mobility-Profile 3 string 34 | ATTRIBUTE 3Com-Encryption-Type 4 string 35 | ATTRIBUTE 3Com-Time-Of-Day 5 string 36 | ATTRIBUTE 3Com-SSID 6 string 37 | 38 | # String formatted as: YY/MM/DD-HH:MM 39 | # NOT as a "date" attribute! 40 | ATTRIBUTE 3Com-End-Date 7 string 41 | 42 | # Commented out, because the 3Com documentation 43 | # gives it the same number as End-Date, above. 44 | #ATTRIBUTE 3Com-Start-Date 7 string 45 | 46 | # URL where the user is redirected after WebAAA 47 | ATTRIBUTE 3Com-URL 8 string 48 | 49 | ATTRIBUTE 3Com-Connect_Id 26 integer 50 | ATTRIBUTE 3Com-NAS-Startup-Timestamp 59 integer 51 | ATTRIBUTE 3Com-Ip-Host-Addr 60 string 52 | ATTRIBUTE 3Com-Product-ID 255 string 53 | 54 | END-VENDOR 3com 55 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.actelis: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Actelis dictionary 8 | # 9 | # $Id: e0710539f3a6a5df2fe8f47346ffab6900b5072b $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Actelis 5468 14 | 15 | BEGIN-VENDOR Actelis 16 | 17 | ATTRIBUTE Actelis-Privilege 1 string 18 | 19 | END-VENDOR Actelis 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.adtran: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | 6 | VENDOR Adtran 664 7 | 8 | BEGIN-VENDOR Adtran 9 | 10 | # Managed WiFi attributes 11 | 12 | ATTRIBUTE Adtran-AP-Name 100 string 13 | ATTRIBUTE Adtran-AP-IP 101 ipaddr 14 | ATTRIBUTE Adtran-AP-Template 102 string 15 | ATTRIBUTE Adtran-SSID 103 string 16 | ATTRIBUTE Adtran-Role 104 string 17 | 18 | END-VENDOR Adtran 19 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.airespace: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # As found on the net. 6 | # 7 | # $Id: 1a49ec651fac41bd3aa620d3a75b467d863ea071 $ 8 | # 9 | VENDOR Airespace 14179 10 | 11 | BEGIN-VENDOR Airespace 12 | ATTRIBUTE Airespace-Wlan-Id 1 integer 13 | ATTRIBUTE Airespace-QOS-Level 2 integer 14 | ATTRIBUTE Airespace-DSCP 3 integer 15 | ATTRIBUTE Airespace-8021p-Tag 4 integer 16 | ATTRIBUTE Airespace-Interface-Name 5 string 17 | ATTRIBUTE Airespace-ACL-Name 6 string 18 | ATTRIBUTE Airespace-Data-Bandwidth-Average-Contract 7 integer 19 | ATTRIBUTE Airespace-Real-Time-Bandwidth-Average-Contract 8 integer 20 | ATTRIBUTE Airespace-Data-Bandwidth-Burst-Contract 9 integer 21 | ATTRIBUTE Airespace-Real-Time-Bandwidth-Burst-Contract 10 integer 22 | ATTRIBUTE Airespace-Guest-Role-Name 11 string 23 | ATTRIBUTE Airespace-Data-Bandwidth-Average-Contract-Upstream 13 integer 24 | ATTRIBUTE Airespace-Real-Time-Bandwidth-Average-Contract-Upstream 14 integer 25 | ATTRIBUTE Airespace-Data-Bandwidth-Burst-Contract-Upstream 15 integer 26 | ATTRIBUTE Airespace-Real-Time-Bandwidth-Burst-Contract-Upstream 16 integer 27 | 28 | VALUE Airespace-QOS-Level Bronze 3 29 | VALUE Airespace-QOS-Level Silver 0 30 | VALUE Airespace-QOS-Level Gold 1 31 | VALUE Airespace-QOS-Level Platinum 2 32 | 33 | END-VENDOR Airespace 34 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.alteon: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Alteon Webswitch 6 | # 7 | # $Id: 96f0b8690f7bca485151548c213981396ee5c9ca $ 8 | # 9 | VENDOR Alteon 1872 10 | 11 | BEGIN-VENDOR Alteon 12 | 13 | ATTRIBUTE Alteon-Group-Mapping 1 string 14 | ATTRIBUTE Alteon-VPN-Id 3 integer 15 | ATTRIBUTE Alteon-Client-IP-Address 4 ipaddr 16 | ATTRIBUTE Alteon-Client-Netmask 5 ipaddr 17 | ATTRIBUTE Alteon-Primary-NBNS-Server 6 ipaddr 18 | ATTRIBUTE Alteon-Secondary-NBNS-Server 7 ipaddr 19 | ATTRIBUTE Alteon-Primary-DNS-Server 8 ipaddr 20 | ATTRIBUTE Alteon-Secondary-DNS-Server 9 ipaddr 21 | ATTRIBUTE Alteon-Domain-Name 10 string 22 | 23 | ATTRIBUTE Alteon-Service-Type 26 integer 24 | 25 | VALUE Alteon-Service-Type Alteon-L4admin 250 26 | VALUE Alteon-Service-Type Alteon-Slbadmin 251 27 | VALUE Alteon-Service-Type Alteon-Oper 252 28 | VALUE Alteon-Service-Type Alteon-L4oper 253 29 | VALUE Alteon-Service-Type Alteon-Slboper 254 30 | VALUE Alteon-Service-Type Alteon-User 255 31 | 32 | END-VENDOR Alteon 33 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.alvarion.wimax.v2_2: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Alvarion VSAs for use with Alvarion WiMAX ASN-GW 8 | # 9 | # This does conflict with the default Alvarion dictionary file included 10 | # with FreeRADIUS and may break existing functionality if the current 11 | # dictionaries are used to support an existing Alvarion Breezecom or 12 | # Breezenet installation. 13 | # 14 | # $Id: 9431766abddfc23c8a9a1e5b28bc796ebaf2c159 $ 15 | # 16 | ############################################################################## 17 | 18 | VENDOR Alvarion 12394 19 | 20 | BEGIN-VENDOR Alvarion 21 | 22 | ATTRIBUTE Alvarion-R3-IF-Descriptor 1 tlv 23 | ATTRIBUTE Alvarion-R3-IF-Name 1.1 string 24 | ATTRIBUTE Alvarion-R3-IF-ID 1.2 integer 25 | ATTRIBUTE Alvarion-PDFID 1.3 short 26 | ATTRIBUTE Alvarion-IPv4-Address 1.4 ipaddr 27 | # IPv4 subnet mask plus bit-width mask 28 | ATTRIBUTE Alvarion-IPv4-Netmask 1.5 octets 29 | ATTRIBUTE Alvarion-DGW-IPv4-Address 1.6 ipaddr 30 | 31 | # Container for DHCP options delivery in DHCP Proxy mode. 32 | ATTRIBUTE Alvarion-DHCP-Option 2 tlv 33 | ATTRIBUTE Alvarion-Ref-R3-IF-Name 2.1 string 34 | ATTRIBUTE Alvarion-DHCP-Option-Container 2.2 string 35 | 36 | END-VENDOR Alvarion 37 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.apc: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################# 6 | # 7 | # http://nam-en.apc.com/cgi-bin/nam_en.cfg/php/enduser/std_adp.php?p_faqid=8012 8 | # 9 | # $Id: e603360368bc9bc3ab7cfa4a7543426c109f72b5 $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR APC 318 14 | 15 | BEGIN-VENDOR APC 16 | 17 | ATTRIBUTE APC-Service-Type 1 integer 18 | ATTRIBUTE APC-Outlets 2 string 19 | ATTRIBUTE APC-Perms 3 string 20 | ATTRIBUTE APC-Username 4 string 21 | ATTRIBUTE APC-Contact 5 string 22 | ATTRIBUTE APC-ACCPX-Doors 6 string 23 | ATTRIBUTE APC-ACCPX-Status 7 string 24 | ATTRIBUTE APC-ACCPX-Access1 8 string 25 | ATTRIBUTE APC-ACCPX-Access2 9 string 26 | ATTRIBUTE APC-ACCPX-Access3 10 string 27 | ATTRIBUTE APC-ACCPX-Access4 11 string 28 | ATTRIBUTE APC-ACCPX-Access5 12 string 29 | ATTRIBUTE APC-ACCPX-Access6 13 string 30 | ATTRIBUTE APC-ACCPX-Access7 14 string 31 | 32 | VALUE APC-Service-Type Admin 1 33 | VALUE APC-Service-Type Device 2 34 | VALUE APC-Service-Type ReadOnly 3 35 | VALUE APC-Service-Type Outlet 4 36 | VALUE APC-Service-Type Card 5 37 | 38 | END-VENDOR APC 39 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.arbor: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Arbor networks. 8 | # 9 | # $Id: 8ac3a0716ec0bb3b645eeb87699d911a9cfe9c22 $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Arbor 9694 14 | 15 | BEGIN-VENDOR Arbor 16 | 17 | # Arbor-Privilege-Level = "system_admin or system_analyst or system_user" 18 | 19 | ATTRIBUTE Arbor-Privilege-Level 1 string 20 | 21 | END-VENDOR Arbor 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.arista: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2020 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # Version $Id: b7310e07d6ed02791198f832fe75c41959c514de $ 5 | ############################################################################## 6 | # 7 | # Arista VSAs 8 | # https://eos.arista.com/common-aaa-requirements/ 9 | # 10 | ############################################################################## 11 | 12 | VENDOR Arista 30065 13 | BEGIN-VENDOR Arista 14 | 15 | ATTRIBUTE Arista-AVPair 1 string 16 | ATTRIBUTE Arista-User-Priv-Level 2 integer 17 | ATTRIBUTE Arista-User-Role 3 string 18 | ATTRIBUTE Arista-CVP-Role 4 string 19 | ATTRIBUTE Arista-Command 5 string 20 | ATTRIBUTE Arista-WebAuth 6 integer 21 | ATTRIBUTE Arista-BlockMac 7 string 22 | ATTRIBUTE Arista-UnblockMac 8 string 23 | ATTRIBUTE Arista-PortFlap 9 integer 24 | 25 | VALUE Arista-WebAuth start 0 26 | VALUE Arista-WebAuth complete 1 27 | 28 | END-VENDOR Arista 29 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.audiocodes: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Audiocodes 8 | # 9 | # http://www.audiocodes.com/filehandler.ashx?fileid=36358 10 | # 11 | # $Id: 1ce23b3d4a281658fcb3c68598b0105fcd717d5f $ 12 | # 13 | ############################################################################## 14 | 15 | VENDOR AudioCodes 5003 16 | BEGIN-VENDOR AudioCodes 17 | 18 | ATTRIBUTE ACL-Auth-Level 35 integer 19 | VALUE ACL-Auth-Level ACL-Auth-UserLevel 50 20 | VALUE ACL-Auth-Level ACL-Auth-AdminLevel 100 21 | VALUE ACL-Auth-Level ACL-Auth-SecurityAdminLevel 200 22 | 23 | END-VENDOR AudioCodes 24 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.avaya: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Avaya P330 dictionary file 6 | # $Id: f51664b3afbf2de8d9785566f12281cb6b7b8f40 $ 7 | # 8 | # http://support.avaya.com/elmodocs2/p330/P330/Configuring%20FreeRadius.pdf 9 | # 10 | 11 | VENDOR Cajun_p330 2167 12 | BEGIN-VENDOR Cajun_p330 13 | 14 | ATTRIBUTE Cajun-Service-Type 1 integer 15 | 16 | VALUE Cajun-Service-Type Cajun-Read-Only-User 1 17 | VALUE Cajun-Service-Type Cajun-Read-Write-User 2 18 | VALUE Cajun-Service-Type Cajun-Admin-User 3 19 | 20 | ATTRIBUTE Avaya-StaticVlan-Type 12 string 21 | ATTRIBUTE Avaya-PortPriority-Type 13 integer 22 | 23 | VALUE Avaya-PortPriority-Type Type-0 0 24 | VALUE Avaya-PortPriority-Type Type-1 1 25 | VALUE Avaya-PortPriority-Type Type-2 2 26 | VALUE Avaya-PortPriority-Type Type-3 3 27 | VALUE Avaya-PortPriority-Type Type-4 4 28 | VALUE Avaya-PortPriority-Type Type-5 5 29 | VALUE Avaya-PortPriority-Type Type-6 6 30 | VALUE Avaya-PortPriority-Type Type-7 7 31 | 32 | END-VENDOR Cajun_p330 33 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.bigswitch: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ###################################################################### 6 | # Big Switch Networks (BSN) Dictionary 7 | # Author: Nitin Madhok 8 | # Version: $Id: e6c4ccd3761a65d00466ec5f9462520a65c25383 $ 9 | ###################################################################### 10 | 11 | VENDOR Big-Switch-Networks 37538 12 | BEGIN-VENDOR Big-Switch-Networks 13 | 14 | ATTRIBUTE BSN-User-Role 1 string 15 | ATTRIBUTE BSN-AVPair 2 string 16 | 17 | END-VENDOR Big-Switch-Networks 18 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.bluecoat: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # BlueCoat VSAs 8 | # 9 | # See also dictionary.packeteer for former Packeteer products. 10 | # 11 | # $Id: 0af3c51c3b88dc7ed375311582d0c34fb1ec6b33 $ 12 | # 13 | ############################################################################## 14 | 15 | VENDOR BlueCoat 14501 16 | 17 | BEGIN-VENDOR BlueCoat 18 | 19 | # Accepts multiple groups as comma-separated list. 20 | ATTRIBUTE Blue-Coat-Group 1 string 21 | ATTRIBUTE Blue-Coat-Authorization 2 integer 22 | 23 | VALUE Blue-Coat-Authorization No-Access 0 24 | VALUE Blue-Coat-Authorization Read-Only-Access 1 25 | VALUE Blue-Coat-Authorization Read-Write-Access 2 26 | 27 | END-VENDOR BlueCoat 28 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.boingo: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # Boingo Wi-Fi - http://www.boingo.com/ 7 | # 8 | # Version: $Id: 9 | # 10 | # Jorge Pereira 11 | # 12 | ############################################################################## 13 | 14 | VENDOR Boingo 22472 15 | 16 | BEGIN-VENDOR Boingo 17 | 18 | ATTRIBUTE BW-Venue-Id 7 string 19 | ATTRIBUTE BW-Venue-TZ 8 string 20 | ATTRIBUTE BW-Service-Type 9 string 21 | ATTRIBUTE BW-Class 10 string 22 | ATTRIBUTE BW-Venue-Description 11 string 23 | ATTRIBUTE BW-Venue-Price-Type 12 string 24 | ATTRIBUTE BW-Venue-Port-Type 13 string 25 | ATTRIBUTE BW-ISO-Country-Code 14 string 26 | ATTRIBUTE BW-e164-Country-Code 15 string 27 | ATTRIBUTE BW-State-Name 16 string 28 | ATTRIBUTE BW-City-Name 17 string 29 | ATTRIBUTE BW-Area-Code 18 integer 30 | ATTRIBUTE CL-Brand 19 string 31 | ATTRIBUTE CL-Software-Version 20 string 32 | ATTRIBUTE CL-Reg-Number 21 string 33 | ATTRIBUTE CL-Method-Version 22 string 34 | ATTRIBUTE CL-Token-Version 23 string 35 | ATTRIBUTE CL-APDB-Version 24 string 36 | ATTRIBUTE CL-User-Agent 25 string 37 | ATTRIBUTE CL-SSC 26 string 38 | ATTRIBUTE BW-User-Group 27 string 39 | ATTRIBUTE BW-Venue-Name 29 string 40 | ATTRIBUTE BW-Category 30 string 41 | ATTRIBUTE BW-User-Role 32 string 42 | ATTRIBUTE BW-User-Name 33 string 43 | ATTRIBUTE BW-User-Password 34 string 44 | ATTRIBUTE BW-User-Prefix 35 string 45 | ATTRIBUTE BW-User-Realm 36 string 46 | ATTRIBUTE BW-Operator-Name 37 string 47 | 48 | END-VENDOR Boingo 49 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.bristol: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # RoamNode VSA's 6 | # 7 | # Version: $Id: d2fe1f1199d369f960a2a3da36ebd77ae062dcd3 $ 8 | # 9 | 10 | VENDOR Bristol 4363 11 | 12 | # 13 | # Standard attribute 14 | # 15 | BEGIN-VENDOR Bristol 16 | 17 | ATTRIBUTE NN-Data-Rate 1 integer 18 | ATTRIBUTE NN-Data-Rate-Ceiling 2 integer 19 | ATTRIBUTE NN-Homenode 3 ipaddr 20 | ATTRIBUTE NN-Homeservice 4 ipaddr 21 | ATTRIBUTE NN-Homeservice-Name 5 string 22 | 23 | END-VENDOR Bristol 24 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.brocade: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | VENDOR Brocade 1588 6 | BEGIN-VENDOR Brocade 7 | 8 | ATTRIBUTE Brocade-Auth-Role 1 string 9 | # Valid attribute values: 10 | # Admin BasicSwitchAdmin FabricAdmin Operator 11 | # SecurityAdmin SwitchAdmin User ZoneAdmin 12 | 13 | ATTRIBUTE Brocade-AVPairs1 2 string 14 | ATTRIBUTE Brocade-AVPairs2 3 string 15 | ATTRIBUTE Brocade-AVPairs3 4 string 16 | ATTRIBUTE Brocade-AVPairs4 5 string 17 | # Brocade-AVPairs1/2/3/4: 18 | # Optional, specifies Admin Domain or Virtual Fabric List 19 | 20 | ATTRIBUTE Brocade-Passwd-ExpiryDate 6 string # Format: MM/DD/YYYY 21 | ATTRIBUTE Brocade-Passwd-WarnPeriod 7 string # Format: integer in days 22 | 23 | END-VENDOR Brocade 24 | 25 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.bskyb: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # British Sky Broadcasting Group plc VSA's 8 | # 9 | # $Id: 2415970f42892a58aa9d3020dae4984258f7a9ea $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR BSkyB 16924 14 | 15 | BEGIN-VENDOR BSkyB 16 | 17 | ATTRIBUTE Sky-Wifi-AP-ID 1 integer 18 | ATTRIBUTE Sky-Wifi-Service-ID 2 integer 19 | ATTRIBUTE Sky-Wifi-Filter-Profile 3 string 20 | ATTRIBUTE Sky-Wifi-Billing-Class 4 octets 21 | ATTRIBUTE Sky-Wifi-Provider-ID 5 integer 22 | ATTRIBUTE Sky-Wifi-Credentials 6 string 23 | 24 | END-VENDOR BSkyB 25 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.bt: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # British Telecom VSA's 8 | # 9 | # $Id: 61c2ddec252e6ae3392bb72ff42f754ee1f83867 $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR BT 594 14 | 15 | BEGIN-VENDOR BT 16 | 17 | ATTRIBUTE SID-Auth 1 string 18 | 19 | END-VENDOR BT 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.cabletron: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # http://www.cabletron.com (now http://www.enterasys.com) 6 | # $Id: 5bd6f4daebe46e0f6c9b023044600788d880e52d $ 7 | # 8 | 9 | VENDOR Cabletron 52 10 | 11 | BEGIN-VENDOR Cabletron 12 | 13 | ATTRIBUTE Cabletron-Protocol-Enable 201 integer 14 | ATTRIBUTE Cabletron-Protocol-Callable 202 integer 15 | 16 | VALUE Cabletron-Protocol-Enable IP-Enable 1 17 | VALUE Cabletron-Protocol-Enable Bridge-Enable 2 18 | VALUE Cabletron-Protocol-Enable IP-BR-Enable 3 19 | VALUE Cabletron-Protocol-Enable BR-IPX-Enable 6 20 | VALUE Cabletron-Protocol-Enable IP-BR-IPX-Enable 7 21 | 22 | VALUE Cabletron-Protocol-Callable IP-Callable 1 23 | VALUE Cabletron-Protocol-Callable Bridge-Callable 2 24 | VALUE Cabletron-Protocol-Callable IP-BR-Callable 3 25 | VALUE Cabletron-Protocol-Callable BR-IPX-Callable 6 26 | VALUE Cabletron-Protocol-Callable IP-BR-IPX-Callable 7 27 | 28 | END-VENDOR Cabletron 29 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.camiant: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Tekelec (Formerly Camiant) MSR dictionary 8 | # http://www.tekelec.com/products/policy-management.asp 9 | # 10 | ############################################################################## 11 | 12 | VENDOR Camiant 21274 13 | 14 | BEGIN-VENDOR Camiant 15 | 16 | ATTRIBUTE Camiant-MI-role 1 string 17 | ATTRIBUTE Camiant-SUI-role 2 integer 18 | ATTRIBUTE Camiant-MI-scope 3 string 19 | 20 | VALUE Camiant-SUI-role camiantView 101 21 | VALUE Camiant-SUI-role camiantUser 102 22 | VALUE Camiant-SUI-role camiantService 104 23 | 24 | END-VENDOR Camiant 25 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.checkpoint: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 2 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 3 | # 4 | # Check Point dictionary file for freeradius AAA server 5 | # 6 | VENDOR CheckPoint 2620 7 | 8 | BEGIN-VENDOR CheckPoint 9 | 10 | ATTRIBUTE CP-Gaia-User-Role 229 string 11 | ATTRIBUTE CP-Gaia-SuperUser-Access 230 integer 12 | 13 | END-VENDOR CheckPoint 14 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.chillispot: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # ChilliSpot (and CoovaChilli) captive portal 8 | # http://www.chillispot.org 9 | # http://coova.org/wiki/index.php/CoovaChilli 10 | # 11 | # $Id: c086a0790f2151b24f0d64c3e466eba18643891e $ 12 | # 13 | ############################################################################## 14 | 15 | VENDOR ChilliSpot 14559 16 | 17 | BEGIN-VENDOR ChilliSpot 18 | 19 | ATTRIBUTE ChilliSpot-Max-Input-Octets 1 integer 20 | ATTRIBUTE ChilliSpot-Max-Output-Octets 2 integer 21 | ATTRIBUTE ChilliSpot-Max-Total-Octets 3 integer 22 | ATTRIBUTE ChilliSpot-Bandwidth-Max-Up 4 integer 23 | ATTRIBUTE ChilliSpot-Bandwidth-Max-Down 5 integer 24 | ATTRIBUTE ChilliSpot-Config 6 string 25 | ATTRIBUTE ChilliSpot-Lang 7 string 26 | ATTRIBUTE ChilliSpot-Version 8 string 27 | ATTRIBUTE ChilliSpot-OriginalURL 9 string 28 | 29 | # Configuration management parameters (ChilliSpot Only) 30 | ATTRIBUTE ChilliSpot-UAM-Allowed 100 string 31 | ATTRIBUTE ChilliSpot-MAC-Allowed 101 string 32 | ATTRIBUTE ChilliSpot-Interval 102 integer 33 | 34 | # Inline with RFC 2882 use of VSE-Authorize-Only for remote config 35 | # Note that 14559 = 0x38df is used as prefix for the VSE. 36 | # This is recognized as the best (but bad) way of doing VSEs. 37 | # (ChilliSpot Only - CoovaChilli uses Service-Type = Administrative-User) 38 | VALUE Service-Type ChilliSpot-Authorize-Only 0x38df0001 39 | 40 | END-VENDOR ChilliSpot 41 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.cisco.bbsm: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Cisco Building Broadband Service Manager Dictionary 6 | # 7 | # http://www.cisco.com/univercd/cc/td/doc/product/access/acs_soft/csacs4nt/csnt30/user/ad.htm 8 | # 9 | # $Id: 4efbca65cde4a2c37ed69eb1380befe087cb909f $ 10 | # 11 | VENDOR Cisco-BBSM 5263 12 | 13 | BEGIN-VENDOR Cisco-BBSM 14 | ATTRIBUTE CBBSM-Bandwidth 1 integer 15 | END-VENDOR Cisco-BBSM 16 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.cisco.vpn5000: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Cisco VPN 5000 Concentrator Dictionary 6 | # 7 | # http://www.cisco.com/univercd/cc/td/doc/product/access/acs_soft/csacs4nt/csnt30/user/ad.htm 8 | # 9 | # $Id: 70906eda6473a2ec193aaa8243564193ab759480 $ 10 | # 11 | VENDOR Cisco-VPN5000 255 12 | 13 | BEGIN-VENDOR Cisco-VPN5000 14 | ATTRIBUTE CVPN5000-Tunnel-Throughput 1 integer 15 | ATTRIBUTE CVPN5000-Client-Assigned-IP 2 string 16 | ATTRIBUTE CVPN5000-Client-Real-IP 3 string 17 | ATTRIBUTE CVPN5000-VPN-GroupInfo 4 string 18 | ATTRIBUTE CVPN5000-VPN-Password 5 string 19 | ATTRIBUTE CVPN5000-Echo 6 integer 20 | ATTRIBUTE CVPN5000-Client-Assigned-IPX 7 integer 21 | END-VENDOR Cisco-VPN5000 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.citrix: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Citrix VSAs 8 | # 9 | # $Id: 3cba3d6ee6372273b7b84a36a4e419b8803e8f8b $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Citrix 66 14 | 15 | BEGIN-VENDOR Citrix 16 | 17 | ATTRIBUTE Citrix-UID 10 integer 18 | ATTRIBUTE Citrix-GID 11 integer 19 | ATTRIBUTE Citrix-Home 12 string 20 | ATTRIBUTE Citrix-Shell 13 string 21 | ATTRIBUTE Citrix-Group-Names 14 string 22 | ATTRIBUTE Citrix-Group-Ids 15 string 23 | ATTRIBUTE Citrix-User-Groups 16 string 24 | 25 | END-VENDOR Citrix 26 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.clavister: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Clavister VSAs 8 | # 9 | # $Id: bc59c64e5cbf0804a15c3d4fdbb95375fab633de $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Clavister 5089 14 | 15 | # 16 | # User group attribute 17 | # 18 | BEGIN-VENDOR Clavister 19 | 20 | ATTRIBUTE Clavister-User-Group 1 string 21 | 22 | END-VENDOR Clavister 23 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.colubris: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | 6 | VENDOR Colubris 8744 7 | 8 | BEGIN-VENDOR Colubris 9 | 10 | ATTRIBUTE Colubris-AVPair 0 string 11 | ATTRIBUTE Colubris-Intercept 1 integer 12 | 13 | END-VENDOR Colubris 14 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.columbia_university: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | 6 | # A duplicate name that they use 7 | VALUE Service-Type Sip-session 12 8 | 9 | # Columbia University VSAs, from: 10 | # 11 | # http://www.cs.columbia.edu/IRT/cinema/release/radius_notes.html 12 | # 13 | # $Id: 0015d7febfad7df240ebb7502ef9e3028470a0e5 $ 14 | # 15 | VENDOR Columbia-University 11862 16 | 17 | BEGIN-VENDOR Columbia-University 18 | 19 | ATTRIBUTE Sip-Method 0 integer 20 | ATTRIBUTE Sip-From 1 string 21 | ATTRIBUTE Sip-To 2 string 22 | ATTRIBUTE Sip-Translated-Request-URI 4 string 23 | 24 | VALUE Sip-Method INVITE 0 25 | VALUE Sip-Method BYE 1 26 | VALUE Sip-Method REGISTER 2 27 | VALUE Sip-Method OTHER 3 28 | 29 | END-VENDOR Columbia-University 30 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.compat: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Obsolete names for backwards compatibility with older users files. 6 | # Move the $INCLUDE in the main dictionary file to the end if you want 7 | # these names to be used in the "details" logfile. 8 | # 9 | 10 | # This has been removed. Too many people get it wrong. 11 | #ATTRIBUTE Password 2 string encrypt=1 12 | ATTRIBUTE Client-Id 4 ipaddr 13 | ATTRIBUTE Client-Port-Id 5 integer 14 | ATTRIBUTE User-Service-Type 6 integer 15 | ATTRIBUTE Framed-Address 8 ipaddr 16 | ATTRIBUTE Framed-Netmask 9 ipaddr 17 | ATTRIBUTE Framed-Filter-Id 11 string 18 | ATTRIBUTE Login-Host 14 ipaddr 19 | ATTRIBUTE Login-Port 16 integer 20 | ATTRIBUTE Old-Password 17 string 21 | ATTRIBUTE Port-Message 18 string 22 | ATTRIBUTE Dialback-No 19 string 23 | ATTRIBUTE Dialback-Name 20 string 24 | ATTRIBUTE Challenge-State 24 string 25 | VALUE Framed-Compression Van-Jacobsen-TCP-IP 1 26 | VALUE Framed-Compression VJ-TCP-IP 1 27 | VALUE Service-Type Shell-User 6 28 | VALUE Auth-Type Unix 1 29 | VALUE Service-Type Dialback-Login-User 3 30 | VALUE Service-Type Dialback-Framed-User 4 31 | VALUE Service-Type Dialout-Framed-User 5 32 | 33 | # 34 | # For compatibility with MERIT users files. 35 | # 36 | ATTRIBUTE Login-Callback-Number 19 string 37 | ATTRIBUTE Framed-Callback-Id 20 string 38 | ATTRIBUTE Client-Port-DNIS 30 string 39 | ATTRIBUTE Caller-ID 31 string 40 | VALUE Service-Type Login 1 41 | VALUE Service-Type Framed 2 42 | VALUE Service-Type Callback-Login 3 43 | VALUE Service-Type Callback-Framed 4 44 | VALUE Service-Type Exec-User 7 45 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.compatible: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Compatible Systems Corporation dictionary 6 | # 7 | # Compatible Systems was acquired by Cisco in 2000. 8 | # 9 | 10 | VENDOR Compatible 255 11 | 12 | BEGIN-VENDOR Compatible 13 | 14 | ATTRIBUTE Compatible-Tunnel-Delay 0 integer 15 | ATTRIBUTE Compatible-Tunnel-Throughput 1 integer 16 | ATTRIBUTE Compatible-Tunnel-Server-Endpoint 3 ipaddr 17 | ATTRIBUTE Compatible-Tunnel-Group-Info 4 string 18 | ATTRIBUTE Compatible-Tunnel-Password 5 string 19 | ATTRIBUTE Compatible-Echo 6 integer 20 | ATTRIBUTE Compatible-Tunnel-IPX 7 integer 21 | 22 | END-VENDOR Compatible 23 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.cosine: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Cosine IPSX Dictionary 8 | # 9 | # $Id: 1682e8dcc92ea565f5e0a9dae1ac2c646dcefc8a $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Cosine 3085 14 | 15 | BEGIN-VENDOR Cosine 16 | 17 | ATTRIBUTE Cosine-Connection-Profile-Name 1 string 18 | ATTRIBUTE Cosine-Enterprise-ID 2 string 19 | ATTRIBUTE Cosine-Address-Pool-Name 3 string 20 | ATTRIBUTE Cosine-DS-Byte 4 integer 21 | ATTRIBUTE Cosine-VPI-VCI 5 octets 22 | ATTRIBUTE Cosine-DLCI 6 integer 23 | ATTRIBUTE Cosine-LNS-IP-Address 7 ipaddr 24 | ATTRIBUTE Cosine-CLI-User-Permission-ID 8 string 25 | 26 | END-VENDOR Cosine 27 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.dante: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # DANTE Vendor Specific Attributes Dictionary 8 | # 9 | # Created by Alan Buxey 10 | # 11 | ############################################################################## 12 | 13 | VENDOR DANTE 27262 14 | 15 | BEGIN-VENDOR DANTE 16 | 17 | ATTRIBUTE Default-TTL 1 integer 18 | 19 | END-VENDOR DANTE 20 | 21 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.dellemc: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Dell Inc. 6 | # 7 | # DellEMC-AVpair Attribute-Value Pair. 8 | # DellEMC-Group-Name The Linux primary group name associated with the user. 9 | # This must be an existing group in /etc/groups. 10 | 11 | VENDOR DellEMC 674 12 | 13 | BEGIN-VENDOR DellEMC 14 | 15 | ATTRIBUTE DellEMC-AVpair 1 string 16 | ATTRIBUTE DellEMC-Group-Name 2 string 17 | 18 | END-VENDOR DellEMC 19 | 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.digium: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Digium's Asterisk specific radius attributes 8 | # markster@digium.com 9 | # 10 | # http://bugs.digium.com/file_download.php\?file_id=9688\&type=bug 11 | # 12 | # $Id: 937f2d4cb9fed8f40ff742a43e02edc5e9ef15ea $ 13 | # 14 | ############################################################################## 15 | 16 | VENDOR Digium 22736 17 | 18 | BEGIN-VENDOR Digium 19 | 20 | ATTRIBUTE Asterisk-Acc-Code 101 string 21 | ATTRIBUTE Asterisk-Src 102 string 22 | ATTRIBUTE Asterisk-Dst 103 string 23 | ATTRIBUTE Asterisk-Dst-Ctx 104 string 24 | ATTRIBUTE Asterisk-Clid 105 string 25 | ATTRIBUTE Asterisk-Chan 106 string 26 | ATTRIBUTE Asterisk-Dst-Chan 107 string 27 | ATTRIBUTE Asterisk-Last-App 108 string 28 | ATTRIBUTE Asterisk-Last-Data 109 string 29 | ATTRIBUTE Asterisk-Start-Time 110 string 30 | ATTRIBUTE Asterisk-Answer-Time 111 string 31 | ATTRIBUTE Asterisk-End-Time 112 string 32 | ATTRIBUTE Asterisk-Duration 113 integer 33 | ATTRIBUTE Asterisk-Bill-Sec 114 integer 34 | ATTRIBUTE Asterisk-Disposition 115 string 35 | ATTRIBUTE Asterisk-AMA-Flags 116 string 36 | ATTRIBUTE Asterisk-Unique-ID 117 string 37 | ATTRIBUTE Asterisk-User-Field 118 string 38 | 39 | END-VENDOR Digium 40 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.dlink: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # D-Link Vendor Specific Attributes Dictionary 8 | # 9 | # Created by Sylph Lin 10 | # 11 | # Version $Id: 2048c8b0d8b2178dccf43b0c82e62ef63043b235 $ 12 | # 13 | ############################################################################## 14 | 15 | VENDOR Dlink 171 16 | 17 | BEGIN-VENDOR Dlink 18 | 19 | ATTRIBUTE Dlink-User-Level 1 integer 20 | ATTRIBUTE Dlink-Ingress-Bandwidth-Assignment 2 integer 21 | ATTRIBUTE Dlink-Egress-Bandwidth-Assignment 3 integer 22 | ATTRIBUTE Dlink-1p-Priority 4 integer 23 | ATTRIBUTE Dlink-VLAN-Name 10 string 24 | ATTRIBUTE Dlink-VLAN-ID 11 string 25 | ATTRIBUTE Dlink-ACL-Profile 12 string 26 | ATTRIBUTE Dlink-ACL-Rule 13 string 27 | ATTRIBUTE Dlink-ACL-Script 14 string 28 | 29 | VALUE Dlink-User-Level User-Legacy 1 30 | VALUE Dlink-User-Level User 3 31 | VALUE Dlink-User-Level Operator 4 32 | VALUE Dlink-User-Level Admin 5 33 | VALUE Dlink-User-Level Power-User 6 34 | VALUE Dlink-User-Level Admin-Legacy 15 35 | 36 | END-VENDOR Dlink 37 | 38 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.dragonwave: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Dragonwave 8 | # http://www.dragonwaveinc.comw 9 | # 10 | # $Id: daa18eb826778cff4b92a05d9a263af57bd8bcb0 $ 11 | # 12 | ############################################################################## 13 | 14 | VENDOR DragonWave 7262 15 | 16 | BEGIN-VENDOR DragonWave 17 | 18 | # Used to determine the user login privilege level. 19 | ATTRIBUTE DragonWave-Privilege-Level 1 integer 20 | 21 | # Read-only access. 22 | 23 | VALUE DragonWave-Privilege-Level DragonWave-Admin-User 1 24 | 25 | # Limited read-write access. 26 | VALUE DragonWave-Privilege-Level DragonWave-NOC-User 2 27 | 28 | # Unlimited read-write access. 29 | VALUE DragonWave-Privilege-Level DragonWave-Super-User 3 30 | 31 | END-VENDOR DragonWave 32 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.efficientip: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Efficient IP VSA's 8 | # 9 | # $Id: 3c6fb2ccbcbcc8d93adfd091e24fc7f670e70b03 $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR EfficientIP 2440 14 | 15 | BEGIN-VENDOR EfficientIP 16 | 17 | ATTRIBUTE EfficientIP-Version 1 integer 18 | ATTRIBUTE EfficientIP-Service-Class 2 integer 19 | ATTRIBUTE EfficientIP-Identity-Type 3 integer 20 | ATTRIBUTE EfficientIP-First-Name 16 string 21 | ATTRIBUTE EfficientIP-Last-Name 17 string 22 | ATTRIBUTE EfficientIP-Pseudonym 18 string 23 | ATTRIBUTE EfficientIP-IP-Host 19 string 24 | ATTRIBUTE EfficientIP-Email 20 string 25 | ATTRIBUTE EfficientIP-First-Login-Path 32 string 26 | ATTRIBUTE EfficientIP-Maintainer-Group 33 string 27 | ATTRIBUTE EfficientIP-Groups 34 string 28 | ATTRIBUTE EfficientIP-Admin-Group 35 string 29 | ATTRIBUTE EfficientIP-Extra-Blob 64 string 30 | 31 | END-VENDOR EfficientIP 32 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.eltex: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | 6 | VENDOR Eltex 35265 7 | 8 | BEGIN-VENDOR Eltex 9 | 10 | ATTRIBUTE Eltex-AVPair 1 string 11 | 12 | ATTRIBUTE Eltex-Disconnect-Code-Local 11 integer 13 | 14 | VALUE Eltex-Disconnect-Code-Local User-Answer 1 15 | VALUE Eltex-Disconnect-Code-Local Incomplete-Number 2 16 | VALUE Eltex-Disconnect-Code-Local Unassigned-Number 3 17 | VALUE Eltex-Disconnect-Code-Local Unsuccessful-Other-Cause 4 18 | VALUE Eltex-Disconnect-Code-Local User-Busy 5 19 | VALUE Eltex-Disconnect-Code-Local Out-of-Order 6 20 | VALUE Eltex-Disconnect-Code-Local No-Answer 7 21 | VALUE Eltex-Disconnect-Code-Local Unavailable-Trunk 8 22 | VALUE Eltex-Disconnect-Code-Local Access-Denied 9 23 | VALUE Eltex-Disconnect-Code-Local Unavailable-Voice-Channel 10 24 | VALUE Eltex-Disconnect-Code-Local RADIUS-Server-Unavailable 11 25 | 26 | END-VENDOR Eltex 27 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.equallogic: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Equallogic was acquired by Dell in 2008. 6 | # 7 | 8 | VENDOR Equallogic 12740 9 | 10 | BEGIN-VENDOR Equallogic 11 | 12 | ATTRIBUTE Equallogic-Admin-Full-Name 1 string # Optional 13 | ATTRIBUTE Equallogic-Admin-Email 2 string # Optional 14 | ATTRIBUTE Equallogic-Admin-Phone 3 string # Optional 15 | ATTRIBUTE Equallogic-Admin-Mobile 4 string # Optional 16 | ATTRIBUTE Equallogic-Poll-Interval 5 integer # Up to 6 numerals, default is 30 (seconds) 17 | ATTRIBUTE Equallogic-EQL-Admin-Privilege 6 integer 18 | 19 | VALUE Equallogic-EQL-Admin-Privilege group-administrator 0 20 | VALUE Equallogic-EQL-Admin-Privilege pool-administrator 1 21 | VALUE Equallogic-EQL-Admin-Privilege pool-administrator-ro-entire-group 2 22 | VALUE Equallogic-EQL-Admin-Privilege volume-administrator 3 23 | 24 | # For read-only admin privileges set 25 | # Equallogic-EQL-Admin-Privilege to 0 and 26 | # Equallogic-Admin-Account-Type to RO 27 | 28 | ATTRIBUTE Equallogic-Admin-Pool-Access 7 string # Comma-separated list of pools 29 | 30 | # 'Pool1 25gb' sets the quota for Pool1 to 25GB 31 | # 'Pool1 500mb' sets a quota of 500MB. 32 | # 'Pool1 unlimited sets an unlimited quota to pool1 33 | # If no unit is specified, the default capacity unit is MB. 34 | 35 | ATTRIBUTE Equallogic-Admin-Repl-Site-Access 8 string # Comma-separated list of sites 36 | 37 | # Required if Equallogic-EQL-Admin-Privilege is 3 38 | # Used only if Equallogic-EQL-Admin-Privilege is 3 39 | 40 | ATTRIBUTE Equallogic-Admin-Account-Type 9 string # RO or RW 41 | 42 | END-VENDOR Equallogic 43 | 44 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.ericsson.packet.core.networks: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 2 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 3 | # 4 | 5 | VENDOR Ericsson-Packet-Core-Networks 10923 6 | 7 | # 8 | # Ericsson specific 9 | 10 | BEGIN-VENDOR Ericsson-Packet-Core-Networks 11 | 12 | ATTRIBUTE Suggested-Rule-Space 30 string 13 | ATTRIBUTE Suggested-Secondary-Rule-Space 31 string 14 | 15 | END-VENDOR Ericsson-Packet-Core-Networks 16 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.extreme: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Dictionary for Extreme Networks VSA's. 6 | # http://www.extremenetworks.com/ 7 | # 8 | # $Id: d180bb93a248c0686a70438caa749a790f74124b $ 9 | # 10 | VENDOR Extreme 1916 11 | 12 | BEGIN-VENDOR Extreme 13 | 14 | ATTRIBUTE Extreme-CLI-Authorization 201 integer 15 | ATTRIBUTE Extreme-Shell-Command 202 string 16 | ATTRIBUTE Extreme-Netlogin-Vlan 203 string 17 | ATTRIBUTE Extreme-Netlogin-Url 204 string 18 | ATTRIBUTE Extreme-Netlogin-Url-Desc 205 string 19 | ATTRIBUTE Extreme-Netlogin-Only 206 integer 20 | ATTRIBUTE Extreme-User-Location 208 string 21 | ATTRIBUTE Extreme-Netlogin-Vlan-Tag 209 integer 22 | ATTRIBUTE Extreme-Netlogin-Extended-Vlan 211 string 23 | ATTRIBUTE Extreme-Security-Profile 212 string 24 | ATTRIBUTE Extreme-VM-Name 213 string 25 | ATTRIBUTE Extreme-VM-VPP-Name 214 string 26 | ATTRIBUTE Extreme-VM-IP-Addr 215 ipaddr 27 | ATTRIBUTE Extreme-VM-VLAN-ID 216 integer 28 | ATTRIBUTE Extreme-VM-VR-Name 217 string 29 | 30 | VALUE Extreme-CLI-Authorization Disabled 0 31 | VALUE Extreme-CLI-Authorization Enabled 1 32 | 33 | VALUE Extreme-Netlogin-Only Disabled 0 34 | VALUE Extreme-Netlogin-Only Enabled 1 35 | 36 | END-VENDOR Extreme 37 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.fdxtended: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | VENDOR fdXtended 34536 6 | 7 | BEGIN-VENDOR fdXtended 8 | ATTRIBUTE fdXtended-Bandwidth-Up 1 integer 9 | ATTRIBUTE fdXtended-Bandwidth-Down 2 integer 10 | ATTRIBUTE fdXtended-PostAuthURL 3 string 11 | ATTRIBUTE fdXtended-One2onenat-IP 4 string 12 | ATTRIBUTE fdXtended-ContentFilter 5 integer 13 | ATTRIBUTE fdXtended-NetworkPolicy 6 integer 14 | ATTRIBUTE fdXtended-BytesDown 7 integer 15 | ATTRIBUTE fdXtended-BytesUp 8 integer 16 | ATTRIBUTE fdXtended-Expiration 9 string 17 | ATTRIBUTE fdXtended-SessionTimeout 10 integer 18 | ATTRIBUTE fdXtended-Wan-Interface 11 string 19 | END-VENDOR fdXtended 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.force10: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Version $Id: 367a6c5b61999b099516288fdc70275c6879209e $ 6 | 7 | VENDOR Force10 6027 8 | BEGIN-VENDOR Force10 9 | ATTRIBUTE Force10-AVPair 1 string 10 | END-VENDOR Force10 11 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.garderos: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # dictionary.garderos 6 | # 7 | # Version: $Id: c401784d5243df6f45dc9b23cd7ed24d848b9260 $ 8 | # 9 | # For documentation on Garderos attributes, see: 10 | # 11 | # http://www.garderos.com 12 | 13 | VENDOR Garderos 16108 14 | 15 | # 16 | # Standard attribute 17 | # 18 | BEGIN-VENDOR Garderos 19 | 20 | ATTRIBUTE Garderos-Location-Name 1 string 21 | ATTRIBUTE Garderos-Service-Name 2 string 22 | ATTRIBUTE Garderos-MSISDN 3 string 23 | ATTRIBUTE Garderos-Proxy 4 string 24 | 25 | END-VENDOR Garderos 26 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.gemtek: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Gemtek Systems VSA's 6 | 7 | VENDOR Gemtek 10529 8 | 9 | BEGIN-VENDOR Gemtek 10 | 11 | # Attributes for volume accounting limit. 12 | 13 | ATTRIBUTE Acct-Session-Input-Octets 21 integer 14 | ATTRIBUTE Acct-Session-Input-Gigawords 22 integer 15 | ATTRIBUTE Acct-Session-Output-Octets 23 integer 16 | ATTRIBUTE Acct-Session-Output-Gigawords 24 integer 17 | ATTRIBUTE Acct-Session-Octets 25 integer 18 | ATTRIBUTE Acct-Session-Gigawords 26 integer 19 | 20 | END-VENDOR Gemtek 21 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.iana: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Mostly values which have been allocated by IANA under 6 | # "expert review", but which don't have an RFC associated with them. 7 | # 8 | # $Id: 58f1c391b47f19b7f8c4dd9cc605bc55d957084b $ 9 | # 10 | 11 | # RFC 4005 12 | ATTRIBUTE Originating-Line-Info 94 string 13 | 14 | # draft-sterman-aaa-sip-00.txt 15 | # 16 | # This is bad... at some point the IETF will allocate these. 17 | # 18 | ATTRIBUTE Digest-Response 206 string 19 | ATTRIBUTE Digest-Attributes 207 octets # stupid format 20 | 21 | # 22 | # Integer Translations 23 | # 24 | VALUE Service-Type Voice 12 25 | VALUE Service-Type Fax 13 26 | VALUE Service-Type Modem-Relay 14 27 | VALUE Service-Type IAPP-Register 15 28 | VALUE Service-Type IAPP-AP-Check 16 29 | 30 | VALUE Framed-Protocol GPRS-PDP-Context 7 31 | 32 | VALUE NAS-Port-Type Wireless-CDMA2000 22 33 | VALUE NAS-Port-Type Wireless-UMTS 23 34 | VALUE NAS-Port-Type Wireless-1X-EV 24 35 | VALUE NAS-Port-Type IAPP 25 36 | 37 | VALUE NAS-Port-Type FTTP 26 38 | VALUE NAS-Port-Type Wireless-802.16 27 39 | VALUE NAS-Port-Type Wireless-802.20 28 40 | VALUE NAS-Port-Type Wireless-802.22 29 41 | 42 | VALUE NAS-Port-Type xPON 35 43 | VALUE NAS-Port-Type Wireless-XGP 36 44 | 45 | VALUE Framed-Protocol PPTP 9 46 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.iea: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # IEA Software, Inc. 6 | # RADIUS VSA Dictionary 7 | # http://www.iea-software.com 8 | 9 | VENDOR IEA-Software 24023 10 | BEGIN-VENDOR IEA-Software 11 | 12 | # AirMarshal Attributes [1-30] 13 | ATTRIBUTE AM-Interrupt-HTMLFile 1 string 14 | ATTRIBUTE AM-Interrupt-Interval 2 integer 15 | ATTRIBUTE AM-Interrupt-Timeout 3 integer 16 | ATTRIBUTE AM-Status-HTMLFile 4 string 17 | ATTRIBUTE AM-HTTP-Proxy-Port 5 integer 18 | 19 | END-VENDOR IEA-Software 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.infinera: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | VENDOR Infinera 8708 6 | 7 | BEGIN-VENDOR Infinera 8 | 9 | ATTRIBUTE Infinera-User-Category 1 string 10 | ATTRIBUTE Infinera-ENM-User-Category 2 string 11 | 12 | END-VENDOR Infinera 13 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.infoblox: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # InfoBlox Inc. VSAs 6 | # 7 | VENDOR Infoblox 7779 8 | 9 | BEGIN-VENDOR Infoblox 10 | 11 | ATTRIBUTE Infoblox-windows-group 1 string 12 | ATTRIBUTE Infoblox-variable-1 2 string 13 | ATTRIBUTE Infoblox-variable-2 3 string 14 | ATTRIBUTE Infoblox-variable-3 4 string 15 | ATTRIBUTE Infoblox-variable-4 5 string 16 | ATTRIBUTE Infoblox-variable-5 6 string 17 | ATTRIBUTE Infoblox-Version 7 string 18 | ATTRIBUTE Infoblox-Product-Name 8 string 19 | ATTRIBUTE Infoblox-Group-Info 9 string 20 | 21 | END-VENDOR Infoblox 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.infonet: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Accounting VSAs by 6 | # "Bernard Lhoas from Infonet" 7 | # 8 | # Version: @(#)dictionary.infonet 1.00 9 | # 10 | 11 | VENDOR infonet 4453 12 | 13 | # 14 | # Standard attribute 15 | # 16 | # I would like to change the attribute number of Infonet-Account-Number 17 | # but we are already using it in production and changing could get 18 | # messy. Same with Infonet-Type. -Clark 19 | BEGIN-VENDOR infonet 20 | 21 | ATTRIBUTE Infonet-Proxy 238 string 22 | ATTRIBUTE Infonet-Config 239 string 23 | ATTRIBUTE Infonet-MCS-Country 240 string 24 | ATTRIBUTE Infonet-MCS-Region 241 string 25 | ATTRIBUTE Infonet-MCS-Off-Peak 242 string 26 | ATTRIBUTE Infonet-MCS-Overflow 243 string 27 | ATTRIBUTE Infonet-MCS-Port 244 string 28 | ATTRIBUTE Infonet-MCS-Port-Count 245 string 29 | ATTRIBUTE Infonet-Account-Number 247 string 30 | ATTRIBUTE Infonet-Type 248 string 31 | 32 | # 33 | # Infonet-Specific Attributes 34 | # 35 | # Note: Only Attributes < 256 will go on the wire. They are known as 36 | # "wire attributes". 37 | # Attributes > 256 don't get sent to a NAS and don't get forwarded 38 | # to a proxy site. This includes accounting packets as well as 39 | # auth packets. 40 | # 41 | ATTRIBUTE Infonet-Pool-Request 252 string 42 | ATTRIBUTE Infonet-Surcharge-Type 254 integer 43 | ATTRIBUTE Infonet-NAS-Location 255 string 44 | ATTRIBUTE Infonet-Random-IP-Pool 246 string 45 | # 46 | ATTRIBUTE Infonet-Realm-Type 249 string 47 | ATTRIBUTE Infonet-LoginHost-Dest 250 string 48 | ATTRIBUTE Infonet-Tunnel-Decision-IP 251 string 49 | 50 | END-VENDOR infonet 51 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.ipunplugged: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # ipUnplugged 8 | # http://www.ipunplugged.com/ 9 | # 10 | # $Id: d34dff8d381e249b355499254b44aaf3854b4bad $ 11 | # 12 | ############################################################################## 13 | 14 | VENDOR ipUnplugged 5925 15 | 16 | BEGIN-VENDOR ipUnplugged 17 | 18 | ATTRIBUTE IPU-MIP-Spi 51 integer 19 | ATTRIBUTE IPU-MIP-Key 52 string 20 | ATTRIBUTE IPU-MIP-Alg-Type 53 integer 21 | ATTRIBUTE IPU-MIP-Alg-Mode 54 integer 22 | ATTRIBUTE IPU-MIP-Replay-Prot 55 integer 23 | ATTRIBUTE IPU-IKE-Remote-Addr 61 ipaddr 24 | ATTRIBUTE IPU-IKE-Local-Addr 62 ipaddr 25 | ATTRIBUTE IPU-IKE-Auth 63 string 26 | ATTRIBUTE IPU-IKE-Conf-Name 64 string 27 | ATTRIBUTE IPU-IKE-Cmd 65 string 28 | 29 | END-VENDOR ipUnplugged 30 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.issanni: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # UTStarcom Issanni DSL router. 8 | # 9 | # $Id: 9b734f13dc2b4607835e8f059aaed3b274acbef7 $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Issanni 5948 14 | 15 | BEGIN-VENDOR Issanni 16 | # 17 | # UTStarcom Issanni DSL router. 18 | # 19 | ATTRIBUTE Issanni-SoftFlow-Template 1 string 20 | ATTRIBUTE Issanni-NAT-Support 2 string 21 | ATTRIBUTE Issanni-Routing-Context 3 string 22 | ATTRIBUTE Issanni-Tunnel-Name 4 string 23 | ATTRIBUTE Issanni-IP-Pool-Name 5 string 24 | ATTRIBUTE Issanni-PPPoE-URL 6 string 25 | ATTRIBUTE Issanni-PPPoE-MOTM 7 string 26 | ATTRIBUTE Issanni-Service 8 string 27 | ATTRIBUTE Issanni-Pri-DNS 9 ipaddr 28 | ATTRIBUTE Issanni-Sec-DNS 10 ipaddr 29 | ATTRIBUTE Issanni-Pri-NBNS 11 ipaddr 30 | ATTRIBUTE Issanni-Sec-NBNS 12 ipaddr 31 | ATTRIBUTE Issanni-Traffic-Class 13 string 32 | ATTRIBUTE Issanni-Tunnel-Type 14 integer 33 | ATTRIBUTE Issanni-NAT-Type 15 integer 34 | ATTRIBUTE Issanni-QOS-Class 16 string 35 | ATTRIBUTE Issanni-Interface-Name 17 string 36 | 37 | VALUE Issanni-Tunnel-Type IP-IP 1 38 | VALUE Issanni-Tunnel-Type ESP 2 39 | VALUE Issanni-Tunnel-Type L2TP 3 40 | 41 | VALUE Issanni-NAT-Type NAT 1 42 | VALUE Issanni-NAT-Type NAPT 2 43 | 44 | END-VENDOR Issanni 45 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.itk: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # http://www.digieurope.com/ 6 | # $Id: 0751f33731e5c95cafaa29a163cd59a64d2ea364 $ 7 | # 8 | VENDOR ITK 1195 9 | 10 | BEGIN-VENDOR ITK 11 | 12 | ATTRIBUTE ITK-Auth-Serv-IP 100 ipaddr 13 | ATTRIBUTE ITK-Auth-Serv-Prot 101 integer 14 | ATTRIBUTE ITK-Provider-Id 102 integer 15 | ATTRIBUTE ITK-Usergroup 103 integer 16 | ATTRIBUTE ITK-Banner 104 string 17 | ATTRIBUTE ITK-Username-Prompt 105 string 18 | ATTRIBUTE ITK-Password-Prompt 106 string 19 | ATTRIBUTE ITK-Welcome-Message 107 string 20 | ATTRIBUTE ITK-Prompt 108 string 21 | ATTRIBUTE ITK-IP-Pool 109 integer 22 | ATTRIBUTE ITK-Tunnel-IP 110 ipaddr 23 | ATTRIBUTE ITK-Tunnel-Prot 111 integer 24 | ATTRIBUTE ITK-Acct-Serv-IP 112 ipaddr 25 | ATTRIBUTE ITK-Acct-Serv-Prot 113 integer 26 | ATTRIBUTE ITK-Filter-Rule 114 string 27 | ATTRIBUTE ITK-Channel-Binding 115 integer 28 | ATTRIBUTE ITK-Start-Delay 116 integer 29 | ATTRIBUTE ITK-NAS-Name 117 string 30 | ATTRIBUTE ITK-ISDN-Prot 118 integer 31 | ATTRIBUTE ITK-PPP-Auth-Type 119 integer 32 | ATTRIBUTE ITK-Dialout-Type 120 integer 33 | ATTRIBUTE ITK-Ftp-Auth-IP 121 ipaddr 34 | ATTRIBUTE ITK-Users-Default-Entry 122 string 35 | ATTRIBUTE ITK-Users-Default-Pw 123 string 36 | ATTRIBUTE ITK-Auth-Req-Type 124 string 37 | ATTRIBUTE ITK-Modem-Pool-Id 125 integer 38 | ATTRIBUTE ITK-Modem-Init-String 126 string 39 | ATTRIBUTE ITK-PPP-Client-Server-Mode 127 integer 40 | ATTRIBUTE ITK-PPP-Compression-Prot 128 string 41 | ATTRIBUTE ITK-Username 129 string 42 | ATTRIBUTE ITK-Dest-No 130 string 43 | ATTRIBUTE ITK-DDI 131 string 44 | 45 | END-VENDOR ITK 46 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.lancom: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # originally by 6 | # "Eugen K. " <> 7 | # 8 | 9 | VENDOR Lancom 2356 10 | 11 | BEGIN-VENDOR Lancom 12 | 13 | # Attributes 14 | ATTRIBUTE LCS-Traffic-Limit 1 integer 15 | ATTRIBUTE LCS-Mac-Address 2 string 16 | ATTRIBUTE LCS-Redirection-URL 3 string 17 | ATTRIBUTE LCS-Comment 4 string 18 | ATTRIBUTE LCS-Account-End 5 integer 19 | ATTRIBUTE LCS-WPA-Passphrase 6 string 20 | ATTRIBUTE LCS-PbSpotUserName 7 string 21 | ATTRIBUTE LCS-TxRateLimit 8 integer 22 | ATTRIBUTE LCS-RxRateLimit 9 integer 23 | ATTRIBUTE LCS-Access-Rights 11 integer 24 | ATTRIBUTE LCS-Function-Rights 12 integer 25 | ATTRIBUTE LCS-Advertisement-URL 13 string 26 | ATTRIBUTE LCS-Advertisement-Interval 14 integer 27 | ATTRIBUTE LCS-Traffic-Limit-Gigawords 15 integer 28 | ATTRIBUTE LCS-Orig-NAS-Identifier 16 string 29 | ATTRIBUTE LCS-Orig-NAS-IP-Address 17 ipaddr 30 | ATTRIBUTE LCS-Orig-NAS-IPv6-Address 18 ipv6addr 31 | ATTRIBUTE LCS-IKEv2-Local-Password 19 string has_tag,encrypt=2 32 | ATTRIBUTE LCS-IKEv2-Remote-Password 20 string has_tag,encrypt=2 33 | ATTRIBUTE LCS-DNS-Server-IPv4-Address 21 ipaddr 34 | ATTRIBUTE LCS-VPN-IPv4-Rule 22 string 35 | ATTRIBUTE LCS-VPN-IPv6-Rule 23 string 36 | ATTRIBUTE LCS-Routing-Tag 24 integer 37 | ATTRIBUTE LCS-IKEv2-IPv4-Route 25 string 38 | ATTRIBUTE LCS-IKEv2-IPv6-Route 26 string 39 | ATTRIBUTE LCS-IKEv2-DNS-Domain 27 string 40 | ATTRIBUTE LCS-Load-Balancer 28 string 41 | 42 | END-VENDOR Lancom 43 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.lantronix: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 2 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 3 | # 4 | # Lantronix SLC Secure Lantronix Console Manager 5 | # Provides SLC-specific user attributes 6 | # 7 | VENDOR Lantronix 244 8 | 9 | BEGIN-VENDOR Lantronix 10 | 11 | ATTRIBUTE Lantronix-User-Attributes 1 string 12 | 13 | END-VENDOR Lantronix 14 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.localweb: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Local-Web Accesspoints 8 | # 9 | ############################################################################## 10 | 11 | VENDOR Local-Web 19220 12 | 13 | BEGIN-VENDOR Local-Web 14 | 15 | ATTRIBUTE Local-Web-Client-Ip 192 string 16 | ATTRIBUTE Local-Web-Border-Router 193 string 17 | 18 | ATTRIBUTE Local-Web-Tx-Limit 200 integer 19 | ATTRIBUTE Local-Web-Rx-Limit 201 integer 20 | 21 | ATTRIBUTE Local-Web-Acct-Time 210 integer 22 | ATTRIBUTE Local-Web-Acct-Duration 211 integer 23 | ATTRIBUTE Local-Web-Acct-Interim-Tx-Bytes 212 integer 24 | ATTRIBUTE Local-Web-Acct-Interim-Rx-Bytes 213 integer 25 | ATTRIBUTE Local-Web-Acct-Interim-Tx-Gigawords 214 integer 26 | ATTRIBUTE Local-Web-Acct-Interim-Rx-Gigawords 215 integer 27 | ATTRIBUTE Local-Web-Acct-Interim-Tx-Mgmt 216 integer 28 | ATTRIBUTE Local-Web-Acct-Interim-Rx-Mgmt 217 integer 29 | 30 | ATTRIBUTE Local-Web-Acct-Tx-Mgmt 230 integer 31 | ATTRIBUTE Local-Web-Acct-Rx-Mgmt 231 integer 32 | 33 | ATTRIBUTE Local-Web-Reauth-Counter 240 integer 34 | 35 | END-VENDOR Local-Web 36 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.manzara: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | VENDOR Manzara 19382 6 | 7 | BEGIN-VENDOR Manzara 8 | 9 | ATTRIBUTE Manzara-User-UID 1 integer 10 | ATTRIBUTE Manzara-User-GID 2 integer 11 | ATTRIBUTE Manzara-User-Home 3 string 12 | ATTRIBUTE Manzara-User-Shell 4 string 13 | ATTRIBUTE Manzara-PPP-Addr-String 5 string 14 | ATTRIBUTE Manzara-Full-Login-String 6 string 15 | ATTRIBUTE Manzara-Tariff-Units 7 integer 16 | ATTRIBUTE Manzara-Tariff-Type 8 integer 17 | ATTRIBUTE Manzara-ECP-Session-Key 9 octets 18 | ATTRIBUTE Manzara-Map-Name 10 string 19 | ATTRIBUTE Manzara-Map-Key 11 string 20 | ATTRIBUTE Manzara-Map-Value 12 string 21 | ATTRIBUTE Manzara-Map-Error 13 string 22 | ATTRIBUTE Manzara-Service-Type 14 string 23 | 24 | VALUE Manzara-Tariff-Type MMS-Picture 1 25 | VALUE Manzara-Tariff-Type Unused 2 26 | VALUE Manzara-Tariff-Type Internet 3 27 | 28 | # 29 | # Poaching on the standard space is wrong. 30 | # 31 | VALUE Acct-Status-Type One-Time 17 32 | 33 | END-VENDOR Manzara 34 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.meinberg: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Meinberg 8 | # 9 | # $Id: b57ea84fea19317f79b68dea0c6c1d467a66488c $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Meinberg 5597 14 | 15 | BEGIN-VENDOR Meinberg 16 | 17 | ATTRIBUTE MBG-Management-Privilege-Level 1 integer 18 | 19 | END-VENDOR Meinberg 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.meraki: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2015 The FreeRADIUS Server project and contributors 3 | # 4 | # For Meraki. 5 | # 6 | 7 | VENDOR Meraki 29671 8 | BEGIN-VENDOR Meraki 9 | 10 | ATTRIBUTE Meraki-Device-Name 1 string 11 | ATTRIBUTE Meraki-Network-Name 2 string 12 | ATTRIBUTE Meraki-Ap-Name 3 string 13 | ATTRIBUTE Meraki-Ap-Tags 4 string 14 | 15 | END-VENDOR Meraki 16 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.merit: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # For Merit. 6 | # 7 | # $Id: cc95c8ab7581966d78c96467f67d528d1d7f1894 $ 8 | # 9 | VENDOR Merit 61 10 | 11 | BEGIN-VENDOR Merit 12 | 13 | ATTRIBUTE Merit-Proxy-Action 211 string 14 | ATTRIBUTE Merit-User-Id 222 string 15 | ATTRIBUTE Merit-User-Realm 223 string 16 | 17 | END-VENDOR Merit 18 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.meru: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # dictionary.meru 6 | # 7 | # $Id: b5cee2430b529db0d88a161c5afc7280da7c467b $ 8 | # 9 | # 10 | VENDOR Meru 15983 11 | 12 | BEGIN-VENDOR Meru 13 | 14 | ATTRIBUTE Meru-Access-Point-Id 1 integer 15 | ATTRIBUTE Meru-Access-Point-Name 2 string 16 | 17 | END-VENDOR Meru 18 | 19 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.microsemi: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # As posted to the list by Simon Butcher 6 | # 7 | # Version: $Id: 68967fa1c86ac3f104b70421980d10bdee0c1b28 $ 8 | # 9 | 10 | VENDOR Microsemi 40676 11 | 12 | BEGIN-VENDOR Microsemi 13 | 14 | ATTRIBUTE Microsemi-User-Full-Name 1 string 15 | ATTRIBUTE Microsemi-User-Name 2 string 16 | ATTRIBUTE Microsemi-User-Initials 3 string 17 | ATTRIBUTE Microsemi-User-Email 4 string 18 | ATTRIBUTE Microsemi-User-Group 5 string 19 | ATTRIBUTE Microsemi-Fallback-User-Group 6 string 20 | ATTRIBUTE Microsemi-Network-Element-Group 7 string 21 | 22 | END-VENDOR Microsemi 23 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.motorola.illegal: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Motorola Canopy attributes. 8 | # 9 | # See also dictionary.motorola.illegal. You can use that one 10 | # by listing it in raddb/dictionary. 11 | # 12 | # $Id: bbddb370e49cb87443e6e21dbf8f18884a33cc98 $ 13 | # 14 | ############################################################################## 15 | 16 | ATTRIBUTE Motorola-Canopy-Shared-Secret 224 string 17 | ATTRIBUTE Motorola-Canopy-SULDR 225 string 18 | ATTRIBUTE Motorola-Canopy-SDLDR 226 string 19 | ATTRIBUTE Motorola-Canopy-ULBA 227 string 20 | ATTRIBUTE Motorola-Canopy-DLBA 228 string 21 | ATTRIBUTE Motorola-Canopy-Enable 229 string 22 | ATTRIBUTE Motorola-Canopy-LPSULDR 230 string 23 | ATTRIBUTE Motorola-Canopy-LPSDLDR 231 string 24 | ATTRIBUTE Motorola-Canopy-HPCENABLE 232 string 25 | ATTRIBUTE Motorola-Canopy-HPSULDR 233 string 26 | ATTRIBUTE Motorola-Canopy-HPSDLDR 234 string 27 | ATTRIBUTE Motorola-Canopy-HIGHERBW 235 string 28 | ATTRIBUTE Motorola-Canopy-CIRENABLE 236 string 29 | 30 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.motorola.wimax: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Motorola WiMAX attributes. 8 | # 9 | # $Id: 5920af1eea654a0eefcc7ce4526becb7eb8aa56e $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Motorola 161 14 | 15 | BEGIN-VENDOR Motorola 16 | 17 | ATTRIBUTE Motorola-WiMAX-MIP-MN-HOME-ADDRESS 10 ipaddr 18 | ATTRIBUTE Motorola-WiMAX-MIP-KEY 11 string encrypt=2 19 | ATTRIBUTE Motorola-WiMAX-MIP-SPI 12 integer 20 | ATTRIBUTE Motorola-WiMAX-MN-HA 13 ipaddr 21 | ATTRIBUTE Motorola-WiMAX-DNS-Server-IP-Address 20 octets 22 | ATTRIBUTE Motorola-WiMAX-User-NAI 22 string 23 | ATTRIBUTE Motorola-WiMAX-Network-Domain-Name 30 string 24 | ATTRIBUTE Motorola-WiMAX-EMS-Address 31 ipaddr 25 | ATTRIBUTE Motorola-WiMAX-Provisioning-Server 32 string 26 | ATTRIBUTE Motorola-WiMAX-NTP-Server 34 octets 27 | ATTRIBUTE Motorola-WiMAX-HO-SVC-CLASS 35 octets 28 | ATTRIBUTE Motorola-WiMAX-Home-BTS 50 octets 29 | ATTRIBUTE Motorola-WiMAX-Maximum-Total-Bandwidth 60 octets 30 | ATTRIBUTE Motorola-WiMAX-Maximum-Commit-Bandwidth 61 octets 31 | ATTRIBUTE Motorola-WiMAX-Convergence-Sublayer 63 octets 32 | ATTRIBUTE Motorola-WiMAX-Service-Flows 64 string 33 | ATTRIBUTE Motorola-WiMAX-VLAN-ID 65 octets 34 | 35 | ATTRIBUTE Motorola-Accounting-Message 80 string 36 | 37 | END-VENDOR Motorola 38 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.navini: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # dictionary.navini 6 | # 7 | # By 8 | # "Paul Shields" 9 | # 10 | # Version: $Id: 24e644e69f5de8d0aaebfc830747a555254f172a $ 11 | # 12 | 13 | VENDOR Navini 6504 14 | 15 | # 16 | # Standard attribute 17 | # 18 | BEGIN-VENDOR Navini 19 | 20 | ATTRIBUTE Navini-AVPair 1 string 21 | 22 | END-VENDOR Navini 23 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.netscreen: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # From: 6 | # http://www.netscreen.com/support/downloads/4.0_configuring_screenOS_for_NTdomain_v11.pdf 7 | # 8 | 9 | VENDOR Netscreen 3224 10 | 11 | BEGIN-VENDOR Netscreen 12 | 13 | ATTRIBUTE NS-Admin-Privilege 1 integer 14 | ATTRIBUTE NS-VSYS-Name 2 string 15 | ATTRIBUTE NS-User-Group 3 string 16 | ATTRIBUTE NS-Primary-DNS 4 ipaddr 17 | ATTRIBUTE NS-Secondary-DNS 5 ipaddr 18 | ATTRIBUTE NS-Primary-WINS 6 ipaddr 19 | ATTRIBUTE NS-Secondary-WINS 7 ipaddr 20 | 21 | ATTRIBUTE NS-NSM-User-Domain-Name 220 string 22 | ATTRIBUTE NS-NSM-User-Role-Mapping 221 string 23 | 24 | # 25 | # Values VSYS-Admin and Read-Only-VSYS-Admin require a NS-VSYS-Name 26 | # attribute in the response packet. 27 | # 28 | VALUE NS-Admin-Privilege Root-Admin 1 29 | VALUE NS-Admin-Privilege All-VSYS-Root-Admin 2 30 | VALUE NS-Admin-Privilege VSYS-Admin 3 31 | VALUE NS-Admin-Privilege Read-Only-Admin 4 32 | VALUE NS-Admin-Privilege Read-Only-VSYS-Admin 5 33 | 34 | END-VENDOR Netscreen 35 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.networkphysics: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # NetworkPhysics dictionary 6 | # $Id: 7e09519d1a3497edbb99545a4dab8c15befc169f $ 7 | # 8 | VENDOR NetworkPhysics 7119 9 | 10 | BEGIN-VENDOR NetworkPhysics 11 | 12 | ATTRIBUTE NetSensory-Privilege 33 string 13 | 14 | #VALUE NetSensory-Privilege InsightsOnly 'insight' 15 | #VALUE NetSensory-Privilege Restricted 'npread' 16 | #VALUE NetSensory-Privilege Standard 'npuser' 17 | #VALUE NetSensory-Privilege Administrative 'npadmin' 18 | 19 | END-VENDOR NetworkPhysics 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.nexans: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # Nexans Active Networking Systems dictionary http://www.nexans.de/ans 7 | # 8 | # Version: $Id: a4f62103ea6504b8580edeab529c5643d1a89518 $ 9 | # 10 | # Hubert Theissen 11 | # 12 | ############################################################################## 13 | 14 | VENDOR Nexans 266 15 | 16 | BEGIN-VENDOR Nexans 17 | 18 | ATTRIBUTE Nexans-Port-Default-VLAN-ID 1 integer 19 | ATTRIBUTE Nexans-Port-Voice-VLAN-ID 2 integer 20 | 21 | END-VENDOR Nexans 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.nokia: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ###################################################################### 6 | # 7 | # Nokia dictionary 8 | # $Id: d522ff7d9bdff9dad68536b584b4b2a8c4a4e695 $ 9 | # 10 | ###################################################################### 11 | 12 | VENDOR Nokia 94 13 | 14 | BEGIN-VENDOR Nokia 15 | 16 | ATTRIBUTE Nokia-AVPair 1 string 17 | ATTRIBUTE Nokia-User-Profile 2 string 18 | ATTRIBUTE Nokia-Service-Name 3 octets # magic format 19 | ATTRIBUTE Nokia-Service-Id 4 octets # magic format 20 | ATTRIBUTE Nokia-Service-Username 5 octets # magic format 21 | ATTRIBUTE Nokia-Service-Password 6 octets # magic format 22 | ATTRIBUTE Nokia-Service-Primary-Indicator 7 octets 23 | ATTRIBUTE Nokia-Service-Charging-Type 8 octets # magic format 24 | ATTRIBUTE Nokia-Service-Encrypted-Password 9 octets # magic format 25 | ATTRIBUTE Nokia-Session-Access-Method 10 octets 26 | ATTRIBUTE Nokia-Session-Charging-Type 11 octets 27 | ATTRIBUTE Nokia-OCS-ID1 12 integer 28 | ATTRIBUTE Nokia-OCS-ID2 13 integer 29 | ATTRIBUTE Nokia-TREC-Index 14 integer 30 | ATTRIBUTE Nokia-Requested-APN 15 string 31 | END-VENDOR Nokia 32 | 33 | # 34 | # The format of some Nokia attributes is binary coded decimal 35 | # (BCD) with the last four bits all set to 1 if there are an odd 36 | # number of digits, 37 | # 38 | # e.g 123 is encoded as hexadecimal bytes 21 F3 39 | # 40 | # This is an incredibly stupid way of encoding the data. 41 | # 42 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.nokia.conflict: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Nokia dictionary for attributes that conflict with other dictionaries. 8 | # 9 | # $Id: 5ff9fda0cb4bd3b4e0a6d1196a9d2341c227a21d $ 10 | # 11 | ############################################################################## 12 | 13 | # 14 | # Enable by putting the line "$INCLUDE dictionary.nokia.conflict" into 15 | # the main dictionary file. Don't forget to comment out the 16 | # $INCLUDE dictionary.ascend, because these over-lap with the 17 | # standard RADIUS attributes, which are also illegitimately used 18 | # by Ascend. 19 | # 20 | # It's apparently rocket science for people to define their own 21 | # VSA's. 22 | # 23 | 24 | ATTRIBUTE Nokia-Primary-DNS-Server 135 ipaddr 25 | ATTRIBUTE Nokia-Secondary-DNS-Server 136 ipaddr 26 | 27 | ATTRIBUTE Nokia-IMSI 224 octets 28 | ATTRIBUTE Nokia-Charging-Id 225 integer 29 | ATTRIBUTE Nokia-Prepaid-Ind 226 integer 30 | ATTRIBUTE Nokia-GGSN-IP-Address 227 ipaddr 31 | ATTRIBUTE Nokia-SGSN-IP-Address 228 ipaddr 32 | 33 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.nomadix: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Version: $Id: 31938ba39e5980af917485e5e471c284c40c4c83 $ 6 | # 7 | VENDOR Nomadix 3309 8 | # 9 | BEGIN-VENDOR Nomadix 10 | 11 | ATTRIBUTE Nomadix-Bw-Up 1 integer 12 | ATTRIBUTE Nomadix-Bw-Down 2 integer 13 | ATTRIBUTE Nomadix-URL-Redirection 3 string 14 | ATTRIBUTE Nomadix-IP-Upsell 4 integer 15 | ATTRIBUTE Nomadix-Expiration 5 string 16 | ATTRIBUTE Nomadix-Subnet 6 string 17 | ATTRIBUTE Nomadix-MaxBytesUp 7 integer 18 | ATTRIBUTE Nomadix-MaxBytesDown 8 integer 19 | ATTRIBUTE Nomadix-EndofSession 9 integer 20 | ATTRIBUTE Nomadix-Logoff-URL 10 string 21 | ATTRIBUTE Nomadix-Net-VLAN 11 integer 22 | ATTRIBUTE Nomadix-Config-URL 12 string 23 | ATTRIBUTE Nomadix-Goodbye-URL 13 string 24 | ATTRIBUTE Nomadix-Qos-Policy 14 string 25 | ATTRIBUTE Nomadix-SMTP-Redirect 17 integer 26 | ATTRIBUTE Nomadix-Centralized-Mgmt 18 string 27 | ATTRIBUTE Nomadix-Group-Policy-Id 19 integer 28 | ATTRIBUTE Nomadix-Group-Bw-Max-Up 20 integer 29 | ATTRIBUTE Nomadix-Group-Bw-Max-Down 21 integer 30 | 31 | VALUE Nomadix-IP-Upsell PrivatePool 0 32 | VALUE Nomadix-IP-Upsell PublicPool 1 33 | 34 | END-VENDOR Nomadix 35 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.ntua: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | VENDOR NTUA 969 6 | 7 | BEGIN-VENDOR NTUA 8 | 9 | # 10 | # Authentication Attributes 11 | # 12 | ATTRIBUTE UserLogon-Uid 10 integer 13 | ATTRIBUTE UserLogon-Gid 11 integer 14 | ATTRIBUTE UserLogon-HomeDir 12 string 15 | ATTRIBUTE UserLogon-Type 13 integer 16 | ATTRIBUTE UserLogon-QuotaBytes 14 integer 17 | ATTRIBUTE UserLogon-QuotaFiles 15 integer 18 | ATTRIBUTE UserLogon-Shell 16 string 19 | ATTRIBUTE UserLogon-Restriction 17 integer 20 | ATTRIBUTE UserLogon-GroupNames 18 string 21 | ATTRIBUTE UserLogon-DriveNames 19 string 22 | ATTRIBUTE UserLogon-UserDescription 20 string 23 | ATTRIBUTE UserLogon-UserFullName 21 string 24 | ATTRIBUTE UserLogon-UserDomain 22 string 25 | ATTRIBUTE UserLogon-LogonTask 23 string 26 | ATTRIBUTE UserLogon-LogoffTask 24 string 27 | ATTRIBUTE UserLogon-Expiration 25 string 28 | ATTRIBUTE UserLogon-UserProfile 26 string 29 | # 30 | # Accounting Attributes 31 | # 32 | ATTRIBUTE UserLogon-Acct-TerminateCause 50 string 33 | 34 | VALUE UserLogon-Type FTP 1 35 | VALUE UserLogon-Type WEB 2 36 | VALUE UserLogon-Type POP 3 37 | VALUE UserLogon-Type IMAP 4 38 | VALUE UserLogon-Type Windows-Logon 5 39 | VALUE UserLogon-Type Unix-Logon 6 40 | VALUE UserLogon-Type SMTP-Auth 7 41 | VALUE UserLogon-Type Other 200 42 | 43 | VALUE UserLogon-Restriction Anonymous-User 1 44 | VALUE UserLogon-Restriction Admin-User 2 45 | 46 | END-VENDOR NTUA 47 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.openser: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # OpenSER dictionary. 8 | # 9 | # This dictionary is NOT included by default, because it conflicts 10 | # with attributes defined in the RADIUS standard. Vendors SHOULD 11 | # be using a VSA space to assign attributes. 12 | # 13 | # Be aware that if you DO include this dictionary in the main 14 | # dictionary file, other parts of your configuration may break! 15 | # 16 | # http://www.openser.org/docs/openser-radius-1.0.x.html 17 | # 18 | # $Id: 86e7a2aba8334a16a1026050305cc5c56f79da12 $ 19 | # 20 | ############################################################################## 21 | 22 | ATTRIBUTE Sip-Method 101 integer 23 | ATTRIBUTE Sip-Response-Code 102 integer 24 | ATTRIBUTE Sip-Cseq 103 string 25 | ATTRIBUTE Sip-To-Tag 104 string 26 | ATTRIBUTE Sip-From-Tag 105 string 27 | ATTRIBUTE Sip-Translated-Request-URI 107 string 28 | ATTRIBUTE Sip-Src-IP 108 string 29 | ATTRIBUTE Sip-Src-Port 109 string 30 | ATTRIBUTE Sip-Uri-User 208 string 31 | ATTRIBUTE Sip-Group 211 string 32 | ATTRIBUTE Sip-Rpid 213 string 33 | ATTRIBUTE SIP-AVP 225 string 34 | 35 | VALUE Service-Type Group-Check 12 36 | VALUE Service-Type Sip-Session 15 37 | VALUE Service-Type SIP-Caller-AVPs 30 38 | VALUE Service-Type SIP-Callee-AVPs 31 39 | 40 | VALUE Sip-Method INVITE 1 41 | VALUE Sip-Method CANCEL 2 42 | VALUE Sip-Method ACK 4 43 | VALUE Sip-Method BYE 8 44 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.packeteer: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Packeteer VSAs, who followed the Cisco way of putting everything 8 | # into one text string. 9 | # 10 | # Packeteer was acquired by Blue Coat in 2008. 11 | # 12 | # $Id: d538ac1c413fa7af0af1fe30d6e805bc54717eed $ 13 | # 14 | ############################################################################## 15 | 16 | VENDOR Packeteer 2334 17 | 18 | # 19 | # Standard attribute 20 | # 21 | BEGIN-VENDOR Packeteer 22 | 23 | ATTRIBUTE Packeteer-AVPair 1 string 24 | ATTRIBUTE Packeteer-PC-AVPair 2 string 25 | 26 | END-VENDOR Packeteer 27 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.paloalto: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Palo Alto Networks. 8 | # 9 | # $Id: 42aa7afb0b6c1a5b04fd29be781ea99136f4afd8 $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR PaloAlto 25461 14 | 15 | BEGIN-VENDOR PaloAlto 16 | 17 | ATTRIBUTE PaloAlto-Admin-Role 1 string 18 | ATTRIBUTE PaloAlto-Admin-Access-Domain 2 string 19 | ATTRIBUTE PaloAlto-Panorama-Admin-Role 3 string 20 | ATTRIBUTE PaloAlto-Panorama-Admin-Access-Domain 4 string 21 | ATTRIBUTE PaloAlto-User-Group 5 string 22 | 23 | END-VENDOR PaloAlto 24 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.pfsense: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # 4 | # dictionary.pfsense 5 | # pfSense Captive Portal Dictionary 6 | # 7 | # https://github.com/pfsense/pfsense/blob/master/src/usr/share/doc/radius/dictionary.pfsense 8 | # 9 | 10 | VENDOR pfSense 13644 11 | 12 | BEGIN-VENDOR pfSense 13 | 14 | ATTRIBUTE pfSense-Bandwidth-Max-Up 1 integer 15 | ATTRIBUTE pfSense-Bandwidth-Max-Down 2 integer 16 | ATTRIBUTE pfSense-Max-Total-Octets 3 integer 17 | 18 | END-VENDOR pfSense 19 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.pica8: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # Version $Id: e3a15aa75e95ac2ffb48855266fb4c5e01f9face $ 5 | # 6 | # Pica8 RADIUS attributes 7 | # For general information please visit: 8 | # http://www.pica8.com 9 | # 10 | 11 | VENDOR Pica8 35098 12 | 13 | BEGIN-VENDOR Pica8 14 | 15 | ATTRIBUTE Pica8-AVPair 1 string 16 | ATTRIBUTE Pica8-IP-Downloadable-ACL-Rule 2 string 17 | ATTRIBUTE Pica8-IP-Downloadable-ACL-Name 3 string 18 | ATTRIBUTE Pica8-Redirect-URL 4 string 19 | 20 | END-VENDOR Pica8 21 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.propel: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # $Id: d3eaac9e46b13bcab18631d6cf0d33a862a48bc2 $ 6 | # 7 | 8 | VENDOR Propel 14895 9 | 10 | BEGIN-VENDOR Propel 11 | ATTRIBUTE Propel-Accelerate 1 integer 12 | ATTRIBUTE Propel-Dialed-Digits 2 string 13 | ATTRIBUTE Propel-Client-IP-Address 3 ipaddr 14 | ATTRIBUTE Propel-Client-NAS-IP-Address 4 ipaddr 15 | ATTRIBUTE Propel-Client-Source-ID 5 integer 16 | ATTRIBUTE Propel-Content-Filter-ID 6 integer 17 | END-VENDOR Propel 18 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.prosoft: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Prosoft, as posted to the list. 8 | # 9 | # $Id: 7b20339454785db192589f01c01f254131d24978 $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Prosoft 4735 14 | 15 | # 16 | # Custom Prosoft attributes. 17 | # 18 | 19 | BEGIN-VENDOR Prosoft 20 | 21 | ATTRIBUTE Prosoft-Home-Agent-Address 0 ipaddr 22 | ATTRIBUTE Prosoft-Default-Gateway 1 ipaddr 23 | ATTRIBUTE Prosoft-Primary-DNS 2 ipaddr 24 | ATTRIBUTE Prosoft-Secondary-DNS 3 ipaddr 25 | ATTRIBUTE Prosoft-Security-Parameter-Index 4 integer 26 | ATTRIBUTE Prosoft-Security-Key 5 string 27 | ATTRIBUTE Prosoft-MAC-Address 7 string 28 | ATTRIBUTE Prosoft-Authentication-Reason 8 integer 29 | ATTRIBUTE Prosoft-ATM-Interface 9 integer 30 | ATTRIBUTE Prosoft-ATM-VPI 10 integer 31 | ATTRIBUTE Prosoft-ATM-VCI 11 integer 32 | ATTRIBUTE Prosoft-RSC-Identifier 12 string 33 | ATTRIBUTE Prosoft-NPM-Identifier 13 string 34 | ATTRIBUTE Prosoft-NPM-IP 14 string 35 | ATTRIBUTE Prosoft-Sector-ID 15 string 36 | ATTRIBUTE Prosoft-Auth-Role 16 integer 37 | 38 | VALUE Prosoft-Auth-Role Read-Status 0 39 | VALUE Prosoft-Auth-Role Read-Config 1 40 | VALUE Prosoft-Auth-Role Read-Write 2 41 | VALUE Prosoft-Auth-Role Admin 3 42 | VALUE Prosoft-Auth-Role Super-user 4 43 | 44 | END-VENDOR Prosoft 45 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.quiconnect: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Quiconnect VSA's. 8 | # 9 | # $Id: 5504cc286d30772d34ff5192644c9a6bc854732a $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Quiconnect 14436 14 | 15 | BEGIN-VENDOR Quiconnect 16 | 17 | ATTRIBUTE Quiconnect-AVPair 1 string 18 | ATTRIBUTE Quiconnect-VNP-Information 2 string 19 | ATTRIBUTE Quiconnect-HSP-Information 3 string 20 | 21 | END-VENDOR Quiconnect 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rcntec: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # Version $Id: a1cdae175b1c7b74f40216eb52d11f5b50af0eec $ 5 | ########################################################### 6 | # Resilient Cloud Network Technologies (RCNTEC) 7 | # Dictionary for RCNTEC's RPCM hardware, https://rpcm.pro 8 | # Contributed by Sergey Minakov 9 | # 10 | # 11 | ########################################################### 12 | 13 | VENDOR RCNTEC 46235 14 | BEGIN-VENDOR RCNTEC 15 | 16 | ATTRIBUTE RCNTEC-RPCM-Group 1 string 17 | ATTRIBUTE RCNTEC-RPCM-Session-Expire 2 integer 18 | 19 | END-VENDOR RCNTEC 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.redcreek: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # http://www.redcreek.com 6 | # $Id: d8a5f86907bb429a7d2ada787e1e0374562d6d2a $ 7 | # 8 | 9 | VENDOR RedCreek 1958 10 | 11 | BEGIN-VENDOR RedCreek 12 | 13 | ATTRIBUTE RedCreek-Tunneled-IP-Addr 5 ipaddr 14 | ATTRIBUTE RedCreek-Tunneled-IP-Netmask 6 ipaddr 15 | ATTRIBUTE RedCreek-Tunneled-Gateway 7 ipaddr 16 | ATTRIBUTE RedCreek-Tunneled-DNS-Server 8 string 17 | ATTRIBUTE RedCreek-Tunneled-WINS-Server1 9 string 18 | ATTRIBUTE RedCreek-Tunneled-WINS-Server2 10 string 19 | ATTRIBUTE RedCreek-Tunneled-HostName 11 string 20 | ATTRIBUTE RedCreek-Tunneled-DomainName 12 string 21 | ATTRIBUTE RedCreek-Tunneled-Search-List 13 string 22 | 23 | END-VENDOR RedCreek 24 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc2867: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 2867. 6 | # http://www.ietf.org/rfc/rfc2867.txt 7 | # 8 | # $Id: 821f860b452b3cfc6c7f7d0023601a3192c8f1b4 $ 9 | # 10 | ATTRIBUTE Acct-Tunnel-Connection 68 string 11 | ATTRIBUTE Acct-Tunnel-Packets-Lost 86 integer 12 | 13 | VALUE Acct-Status-Type Tunnel-Start 9 14 | VALUE Acct-Status-Type Tunnel-Stop 10 15 | VALUE Acct-Status-Type Tunnel-Reject 11 16 | VALUE Acct-Status-Type Tunnel-Link-Start 12 17 | VALUE Acct-Status-Type Tunnel-Link-Stop 13 18 | VALUE Acct-Status-Type Tunnel-Link-Reject 14 19 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc2869: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 2869. 6 | # http://www.ietf.org/rfc/rfc2869.txt 7 | # 8 | # $Id: 4dd40fef07deeb14e5dcce7434ffa9ac573d7107 $ 9 | # 10 | ATTRIBUTE Acct-Input-Gigawords 52 integer 11 | ATTRIBUTE Acct-Output-Gigawords 53 integer 12 | 13 | ATTRIBUTE Event-Timestamp 55 date 14 | 15 | ATTRIBUTE ARAP-Password 70 octets[16] 16 | ATTRIBUTE ARAP-Features 71 octets[14] 17 | ATTRIBUTE ARAP-Zone-Access 72 integer 18 | ATTRIBUTE ARAP-Security 73 integer 19 | ATTRIBUTE ARAP-Security-Data 74 string 20 | ATTRIBUTE Password-Retry 75 integer 21 | ATTRIBUTE Prompt 76 integer 22 | ATTRIBUTE Connect-Info 77 string 23 | ATTRIBUTE Configuration-Token 78 string 24 | ATTRIBUTE EAP-Message 79 octets concat 25 | ATTRIBUTE Message-Authenticator 80 octets 26 | 27 | ATTRIBUTE ARAP-Challenge-Response 84 octets[8] 28 | ATTRIBUTE Acct-Interim-Interval 85 integer 29 | # 86: RFC 2867 30 | ATTRIBUTE NAS-Port-Id 87 string 31 | ATTRIBUTE Framed-Pool 88 string 32 | 33 | # ARAP Zone Access 34 | 35 | VALUE ARAP-Zone-Access Default-Zone 1 36 | VALUE ARAP-Zone-Access Zone-Filter-Inclusive 2 37 | VALUE ARAP-Zone-Access Zone-Filter-Exclusive 4 38 | 39 | # Prompt 40 | VALUE Prompt No-Echo 0 41 | VALUE Prompt Echo 1 42 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc3162: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 3162. 6 | # http://www.ietf.org/rfc/rfc3162.txt 7 | # 8 | # $Id: e90e387d9e2335aad6e17422055e7a0560dacb99 $ 9 | # 10 | ATTRIBUTE NAS-IPv6-Address 95 ipv6addr 11 | ATTRIBUTE Framed-Interface-Id 96 ifid 12 | ATTRIBUTE Framed-IPv6-Prefix 97 ipv6prefix 13 | ATTRIBUTE Login-IPv6-Host 98 ipv6addr 14 | ATTRIBUTE Framed-IPv6-Route 99 string 15 | ATTRIBUTE Framed-IPv6-Pool 100 string 16 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc3576: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 3576. 6 | # http://www.ietf.org/rfc/rfc3576.txt 7 | # 8 | # $Id: 9ad092003cb0a889c0a26d80fbf594c2a42921a3 $ 9 | # 10 | ATTRIBUTE Error-Cause 101 integer 11 | 12 | # Service Types 13 | 14 | VALUE Service-Type Authorize-Only 17 15 | 16 | # Error causes 17 | 18 | VALUE Error-Cause Residual-Context-Removed 201 19 | VALUE Error-Cause Invalid-EAP-Packet 202 20 | VALUE Error-Cause Unsupported-Attribute 401 21 | VALUE Error-Cause Missing-Attribute 402 22 | VALUE Error-Cause NAS-Identification-Mismatch 403 23 | VALUE Error-Cause Invalid-Request 404 24 | VALUE Error-Cause Unsupported-Service 405 25 | VALUE Error-Cause Unsupported-Extension 406 26 | VALUE Error-Cause Administratively-Prohibited 501 27 | VALUE Error-Cause Proxy-Request-Not-Routable 502 28 | VALUE Error-Cause Session-Context-Not-Found 503 29 | VALUE Error-Cause Session-Context-Not-Removable 504 30 | VALUE Error-Cause Proxy-Processing-Error 505 31 | VALUE Error-Cause Resources-Unavailable 506 32 | VALUE Error-Cause Request-Initiated 507 33 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc3580: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 3580. 6 | # http://www.ietf.org/rfc/rfc3580.txt 7 | # 8 | # $Id: 234076858412d1fdf138189ee799d5c88d779d42 $ 9 | # 10 | VALUE Acct-Terminate-Cause Supplicant-Restart 19 11 | VALUE Acct-Terminate-Cause Reauthentication-Failure 20 12 | VALUE Acct-Terminate-Cause Port-Reinit 21 13 | VALUE Acct-Terminate-Cause Port-Disabled 22 14 | 15 | VALUE NAS-Port-Type Token-Ring 20 16 | VALUE NAS-Port-Type FDDI 21 17 | 18 | VALUE Tunnel-Type VLAN 13 19 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc4072: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 4072 6 | # http://www.ietf.org/rfc/rfc4072.txt 7 | # 8 | # $Id: 3bb543f2c9080b567d3ecc077f1d556e1ff87cca $ 9 | # 10 | 11 | ATTRIBUTE EAP-Key-Name 102 octets 12 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc4372: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 4372. 6 | # http://www.ietf.org/rfc/rfc4372.txt 7 | # 8 | # $Id: c7a4ea373b65f5942f8785eca748d2e8b8e72919 $ 9 | # 10 | ATTRIBUTE Chargeable-User-Identity 89 octets 11 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc4603: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Attributes and values defined in RFC 4603. 8 | # http://www.ietf.org/rfc/rfc4603.txt 9 | # 10 | # $Id: f7ab4955af90a78ba08114ee4661597b84638496 $ 11 | # 12 | ############################################################################## 13 | 14 | VALUE NAS-Port-Type PPPoA 30 15 | VALUE NAS-Port-Type PPPoEoA 31 16 | VALUE NAS-Port-Type PPPoEoE 32 17 | VALUE NAS-Port-Type PPPoEoVLAN 33 18 | VALUE NAS-Port-Type PPPoEoQinQ 34 19 | 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc4675: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 4675. 6 | # http://www.ietf.org/rfc/rfc4675.txt 7 | # 8 | # $Id: 6c3b64de26aee6d6dcf601b705e1df48de3cbcb3 $ 9 | # 10 | 11 | # 12 | # High byte = '1' (0x31) means the frames are tagged. 13 | # High byte = '2' (0x32) means the frames are untagged. 14 | # 15 | # Next 12 bits MUST be zero. 16 | # 17 | # Lower 12 bits is the IEEE-802.1Q VLAN VID. 18 | # 19 | ATTRIBUTE Egress-VLANID 56 integer 20 | ATTRIBUTE Ingress-Filters 57 integer 21 | 22 | # 23 | # First byte == '1' (0x31) means that the frames are tagged. 24 | # First byte == '2' (0x32) means that the frames are untagged. 25 | # 26 | ATTRIBUTE Egress-VLAN-Name 58 string 27 | ATTRIBUTE User-Priority-Table 59 octets # 8 28 | 29 | VALUE Ingress-Filters Enabled 1 30 | VALUE Ingress-Filters Disabled 2 31 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc4818: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Attributes and values defined in RFC 4818. 8 | # http://www.ietf.org/rfc/rfc4818.txt 9 | # 10 | # $Id: cc56252f267a6932171feb5fddc44218ade35841 $ 11 | # 12 | ############################################################################## 13 | 14 | ATTRIBUTE Delegated-IPv6-Prefix 123 ipv6prefix 15 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc4849: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 4849. 6 | # http://www.ietf.org/rfc/rfc4849.txt 7 | # 8 | # $Id: 3ddb0ef32d29537c4302009d77acf784db8dc7ff $ 9 | # 10 | ATTRIBUTE NAS-Filter-Rule 92 string 11 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc5090: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 5090. 6 | # http://www.ietf.org/rfc/rfc5090.txt 7 | # 8 | # $Id: 2531b26e966cba82e4621c3486793c7d98880270 $ 9 | # 10 | ATTRIBUTE Digest-Response 103 string 11 | ATTRIBUTE Digest-Realm 104 string 12 | ATTRIBUTE Digest-Nonce 105 string 13 | ATTRIBUTE Digest-Response-Auth 106 string 14 | ATTRIBUTE Digest-Nextnonce 107 string 15 | ATTRIBUTE Digest-Method 108 string 16 | ATTRIBUTE Digest-URI 109 string 17 | ATTRIBUTE Digest-Qop 110 string 18 | ATTRIBUTE Digest-Algorithm 111 string 19 | ATTRIBUTE Digest-Entity-Body-Hash 112 string 20 | ATTRIBUTE Digest-CNonce 113 string 21 | ATTRIBUTE Digest-Nonce-Count 114 string 22 | ATTRIBUTE Digest-Username 115 string 23 | ATTRIBUTE Digest-Opaque 116 string 24 | ATTRIBUTE Digest-Auth-Param 117 string 25 | ATTRIBUTE Digest-AKA-Auts 118 string 26 | ATTRIBUTE Digest-Domain 119 string 27 | ATTRIBUTE Digest-Stale 120 string 28 | ATTRIBUTE Digest-HA1 121 string 29 | ATTRIBUTE SIP-AOR 122 string 30 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc5176: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 5176. 6 | # http://www.ietf.org/rfc/rfc5176.txt 7 | # 8 | # $Id: 118fa0781d9e96721c7181fc948e1f1b1a068cd9 $ 9 | # 10 | VALUE Error-Cause Invalid-Attribute-Value 407 11 | VALUE Error-Cause Multiple-Session-Selection-Unsupported 508 12 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc5447: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 5447. 6 | # http://www.ietf.org/rfc/rfc5447.txt 7 | # 8 | # $Id: f54758a3e141e0911cad51b09dae305d69c23cb7 $ 9 | # 10 | 11 | # 64-bit bit field 12 | ATTRIBUTE MIP6-Feature-Vector 124 integer64 13 | 14 | # 15 | # Encoded as one octet prefix, followed by 16 octets of address information. 16 | # 17 | ATTRIBUTE MIP6-Home-Link-Prefix 125 octets 18 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc5580: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 5580. 6 | # http://www.ietf.org/rfc/rfc5580.txt 7 | # 8 | # $Id: 07de61e865e7a2d0c93592cafdb26eafb407b28b $ 9 | # 10 | 11 | # One ASCII character of Namespace ID 12 | # 0 = TADIG (GSM) 13 | # 1 = Realm 14 | # 2 = E212 15 | # 16 | # 17 | # Followed by the actual string 18 | ATTRIBUTE Operator-Name 126 string 19 | 20 | # 21 | # Large blobs of stuff 22 | # 23 | ATTRIBUTE Location-Information 127 octets 24 | ATTRIBUTE Location-Data 128 octets 25 | ATTRIBUTE Basic-Location-Policy-Rules 129 octets 26 | ATTRIBUTE Extended-Location-Policy-Rules 130 string 27 | 28 | # 29 | # Really a bit-packed field 30 | # 31 | ATTRIBUTE Location-Capable 131 integer 32 | VALUE Location-Capable Civic-Location 1 33 | VALUE Location-Capable Geo-Location 2 34 | VALUE Location-Capable Users-Location 4 35 | VALUE Location-Capable NAS-Location 8 36 | 37 | ATTRIBUTE Requested-Location-Info 132 integer 38 | VALUE Requested-Location-Info Civic-Location 1 39 | VALUE Requested-Location-Info Geo-Location 2 40 | VALUE Requested-Location-Info Users-Location 4 41 | VALUE Requested-Location-Info NAS-Location 8 42 | VALUE Requested-Location-Info Future-Requests 16 43 | VALUE Requested-Location-Info None 32 44 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc5607: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 5607. 6 | # http://www.ietf.org/rfc/rfc5607.txt 7 | # 8 | # $Id: ef47c5d8d7daa7631f698db394d2478f222f2472 $ 9 | # 10 | 11 | VALUE Service-Type Framed-Management 18 12 | 13 | ATTRIBUTE Framed-Management 133 integer 14 | 15 | VALUE Framed-Management SNMP 1 16 | VALUE Framed-Management Web-Based 2 17 | VALUE Framed-Management Netconf 3 18 | VALUE Framed-Management FTP 4 19 | VALUE Framed-Management TFTP 5 20 | VALUE Framed-Management SFTP 6 21 | VALUE Framed-Management RCP 7 22 | VALUE Framed-Management SCP 8 23 | 24 | ATTRIBUTE Management-Transport-Protection 134 integer 25 | 26 | VALUE Management-Transport-Protection No-Protection 1 27 | VALUE Management-Transport-Protection Integrity-Protection 2 28 | VALUE Management-Transport-Protection Integrity-Confidentiality-Protection 3 29 | 30 | ATTRIBUTE Management-Policy-Id 135 string 31 | 32 | ATTRIBUTE Management-Privilege-Level 136 integer 33 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc5904: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 5904. 6 | # http://www.ietf.org/rfc/rfc5904.txt 7 | # 8 | # $Id: 7f2cf2d309f26b11c96ed6f4270d4bd820e436d7 $ 9 | # 10 | 11 | # The next two attributes are continued, like EAP-Message 12 | ATTRIBUTE PKM-SS-Cert 137 octets concat 13 | ATTRIBUTE PKM-CA-Cert 138 octets concat 14 | 15 | # 28 bytes of data, 7 integers 16 | ATTRIBUTE PKM-Config-Settings 139 octets 17 | ATTRIBUTE PKM-Cryptosuite-List 140 octets 18 | ATTRIBUTE PKM-SAID 141 short 19 | 20 | # 6 bytes of data: SAID, 1 byte of type, 3 of cryptosuite 21 | ATTRIBUTE PKM-SA-Descriptor 142 octets 22 | 23 | # 133 bytes of data: integer lifetime, 1 byte sequence, 128 bytes of key 24 | ATTRIBUTE PKM-Auth-Key 143 octets 25 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc6519: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 6519. 6 | # http://www.ietf.org/rfc/rfc6519.txt 7 | # 8 | # $Id: dc53b52f951c7252d52f51e335bd5523b78397f5 $ 9 | # 10 | 11 | ATTRIBUTE DS-Lite-Tunnel-Name 144 string 12 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc6572: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 6572. 6 | # http://www.ietf.org/rfc/rfc6572.txt 7 | # 8 | # $Id: 65cc95bae67e1047d13a371748e9cdb6d45cc779 $ 9 | # 10 | 11 | ATTRIBUTE Mobile-Node-Identifier 145 octets 12 | ATTRIBUTE Service-Selection 146 string 13 | ATTRIBUTE PMIP6-Home-LMA-IPv6-Address 147 ipv6addr 14 | ATTRIBUTE PMIP6-Visited-LMA-IPv6-Address 148 ipv6addr 15 | ATTRIBUTE PMIP6-Home-LMA-IPv4-Address 149 ipaddr 16 | ATTRIBUTE PMIP6-Visited-LMA-IPv4-Address 150 ipaddr 17 | ATTRIBUTE PMIP6-Home-HN-Prefix 151 ipv6prefix 18 | ATTRIBUTE PMIP6-Visited-HN-Prefix 152 ipv6prefix 19 | ATTRIBUTE PMIP6-Home-Interface-ID 153 ifid 20 | ATTRIBUTE PMIP6-Visited-Interface-ID 154 ifid 21 | ATTRIBUTE PMIP6-Home-IPv4-HoA 155 ipv4prefix 22 | ATTRIBUTE PMIP6-Visited-IPv4-HoA 156 ipv4prefix 23 | ATTRIBUTE PMIP6-Home-DHCP4-Server-Address 157 ipaddr 24 | ATTRIBUTE PMIP6-Visited-DHCP4-Server-Address 158 ipaddr 25 | ATTRIBUTE PMIP6-Home-DHCP6-Server-Address 159 ipv6addr 26 | ATTRIBUTE PMIP6-Visited-DHCP6-Server-Address 160 ipv6addr 27 | ATTRIBUTE PMIP6-Home-IPv4-Gateway 161 ipaddr 28 | ATTRIBUTE PMIP6-Visited-IPv4-Gateway 162 ipaddr 29 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc6677: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 6677 6 | # http://www.ietf.org/rfc/rfc6677.txt 7 | # 8 | 9 | ATTRIBUTE EAP-Lower-Layer 163 integer 10 | 11 | VALUE EAP-Lower-Layer Wired-IEEE-802.1X 1 12 | VALUE EAP-Lower-Layer IEEE-802.1X-No-Preauth 2 13 | VALUE EAP-Lower-Layer IEEE-802.1X-Preauth 3 14 | VALUE EAP-Lower-Layer IEEE-802.16e 4 15 | VALUE EAP-Lower-Layer IKEv2 5 16 | VALUE EAP-Lower-Layer PPP 6 17 | VALUE EAP-Lower-Layer PANA-No-Preauth 7 18 | VALUE EAP-Lower-Layer GSS-API 8 19 | VALUE EAP-Lower-Layer PANA-Preauth 9 20 | 21 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc6911: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 6911 6 | # http://www.ietf.org/rfc/rfc6911.txt 7 | # 8 | 9 | ATTRIBUTE Framed-IPv6-Address 168 ipv6addr 10 | ATTRIBUTE DNS-Server-IPv6-Address 169 ipv6addr 11 | ATTRIBUTE Route-IPv6-Information 170 ipv6prefix 12 | ATTRIBUTE Delegated-IPv6-Prefix-Pool 171 string 13 | ATTRIBUTE Stateful-IPv6-Address-Pool 172 string 14 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc6929: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 6929 6 | # http://www.ietf.org/rfc/rfc6929.txt 7 | 8 | # 9 | # These attributes in this dictionary are "place-holder". They 10 | # should NEVER be used by name. The "extended" and "long-extended" 11 | # and "evs" data types should NEVER be used in any other dictionary. 12 | # 13 | # 14 | ATTRIBUTE Extended-Attribute-1 241 extended 15 | ATTRIBUTE Extended-Attribute-2 242 extended 16 | ATTRIBUTE Extended-Attribute-3 243 extended 17 | ATTRIBUTE Extended-Attribute-4 244 extended 18 | ATTRIBUTE Extended-Attribute-5 245 long-extended 19 | ATTRIBUTE Extended-Attribute-6 246 long-extended 20 | 21 | ATTRIBUTE Extended-Vendor-Specific-1 241.26 evs 22 | ATTRIBUTE Extended-Vendor-Specific-2 242.26 evs 23 | ATTRIBUTE Extended-Vendor-Specific-3 243.26 evs 24 | ATTRIBUTE Extended-Vendor-Specific-4 244.26 evs 25 | ATTRIBUTE Extended-Vendor-Specific-5 245.26 evs 26 | ATTRIBUTE Extended-Vendor-Specific-6 246.26 evs 27 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc6930: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 6930 6 | # http://www.ietf.org/rfc/rfc6930.txt 7 | # 8 | 9 | ATTRIBUTE IPv6-6rd-Configuration 173 tlv 10 | ATTRIBUTE IPv6-6rd-IPv4MaskLen 173.1 integer 11 | ATTRIBUTE IPv6-6rd-Prefix 173.2 ipv6prefix 12 | ATTRIBUTE IPv6-6rd-BR-IPv4-Address 173.3 ipaddr 13 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc7055: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 7055 6 | # http://www.ietf.org/rfc/rfc7055.txt 7 | # 8 | 9 | ATTRIBUTE GSS-Acceptor-Service-Name 164 string 10 | ATTRIBUTE GSS-Acceptor-Host-Name 165 string 11 | ATTRIBUTE GSS-Acceptor-Service-Specifics 166 string 12 | ATTRIBUTE GSS-Acceptor-Realm-Name 167 string 13 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc7155: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 7155 6 | # http://www.ietf.org/rfc/rfc7155.txt 7 | # 8 | 9 | # The Value field contains two octets (00 - 99). ANSI T1.113 and 10 | # BELLCORE 394 can be used for additional information about these 11 | # values and their use. 12 | ATTRIBUTE Originating-Line-Info 94 octets[2] 13 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc7499: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 7499. 6 | # http://www.ietf.org/rfc/rfc7499.txt 7 | # 8 | # $Id: 2231b8faec5aea6c785765e8ec830a05815a66e4 $ 9 | # 10 | 11 | ATTRIBUTE Frag-Status 241.1 integer 12 | ATTRIBUTE Proxy-State-Length 241.2 integer 13 | 14 | VALUE Frag-Status Reserved 0 15 | VALUE Frag-Status Fragmentation-Supported 1 16 | VALUE Frag-Status More-Data-Pending 2 17 | VALUE Frag-Status More-Data-Request 3 18 | 19 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc7930: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 7930 6 | # http://www.ietf.org/rfc/rfc7930.txt 7 | # 8 | 9 | ATTRIBUTE Response-Length 241.3 integer 10 | ATTRIBUTE Original-Packet-Code 241.4 integer 11 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.rfc8559: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Attributes and values defined in RFC 8859 6 | # http://www.ietf.org/rfc/rfc8859 7 | # 8 | 9 | ATTRIBUTE Operator-NAS-Identifier 241.8 octets 10 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.riverbed: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Riverbed VSAs 8 | # 9 | # https://support.riverbed.com/bin/support/static/doc/steelhead/8.5.2/html/sh_8.5.2_dg/wwhelp/wwhimpl/common/html/wwhelp.htm#href=radius_tacacs.22.04.html&single=true 10 | # 11 | # $Id: 8d3b50196ca83a63ef9d893c1460d3929bdb1b0d $ 12 | # 13 | ############################################################################## 14 | 15 | VENDOR Riverbed 17163 16 | 17 | BEGIN-VENDOR Riverbed 18 | 19 | ATTRIBUTE Riverbed-Local-User 1 string 20 | 21 | END-VENDOR Riverbed 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.riverstone: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Riverstone Networks' RADIUS VSAs 8 | # *** For RapidOS Versions 9.1 and above ONLY *** 9 | # 10 | # $Id: d941b26c5da689b591f9a7295b0e85e313b7d3ea $ 11 | # 12 | ############################################################################## 13 | 14 | VENDOR Riverstone 5567 15 | 16 | # 17 | # Riverstone-Command 18 | # 19 | # This attribute is sent in Accounting-Requests, and contains text 20 | # from the admin's CLI session. 21 | # 22 | BEGIN-VENDOR Riverstone 23 | 24 | ATTRIBUTE Riverstone-Command 1 string 25 | 26 | # 27 | # This attribute is sent in Accounting-Requests, as a duplicate 28 | # of syslog for system event messages. 29 | # 30 | ATTRIBUTE Riverstone-System-Event 2 string 31 | 32 | # 33 | # This attribute is sent in Accounting-Requests, to log changes 34 | # made via SNMP. 35 | # 36 | ATTRIBUTE Riverstone-SNMP-Config-Change 3 string 37 | 38 | # 39 | # This attribute should be sent in Access-Accept packets, to set 40 | # the privilege level. It MUST be sent when the device is operating 41 | # in Mult-User Access mode. 42 | # 43 | ATTRIBUTE Riverstone-User-Level 4 integer 44 | 45 | END-VENDOR Riverstone 46 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.roaringpenguin: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Roaring Penguin attributes 8 | # 9 | # $Id: 4ffde12ba2aaf38150b9acecac16fa9def149a8b $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Roaring-Penguin 10055 14 | 15 | BEGIN-VENDOR Roaring-Penguin 16 | 17 | # Upstream speed limit in kb/s 18 | ATTRIBUTE RP-Upstream-Speed-Limit 1 integer 19 | # Downstream speed limit in kb/s 20 | ATTRIBUTE RP-Downstream-Speed-Limit 2 integer 21 | 22 | # Send a HURL 23 | ATTRIBUTE RP-HURL 3 string 24 | 25 | # Send a MOTM 26 | ATTRIBUTE RP-MOTM 4 string 27 | 28 | # Maximum sessions per user 29 | ATTRIBUTE RP-Max-Sessions-Per-User 5 integer 30 | 31 | END-VENDOR Roaring-Penguin 32 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.ruggedcom: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | 6 | VENDOR RuggedCom 15004 7 | 8 | BEGIN-VENDOR RuggedCom 9 | 10 | ATTRIBUTE RuggedCom-Privilege-level 2 string 11 | 12 | END-VENDOR RuggedCom 13 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.shasta: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # dictionary.shasta 6 | # 7 | # Nortel Shasta VSAs 8 | # Andre Gustavo de C. Albuquerque 9 | # 10 | 11 | VENDOR Shasta 3199 12 | 13 | # 14 | # Standard attribute 15 | # 16 | BEGIN-VENDOR Shasta 17 | 18 | ATTRIBUTE Shasta-User-Privilege 1 integer 19 | ATTRIBUTE Shasta-Service-Profile 2 string 20 | ATTRIBUTE Shasta-VPN-Name 3 string 21 | 22 | VALUE Shasta-User-Privilege User 1 23 | VALUE Shasta-User-Privilege Super-User 2 24 | VALUE Shasta-User-Privilege SSuper-User 3 25 | 26 | END-VENDOR Shasta 27 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.siemens: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Siemens 8 | # 9 | # $Id: 5d04502fd57a1deee75366fe53cb7c9ce4197c9d $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Siemens 4329 14 | 15 | BEGIN-VENDOR Siemens 16 | 17 | ATTRIBUTE Siemens-URL-Redirection 1 string 18 | ATTRIBUTE Siemens-AP-Name 2 string 19 | ATTRIBUTE Siemens-AP-Serial 3 string 20 | ATTRIBUTE Siemens-VNS-Name 4 string 21 | ATTRIBUTE Siemens-SSID 5 string 22 | ATTRIBUTE Siemens-BSS-MAC 6 string 23 | ATTRIBUTE Siemens-Policy-Name 7 string 24 | ATTRIBUTE Siemens-Topology-Name 8 string 25 | ATTRIBUTE Siemens-Ingress-RC-Name 9 string 26 | ATTRIBUTE Siemens-Egress-RC-Name 10 string 27 | 28 | END-VENDOR Siemens 29 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.slipstream: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # For Slipstream dialup accelerator servers 8 | # Created based on 9 | # slipstream_sp_6.0_installation_and_configuration_guide.pdf 10 | # 11 | # $Id: 62746621aae00bf8260fdfa3d176a4ae33e3d12b $ 12 | # 13 | ############################################################################## 14 | 15 | VENDOR Slipstream 7000 16 | 17 | BEGIN-VENDOR Slipstream 18 | 19 | ATTRIBUTE Slipstream-Auth 1 string 20 | 21 | END-VENDOR Slipstream 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.sofaware: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Sofaware VPN-1 Edge from Sofaware (Check Point appliance). 8 | # 9 | # Values are strings, rather than real VALUEs. 10 | # 11 | # SofaWare-Admin : "none" / "readonly" / "readwrite" 12 | # Users have no, read-only or read-write access to the 13 | # appliance's configuration interface (Web / SSH) 14 | # 15 | # SofaWare-VPN : `true" / "false" 16 | # User can / cannot connect the VPN 17 | # 18 | # SofaWare-Hotspot : "true" / "false" 19 | # The account can be used for authentication on the 20 | # Hotspot web page (may be required before accessing 21 | # the Internet) 22 | # 23 | # SofaWare-UFP : "true" / "false" 24 | # The user can /cannot overwrite the URL Filtering policy 25 | # 26 | # $Id: 0eec6e9d26fcd9d969e881fd9b86b142529ce44d $ 27 | # 28 | ############################################################################## 29 | 30 | VENDOR SofaWare 6983 31 | 32 | BEGIN-VENDOR SofaWare 33 | 34 | ATTRIBUTE SofaWare-Admin 1 string 35 | ATTRIBUTE SofaWare-VPN 2 string 36 | ATTRIBUTE SofaWare-Hotspot 3 string 37 | ATTRIBUTE SofaWare-UFP 4 string 38 | 39 | END-VENDOR SofaWare 40 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.softbank: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors# 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################# 6 | # 7 | # Softbank VSAs 8 | # 9 | # $Id: 9ee8c0361f6dc7b94386c9cec0c78286454f35eb $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR SoftBank 22197 14 | 15 | BEGIN-VENDOR SoftBank 16 | 17 | ATTRIBUTE SoftBank-BB-Unit-MAC 1 string 18 | ATTRIBUTE SoftBank-BB-Unit-Manufacturer 2 string 19 | ATTRIBUTE SoftBank-BB-Unit-Model 3 string 20 | ATTRIBUTE SoftBank-BB-Unit-HW-Revision 4 string 21 | 22 | ATTRIBUTE SoftBank-TFTP-Config-Server 185 ipaddr 23 | ATTRIBUTE SoftBank-TFTP-Config-File 186 string 24 | ATTRIBUTE SoftBank-DNS-IPv6-Primary 198 ipv6addr 25 | ATTRIBUTE SoftBank-DNS-IPv6-Secondary 199 ipv6addr 26 | ATTRIBUTE SoftBank-Syslog-Server 201 ipv6addr 27 | ATTRIBUTE SoftBank-SNTP-Server 203 ipv6addr 28 | ATTRIBUTE SoftBank-IPv4-Tunnel-Local-Address 204 ipaddr 29 | ATTRIBUTE SoftBank-IPv4-Tunnel-Endpoint 207 ipv6addr 30 | ATTRIBUTE SoftBank-RouteInfo-Server 215 string 31 | 32 | END-VENDOR SoftBank 33 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.springtide: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # SpringTide VSAs 8 | # 9 | # $Id: 8a08bfa59b7fd6bee0d8e5369da201942288ecdf $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR SpringTide 3551 14 | 15 | BEGIN-VENDOR SpringTide 16 | 17 | ATTRIBUTE ST-Acct-VC-Connection-Id 1 string 18 | ATTRIBUTE ST-Service-Name 2 string 19 | ATTRIBUTE ST-Service-Domain 3 integer 20 | ATTRIBUTE ST-Policy-Name 4 string 21 | ATTRIBUTE ST-Primary-DNS-Server 5 ipaddr 22 | ATTRIBUTE ST-Secondary-DNS-Server 6 ipaddr 23 | ATTRIBUTE ST-Primary-NBNS-Server 7 ipaddr 24 | ATTRIBUTE ST-Secondary-NBNS-Server 8 ipaddr 25 | ATTRIBUTE ST-Physical-Port 9 integer 26 | ATTRIBUTE ST-Physical-Slot 10 integer 27 | ATTRIBUTE ST-Virtual-Path-ID 11 integer 28 | ATTRIBUTE ST-Virtual-Circuit-ID 12 integer 29 | ATTRIBUTE ST-Realm-Name 13 string 30 | ATTRIBUTE ST-IPSec-Pfs-Group 14 integer 31 | ATTRIBUTE ST-IPSec-Client-Firewall 15 integer 32 | ATTRIBUTE ST-IPSec-Client-Subnet 16 string 33 | 34 | END-VENDOR SpringTide 35 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.surfnet: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Surfnet 8 | # 9 | # $Id: b7ac15819550abd0815d8e4ba4320acc0e447625 $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Surfnet 1076 14 | 15 | BEGIN-VENDOR Surfnet 16 | 17 | ATTRIBUTE Surfnet-AVPair 1 string 18 | ATTRIBUTE Surfnet-Service-Identifier 2 string 19 | ATTRIBUTE Surfnet-Service-Provider 3 string 20 | 21 | END-VENDOR Surfnet 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.t_systems_nova: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # T-Systems-Nova 8 | # 9 | # $Id: 009746a3c1bfd19fab7f1e2b30146ee7ef7da0a6 $ 10 | # 11 | ############################################################################## 12 | VENDOR T-Systems-Nova 16787 13 | 14 | BEGIN-VENDOR T-Systems-Nova 15 | 16 | ATTRIBUTE T-Systems-Nova-Location-ID 1 string 17 | ATTRIBUTE T-Systems-Nova-Location-Name 2 string 18 | ATTRIBUTE T-Systems-Nova-Logoff-URL 3 string 19 | ATTRIBUTE T-Systems-Nova-Redirection-URL 4 string 20 | ATTRIBUTE T-Systems-Nova-Bandwidth-Min-Up 5 integer 21 | ATTRIBUTE T-Systems-Nova-Bandwidth-Min-Down 6 integer 22 | ATTRIBUTE T-Systems-Nova-Bandwidth-Max-Up 7 integer 23 | ATTRIBUTE T-Systems-Nova-Bandwidth-Max-Down 8 integer 24 | ATTRIBUTE T-Systems-Nova-Session-Terminate-Time 9 integer 25 | 26 | #ATTRIBUTE T-Systems-Nova-Session-Terminate-End-Of-Day 10 integer 27 | ATTRIBUTE T-Systems-Nova-Session-Terminate-EoD 10 integer 28 | 29 | ATTRIBUTE T-Systems-Nova-Billing-Class-Of-Service 11 string 30 | ATTRIBUTE T-Systems-Nova-Service-Name 12 string 31 | ATTRIBUTE T-Systems-Nova-Price-Of-Service 13 integer 32 | ATTRIBUTE T-Systems-Nova-Visiting-Provider-Code 14 string 33 | ATTRIBUTE T-Systems-Nova-UnknownAVP 15 string 34 | 35 | END-VENDOR T-Systems-Nova 36 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.telebit: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Telebit dictionary 6 | # 7 | # Telebit was acquired by Cisco in 1996. 8 | # 9 | # $Id: fc36c278ac3c0801b4f1f64df41617283732aa48 $ 10 | # 11 | VENDOR Telebit 117 12 | 13 | BEGIN-VENDOR Telebit 14 | 15 | ATTRIBUTE Telebit-Login-Command 1 string 16 | ATTRIBUTE Telebit-Port-Name 2 string 17 | ATTRIBUTE Telebit-Activate-Command 3 string 18 | ATTRIBUTE Telebit-Accounting-Info 4 string 19 | ATTRIBUTE Telebit-Login-Option 5 string 20 | 21 | END-VENDOR Telebit 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.telkom: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors# 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################# 6 | # 7 | # Telkom SA - RADIUS dictionary 8 | # Used to convey Telkom Specific Information in proxied requests 9 | # EDS 20031007 eddie@saix.net 10 | # 11 | # $Id: af17e6ded0f757fb26cc8b9c8f7670ee996c90ba $ 12 | # 13 | ############################################################################## 14 | 15 | VENDOR Telkom 1431 16 | 17 | BEGIN-VENDOR Telkom 18 | 19 | # Access-Type is used to describe the Access Medium used eg 20 | # Dial/ADSL/VSAT etc. Used in both Access-Requests and Accounting 21 | ATTRIBUTE Telkom-Access-Type 1 string 22 | 23 | # 24 | # Service-Type is used to indicate the Service used main in conjunction 25 | # with the SSG. Used in both Access-Requests and Accounting 26 | ATTRIBUTE Telkom-Service-Type 2 string 27 | 28 | # YFi Hotspot Manager trick to implement government regulation (South African) 29 | ATTRIBUTE Telkom-Degrade-Token 200 string 30 | 31 | END-VENDOR Telkom 32 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.terena: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors# 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # For TERENA VSA's 6 | # 7 | # The reference for these values is: 8 | # http://www.terena.org/activities/tf-emc2/oid.html 9 | # 10 | # $Id: 7b7b857f39df8b91da11af3ce9d701dea1454d20 $ 11 | # 12 | VENDOR TERENA 25178 13 | 14 | BEGIN-VENDOR TERENA 15 | 16 | ATTRIBUTE Eduroam-SP-Country 10 string 17 | ATTRIBUTE Eduroam-Monitoring-Inflate 11 string 18 | 19 | END-VENDOR TERENA 20 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.trapeze: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # dictionary.trapeze 6 | # 7 | # For use with FreeRadius and Trapeze/Juniper MSS software 8 | # 1.1 or greater. 9 | # 10 | # Trapeze Networks has been acquired by Juniper in 2010. 11 | # 12 | # $Id: aa99390439e71fb433eae9c7042a74dca73992ec $ 13 | # 14 | # 15 | VENDOR Trapeze 14525 16 | 17 | # Attributes for MSS 1.1 and later 18 | 19 | BEGIN-VENDOR Trapeze 20 | 21 | ATTRIBUTE Trapeze-VLAN-Name 1 string 22 | ATTRIBUTE Trapeze-Mobility-Profile 2 string 23 | ATTRIBUTE Trapeze-Encryption-Type 3 string 24 | ATTRIBUTE Trapeze-Time-Of-Day 4 string 25 | 26 | # New attributes for MSS 3.0 and later 27 | 28 | ATTRIBUTE Trapeze-SSID 5 string 29 | ATTRIBUTE Trapeze-End-Date 6 string 30 | ATTRIBUTE Trapeze-Start-Date 7 string 31 | ATTRIBUTE Trapeze-URL 8 string 32 | 33 | # Additional attributes, not known when added 34 | ATTRIBUTE Trapeze-User-Group-Name 9 string 35 | ATTRIBUTE Trapeze-QoS-Profile 10 string 36 | ATTRIBUTE Trapeze-Simultaneous-Logins 11 string 37 | ATTRIBUTE Trapeze-CoA-Username 12 string 38 | ATTRIBUTE Trapeze-Audit 13 string 39 | 40 | END-VENDOR Trapeze 41 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.ukerna: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # GSS-EAP VSAs 6 | # 7 | # $Id: fddb1f4243501a70a9bda7186914846b328f5e0e $ 8 | # 9 | 10 | VENDOR UKERNA 25622 11 | 12 | BEGIN-VENDOR UKERNA 13 | 14 | # Previously-vendor-defined IANA attributes 15 | ATTRIBUTE UKERNA-GSS-Acceptor-Service-Name 128 string 16 | ATTRIBUTE UKERNA-GSS-Acceptor-Host-Name 129 string 17 | ATTRIBUTE UKERNA-GSS-Acceptor-Service-Specific 130 string 18 | ATTRIBUTE UKERNA-GSS-Acceptor-Realm-Name 131 string 19 | 20 | # ABFAB-specific attributes for attributes and unlang recipe items 21 | ATTRIBUTE SAML-AAA-Assertion 132 string 22 | ATTRIBUTE EAP-Channel-Binding-Message 135 octets 23 | ATTRIBUTE Trust-Router-COI 136 string 24 | ATTRIBUTE Trust-Router-APC 137 string 25 | 26 | # ABFAB-specific TargetedIds for the three realms of 'influence' 27 | ATTRIBUTE Moonshot-Host-TargetedId 138 string 28 | ATTRIBUTE Moonshot-Realm-TargetedId 139 string 29 | ATTRIBUTE Moonshot-TR-COI-TargetedId 140 string 30 | 31 | # ABFAB-specific attributes for the unlang generation of the above 32 | ATTRIBUTE Moonshot-MSTID-GSS-Acceptor 141 string 33 | ATTRIBUTE Moonshot-MSTID-Namespace 142 string 34 | ATTRIBUTE Moonshot-MSTID-TargetedId 143 string 35 | 36 | # ABFAB-specific OTP token value 37 | ATTRIBUTE Moonshot-OTP-Secret 144 string 38 | 39 | END-VENDOR UKERNA 40 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.unix: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Allegedly for ProFTPd. 6 | # 7 | # $Id: fe5b09aa1a788cb96b90eb2f8d4e4b0439776de7 $ 8 | # 9 | 10 | VENDOR Unix 4 11 | 12 | BEGIN-VENDOR Unix 13 | 14 | ATTRIBUTE Unix-FTP-UID 10 integer 15 | ATTRIBUTE Unix-FTP-GID 11 integer 16 | ATTRIBUTE Unix-FTP-Home 12 string 17 | ATTRIBUTE Unix-FTP-Shell 13 string 18 | ATTRIBUTE Unix-FTP-Group-Names 14 string 19 | ATTRIBUTE Unix-FTP-Group-Ids 15 string 20 | 21 | END-VENDOR Unix 22 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.usr.illegal: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # USE dictionary that illegally uses the RFC space. 8 | # 9 | # $Id: b75176732fd503a902a9ba17ab33000a9c417c86 $ 10 | # 11 | ############################################################################## 12 | # 13 | # USR specific attributes 14 | # 15 | # Prompt value should be 1 for echo, 0 for no echo, default 1. 16 | #ATTRIBUTE Prompt 64 integer 17 | ATTRIBUTE Multi-Link-Flag 126 integer 18 | ATTRIBUTE Char-Noecho 250 integer 19 | 20 | # 21 | # USR specific Integer Translations 22 | # 23 | 24 | VALUE Termination-Action Manage-Resources 2 25 | 26 | VALUE Acct-Status-Type Modem-Start 4 27 | VALUE Acct-Status-Type Modem-Stop 5 28 | VALUE Acct-Status-Type Cancel 6 29 | 30 | VALUE Multi-Link-Flag True 1 31 | VALUE Multi-Link-Flag False 0 32 | 33 | # USR specific Authentication Types 34 | 35 | # 36 | # These are commented out because the conflict with the standard 37 | # definitions. 38 | # 39 | #VALUE Acct-Authentic None 0 40 | #VALUE Acct-Authentic Remote 3 41 | #VALUE Acct-Authentic RADIUS 4 42 | #VALUE Acct-Authentic MNET 5 43 | #VALUE Acct-Authentic KCHAP 6 44 | #VALUE Acct-Authentic TACACS 7 45 | #VALUE Acct-Authentic Realm 8 46 | #VALUE Acct-Authentic Local 9 47 | #VALUE Acct-Authentic File 10 48 | #VALUE Acct-Authentic Local-VPN 11 49 | 50 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.valemount: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Valemount Networks Corporation specific radius attributes 6 | # networks@valemount.com 7 | # 8 | # $Id: aeb61ba17b192c86d6a6fece6af09c1849f9cca0 $ 9 | # 10 | 11 | VENDOR ValemountNetworks 16313 12 | 13 | BEGIN-VENDOR ValemountNetworks 14 | 15 | # Rates to give PPPoE customers, can be used in Authentication replies, 16 | # in bits/s 17 | ATTRIBUTE VNC-PPPoE-CBQ-RX 1 integer 18 | ATTRIBUTE VNC-PPPoE-CBQ-TX 2 integer 19 | 20 | # Fallback support for each direction. (1 / 0) 21 | ATTRIBUTE VNC-PPPoE-CBQ-RX-Fallback 3 integer 22 | ATTRIBUTE VNC-PPPoE-CBQ-TX-Fallback 4 integer 23 | 24 | ATTRIBUTE VNC-Splash 10 integer 25 | 26 | VALUE VNC-Splash Show 1 27 | VALUE VNC-Splash No-Show 0 28 | 29 | END-VENDOR ValemountNetworks 30 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.verizon: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Verizon RADIUS Dictionary for Diameter Rf 8 | # 9 | ############################################################################## 10 | 11 | VENDOR VerizonWireless 12951 12 | 13 | BEGIN-VENDOR VerizonWireless 14 | 15 | ATTRIBUTE Acct-Interim-Record-Number 200 integer 16 | ATTRIBUTE UE-Info-Type 201 integer 17 | ATTRIBUTE UE-Info-Value 202 string 18 | ATTRIBUTE Dynamic-Address-Flag 203 integer 19 | ATTRIBUTE Local-Seq-Number 204 integer 20 | ATTRIBUTE Time-First-Usage 205 date 21 | ATTRIBUTE Time-Last-Usage 206 date 22 | ATTRIBUTE Charging-Group-ID 207 string 23 | ATTRIBUTE Service-Data-Container-Bin 210 octets 24 | ATTRIBUTE Service-Data-Container 211 tlv 25 | 26 | END-VENDOR VerizonWireless 27 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.walabi: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Walabi Store & Forward FAX attributes. 8 | # 9 | # $Id: 8f0167333f7f4e73551b15ca26c5fb63ea66b53c $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Walabi 2004 14 | 15 | VALUE Acct-Status-Type WB-Login 217 16 | VALUE Acct-Status-Type WB-Logout 218 17 | VALUE Acct-Status-Type WB-WRitelog 219 18 | 19 | # Store and Forward Fax Attributes: 20 | BEGIN-VENDOR Walabi 21 | ATTRIBUTE WB-AUTH-Time-Left 1 integer 22 | ATTRIBUTE WB-Auth-Accum-BW 2 integer 23 | ATTRIBUTE WB-Auth-BW-Quota 3 integer 24 | ATTRIBUTE WB-Auth-BW-Count 4 integer 25 | ATTRIBUTE WB-Auth-Upload-Limit 5 integer 26 | ATTRIBUTE WB-Auth-Download-Limit 6 integer 27 | ATTRIBUTE WB-Auth-Login-Time 7 integer 28 | ATTRIBUTE WB-Auth-Logout-Time 8 integer 29 | ATTRIBUTE WB-Auth-Time-Diff 9 integer 30 | ATTRIBUTE WB-Auth-BW-Usage 10 integer 31 | END-VENDOR Walabi 32 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.wichorus: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # Dictionary for WiChorus Inc. VSA's. 6 | # http://www.wichorus.com/ 7 | # 8 | # Version: $Id: 9b3f5990b05576b53f33e39758ca205f6c480b77 $ 9 | # 10 | 11 | VENDOR Wichorus 27030 12 | 13 | BEGIN-VENDOR Wichorus 14 | 15 | ATTRIBUTE Wichorus-Policy-Name 1 string 16 | ATTRIBUTE Wichorus-User-Privilege 2 string 17 | 18 | # 19 | # Some versions of the Wichorus equipment use the following attribute. 20 | # instead of Wichorus-User-Privilege. This is considered to be 21 | # bad practice. 22 | # 23 | 24 | #ATTRIBUTE Wichorus-Host-IP 2 ipaddr 25 | 26 | END-VENDOR Wichorus 27 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.wispr: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | # dictionary.wispr 6 | # 7 | # VSAs originally by 8 | # "James Underwood" 9 | # 10 | # Version: $Id: 1493c36545c061049a6ba0f004be8847a33519da $ 11 | # 12 | # For documentation on WISPr RADIUS attributes, see: 13 | # 14 | # Wi-Fi Alliance - Wireless ISP Roaming - Best Current Practices v1, 15 | # Feb 2003, p 14 16 | # 17 | # http://www.weca.net/OpenSection/downloads/WISPr_V1.0.pdf 18 | 19 | VENDOR WISPr 14122 20 | 21 | # 22 | # Standard attribute 23 | # 24 | BEGIN-VENDOR WISPr 25 | 26 | ATTRIBUTE WISPr-Location-ID 1 string 27 | ATTRIBUTE WISPr-Location-Name 2 string 28 | ATTRIBUTE WISPr-Logoff-URL 3 string 29 | ATTRIBUTE WISPr-Redirection-URL 4 string 30 | ATTRIBUTE WISPr-Bandwidth-Min-Up 5 integer 31 | ATTRIBUTE WISPr-Bandwidth-Min-Down 6 integer 32 | ATTRIBUTE WISPr-Bandwidth-Max-Up 7 integer 33 | ATTRIBUTE WISPr-Bandwidth-Max-Down 8 integer 34 | ATTRIBUTE WISPr-Session-Terminate-Time 9 string 35 | ATTRIBUTE WISPr-Session-Terminate-End-Of-Day 10 string 36 | ATTRIBUTE WISPr-Billing-Class-Of-Service 11 string 37 | 38 | END-VENDOR WISPr 39 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.xedia: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # XEDIA, AP series routers 8 | # From Yard RADIUS, and Piotr Orlewicz, porlewicz@teleton.pl www.real-data.pl 9 | # 10 | # $Id: d125e4eb6bc410dfe9122cb8ace82cb9634e6b23 $ 11 | # 12 | ############################################################################# 13 | VENDOR Xedia 838 14 | 15 | BEGIN-VENDOR Xedia 16 | 17 | ATTRIBUTE Xedia-DNS-Server 1 ipaddr 18 | ATTRIBUTE Xedia-NetBios-Server 2 ipaddr 19 | ATTRIBUTE Xedia-Address-Pool 3 string 20 | ATTRIBUTE Xedia-PPP-Echo-Interval 4 integer 21 | ATTRIBUTE Xedia-SSH-Privileges 5 integer 22 | ATTRIBUTE Xedia-Client-Access-Network 6 string 23 | ATTRIBUTE Xedia-Client-Firewall-Setting 7 integer 24 | ATTRIBUTE Xedia-Save-Password 8 integer 25 | 26 | END-VENDOR Xedia 27 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.yubico: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Yubico VSA's 8 | # 9 | # $Id: a40ea555f79f323af44bdf83a38491e287721920 $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Yubico 41482 14 | 15 | BEGIN-VENDOR Yubico 16 | 17 | ATTRIBUTE Yubikey-Key 1 octets 18 | ATTRIBUTE Yubikey-Public-ID 2 string 19 | ATTRIBUTE Yubikey-Private-ID 3 octets 20 | ATTRIBUTE Yubikey-Counter 4 integer 21 | ATTRIBUTE Yubikey-Timestamp 5 integer 22 | ATTRIBUTE Yubikey-Random 6 integer 23 | ATTRIBUTE Yubikey-OTP 7 string 24 | 25 | END-VENDOR Yubico 26 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.zeus: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 2 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 3 | # 4 | # Zeus Packet RADIUS Dictionary 5 | # 6 | # http://www.zeus.com 7 | # 8 | # 9 | 10 | VENDOR Zeus 7146 11 | BEGIN-VENDOR Zeus 12 | 13 | # 14 | # ZXTM Group Attributes 15 | # 16 | ATTRIBUTE Zeus-ZXTM-Group 1 string 17 | 18 | END-VENDOR Zeus 19 | -------------------------------------------------------------------------------- /tools/simulator/etc/dictionary/dictionary.zyxel: -------------------------------------------------------------------------------- 1 | # -*- text -*- 2 | # Copyright (C) 2019 The FreeRADIUS Server project and contributors 3 | # This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0 4 | # 5 | ############################################################################## 6 | # 7 | # Zyxel attributes, of course in the RFC space... 8 | # 9 | # $Id: 3b60bb819136274ff7235358302e194f1d887c8f $ 10 | # 11 | ############################################################################## 12 | 13 | VENDOR Zyxel 890 14 | BEGIN-VENDOR Zyxel 15 | 16 | ATTRIBUTE Zyxel-Privilege-AVPair 3 string 17 | ATTRIBUTE Zyxel-Callback-Option 192 integer 18 | ATTRIBUTE Zyxel-Callback-Phone-Source 193 integer 19 | 20 | VALUE Zyxel-Callback-Phone-Source Preconfigured 0 21 | VALUE Zyxel-Callback-Phone-Source User 1 22 | 23 | VALUE Zyxel-Callback-Option None 0 24 | VALUE Zyxel-Callback-Option Optional 1 25 | VALUE Zyxel-Callback-Option Mandatory 2 26 | 27 | END-VENDOR Zyxel 28 | -------------------------------------------------------------------------------- /tools/simulator/hostapd/README.md: -------------------------------------------------------------------------------- 1 | ## 配置文件解析 eap_user 2 | ``` bash 3 | 第一行协商 phase 1 的认证方法顺序 4 | 第二行协商 phase 2 的认证方法顺序 5 | * PEAP,TLS,TTLS 6 | "testuser" MSCHAPV2,TTLS-CHAP,TTLS-MSCHAP,MD5,TTLS-MSCHAPV2 "password" [2] 7 | ``` 8 | 9 | 10 | ## 运行 hostapd 11 | > cd third_party/hostapd-2.10/hostapd/ 12 | 13 | - 支持全协议 14 | ``` bash 15 | ./hostapd -dd /app/tools/simulator/hostapd/hostapd-2.5-all.conf 16 | ``` 17 | 18 | - 限制只支持mschapv2 19 | ``` bash 20 | ./hostapd -dd /app/tools/simulator/hostapd/hostapd-2.5-mschapv2.conf 21 | ``` 22 | -------------------------------------------------------------------------------- /tools/simulator/hostapd/hostapd.eap_user.all: -------------------------------------------------------------------------------- 1 | * PEAP,TLS,TTLS 2 | "zhouliying" MSCHAPV2,GTC,TTLS-CHAP,TTLS-MSCHAP,MD5,TTLS-MSCHAPV2 "zhouliying" [2] 3 | -------------------------------------------------------------------------------- /tools/simulator/hostapd/hostapd.eap_user.mschapv2: -------------------------------------------------------------------------------- 1 | * PEAP,TLS,TTLS 2 | "zhouliying" MSCHAPV2,TTLS-CHAP,TTLS-MSCHAP,MD5,TTLS-MSCHAPV2 "zhouliying" [2] 3 | -------------------------------------------------------------------------------- /tools/simulator/hostapd/hostapd.radius_clients: -------------------------------------------------------------------------------- 1 | 192.168.11.8 testing123 2 | 0.0.0.0/0 testing123 3 | -------------------------------------------------------------------------------- /tools/simulator/lib/libfreeradius-radius.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/lib/libfreeradius-radius.so -------------------------------------------------------------------------------- /tools/simulator/radius_test/README.md: -------------------------------------------------------------------------------- 1 | ### 安装 2 | ``` bash 3 | # MacOS 4 | brew install freeradius-server 5 | 6 | 关注工具: radtest, radclient 7 | ``` 8 | 9 | ### 模拟器radclient 10 | - 用法 (建议使用) 11 | `radclient [options] server[:port] []` 12 | 13 | 14 | ### 模拟器 radclient 15 | - 用法 (不建议使用) 16 | `radtest user passwd adius-server[:port] nas-port-number secret` 17 | > radtest test test 127.0.0.1 0 testing123 18 | -------------------------------------------------------------------------------- /tools/simulator/radius_test/acct/i.conf: -------------------------------------------------------------------------------- 1 | User-Name=zhouliying 2 | # Start: 1 Stop: 2 Interim-Update: 3 3 | Acct-Status-Type=1 4 | Acct-Session-Id=53B91482-00000009 5 | Acct-Multi-Session-Id=MULT-SESSION-0001 6 | # user-mac 7 | Calling-Station-Id=02-00-00-00-00-01 8 | # ap-mac 9 | Called-Station-Id=FF-FF-FF-FF-FF-FF:ctm 10 | Framed-IP-Address=192.168.2.224 11 | NAS-Identifier=FF-FF-FF-FF-FF-FF 12 | NAS-IP-Address=192.168.2.1 13 | NAS-Port=3699 14 | Event-Timestamp=100000000 15 | Acct-Session-Time=30 16 | Acct-Input-Octets=10000 17 | Acct-Output-Octets=20000 18 | Acct-Input-Packets=30000 19 | Acct-Output-Packets=40000 20 | Proxy-State=0x01020304050607080900 21 | -------------------------------------------------------------------------------- /tools/simulator/radius_test/acct/t.conf: -------------------------------------------------------------------------------- 1 | User-Name=zhouliying 2 | # Start: 1 Stop: 2 Interim-Update: 3 3 | Acct-Status-Type=2 4 | Acct-Session-Id=53B91482-00000009 5 | Acct-Multi-Session-Id=MULT-SESSION-0001 6 | # user-mac 7 | Calling-Station-Id=02-00-00-00-00-01 8 | # ap-mac 9 | Called-Station-Id=FF-FF-FF-FF-FF-FF:ctm 10 | Framed-IP-Address=192.168.2.224 11 | NAS-Identifier=FF-FF-FF-FF-FF-FF 12 | NAS-IP-Address=192.168.2.1 13 | NAS-Port=3699 14 | Event-Timestamp=100000000 15 | Acct-Session-Time=30 16 | Acct-Input-Octets=10000 17 | Acct-Output-Octets=20000 18 | Acct-Input-Packets=30000 19 | Acct-Output-Packets=40000 20 | Proxy-State=0x01020304050607080900 21 | -------------------------------------------------------------------------------- /tools/simulator/radius_test/acct/u.conf: -------------------------------------------------------------------------------- 1 | User-Name=zhouliying 2 | # Start: 1 Stop: 2 Interim-Update: 3 3 | Acct-Status-Type=3 4 | Acct-Session-Id=53B91482-00000009 5 | Acct-Multi-Session-Id=MULT-SESSION-0001 6 | # user-mac 7 | Calling-Station-Id=02-00-00-00-00-01 8 | # ap-mac 9 | Called-Station-Id=FF-FF-FF-FF-FF-FF:ctm 10 | Framed-IP-Address=192.168.2.224 11 | NAS-Identifier=FF-FF-FF-FF-FF-FF 12 | NAS-IP-Address=192.168.2.1 13 | NAS-Port=3699 14 | Event-Timestamp=100000000 15 | Acct-Session-Time=30 16 | Acct-Input-Octets=10000 17 | Acct-Output-Octets=20000 18 | Acct-Input-Packets=30000 19 | Acct-Output-Packets=40000 20 | Proxy-State=0x01020304050607080900 21 | -------------------------------------------------------------------------------- /tools/simulator/radius_test/auth/chap.conf: -------------------------------------------------------------------------------- 1 | User-Name=zhouliying 2 | CHAP-Password=zhouliying 3 | CHAP-Challenge=0x843891e293ea45b7d38959c4ab770ab8 4 | Calling-Station-Id=00-23-14-25-D5-24 5 | NAS-Identifier=AC-Name 6 | NAS-IP-Address=10.13.0.2 7 | Message-Authenticator = 0x30 8 | -------------------------------------------------------------------------------- /tools/simulator/radius_test/auth/pap.conf: -------------------------------------------------------------------------------- 1 | User-Name=zhouliying 2 | User-Password=zhouliying 3 | Calling-Station-Id=00-23-14-25-D5-24 4 | NAS-Identifier=AC-Name 5 | NAS-IP-Address=10.13.0.2 6 | Service-Type=Framed 7 | Message-Authenticator = 0x30 8 | -------------------------------------------------------------------------------- /tools/simulator/radius_test/dae/disconnect.conf: -------------------------------------------------------------------------------- 1 | User-Name=zhouliying 2 | Calling-Station-Id=90-81-58-ED-11-1F 3 | Message-Authenticator = 0x30 4 | -------------------------------------------------------------------------------- /tools/simulator/testcase_and_log/acct/acct_packet.example: -------------------------------------------------------------------------------- 1 | # 计费报文 2 | {44: [b'5BC2EA8D7B7B00'], 1: [b'zhoulixin'], 40: [b'\x00\x00\x00\x01'], 6: [b'\x00\x00\x00\x02'], 7: [b'\x00\x00\x00\x01'], 31: [b'58:D9:D5:D4:7E:09'], 45: [b'\x00\x00\x00\x01'], 61: [b'\x00\x00\x00\x00'], 8: [b'\n\x00\x00.'], 4: [b'\x7f\x00\x00\x01'], 5: [b'\x00\x00\x00\x01'], 41: [b'\x00\x00\x00\x00']} 3 | 4 | ATTRIBUTE User-Name 1 string 5 | ATTRIBUTE NAS-IP-Address 4 ipaddr 6 | ATTRIBUTE NAS-Port 5 integer 7 | ATTRIBUTE Service-Type 6 integer 8 | ATTRIBUTE Framed-Protocol 7 integer 9 | ATTRIBUTE Framed-IP-Address 8 ipaddr 10 | ATTRIBUTE Calling-Station-Id 31 string 11 | ATTRIBUTE Acct-Status-Type 40 integer 12 | ATTRIBUTE Acct-Delay-Time 41 integer 13 | ATTRIBUTE Acct-Session-Id 44 string 14 | ATTRIBUTE Acct-Authentic 45 integer 15 | ATTRIBUTE NAS-Port-Type 61 integer 16 | -------------------------------------------------------------------------------- /tools/simulator/testcase_and_log/hostapd.eapol.peapv0.mschapv2.success/crypto_binding/mschapv2.1812.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/testcase_and_log/hostapd.eapol.peapv0.mschapv2.success/crypto_binding/mschapv2.1812.pcapng -------------------------------------------------------------------------------- /tools/simulator/testcase_and_log/hostapd.eapol.peapv1.gtc.success/peap_gtc.1812.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/testcase_and_log/hostapd.eapol.peapv1.gtc.success/peap_gtc.1812.pcapng -------------------------------------------------------------------------------- /tools/simulator/testcase_and_log/hostapd.eapol.peapv1.mschapv2.success/peap_mschapv2.1812.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/testcase_and_log/hostapd.eapol.peapv1.mschapv2.success/peap_mschapv2.1812.pcapng -------------------------------------------------------------------------------- /tools/simulator/testcase_and_log/hostapd.iphone12.peapv1.mschapv2.success/2812-iphone12-hostapd210.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/testcase_and_log/hostapd.iphone12.peapv1.mschapv2.success/2812-iphone12-hostapd210.pcapng -------------------------------------------------------------------------------- /tools/simulator/testcase_and_log/hostapd.iphone12.peapv1.mschapv2.success/2812-iphone12-python.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/testcase_and_log/hostapd.iphone12.peapv1.mschapv2.success/2812-iphone12-python.pcapng -------------------------------------------------------------------------------- /tools/simulator/testcase_and_log/rs.radtest.peapv1.gtc.success/acct_packet.log: -------------------------------------------------------------------------------- 1 | # 计费报文 2 | {44: [b'5BC2EA8D7B7B00'], 1: [b'zhoulixin'], 40: [b'\x00\x00\x00\x01'], 6: [b'\x00\x00\x00\x02'], 7: [b'\x00\x00\x00\x01'], 31: [b'58:D9:D5:D4:7E:09'], 45: [b'\x00\x00\x00\x01'], 61: [b'\x00\x00\x00\x00'], 8: [b'\n\x00\x00.'], 4: [b'\x7f\x00\x00\x01'], 5: [b'\x00\x00\x00\x01'], 41: [b'\x00\x00\x00\x00']} 3 | 4 | ATTRIBUTE User-Name 1 string 5 | ATTRIBUTE NAS-IP-Address 4 ipaddr 6 | ATTRIBUTE NAS-Port 5 integer 7 | ATTRIBUTE Service-Type 6 integer 8 | ATTRIBUTE Framed-Protocol 7 integer 9 | ATTRIBUTE Framed-IP-Address 8 ipaddr 10 | ATTRIBUTE Calling-Station-Id 31 string 11 | ATTRIBUTE Acct-Status-Type 40 integer 12 | ATTRIBUTE Acct-Delay-Time 41 integer 13 | ATTRIBUTE Acct-Session-Id 44 string 14 | ATTRIBUTE Acct-Authentic 45 integer 15 | ATTRIBUTE NAS-Port-Type 61 integer 16 | -------------------------------------------------------------------------------- /tools/simulator/testcase_and_log/rs.radtest.peapv1.gtc.success/auth_packet.log: -------------------------------------------------------------------------------- 1 | # 鉴权报文 2 | {6: [b'\x00\x00\x00\x02'], 7: [b'\x00\x00\x00\x01'], 1: [b'zhoulixin'], 60: [b'\xd9\xd5J\xeenWTQ\xf6\xf5\x9c\x8c\xad\x01\tC\xc5\x8er\xaf\x03\x80'], 3: [b'\x9f\xf4M \xf8\xab\xc21\xaf6\\p\xf4\xceE\xf4\xa4'], 31: [b'58:D9:D5:D4:7E:09'], 4: [b'\x7f\x00\x00\x01'], 5: [b'\x00\x00\x00\x01']} 3 | 4 | ATTRIBUTE User-Name 1 string 5 | ATTRIBUTE NAS-IP-Address 4 ipaddr 6 | ATTRIBUTE NAS-Port 5 integer 7 | ATTRIBUTE Calling-Station-Id 31 string 8 | -------------------------------------------------------------------------------- /tools/simulator/testcase_and_log/rs.radtest.peapv1.gtc.success/peap_gtc.1812.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/simulator/testcase_and_log/rs.radtest.peapv1.gtc.success/peap_gtc.1812.pcapng -------------------------------------------------------------------------------- /tools/tcpdump/acct_probe.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/tcpdump/acct_probe.pcapng -------------------------------------------------------------------------------- /tools/tcpdump/acct_tcpdump.sh: -------------------------------------------------------------------------------- 1 | set -o verbose 2 | # -i eth0 3 | tcpdump -v -i any 'port 1813' -w 1813.pcapng 4 | -------------------------------------------------------------------------------- /tools/tcpdump/auth_tcpdump.sh: -------------------------------------------------------------------------------- 1 | set -o verbose 2 | # 指定网卡: -i eth0 3 | # 指定源ip: 'port 1812 and src 172.16.60.119' 4 | tcpdump -v -i any 'port 1812' -w 1812.pcapng 5 | -------------------------------------------------------------------------------- /tools/tcpdump/chap_1812.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/tcpdump/chap_1812.pcapng -------------------------------------------------------------------------------- /tools/tcpdump/chap_1813.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/tcpdump/chap_1813.pcapng -------------------------------------------------------------------------------- /tools/tcpdump/dae_3799.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/tcpdump/dae_3799.pcapng -------------------------------------------------------------------------------- /tools/tcpdump/dae_tcpdump.sh: -------------------------------------------------------------------------------- 1 | set -o verbose 2 | tcpdump -v -i any 'port 3799' -w 3799.pcapng 3 | -------------------------------------------------------------------------------- /tools/tcpdump/eapoffload.servertype.extended.1812.fail.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/tcpdump/eapoffload.servertype.extended.1812.fail.pcapng -------------------------------------------------------------------------------- /tools/tcpdump/eapoffload.servertype.standard.1812.success.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/tcpdump/eapoffload.servertype.standard.1812.success.pcapng -------------------------------------------------------------------------------- /tools/tcpdump/eapol-hostapd_eap-peap.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/tcpdump/eapol-hostapd_eap-peap.pcapng -------------------------------------------------------------------------------- /tools/tcpdump/mac.1812.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/tcpdump/mac.1812.pcapng -------------------------------------------------------------------------------- /tools/tcpdump/pap.1812.pcapng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeroleo12345/radius_server_python/28d238ce94cea307471fdb25bb8a587b96981d17/tools/tcpdump/pap.1812.pcapng -------------------------------------------------------------------------------- /tools/user_dictionary/dictionary: -------------------------------------------------------------------------------- 1 | # 2 | # This is the local dictionary file which can be 3 | # edited by local administrators. It will be loaded 4 | # AFTER the main dictionary files are loaded. 5 | # 6 | # As of version 3.0.2, FreeRADIUS will automatically 7 | # load the main dictionary files from 8 | # 9 | # ${prefix}/share/freeradius/dictionary 10 | # 11 | # It is no longer necessary for this file to $INCLUDE 12 | # the main dictionaries. However, if the $INCLUDE 13 | # line is here, nothing bad will happen. 14 | # 15 | # Any new/changed attributes MUST be placed in this file. 16 | # The pre-defined dictionaries SHOULD NOT be edited. 17 | # 18 | # See "man dictionary" for documentation on its format. 19 | # 20 | # $Id: eed5d70f41b314f9ed3f006a22d9f9a2be2c9516 $ 21 | # 22 | 23 | # 24 | # All local attributes and $INCLUDE's should go into 25 | # this file. 26 | # 27 | 28 | # If you want to add entries to the dictionary file, 29 | # which are NOT going to be placed in a RADIUS packet, 30 | # add them to the 'dictionary.local' file. 31 | # 32 | # The numbers you pick should be between 3000 and 4000. 33 | # These attributes will NOT go into a RADIUS packet. 34 | # 35 | # If you want that, you will need to use VSAs. This means 36 | # requesting allocation of a Private Enterprise Code from 37 | # http://iana.org. We STRONGLY suggest doing that only if 38 | # you are a vendor of RADIUS equipment. 39 | # 40 | # See RFC 6158 for more details. 41 | # http://ietf.org/rfc/rfc6158.txt 42 | # 43 | 44 | # 45 | # These attributes are examples 46 | # 47 | #ATTRIBUTE My-Local-String 3000 string 48 | #ATTRIBUTE My-Local-IPAddr 3001 ipaddr 49 | #ATTRIBUTE My-Local-Integer 3002 integer 50 | 51 | # CTM Define 52 | ATTRIBUTE RoamType 231 integer 53 | ATTRIBUTE CTM-SSID 230 string 54 | ATTRIBUTE CTM-AC-KEY 232 string 55 | --------------------------------------------------------------------------------