A.查看filter表中所有链中的规则
B.查看nat表中所有链中的规则
C.查看INPUT链中所有的规则
D.查看filter和nat表中所有链的规则
第5题
int[] myArray=new int[3];try{ for (int i=0; i<= myArray.length; i++){ myArray[i]=i*3 ; System.out.println("myArray 数组的第"+ i +"个元素的值是"+myArray[i]); }} catch (ArrayIndexOutOfBoundsException e) { System.out.println("数组下标越界");}
A、程序出现异常,屏幕提示“数组下标越界”
B、程序执行,显示数组中每个元素的值,最后显示“数组下标越界”
C、程序正常执行结束,屏幕上显示数组中每个元素的值
D、程序编译出错
第9题
【说明】Linux环境下L2TP的配置过程如下:
①从http://www.12tpd.org/download.html上下载12tpd-0.69.tar.gz软件包。
②将12tpd-0.69.tar.gz拷到你所希望的安装目录下(比如:/tmp/目录)。
③解压安装包:
tar-xvzf l2tpd-0.69.tar.gz/*此时会生成一个l2tpd-0.69文件包*/
④编译:
make/*当前目录是/tmp/l2tpd-0.69*/
执行完此命令后,将会在在/tmp/l2tpd-0.69下生成可执行文件l2tpd。
⑤创建L2TPD的配置文件:
mkdir/etc/l2tp
cp/tmp/l2tpd-0.69/l2tpd.conf.sample/etc/l2tp/l2tpd.conf
cp/tmp/l2tpd-0.69/l2tp-secrets.sample/etc/l2tp/l2tp-secrets
cp/etc/ppp/options/etc/ppp/options.l2tp
其中/etc/l2tp/l2tpd.conf配置文件的内容如下:
[global]
port=1701 auth file=/etc/ppp/chap-secrets
[lns vpnserver]
exclusive = yes
ip range=192.168.254.202-192.168.254.210
lac=0.0.0.0-255.255.255.255
local ip=192.168.10.1
length bit=yes
require chap = yes
require authentication = yes
name = vpnserver
PPP debug = yes
pppoptfile = /ete/ppp/options.l2tp
用户账号的配置文件采用什么验证方法?
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!