⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rlm_acct_unique.5

📁 使用最广泛的radius的linux的源码
💻 5
字号:
.\"     # DS - begin display.de DS.RS.nf.sp...\"     # DE - end display.de DE.fi.RE.sp...TH rlm_acct_unique 5 "3 February 2004" "" "FreeRADIUS Module".SH NAMErlm_acct_unique \- FreeRADIUS Module.SH DESCRIPTIONThe \fIrlm_acct_unique\fP module creates a unique accounting sessionId..PPMany NAS vendors have their equipment supply an Acct-Session-Idattribute which is not unique over reboots.  This makes accountingdifficult, as there will be many independent sessions with the sameAcct-Session-Id attribute.  This module uses the Acct-Session-Idattribute, along with other attributes in the request, to create amore unique session ID, called Acct-Unique-Session-Id..PPThe main configuration items to be aware of are:.IP keyA list of the attributes used in calculating an MD5 hash which is usedas the value for the unique session id..SH CONFIGURATION.DSmodules {  ....br  acct_unique {.br	key = "User-Name, Acct-Session-Id, NAS-IP-Address, NAS-Port".br  }.br  ....br}.br ....brpreacct {  ....br  acct_unique  ....br}.DE.PPAfter generating the MD5 hash, the module adds it to the accountingrequest packet received from the client.  It will look something likethis in your detail file:.PP.DS	Acct-Unique-Session-Id = "c66ef57e480b9d26".DE.PPNOTE:  Any attribute you specify that is not found in the 'dictionary' file will cause the server to fail and exit with an error..PPNOTE:  If you want the Acct-Unique-Session-Id of the Start and theStop packet of a particular session to match, you must use values forthe key that will stay the same for the Start and Stop.  The above example is a good start.  Adding 'Acct-Session-Time', for example, would cause a mismatch because that value is not the same on the Start and Stop accounting packets..PP.SH SECTIONS.BR authorization,.BR pre-accounting,.BR accounting.PP.SH FILES.I /etc/raddb/radiusd.conf.PP.SH "SEE ALSO".BR radiusd (8),.BR radiusd.conf (5).SH AUTHORSChris Parker, cparker@segv.org

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -