📄 config.in
字号:
# -*- radconf -*-# 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.option { max-requests 1024; exec-program-user "@USER@"; # resolve no;};logging { prefix-hook "default_log_prefix"; channel default { file "radius.log"; print-level yes; print-category yes; print-pid yes; }; channel debug { file "radius.debug"; print-milliseconds yes; print-pid yes; }; category auth { channel default; print-auth yes; print-failed-pass yes; }; category debug { channel debug; level acct=1,radpdu,radsrv,radiusd=2,request=2,scheme; }; category !debug { channel default; };};auth { port @TEST_AUTH_PORT@; max-requests 127; request-cleanup-delay 2; detail yes; strip-names yes; checkrad-assume-logged yes; trace-rules yes;};acct { port @TEST_ACCT_PORT@; max-requests 127; request-cleanup-delay 2; trace-rules yes;};filters { filter filter { exec-path "@BUILDDIR@/raddb/filter"; auth { input-format "AUTH %C{User-Name} %C{User-Password}"; wait-reply yes; }; acct { input-format "ACCT%C{Acct-Status-Type} %C{User-Name}"; wait-reply yes; }; }; filter filter_rw { exec-path "@BUILDDIR@/raddb/filter"; auth { input-format "=filter_rw()"; wait-reply yes; }; acct { input-format "=filter_rw()"; wait-reply yes; }; };};rewrite { load-path "@SOURCEDIR@/../examples"; load "ascend.rw"; load "cisco.rw"; load "jetstream.rw"; load "nt.rw"; load "filter.rw"; load-path "@SOURCEDIR@/../raddb"; load "log-hook.rw";}; @GUILE@guile {@GUILE@ debug yes;@GUILE@ load-path "@BUILDDIR@/raddb";@GUILE@ load "auth.scm";@GUILE@ load "acct.scm";@GUILE@};@SNMP@snmp {@SNMP@ port @TEST_SNMP_PORT@;@SNMP@ storage {@SNMP@ file "@BUILDDIR@/raddb/log/radius.stat";@SNMP@ perms 0600; @SNMP@ };@SNMP@};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -