-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.0 client 设置socks5 proxy连接不成功,并且连接方式有问题 #770
Comments
已经修复啦 使用最新构建的那个api添加到nuget就好了 |
await client.ConnectAsync(serverIp); |
大哥 还有ssl流也不生效,没有单独设置域名不带证书的格式 |
看看你的代码 |
大哥,拉我进qq群啊,这个使用2.0.0-beta.28最新发布版,仍然有问题 |
` } |
ssl设置呢 |
还没设置ssl |
System.ObjectDisposedException:“Cannot access a disposed object. |
如果使用dotnetty的话应该是这样,但是supersocket找不到相同的设置,似乎必须设置证书 |
谢谢大哥,不过socks5依然不行 |
你去淘宝买一个sk5试试 |
发给您试试是吗,稍等 |
我这没问题的 你自己试试就行 |
大哥,我确定socks5有问题,而且是代码问题,不会是s5服务器,因为相同的dotnetty运行很正常,而且各种客户端测试都没问题 |
建议发demo |
买个sk5测试吧 环境不一样测试不同 |
稍等一下,我购买个,绝对有问题 |
IP:14.29.214.198账户:123 密码:321 开通成功! Http端口:6677 S5端口:6688 |
密码不对 |
稍等下大哥,我自己架设一个,买的连接有问题 |
... |
我也测试了hpsocket,dotnetty,确定都没有问题,就是supersocket这里的socket好像实现有点问题 |
试试最新的 |
Need test cases to cover this part. |
@aadog Hello, 请在myget上拿最新版本测试 |
Or other C# proxy server we can use for unit tests? |
抱歉,刚睡醒,我现在试试,其实我们应该使用netty的pipe处理方式,他会简单很多 |
现在可以正常工作,不过连接后似乎会自动断开 |
How to use Socket5 proxy IP in Netty? Do you have a demo? I have tried many times in Netty but cannot interact with the server through the proxy IP |
`
using System.Buffers;
using System.Buffers.Binary;
using System.IO.Compression;
using System.Net;
using System.Text;
using SuperSocket.Client;
using SuperSocket.Client.Proxy;
using SuperSocket.ProtoBase;
namespace csharp_talkatone
{
public class MyFilter():FixedHeaderPipelineFilter(10){
protected override int GetBodyLengthFromHeader(ref ReadOnlySequence buffer)
{
Console.WriteLine("recv");
return 2;
}
}
`
socks5连接不成功,并且为什么会建立两条连接,不是应该直接用socks5的ip发送认证包吗
The text was updated successfully, but these errors were encountered: