galaxy001 / scholarzhang

Automatically exported from code.google.com/p/scholarzhang
1 stars 1 forks source link

一些开发和使用上的建议 #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1、使用命令行WIN版有时候无法彻底干扰GFW,每次发出两组干�
��包可否改善呢?
2、命令行版可否增加IP开关,似乎只要把char filter_exp[] = "(dst 
host
174.142.104.57) and tcp and (tcp[tcpflags] = 
tcp-syn)";修改成以上形式就可
以?这样可以配合海外代理使用。
3、能否开发用户态的反DNS劫持程序?只要把DNS设成本机就可�
��解决。程序原理可以
是让套接字等待到远程最后一个数据包发完再返回结果,因��
�GFW的伪报不会最后到
达,不过会影响速度。另外也可以通过判断返回IP来鉴别伪包
,因为GFW返回IP是在一
定范围内随机的。

本人略通写编程网络,但能力不足,无法个人实现。以上仅��
�建议。

Original issue reported on code.google.com by liuzixi...@gmail.com on 17 Mar 2010 at 1:26

GoogleCodeExporter commented 9 years ago
1. && 2. 目前没有打算提供复杂支持,稍作修改后编译吧。
3. 
原理(见blog)上RTT更方便丢掉GFW的伪包,也已经有python写的�
��,其代码就是设定超时为
t,取最后一次返回为结果,不适合规模应用(每次都要等时�
��t)。明文UDP协议本身难以抗干
扰,写用户态程序相当于发明新的DNS解析服务器/客户端,更�
��困难。

Original comment by yingyingcui.scholarzhang@gmail.com on 17 Mar 2010 at 4:56

GoogleCodeExporter commented 9 years ago

Original comment by yingyingcui.scholarzhang@gmail.com on 17 Mar 2010 at 4:57

GoogleCodeExporter commented 9 years ago

Original comment by kiz...@gmail.com on 17 Sep 2011 at 2:39