tun2socks icon indicating copy to clipboard operation
tun2socks copied to clipboard

sock5开启密码认证时,connect会进入死循环退不出?

Open howl-im opened this issue 3 years ago • 1 comments

			auto act = _auth->next();
			while (act != SUCCESS && act != FAILURE) {
				if (act == SEND) {
					size_t len;
					auto p = _auth->construct_send(len);
					_socket.send(boost::asio::buffer(p.get(), len));
					_auth->sent();
				}
				else if (act == RECV) {
					size_t len;
					auto p = _auth->construct_receive(len);
					_socket.receive(boost::asio::buffer(p.get(), len));
					_auth->received(p.get(), len);
				}
                                   
                                   **//act = _auth->next(); 缺这句???**
			}

howl-im avatar Oct 29 '21 02:10 howl-im

该项目为测试项目,不具备任何实用价值,如果你需要轻松构建于 Windows 上工作的构建3层虚拟网卡应用(可商业),可以参考我们以下基于 VEthernet 框架开发的 tun2socks demo(支持UDP/TCP/ICMP,IP分片)

开发语言及环境为 C# + .NET4.0(x86)提供多核优化(EMC-MCx)支持! 开源项目代码:https://github.com/liulilittle/VEthernet 关于项目描述:https://github.com/liulilittle/VEthernet/issues/1#issuecomment-919733200

liulilittle avatar Oct 30 '21 12:10 liulilittle