Linux 版 (精华区)

发信人: tcpip (俺的昵称改了), 信区: Linux
标  题: 附录:使用ipfwadm-wrapperscript--8
发信站: 哈工大紫丁香 (Fri Sep  3 16:28:43 1999), 转信

8. 附录: 使用 ipfwadm-wrapper script.

The ipfwadm-wrapper shell script should be a plug-in replacement of ipfwadm

 for backwards compatibility with ipfwadm 2.3a. 

ipfwadm-wrapper 外壳脚本是一个插件来替代 ipfwadm, 它与 2.3a ipfwadm 向后兼容

.

The only feature it can't really handle is the `-V' option. When this is us

ed, a warning is given. If the `-W' option is also used, the `-V' option is

 ignored. Otherwise, the script tries to find the interface name associated

 with that address,using ifconfig. If that fails (such as for an interface 

which is down) then it will exit with an error message. 

唯一的差别是不能用 '-V' 选项. 如果用的话, 将给一个警告. 假如 '-W' 也被使用,

 '-V' 选项被忽略. 然而, 脚本通过使用 ifconfig 试图去找接口名称与地址的联系.

 既如失败, 它将返回一个错误信息本退出.

This warning can be suppressed by either changing the `-V' to a `-W', or di

recting the standard output of the script to /dev/null. 

可以用把 '-V' 替换位 '-W'的方法, 或重定向脚本的输出到 /dev/null 来抑制警告错

误.

If you should find any mistakes in this script, or any changes between the 

real ipfwadm and this script, please report a bug to me: send an Email to i

pchains@wantree.com.au with "BUG-REPORT" in the subject. Please list your o

ld version ofipfwadm (ipfwadm -h), your version of ipchains (ipchains --ver

sion), the version of the ipfwadm wrapper script (ipfwadm-wrapper --version

). Also send the output of ipchains-save. Thanks in advance. 

假如你在此脚本中找到错误, 或真实的 ipfwadm 与此脚本的不同之处, 请想我报告.

Mix ipchains with this ipfwadm-wrapper script at your own peril. 

把 ipchains 与 ipfwadm-wrapper 参和在一起使用是危险的.


--
☆ 来源:.哈工大紫丁香 bbs.hit.edu.cn.[FROM: bin@mtlab.hit.edu.cn]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:1.848毫秒