Skip to content

dawndiy/shadowsocks-ubuntu

Repository files navigation

shadowsocks-ubuntu

GitHub release GitHub license Github All Releases uApp OpenStore

Shadowsocks-ubuntu is a shadowsocks client for Ubuntu Touch

Screenshots

What is shadowsocks?

A secure socks5 proxy, designed to protect your Internet traffic.
Shadowsocks-ubuntu is designed to be a global proxy for Ubuntu Touch.

Install

You can find the latest click package in HERE.
Copy the .click file to phone's home folder via adb: adb push <PACKAGE-FILE> /home/phablet/
Run adb shell 'pkcon install-local --allow-untrusted <PACKAGE-FILE>' to install.

Now, you can also find & install it from OpenStore.

Build

Shadowsocks-ubuntu is written in Golang. You must has golang installed before build it from source code.
How to install golang: https://golang.org/doc/install
NOTE: use go1.5 for build, not use go1.6 now.

Shadowsocks-ubuntu is build on these projects, and thanks for these projects:

builder.py is a simple script written in python3 for build Shadowsocks-ubuntu.

Install necessary libraries:

$ ./builder.py update-go-packages

This command will download necessary go packages using go get.

Build redsocsk & chinadns:

Use the packages from Ubuntu archives (Recommend)

sudo click chroot -a armhf -f ubuntu-sdk-15.04 -s vivid run apt-get install libevent-dev:armhf redsocks:armhf

Then find libevent-2.0.so.5 and redsocks in the click chroot. Copy them into folder armhf

Also you can build it by youself:

HERE is about how to build the binary files of redsocks & chinadns.

Build click package for Ubuntu Phone

Before build, change go_root with your GOROOT in builder.py .
Run this command to build the click package for Ubuntu Touch.

$ ./builder.py build

And you can use ./builder.py install to install the click package you build into your device.

License

Copyright (C) 2016 DawnDIY

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.