📄 users.in
字号:
# -*- radius -*-# This file is part of GNU Radius test suite.# Copyright (C) 2000,2001,2003 Free Software Foundation, Inc.## Written by Sergey Poznyakoff## GNU Radius is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## GNU Radius is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with GNU Radius; if not, write to the Free Software Foundation,# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Begin.exp: Check for BEGIN patternBEGIN NAS-IP-Address = 127.0.0.2 Framed-IP-Address = 127.10.0.1+, Fall-Through = Yes# Default.exp: Check for DEFAULT patternDEFAULT NAS-IP-Address = 127.0.0.3, Auth-Type = Accept Reply-Message = "OK. Come in."DEFAULT NAS-IP-Address = 127.0.0.4, Auth-Type = Reject Reply-Message = "Wrong NAS" ## Auth.exp: Test Authentication Typesaccept Auth-Type = Accept NULL reject Auth-Type = Reject NULLlocal Auth-Type = Local, User-Password = "guessme" NULLcrypt Auth-Type = Crypt-Local, User-Password = "$1$gHpfo$0BuBYjWmmM6E4l00ZFqVI1" # hamlet NULLchap Auth-Type = Local, User-Password = "test" NULL## Access.exp: bad-one should be rejected.bad-one Auth-Type = Accept NULL## Expiration.expexpire Auth-Type = Local, User-Password = "expire", Expiration = "Jan 01 1971" Service-Type = Framed-Userno-expire Auth-Type = Local, User-Password = "expire", Expiration = "Jan 01 2011" Service-Type = Framed-User ## Reply.exp: Test Reply Attributesreply Auth-Type = Local, User-Password = "guessme" Service-Type = Framed-User, Framed-Protocol = PPP framed-ip Auth-Type = Accept Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 127.0.0.1+## Menu.exp: Test Livingston menusmenu Auth-Type = Accept Menu = "menu1"## Acct-{on|off}.exp: Test simultaneous usesimuse Auth-Type = Accept, Simultaneous-Use = 1 Service-Type = Framed-User## Execwait.exp: Check for working Exec-Program-Wait attributeexecwait Auth-Type = Accept Exec-Program-Wait = "@BUILDDIR@/raddb/auth.bin %C{NAS-Port-Id} %C{User-Name}"execwait1 Auth-Type = Accept Service-Type = Framed-User, Exec-Program-Wait = "@BUILDDIR@/raddb/ascend.bin" # Match.exp: Check for working Match-Profile attributes REQ0 NAS-Identifier = "en" Framed-IP-Address = 127.10.10.1REQ0 NAS-Identifier = "to" Framed-IP-Address = 127.10.10.2REQ1 NAS-IP-Address = 127.0.0.1, NAS-Port-Id = 1 Framed-Protocol = PPP, Match-Profile = REQ0match1 Auth-Type = Accept, Match-Profile = REQ1 Service-Type = Framed-User ## Scheme-auth.exp: Check for working scheme authenticationscheme Auth-Type = Accept Scheme-Procedure = "auth"## Hint.exphint Hint = "1", Auth-Type = Accept Reply-Message = "Hint 1"hint Hint = "2", Auth-Type = Accept Reply-Message = "Hint 2"hint Auth-Type = Reject Reply-Message = "No suffix"## Rewrite.exprewrite_max NAS-Port-Id = 43, Auth-Type = Accept Reply-Message = "OK"rewrite_nt Auth-Type = Accept Reply-Message = "OK"rewrite_jetstream Auth-Type = Accept Reply-Message = "OK"rewrite_cisco NAS-Port-Id = 123, Auth-Type = Accept, Acct-Session-Id = "120104", Voip-Connection-ID = "1B22539E 86E6603F 0 19C974C0", Voip-Call-Leg-Type = "answer", Voip-Connection-Type = "Telephony" Reply-Message = "OK"## Filter.expfilter-ok Auth-Type = Accept Exec-Program-Wait = "|filter"filter-bad Auth-Type = Accept Exec-Program-Wait = "|filter"frw-ok Auth-Type = Accept Exec-Program-Wait = "|filter_rw" frw-bad Auth-Type = Accept Exec-Program-Wait = "|filter_rw"# Tunnel attributestunnel Auth-Type = Local, User-Password = test Service-Type = Framed-User, Framed-Protocol = PPTP, Tunnel-Password = tUnnEl# Tunnel attributestunnel Auth-Type = Local, User-Password = test Service-Type = Framed-User, Framed-Protocol = PPTP, Tunnel-Password = tUnnEl# Test for Log-Mode-Mask buglog-mode-mask Auth-Type = Local, User-Password = test, Log-Mode-Mask = Log-All Service-Type = Framed-User, Framed-Protocol = PPPvsa-propagation Auth-Type = Accept Cisco-AVPair = "variable=value"# End of users.in
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -