因为要测试X-win32,其他步骤都做了,就差没关Redhat 9.的防火墙了,w.indows的norton我也关了,运行了命令<性病>
ipchains -A input -p udp -i $extint --dport 177. .-j DENY<性病>
却出来错误
Warning: wierd character in inte.rface `--dport'. (No aliases, :, ! or *)..
T.ry `ipchai.ns -h' or 'ipchains --help' for more information..
然后看看帮助
ipch.ains -A input -p udp -i $e.xtint --dport 177 -j DENY<性病>
ipchains 1.3..10, 1-Sep-.2000 美容
Usage: ipchains -[ADC] ch.ain rul.e-specification [options] 电子
ipchains -[RI] chain.. rulenum rule-specification [options] 乙肝
ipchains -D ch.ain .rulenum [options](广告)
ipchains -[LFZNX] [c.hain] [opti.ons].
ipcha.in.s -P chain target [options]--------------彩票
. ipchains -M [ -L | -S. ] [options].
ipchains. -h [icmp] (print this help in.formation, or ICMP list).
Commands:
Either long or sh.ort options are allo.wed. 女人
. --append -A chain . Append to chain.
--delete -D chain Delete matching rule from. .chain 汽车
--delete .-D. chain rulenum( 游戏 )
. . Delete rule rulenum (1 = first) from chain 建材
--in.sert .-I chain [rulenum](广告)
. . Insert in chain as rulenum (default. 1=first)<性病>
--re.place -R .chain rulenum电脑
. Replace rule rulenum (1 = first) in ch.ain 乙肝
--list -L [chain] List the rule.s in a chain or. all chains 杀毒
--flush -F [chain] Delete all rules in chain or .a.ll chains域名
--ze.ro -.Z [chain] Zero counters in chain or all chains虚拟主机
--check -C chain . Test this packet. on chain( 游戏 )
--new-chain
. -N chain. Create a new user-defined chain外贸
--delete-ch.ain 建材
. -X chain Delete a .user-defined chain 乙肝
--policy -P chai..n target 汽车
. Change policy on chain to targe.t.
--masqu.erading学习
-M -L . List current masqueradin.g connections域名
--set . -M -S tcp tcpfin udp..
. . Set masquerading timeout values( 游戏 )
Options:
--bidi.rectional -b insert. two rules: one with -s & -d reversed电影
--protoco.l -p [!] proto . protocol: by number or name, eg. `tcp'<性病>
--source . -s. [!] address[/mask] [!] [port[]]虚拟主机
. source specifica.tion--- 印刷
-.-sour.ce-port [!] [port[]]教育
. . source port specification 婚庆
-.-destination -d [!] address[/mask.] [!] [port[]] 美容
. . destination specification.
--destination-port [!] [port.[].].
. destination port speci.fication.
--icmp.-type [!] typename sp.ecify ICMP type教育
--interf.ace -i [!] name[.+][成人用品]
. network interface name ([+] for wi.ldcard)--- 印刷
--jump -j target [.port.] 美容
. target for rule ([po.rt] for REDIRECT) 杀毒
--mark . -m [+-]mark number to mark on matching pack.et 美容
--numeric . -n numeric output of addres.ses and ports外贸
--log -l turn on kernel lo.gg.ing for matching packets.
--output -o [ma.xsize] output matching packet to netlink de.vice 鲜花
--TOS -t and. xor .and/xor masks for TOS field( 游戏 )
--verb.os.e -v verbose mode.
--exact . -x expand num.bers (display exact values)--- 印刷
--line-numbers list line number.s bes.ide each rule服务器
--no-w.arnings Disable all warnin.gs.
[.!] --fra.gment -f match second or further fragments only.
[!] --syn -y . match TCP packets only wh.en SYN set 建材
[!] --vers.ion -V print package versi.on. 女人
没法子,帮帮忙吧