Skip to content
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

能否加入 socks4 协议支持? #43

Open
L-codes opened this issue Nov 9, 2021 · 8 comments
Open

能否加入 socks4 协议支持? #43

L-codes opened this issue Nov 9, 2021 · 8 comments
Labels
enhancement New feature or request

Comments

@L-codes
Copy link

L-codes commented Nov 9, 2021

如 Cobalt Strike 等工具目前还仅支持开启 socks4 的代理服务

(已引用该项目 https://github.com/L-codes/LTProxy)

@zfl9 zfl9 added the enhancement New feature or request label Nov 16, 2021
@zfl9
Copy link
Owner

zfl9 commented Jun 8, 2022

目前没有时间,之前只看过socks5的rfc文档,socks4不知道差异会不会很大。

@L-codes
Copy link
Author

L-codes commented Jun 8, 2022

应该是更简单的实现吧

@Artoria2e5
Copy link

Artoria2e5 commented Jun 8, 2023

socks4 不能直接喂域名,拿来翻墙很蛋疼,也没有 UDP 用来走 DNS。socks4a 可以喂域名,但都整扩展了为啥不加钱上 5?

@L-codes
Copy link
Author

L-codes commented Jun 8, 2023

部分工具不支持socks5 而且阿里云等会检测socks5的请求拦截。并且这里的申请支持包括 socks4a

@Artoria2e5
Copy link

阿里云等会检测socks5的请求拦截

那折腾 socks4 也只是……不是说过了 gfw 就是可以明文到处跑的网络环境啊

@L-codes
Copy link
Author

L-codes commented Jun 9, 2023

有些工具只能开 socks4的,他们有些是考虑了阿里云检测 socks5的流量,这个issue 是为了解决 我下面这个问题:
https://github.com/L-codes/LTProxy/blob/d651afed397b28a78934fa621e29b39d6676b11e/config_demo.yml#L19

@zfl9
Copy link
Owner

zfl9 commented Nov 12, 2023

等 chinadns-ng 2.0 开发完,将会开始着手 socks4 协议的支持。

@zfl9
Copy link
Owner

zfl9 commented May 15, 2024

准备将一些具有共性的代码仓库合并到一起,方便维护。

ipt2socks 后续由 https://github.com/zfl9/relay 提供。

此 repo 只用来发布 release 版本,相关代码请前往 relay 项目。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants