將 FreeRADIUS 整合新增至 VMware Edge Network Intelligence,可讓您查看與裝置網路驗證相關的特定 RADIUS 驗證訊息。若沒有此整合,則不會將 RADIUS 訊息解碼,並且只能報告驗證要求的成功或失敗。此整合透過將編目程式新增為 syslog 記錄目標來完成。
支援的最小 RADIUS:3.0.15
您可以執行 radiusd -v 以檢查 freeradius 的版本。
步驟 1:
編輯 RADIUS 組態檔「radiusd.conf」,如下所示:
#logdir replace "/var/log/freeradius" by "syslog" ${localstatedir}/log/radius Under log settings: #destination - replace "files" by "syslog" destination = syslog #default is daemonsys log_facility = daemon stripped_names = no #Log authentication requests to the log file. auth = yes #Audit password if it's rejected. auth_badpass = no #Audit password if it's correct. auth_goodpass = no Add the format for msg_goodpass and msg_badpass as follows: For Aruba: msg_goodpass = "CallingStationId=%{Calling-Station-Id}, CalledStationId=%{Called-Station-Id}, ESSID=%{Essid-Name}, APName=%{AP-Name}, Subject=%{TLS-Client-Cert-Subject}" msg_badpass = "CallingStationId=%{Calling-Station-Id}, CalledStationId=%{Called-Station-Id}, ESSID=%{Essid-Name}, APName=%{AP-Name}, Subject=%{TLS-Client-Cert-Subject}" For Cisco: msg_goodpass = "CallingStationId=%{Calling-Station-Id}, CalledStationId=%{Called-Station-Id}" msg_badpass = "CallingStationId=%{Calling-Station-Id}, CalledStationId=%{Called-Station-Id}" Note - We support the following formats for CalledStationId - MAC address of the Access Point AP Name with ESSID separated by a colon, AP-name:ESSID
步驟 2:重新啟動 FreeRADIUS
If you're running Debian Linux or Ubuntu Linux: /etc/init.d/freeradius restart If you're running Red Hat Enterprise Linux service: radiusd restart If you're running FreeBSD operating system: /etc/rc.d/radiusd restart
步驟 3:編輯 /etc/rsyslog.conf 檔案,並新增下列項目
#Enable UDP module $ModLoad imudp $UDPServerRun 514 #FreeRADIUS log daemon.* @<crawler_ip>
步驟 4:重新啟動 Rsyslog
If you're running Debian Linux or Ubuntu Linux: /etc/init.d/rsyslog restart If you're running Red Hat Enterprise Linux: service rsyslog restart If you're running FreeBSD operating system: /etc/rc.d/syslogd restart