e1732a364fed
|
07b0a53a12
|
添加 -cvqxtvs 和 -eqxrs 命令,
分别意思是 convert QX to verysimple 和 extract QX remote servers
将圈叉的配置文件转换为verysimple格式,这样就可以更快地使用自己的vs客户端
|
2022-12-20 16:08:55 +08:00 |
|
e1732a364fed
|
12fcad3c22
|
修订netLayer和gui代码
|
2022-12-20 15:10:54 +08:00 |
|
e1732a364fed
|
af9917a657
|
根据 xjasonlyu/tun2socks提供的路由示例修复darwin的tun的自动路由
https://github.com/xjasonlyu/tun2socks/wiki/Examples
我自己写的路由果然太差,还是人家提供的好用
|
2022-12-20 11:16:49 +08:00 |
|
e1732a364fed
|
0c23e3f624
|
修订代码,文档
|
2022-12-19 22:07:26 +08:00 |
|
e1732a364fed
|
0f8c31021e
|
修订文档
|
2022-12-19 20:58:31 +08:00 |
|
e1732a364fed
|
097db3b017
|
MsgConn接口方法重命名:WriteMsgTo -> WriteMsg
|
2022-12-19 20:26:36 +08:00 |
|
e1732a364fed
|
2da0e63558
|
MsgConn接口方法重命名:ReadMsgFrom -> ReadMsg
|
2022-12-19 20:18:35 +08:00 |
|
e1732a364fed
|
e94ead14fb
|
修订代码,使tun的udp可用;
|
2022-12-19 19:07:54 +08:00 |
|
e1732a364fed
|
7c2465a88b
|
修订代码
|
2022-12-19 17:20:21 +08:00 |
|
e1732a364fed
|
ece4996342
|
修订文档,将v2ray_simple中的proxy和adv子包引用转到cmd/verysimple中
v2ray_simple 包作为公共包,不应强制用户使用任何一种proxy
|
2022-12-19 11:47:42 +08:00 |
|
e1732a364fed
|
f46acd08cf
|
进一步移除grpc中chan的使用
以前的chan方法增添了很多不必要的复杂性,比如要给chan发送数据,
然后又要等待另一个chan的关闭。现状因为使用了阻塞回调函数,也
不需要等待另一个chan的关闭了。
|
2022-12-19 11:24:47 +08:00 |
|
e1732a364fed
|
67aa734e08
|
令grpc使用回调而不是chan,以期增进性能
另外发现grpcSimple的Stop函数有问题,只保存了一个underlay,这样在关闭
时只会关闭一个。通过 netLayer.ConnList 解决
为了能够多次开启关闭,取消了sync.Once 的使用
|
2022-12-19 11:00:48 +08:00 |
|
e1732a364fed
|
1637173d0c
|
修订tproxy示例,tun代码
|
2022-12-19 10:02:00 +08:00 |
|
e1732a364fed
|
d27b659bf7
|
tun 不用chan而用回调函数,增强性能
用chan完全多此一举
|
2022-12-19 09:22:57 +08:00 |
|
e1732a364fed
|
673bf2faf1
|
修订文档,代码;令关闭tun时不卡住;-d自动下载wintun.dll;notun编译tag
新增 notun build tag,取消 tun和 gui之间的关联。
|
2022-12-19 08:41:25 +08:00 |
|
e1732a364fed
|
2ff907d335
|
修订文档,示例
|
2022-12-18 21:28:37 +08:00 |
|
e1732a364fed
|
efe6d26eec
|
试图修正bindToDevice在windows上的问题
运行一次,发现遇到错误 The requested address is not valid in its context.
参考下面代码试一下
https://github.com/xjasonlyu/tun2socks/pull/192/files
|
2022-12-18 20:56:19 +08:00 |
|
e1732a364fed
|
c576fca5b7
|
修复遗漏
|
2022-12-18 20:34:36 +08:00 |
|
e1732a364fed
|
7b2c4cd336
|
修订代码,文档;修复darwin和windows的bindToDevice的ipv6问题
|
2022-12-18 20:30:09 +08:00 |
|
e1732a364fed
|
3b814fa08e
|
修订tun文档,代码;修复darwin上tun在bindToDevice时遇到的问题
|
2022-12-18 20:20:28 +08:00 |
|
e1732a364fed
|
4cee70d164
|
上个commit又忘添加文件了,这回确认补充上文件了
|
2022-12-18 17:22:28 +08:00 |
|
e1732a364fed
|
cc9f3168e4
|
补充上一个commit忘加的sockopt的代码文件;修订示例
|
2022-12-18 17:15:39 +08:00 |
|
e1732a364fed
|
d486023ab9
|
为darwin和windows添加bindToDevice功能;修订文档
|
2022-12-18 16:46:54 +08:00 |
|
e1732a364fed
|
4e19050315
|
修正action;将ConnWrapper的GetRawConn改为Upstream
|
2022-12-15 12:22:12 +08:00 |
|
e1732a364fed
|
3f5e5b4796
|
加强addr的url解析函数,同时支持ipv6的[]格式和普通格式
|
2022-12-15 11:19:17 +08:00 |
|
e1732a364fed
|
799f5e3666
|
修复对url的network解析失败的问题
|
2022-12-15 10:51:34 +08:00 |
|
e1732a364fed
|
a38e3cfe2f
|
修复url解析对tls失败的问题;action:test ->go1.19
|
2022-12-15 10:24:32 +08:00 |
|
e1732a364fed
|
b74b8bdc6f
|
修订代码
|
2022-12-15 04:09:59 +08:00 |
|
e1732a364fed
|
983908e2bc
|
重新用xjasonlyu/tun2socks提供的方式实现tun
|
2022-12-15 02:21:47 +08:00 |
|
e1732a364fed
|
874d284526
|
删掉来自wireguard-go的test
发现运行不好使,似乎不是想要的test
|
2022-12-14 21:17:51 +08:00 |
|
e1732a364fed
|
5f46d7b1e3
|
将tun的ExampleTest移动到test.go中
|
2022-12-14 17:22:27 +08:00 |
|
e1732a364fed
|
4662a2d1d7
|
添加wireguard/tun的示例
|
2022-12-14 17:11:14 +08:00 |
|
e1732a364fed
|
3a935dc714
|
移除go-tun2socks包
|
2022-12-14 17:05:13 +08:00 |
|
e1732a364fed
|
684d78d445
|
整理代码
|
2022-12-14 16:15:10 +08:00 |
|
e1732a364fed
|
02de09813c
|
试图修复将udp路由到reject时panic的问题
这是因为没有使用udp_wlc, 而是用了nil的wlc
|
2022-12-14 14:55:30 +08:00 |
|
e1732a364fed
|
16cf81ade4
|
修正route过滤ip时遇到 ipv6形式的ipv4的问题
|
2022-12-14 14:16:16 +08:00 |
|
e1732a364fed
|
16cd03247a
|
修订tun, 添加extra.tun_dns_list;-g=false可禁用gui
|
2022-12-14 13:51:53 +08:00 |
|
e1732a364fed
|
ed79b22dd3
|
win tun dns 改为114 进行测试
|
2022-12-14 12:46:18 +08:00 |
|
e1732a364fed
|
fa70273fd8
|
修订代码,示例,文档;添加tun在windows上的自动路由; 防止tun在windows上闪退
|
2022-12-14 10:57:20 +08:00 |
|
e1732a364fed
|
335d864e53
|
添加macos的tproxy功能; 修订文档,代码,示例
将条件编译相关文件全部移动到 cmd/verysimple文件夹中
|
2022-12-14 09:54:32 +08:00 |
|
e1732a364fed
|
d002d209c0
|
修订示例,文档,代码;为macos实现为tun自动配置路由表功能
|
2022-12-13 22:30:34 +08:00 |
|
e1732a364fed
|
dc2f9f93f9
|
修正tun的udp问题:需要加锁
|
2022-12-13 20:24:23 +08:00 |
|
e1732a364fed
|
b044772dfb
|
修订文档,代码;实现tun的udp部分,未经测试
|
2022-12-13 20:16:51 +08:00 |
|
e1732a364fed
|
8bdcad9b6f
|
tun的tcp功能在mac上测试通过;修订代码;修复若干问题:
修正ReplaceSymbol函数
SelfListen时也打印Listen日志
修正machine的DefaultClient的赋值
添加tun示例文件以及路由指导
|
2022-12-13 18:49:00 +08:00 |
|
e1732a364fed
|
db2e850b8b
|
修订代码;添加tun功能
|
2022-12-13 16:55:46 +08:00 |
|
e1732a364fed
|
3955c898f8
|
修订代码;将machine的部分成员转为私有
|
2022-12-13 10:34:19 +08:00 |
|
e1732a364fed
|
713ce948ac
|
解决url模式下不给出回落会自动添加一个unix回落的问题;关联#194中的评论
|
2022-12-12 08:49:12 +08:00 |
|
e1732a364fed
|
f2297721e4
|
fix #141, 修订代码; direct若配置了sendThough,则会打印该地址
|
2022-12-05 12:02:48 +08:00 |
|
e1732a364fed
|
143e8bb5ad
|
修订文档,代码
|
2022-12-05 11:03:38 +08:00 |
|
e1732a364fed
|
07328e0387
|
fix #174,grpcSimple没有调用PipeDeadline的代码;修订文档,代码
|
2022-12-05 09:35:32 +08:00 |
|