分类 原创程序 下的文章

我开发的站长小工具

主要功能有:
1、扫描局域网的IP地址,
2、打描局域网指定IP的所有通信端口,
3、扫描英特网指定域名或ip的所有通信端口,
4、网站多线程压力测试
5、系统设置

这个程序支持win10及以上系统的独立运行。【注意阅读法律风险说明】

下载地址

http://www.it09.com/gzs/soft/站长工具V1.2.rar

重复文件清除器V1.0
程序开发:古月芳弓虽
网站:http://www.it09.com
功能说明:
1、本程序会自动扫描【指定文件夹下】的所有文件(含子文件),然后生成一个cf.xlsx文件(对其他文件夹和数据不处理)。
2、当点击自动清除时,会对文件hash码相同的文件,只保留一个最新日期和最短绝对地址的,其他文件移动到当前磁盘下的bak文件夹内,如果bak文件夹内有相同的文件名,则修改成主文件名后面加上1、2、3、4等序号。(这是防止数据被误删)
3、全部完成后显示【清理已结束】,并删除cf.xlsx文件。
4、所有过程与步骤会在屏幕实时显示,欢迎测试与使用!

下载地址:

重复文件清除器V1.0

/etc/squid/squid.conf

# 双栈监听基础配置
http_port 3128
http_port 0.0.0.0:3128 # IPv4监听
http_port [::]:3128 # vhost # IPv6监听‌:ml-citation{ref="6" data="citationList"}
visible_hostname squid-cache-proxy
dns_v4_first on

# 缓存存储配置(调整路径和容量)
cache_dir aufs /data/usershare/squid_cache 100000 16 256 # 50GB存储空间‌:ml-citation{ref="1" data="citationList"}
maximum_object_size 4096 MB # 允许缓存大文件‌:ml-citation{ref="6" data="citationList"}
minimum_object_size 0 KB # 不限制最小文件
maximum_object_size_in_memory 512 MB
cache_mem 512 MB # 内存缓存空间‌:ml-citation{ref="1" data="citationList"}

# IPv4/IPv6访问控制
acl ipv4_clients src all
acl ipv6_clients src ::/0
http_access allow ipv4_clients
http_access allow ipv6_clients

# 强制缓存所有内容
#acl CACHEABLE_OBJECTS url_regex .*
#cache allow CACHEABLE_OBJECTS
#cache deny all

acl cacheable_objects2 url_regex -i \.(jpg|jpeg|png|gif|css|js|html|mp3|mp4|bmp|exe|zip|rar|iso|7z|php|asp|aspx|shtml|htm|docx|xlsx|wps|pptx|doc|mov|wav|xls)$
http_reply_access allow cacheable_objects2
#http_reply_access deny all

# 允许缓存所有 HTTP 方法(GET/POST/HEAD等)
acl ALLOWED_METHODS method GET POST HEAD PUT
http_access allow ALLOWED_METHODS

# 允许缓存所有文件类型和动态内容
refresh_pattern . 0 100% 4320 override-expire override-lastmod ignore-reload ignore-no-store

# 强制缓存所有响应(即使服务器声明不缓存)
acl CACHEABLE_OBJS rep_header Cache-Control !no-cache
cache allow CACHEABLE_OBJS

# 全局缓存策略(24小时强制过期)
refresh_pattern ^.*$ 1440 100% 1440 override-expire override-lastmod reload-into-ims ignore-no-store ignore-private

# ‌:ml-citation{ref="3,6" data="citationList"}
# 强制缓存策略
#refresh_pattern ^.*$ 0 100% 1440 override-expire override-lastmod ignore-no-store ignore-private reload-into-ims‌:ml-citation{ref="3,4" data="citationList"}

# 访问控制
acl all_clients src all
http_access allow all_clients

# 日志与维护
access_log daemon:/data/usershare/squid_cache/access.log squid
cache_log /data/usershare/squid_cache/cache.log
cache_swap_low 90
cache_swap_high 95

# 性能优化
max_filedescriptors 65535
half_closed_clients off
read_timeout 15 minutes
client_persistent_connections on

# 安全设置
#request_header_access Via deny all
#reply_header_access Server deny all
#visible_hostname squid6-proxy

#验证与维护命令:
# 初始化缓存目录
#sudo squid -z -N -f /etc/squid/squid.conf
# 测试配置有效性
#squid -k parse
# 强制刷新所有缓存(紧急情况)
#squidclient -m PURGE -p 3128 '.*'

 

折腾了三天,终于搞明白了这个,支持IPV6,支持全部网页缓存的。