LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 857|回复: 8

一些 IP package filter不懂的问题,欢迎大家有不懂的都来这里解决

[复制链接]
发表于 2003-9-18 10:52:28 | 显示全部楼层 |阅读模式
example :
set filter in 0 pemit tcp dst eq 113     #ident
set filter out 0 permit tcp src eq 113   #ident

请问这里的 dst src 有什么意义?不是不懂单词的意思。
还有,dial是什么意思?
thank in advance.
发表于 2003-9-18 11:30:45 | 显示全部楼层
我认为dst 目的 src 源!关注!
 楼主| 发表于 2003-9-19 01:05:34 | 显示全部楼层
重要的技巧哦~~ 顶~~~
发表于 2003-9-19 17:16:51 | 显示全部楼层
我也不懂,高手都哪里去了。
 楼主| 发表于 2003-9-20 23:03:47 | 显示全部楼层
# pwd
/usr/share/examples/ipfilter
# cat `pwd`/example.1
#
# block all incoming TCP packets on le0 from host 10.1.1.1 to any destination.
#
block in on le0 proto tcp from 10.1.1.1/32 to any

请问这里的  le0  是 指网卡吗?
发表于 2003-9-20 23:07:21 | 显示全部楼层
是! 还是找个专门点的地方看看先!
发表于 2003-9-21 20:55:49 | 显示全部楼层
这句怎么解释?

block in log quick on ppp0 from 192.168.4.0/24 to any
发表于 2003-9-23 00:41:41 | 显示全部楼层
block in log quick on ppp0 from 192.168.4.0/24 to any

请问 quick  是什么意思?
发表于 2003-9-24 00:08:21 | 显示全部楼层
action    = block | "pass" | log | "count" | skip | auth | call .

block in from 192.168.1.110/0xffffff00 to any group 200

come from   " man 5 ipf"
请问这里的skip. auth  call  各代表什么意思?
192.168.1.110/0xffffff00是什么意思?
group 200    代表  GID == 200 ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表