找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3356|回复: 0

[其它] [问题] 怎么我的贴显示不了?

[复制链接]
发表于 2004-6-11 13:44:29 | 显示全部楼层
内网总是断,但断几秒又可以联上了,那位大侠知道是什么原因造成的吗?
我这里内网病毒很厉害,是不是因为震荡波什么的? 我在防火墙上做了设置,不过好象不管用,因为字节和包都是0,好象没拦截到
我是这样设置的:
ip-firewall-  filter rules

    +   general
       Src.address  空 not 0.0.0.0/0
       src port        空 not 勾 134-139
       in.interface   空 not all
       dst. address 空 not 0.0.0.0/0
       dst  port        空 not 勾 134-139
       out.interface   空 not all
       protocol          空 not tcp
       icmp  (选不了)
       tcp options   any
       connection  state  any
      
      action
         action  drop


import zlib

def compress(infile, dst, level=9):
    infile = open(infile, 'rb')
    dst = open(dst, 'wb')
    compress = zlib.compressobj(level)
    data = infile.read(1024)
    while data:
        dst.write(compress.compress(data))
        data = infile.read(1024)
    dst.write(compress.flush())
def decompress(infile, dst):
    infile = open(infile, 'rb')
    dst = open(dst, 'wb')
    decompress = zlib.decompressobj()
    data = infile.read(1024)
    while data:
        dst.write(decompress.decompress(data))
        data = infile.read(1024)
    dst.write(decompress.flush())
decompress("noname", "fafsfsd")
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-20 14:12 , Processed in 0.034773 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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