Comments (16)
已更新测试,问题解决
from ghostcp.
Get the latest release and edit config, for example:
ttl=12
md5=true
server=8.8.8.8:53
log=2
subdomain=6
.com
.net
.org
#Other Domain
#Whitelist
ttl=0
md5=0
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
100.64.0.0/10
#Othe IP of "LAN"
OR(Not recommended)
ttl=12
md5=true
server=8.8.8.8:53
log=2
subdomain=0
#Protectlist
0.0.0.0/0
#Whitelist
ttl=0
md5=0
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
100.64.0.0/10
Othe IP of "LAN"
In your case, you can set the TTL beforce domain or IP of taiwan, for example
ttl=6
.tw
or
ttl=6
1.34.0.0/15
1.160.0.0/12
1.200.0.0/16
27.0.152.0/22
27.51.0.0/16
27.52.0.0/15
27.96.224.0/19
...
from ghostcp.
精确度高的列表会比较大,能不能做成支持外联以方便单独维护列表?
from ghostcp.
外联到单独的文件主要是方便维护,主配置搞得太大使用上有所不便。
from ghostcp.
比如这样
# config
ttl=0
md5=0
conf=cn_ip
# cn_ip
1.0.1.0/24
1.0.2.0/23
1.0.8.0/21
1.0.32.0/19
1.1.0.0/24
1.1.2.0/23
1.1.4.0/22
1.1.8.0/21
1.1.16.0/20
...
from ghostcp.
试了下,似乎不可用
ttl=12
md5=true
#server=8.8.8.8:53
log=2
subdomain=6
.com
.net
.org
#Other Domain
#Whitelist
ttl=0
md5=0
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
100.64.0.0/10
#Othe IP of "LAN"
#www.wdku.net=119.147.136.190
119.147.136.0/24
打开www.wdku.net会被ERR_CONNECTION_CLOSED,或者我配置改的有问题?
from ghostcp.
注释DNS不是因为只有注释了才能使用系统DNS么
看的我有点乱,有点不能理解,能否麻烦帖上一份较完整配置,可以先不管tw后缀
使用系统DNS
处理常见后缀 .com .net .org
不处理**IP的网站
from ghostcp.
系统DNS肯定是纯净的,否则用这个就没意义
其实原本就是用的完整的国内IP段,只不过帖上来会太长所以只取了其中一个网站,我以为你能GET到这个用意
IP段用的这个 https://raw.githubusercontent.com/17mon/china_ip_list/master/china_ip_list.txt
from ghostcp.
是下的0.2.2
重新下载覆盖也是同样的日期,应该没错
from ghostcp.
你那测试正常会不会与网络环境有关,我是联通
应该要看Log之类才知道会不会被处理
from ghostcp.
0.2.3
配置如上后面附加全部国内IP段
log=3
浏览器测试时频繁重启,应该可以排除缓存干扰结果
这个网站 https://www.wdku.net/ 有时能打开
当能打开时 点击里面的链接跳转到二级域名页面又会打不开
然后再返回到 https://www.wdku.net/ 也打不开了
维基百科基本上一直都能打开
打不开时日志是这样 [IP 5]
from ghostcp.
重启浏览器,程序的配置没变重启程序应该效果也不会变
没遇到什么崩溃
前面的IP就是 https://www.wdku.net/ 的IP
from ghostcp.
已更新测试
问题解决
谢谢!
from ghostcp.
025试了,IP段不生效了,CPU占用似乎也略有增加
from ghostcp.
只发现IP段不生效,功能没问题,CPU占用我印象之前一直是0,现在偶尔看到有1%-2%,不过这点占用可以忽略
from ghostcp.
对,国内IP排除失效
from ghostcp.
Related Issues (20)
- incompatible with DoH on windows HOT 1
- 连接 mega时出现 SSL_ERROR_BAD_MAC_READ HOT 2
- CoD:Warzone will crash with Tcpioneer HOT 1
- dns endless loop HOT 2
- 关于Linux下的可用性 HOT 2
- ghostcp会与一些本地反代方案产生错误 HOT 2
- chrome浏览器没有使用ghostcp HOT 1
- 部分网站出现ERR_SSL_PROTOCOL_ERROR HOT 1
- Not working on Windows 11 HOT 2
- how to build it HOT 5
- Where is tcpioneer.exe ?? HOT 2
- run error HOT 1
- scanip 功能是否还可用 HOT 1
- 如何在配置文件中导入ipv6地址 HOT 1
- tcp fast open error HOT 1
- 对有些http链接无效 HOT 7
- Having Trouble Using the Discord Desktop Application HOT 7
- 运行时错误 HOT 3
- https method bug HOT 1
- not work on latest Edge HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghostcp.