hahahrfool
|
c5ab5a201c
|
由新的udp架构重新设计udp分离信道传输方式和vless v1协议并初步实现代码
|
2022-04-11 18:47:35 +08:00 |
|
hahahrfool
|
50de20ce12
|
修订代码
|
2022-04-10 08:52:40 +08:00 |
|
hahahrfool
|
651bd12e72
|
修订代码;重命名netLayer一些结构和接口
Uni_UDPConn 重新改名为 UDPConn, 添加方法以让其实现 MsgConn 接口
MsgConn接口名称改变,
ReadFrom 改为 ReadMsgFrom, WriteTo 改为 WriteMsgTo
|
2022-04-09 14:18:54 +08:00 |
|
hahahrfool
|
3dc53554df
|
修订代码, 实现trojan协议
|
2022-04-08 22:44:01 +08:00 |
|
hahahrfool
|
ce735dbb99
|
修订udp代码; dial配置 添加 fullcone 选项;默认为非fullcone
现在整个程序均通过了go test, main 也可以正常运行了。
Relay_UDP 函数添加流量计数;
发现之前 Relay函数的流量计数 在main.go里参数传反了,导致实际上计数的是上传而不是下载,已修复
对fullcone的情况做了特别考量。MsgConn的 Close函数在fullcone时不能随便被调用。
因此我添加了一个 CloseConnWithRaddr(raddr Addr) error 方法,以及 Fullcone() bool 方法
在utils包的init部分使用 rand 随机种子
|
2022-04-08 20:31:59 +08:00 |
|
hahahrfool
|
0f4acfb168
|
修订代码、配置、示例
|
2022-04-06 14:00:23 +08:00 |
|
hahahrfool
|
19eda8e356
|
修订文档,代码;添加交互模式中生成分享链接功能,添加交互输入字符串的验证
|
2022-04-06 11:51:14 +08:00 |
|
hahahrfool
|
d172e09111
|
完整实现交互生成配置文件功能!
|
2022-04-05 23:54:21 +08:00 |
|
hahahrfool
|
3a997a32bc
|
修订代码,示例;添加geosite分流,域名现已支持full,sub,regex,geosite,match
|
2022-04-05 08:59:26 +08:00 |
|
hahahrfool
|
4d2bbaeceb
|
完善对writev的支持;为vless和ws实现MultiWriter;修订代码
|
2022-03-22 22:39:26 +08:00 |
|
hahahrfool
|
536a84def6
|
修订代码,注释,文档
|
2022-03-22 16:46:05 +08:00 |
|
hahahrfool
|
5661c8737f
|
添加readv功能;给出测试数据;修订代码,注释;
toml 新增 app.noreadv项,命令行参数新增 -readv
默认readv是打开状态,可以选择性关闭。
|
2022-03-22 14:12:32 +08:00 |
|
hahahrfool
|
c9cf683a58
|
将common包改名为utils, 因为common太长了
|
2022-03-17 08:11:56 +08:00 |
|