[GH-ISSUE #525] 12.8版本socket5时,存在socket veisiov 不识别的问题 #427

Closed
opened 2026-02-27 23:16:52 +03:00 by kerem · 1 comment
Owner

Originally created by @jzbg on GitHub (Feb 10, 2023).
Original GitHub issue: https://github.com/snail007/goproxy/issues/525

在用socket5代理浏览器或者ftp应用时,二级代理没有异常提示,一级代理提示 unexpected socket version 50的提示,socket5 不支持识别到的版本,这个在上一个版本(12.7)中是不存在的。

Expected Behavior

expect 能够识别这个50的版本。之前的发布版本都能准确识别,我用其他的socket5代理也都能识别

Current Behavior

current 不能识别socket5版本

Possible Solution

可能是将50这个版本当成其他socket版本了,判断时加进去进好了

Steps to Reproduce

1.运行proxy socks代理
1.使用ftp客户端或者浏览器设置socket5代理连接
1.然后就报错了。
1.

Context (Environment)

  1. proxy version is : v12.8
  2. full command is :按照说明设置的socket5代理
  3. system is :linux 客户端软件测试了filezilla一级Firefox
  4. full log is: unexpected socket version 50

Detailed Description

在用socket5代理浏览器或者ftp应用时,二级代理没有异常提示,一级代理提示 unexpected socket version 50的提示,socket5 不支持识别到的版本,这个在上一个版本(12.7)中是不存在的。
这一现象和底层使用tcp 还是 kcp无关,均会报错

Possible Implementation

推断在一级代理判断socket版本时,没有把50写进去。

Originally created by @jzbg on GitHub (Feb 10, 2023). Original GitHub issue: https://github.com/snail007/goproxy/issues/525 <!--- Provide a general summary of the issue in the Title above --> 在用socket5代理浏览器或者ftp应用时,二级代理没有异常提示,一级代理提示 unexpected socket version 50的提示,socket5 不支持识别到的版本,这个在上一个版本(12.7)中是不存在的。 ## Expected Behavior <!--- Tell us what should happen --> expect 能够识别这个50的版本。之前的发布版本都能准确识别,我用其他的socket5代理也都能识别 ## Current Behavior <!--- Tell us what happens instead of the expected behavior --> current 不能识别socket5版本 ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> 可能是将50这个版本当成其他socket版本了,判断时加进去进好了 ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1.运行proxy socks代理 1.使用ftp客户端或者浏览器设置socket5代理连接 1.然后就报错了。 1. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> 1. proxy version is : v12.8 1. full command is :按照说明设置的socket5代理 1. system is :linux 客户端软件测试了filezilla一级Firefox 1. full log is: unexpected socket version 50 <!--- Provide a general summary of the issue in the Title above --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> 在用socket5代理浏览器或者ftp应用时,二级代理没有异常提示,一级代理提示 unexpected socket version 50的提示,socket5 不支持识别到的版本,这个在上一个版本(12.7)中是不存在的。 这一现象和底层使用tcp 还是 kcp无关,均会报错 ## Possible Implementation <!--- Not obligatory, but suggest an idea for implementing addition or change --> 推断在一级代理判断socket版本时,没有把50写进去。
kerem closed this issue 2026-02-27 23:16:52 +03:00
Author
Owner

@jzbg commented on GitHub (Feb 14, 2023):

已解决

<!-- gh-comment-id:1429505664 --> @jzbg commented on GitHub (Feb 14, 2023): 已解决
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#427
No description provided.