Open clowwindy opened 9 years ago
@clowwindy @linusyang @conradev
Are you saying rewrite tun2socks from scratch, or just rip out portions of it for a partial rewrite? Either way we will also be working on this problem for our iOS 9 Tor VPN effort, and would love to work together where possible.
@angelovAlex It worked. Thanks man!
@chrisballinger
Actually tun2socks didn't do much work. It's lwip that's doing the magic.
So I'm thinking about writing a tun2shadowsocks
directly based on lwip and GCD, it would not only be easier but save a lot of sockets and RAM. (We can save 66.7% file descriptors).
BTW: As I tested to find out, the max open files limit is around 2549 in a PacketTunnelProvider extension.
@clowwindy Awesome! Any chance of using BSD, MIT, or MPL 2.0 for that so we can ship it with the Tor VPN? ;)
@chrisballinger Oh, I meant I would build Shadowsocks directly on lwip. It will be an adapter from a tun device to a Shadowsocks protocol client, without implementing Socks5 protocol.
It turns out that lwip's API is very easy to use. tun2socks.c
has demonstrated how to create a tcp listener on a virtual interface and how to operate on connections, etc. Apart from code that reads the command line arguments, it's only a few hundreds lines. We can just fit these code in Shadowsocks or Tor's event loop and bridge them together.
I'll update when I've made any progress.
@clowwindy Ah ok, that's great news. Thank you for all of your amazing work on shadowsocks!
Installed Xcode 7 beta 4 in Yosomite, not getting NetworkExtension template in XCODE. /System/Library/Frameworks/NetworkExtension.framework/Versions/A/Resources/NEProviderTargetTemplates.pkg is not present in my system too!
*
*
I believe you guys will make great stuff with Network Extensions.
Cheers!
Thanks so much for providing such great software.
I hope one day I'll live in a country where I have freedom to write any code I like without fearing.
Love you
Thank you
Thank you
Thanks again.
Thank you
take care
Thank you
Thank you and take care.
What do you mean you have no choice? Which law forbid you from writing software?
@AnthraX1 the network safety law.
Thank you.
Thank You.
I hope one day I'll live in a country where I have freedom to write any code I like without fearing.
Thank you.
https://web.archive.org/web/20150822042959/https://github.com/shadowsocks/shadowsocks-iOS/issues/124
Lest We Forget.
thank you
Thank you.
Thank you.
Thank you. 保重
Love you
thank you
Thank you!
Thank you!
Thank you.
Thank you.
Thank you and take care.
Thank you.
Good luck @clowwindy :(
理解你的感受。我选择了离开。虽然不舍得,但是有些事情实在无法忍受。
Let us know if we can do anything for you, @clowwindy
Long long live shadowsocks Thanks, and good luck
take care of yourself
Thank you.
Thank you.
take care
thank you
thank you
On Aug 22, 2015, at 11:17, clowwindy notifications@github.com wrote:
Two days ago the police came to me and wanted me to stop working on this. Today they asked me to delete all the code from GitHub. I have no choice but to obey.
I hope one day I'll live in a country where I have freedom to write any code I like without fearing.
I believe you guys will make great stuff with Network Extensions.
Cheers!
— Reply to this email directly or view it on GitHub.
Thank you.
thank you
Thanks with all my heart. We all miss you.
Thank you!
Thank you!