-
Notifications
You must be signed in to change notification settings - Fork 7
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
Yggstack as SOCKS for Internet #9
Comments
I think best is to share the same codebase in this repo but build another executable ( |
Also see issue #7 |
Do you think about yggproxy with all the yggstack functionality in it or completely stripped of it minimal only SOCKS related code? Because I'm using -exposetcp also for other things so it would be beneficial to have all this in one process and not separated to classic yggstack for -exposetcp and yggproxy for SOCKS.
It looks perguth wants a different thing, if I understand that the proper way, he wants yggstack to serve http content as https so clients don't scream about unsecured connection. So he probably wants -socks functionality to automatically create tls layer for http content from yggdrasil network and serve this as https as no one is using tls on ygg sites. |
Key question for me is: Suppose we add "exit node" functionality aka SOCKS proxy. How does arbitrary TCP client connected via yggdrasil (not yggstack!) utilize this functionslity? |
You set socks proxy in your web browser pointing to YGGIP:PORT of yggstack instance? The same as normal SOCKS on IPv6 address.
If you are afraid that it may impact badly yggstack project maybe create separate branch? |
Same question here #9 |
I was thinking on how can we feasibly use Yggdrasil as clearnet gateway without nginx, wireguard or other solutions like that.
Security considerations:
|
OK Vasil, I see things are more complicated than I though they will be, so at this point I don't want to bother you with this issue, as I'm using Yggstack+internetSOCKS already, just as two independent pieces of software (I'm simply using yggstack -remote-tcp 1080:127.0.0.1:1080 to point to socks process) and it works great (the only reason for this issue report on my side was to reduce number of background processes owned by me on remote machine from 2 (yggstack+externalsocks) to 1 (yggstack with socks in one process). I don't see any point in you being engaged to write so much new code, rethink all the process logic, etc, so I will leave this to you, if you think it's worth to work on this with your implementation than go ahead, code it (maybe as a completely new branch?), and I will help you with testing this, but if you think there's too much hassle with this issue, you can close it as we can achieve this functionality already with help of external SOCKS software, which there are plenty in Linux world, and they are really, really optimized in the sense of code size, resources utilization (like microsocks package in most distros repos) so I don't think it does make any sense of reinventing the wheel. So that's my point right now, of course Yggstack is a great software even without this :) |
Writing the outline above I've never heard of https://github.com/neilalexander/yggdrasilckr that is exactly what is needed |
Hey, how about extending already built-in socks functionality so yggstack would work as a standard socks for Internet? I mean yggstack would listen on it's YGG IP for incoming connections and then forward them to Internet.
Why? Well, on shell accounts with limited user resources like nr. of processes it would be beneficial to reduce number of them. Additionally it would make yggstack nice super simple alternative to v2ray, etc. proxy type stuff so I'm sure many people would be happy :)
Right now I'm using -exposetcp functionality to point to other socks process on shell account but as socks code is already in yggstack it should be trivial to make it work as socks for clearnet also and simplify mentioned scenario a little.
The text was updated successfully, but these errors were encountered: