2013年1月29日星期二

ROS路由防火墙下限制敏感字 关键字

分享一朋友的ROS路由防火墙下限制敏感字 关键字 的方法

注意:本人不是原创 大家可以根据这个思路依次类推自行编写

经本人测试有效 但是在https加密下的谷歌搜索失效


# For www.nowcc.cn 2013/01/28
# 注意1:content=""引号内的内容字母必须为大写字母,否则无效
# 注意2:content=""引号内的内容由gb2312和utf-8编辑组成,所以一个关键字需要二条策略限制,否则无效
# 注意3:comment=""引号内的内容字母必须为大写字母,脚本生后为对应的汉字,否则无效

/ ip firewall filter
# 法轮功
add chain=forward  protocol=tcp dst-port=80 content="%B7%A8%C2%D6%B9%A6" action=jump  jump-target=FFLN comment="\B7\A8\C2\D6\B9\A6-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="\B7\A8\C2\D6\B9\A6" action=jump  jump-target=FFLN comment="\B7\A8\C2\D6\B9\A6-H" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E6%B3%95%E8%BD%AE%E5%8A%9F" action=jump  jump-target=FFLN comment="\B7\A8\C2\D6\B9\A6-U" disabled=no

# 游戏
add chain=forward  protocol=tcp dst-port=80 content="%D3%CE%CF%B7" action=jump  jump-target=FFLN comment="\D3\CE\CF\B7-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="\D3\CE\CF\B7" action=jump  jump-target=FFLN comment="\D3\CE\CF\B7-H" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E6%B8%B8%E6%88%8F" action=jump  jump-target=FFLN comment="\D3\CE\CF\B7-U" disabled=no

# 卖淫
add chain=forward  protocol=tcp dst-port=80 content="%C2%F4%D2%F9" action=jump  jump-target=FFLN comment="\C2\F4\D2\F9-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E5%8D%96%E6%B7%AB" action=jump  jump-target=FFLN comment="\C2\F4\D2\F9-U" disabled=no

# 嫖娼
add chain=forward  protocol=tcp dst-port=80 content="%E6%CE%E6%BD" action=jump  jump-target=FFLN comment="\E6\CE\E6\BD-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E5%AB%96%E5%A8%BC" action=jump  jump-target=FFLN comment="\E6\CE\E6\BD-U" disabled=no

# 性交
add chain=forward  protocol=tcp dst-port=80 content="%D0%C4%BD%BB" action=jump  jump-target=FFLN comment="\D0\C4\BD\BB-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E6%80%A7%E4%BA%A4" action=jump  jump-target=FFLN comment="\D0\C4\BD\BB-U" disabled=no

# 做爱
add chain=forward  protocol=tcp dst-port=80 content="%D7%F6%B0%AE" action=jump  jump-target=FFLN comment="\D7\F6\B0\AE-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E5%81%9A%E7%88%B1" action=jump  jump-target=FFLN comment="\D7\F6\B0\AE-U" disabled=no

# 一夜情
add chain=forward  protocol=tcp dst-port=80 content="%D2%BB%D2%B9%C7%E9" action=jump  jump-target=FFLN comment="\D2\BB\D2\B9\C7\E9-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E4%B8%80%E5%A4%9C%E6%83%85" action=jump  jump-target=FFLN comment="\D2\BB\D2\B9\C7\E9-U" disabled=no

# 高潮
add chain=forward  protocol=tcp dst-port=80 content="%B8%DF%B3%B1" action=jump  jump-target=FFLN comment="\B8\DF\B3\B1-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E9%AB%98%E6%BD%AE" action=jump  jump-target=FFLN comment="\B8\DF\B3\B1-U" disabled=no

# 色情
add chain=forward  protocol=tcp dst-port=80 content="%C8%AB%C7%E9" action=jump  jump-target=FFLN comment="\C8\AB\C7\E9-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E8%89%B2%E6%83%85" action=jump  jump-target=FFLN comment="\C8\AB\C7\E9-U" disabled=no

# 保险套
add chain=forward  protocol=tcp dst-port=80 content="%B1%A3%CF%D5%CC%D7" action=jump  jump-target=FFLN comment="\B1\A3\CF\D5\CC\D7-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E4%BF%9D%E9%99%A9%E5%A5%97" action=jump  jump-target=FFLN comment="\B1\A3\CF\D5\CC\D7-U" disabled=no

# 逼样
add chain=forward  protocol=tcp dst-port=80 content="%B1%C6%D1%F9" action=jump  jump-target=FFLN comment="\B1\C6\D1\F9-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E9%80%BC%E6%A0%B7" action=jump  jump-target=FFLN comment="\B1\C6\D1\F9-U" disabled=no

# 东京热
add chain=forward  protocol=tcp dst-port=80 content="%B6%AB%BE%A9%C8%C8" action=jump  jump-target=FFLN comment="\B6\AB\BE\A9\C8\C8-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E4%B8%9C%E4%BA%AC%E7%83%AD" action=jump  jump-target=FFLN comment="\B6\AB\BE\A9\C8\C8-U" disabled=no

# 加勒比
add chain=forward  protocol=tcp dst-port=80 content="%BC%D3%C0%D5%B1%C8" action=jump  jump-target=FFLN comment="\BC\D3\C0\D5\B1\C8-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E5%8A%A0%E5%8B%92%E6%AF%94" action=jump  jump-target=FFLN comment="\BC\D3\C0\D5\B1\C8-U" disabled=no

# 一本道
add chain=forward  protocol=tcp dst-port=80 content="%D2%BB%B1%BE%B5%C0" action=jump  jump-target=FFLN comment="\D2\BB\B1\BE\B5\C0-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E4%B8%80%E6%9C%AC%E9%81%93" action=jump  jump-target=FFLN comment="\D2\BB\B1\BE\B5\C0-U" disabled=no

# 潮吹
add chain=forward  protocol=tcp dst-port=80 content="%B3%B1%B4%B5" action=jump  jump-target=FFLN comment="\B3\B1\B4\B5-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E6%BD%AE%E5%90%B9" action=jump  jump-target=FFLN comment="\B3\B1\B4\B5-" disabled=no

# 波多野结衣
add chain=forward  protocol=tcp dst-port=80 content="%B2%A8%B6%E0%D2%B0%BD%E1%D2%C2" action=jump  jump-target=FFLN comment="\B2\A8\B6\E0\D2\B0\BD\E1\D2\C2-G" disabled=no
add chain=forward  protocol=tcp dst-port=80 content="%E6%B3%A2%E5%A4%9A%E9%87%8E%E7%BB%93%E8%A1%A3" action=jump  jump-target=FFLN comment="\B2\A8\B6\E0\D2\B0\BD\E1\D2\C2-U" disabled=no


# 限制“FFLN”为阻止。
add chain=FFLN action=drop comment="\CF\DE\D6\C6\A1\B0FFLN\A1\B1\CE\AA\D7\E8\D6\B9\A1\A3"

add chain=forward content="" action=jump  jump-target=FFLN comment="" disabled=no



1 条评论:

  1. 相关的关键字可以用这个页面的工具生成
    http://app.baidu.com/app/enter?appid=276175

    回复删除