Code Monkey home page Code Monkey logo

openwrt-simple-obfs's Introduction

Simple-obfs for OpenWrt

编译

  • 从 OpenWrt 的 SDK 编译

    # 以 ar71xx 平台为例
    tar xjf OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2
    cd OpenWrt-SDK-ar71xx-*
    # 添加 feeds
    git clone https://github.com/shadowsocks/openwrt-feeds.git package/feeds
    # 获取 simple-obfs Makefile
    git clone https://github.com/aa65535/openwrt-simple-obfs.git package/simple-obfs
    # 选择要编译的包 Network -> simple-obfs
    make menuconfig
    # 开始编译
    make package/simple-obfs/compile V=99

openwrt-simple-obfs's People

Contributors

aa65535 avatar lrinqvq avatar xinxijishuwyq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwrt-simple-obfs's Issues

No obfs-local process running on the openwrt router-end

@aa65535 Sorry to bother you
In my case ,everything has worked fine after I added obfs in config of my server & router end as a plugin,but the server-end has obfs-server process running while there is no obfs-local process running in the router-end,,really don't know how to make sure that it effects.
BTW,I use netstat -tunlp & ps | grep obfs-local for checking.

无法构建

使用 Ubuntu 16.04, 在 OpenWrt 15.05.1 x86_64 SDK 下构建,提示如下错误信息:

make[3]: Entering directory '/home/t123yh/OpenWrt-SDK-15.05.1-x86-64_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/package/simple-obfs'
mkdir -p /home/t123yh/OpenWrt-SDK-15.05.1-x86-64_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/dl
echo "Checking out files from the git repository..."; mkdir -p /home/t123yh/OpenWrt-SDK-15.05.1-x86-64_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/tmp/dl && cd /home/t123yh/OpenWrt-SDK-15.05.1-x86-64_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/tmp/dl && rm -rf simple-obfs-0.0.2-1 && [ \! -d simple-obfs-0.0.2-1 ] && git clone https://github.com/shadowsocks/simple-obfs.git simple-obfs-0.0.2-1 --recursive && (cd simple-obfs-0.0.2-1 && git checkout 149b57d24d90fff3f7983b42967f6354acb5eeca && git submodule update) && echo "Packing checkout..." && rm -rf simple-obfs-0.0.2-1/.git && 	tar czf /home/t123yh/OpenWrt-SDK-15.05.1-x86-64_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/tmp/dl/simple-obfs-0.0.2-149b57d24d90fff3f7983b42967f6354acb5eeca.tar.gz simple-obfs-0.0.2-1 && mv /home/t123yh/OpenWrt-SDK-15.05.1-x86-64_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/tmp/dl/simple-obfs-0.0.2-149b57d24d90fff3f7983b42967f6354acb5eeca.tar.gz /home/t123yh/OpenWrt-SDK-15.05.1-x86-64_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/dl/ && rm -rf simple-obfs-0.0.2-1; 
Checking out files from the git repository...
Cloning into 'simple-obfs-0.0.2-1'...
remote: Counting objects: 810, done.
remote: Total 810 (delta 0), reused 0 (delta 0), pack-reused 810
Receiving objects: 100% (810/810), 1.35 MiB | 520.00 KiB/s, done.
Resolving deltas: 100% (207/207), done.
Checking connectivity... done.
Submodule 'libcork' (https://github.com/shadowsocks/libcork.git) registered for path 'libcork'
Cloning into 'libcork'...
remote: Counting objects: 3728, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 3728 (delta 9), reused 0 (delta 0), pack-reused 3706
Receiving objects: 100% (3728/3728), 1.42 MiB | 533.00 KiB/s, done.
Resolving deltas: 100% (1955/1955), done.
Checking connectivity... done.
Submodule path 'libcork': checked out '892a8846dcbed4ef068d8e3b642f1132eb08c85c'
error: The following untracked working tree files would be overwritten by checkout:
	libcork/COPYING
	libcork/Makefile.am
	libcork/README.markdown
	libcork/include/libcork/cli.h
	libcork/include/libcork/cli/commands.h
	libcork/include/libcork/config.h
	libcork/include/libcork/config/arch.h
	libcork/include/libcork/config/bsd.h
	libcork/include/libcork/config/config.h
	libcork/include/libcork/config/gcc.h
	libcork/include/libcork/config/linux.h
	libcork/include/libcork/config/macosx.h
	libcork/include/libcork/config/mingw32.h
	libcork/include/libcork/config/solaris.h
	libcork/include/libcork/config/version.h
	libcork/include/libcork/core.h
	libcork/include/libcork/core/allocator.h
	libcork/include/libcork/core/api.h
	libcork/include/libcork/core/attributes.h
	libcork/include/libcork/core/byte-order.h
	libcork/include/libcork/core/callbacks.h
	libcork/include/libcork/core/error.h
	libcork/include/libcork/core/gc.h
	libcork/include/libcork/core/hash.h
	libcork/include/libcork/core/id.h
	libcork/include/libcork/core/mempool.h
	libcork/include/libcork/core/net-addresses.h
	libcork/include/libcork/core/timestamp.h
	libcork/include/libcork/core/types.h
	libcork/include/libcork/core/u128.h
	libcork/include/libcork/ds.h
	libcork/include/libcork/ds/array.h
	libcork/include/libcork/ds/bitset.h
	libcork/include/libcork/ds/buffer.h
	libcork/include/libcork/ds/dllist.h
	libcork/include/libcork/ds/hash-table.h
	libcork/include/libcork/ds/managed-buffer.h
	libcork/include/libcork/ds/ring-buffer.h
	libcork/include/libcork/ds/slice.h
	libcork/include/libcork/ds/stream.h
	libcork/include/libcork/helpers/errors.h
	libcork/include/libcork/helpers/gc.h
	libcork/include/libcork/helpers/posix.h
	libcork/include/libcork/os.h
	libcork/include/libcork/os/files.h
	libcork/include/libcork/os/process.h
	libcork/include/libcork/os/subprocess.h
	libcork/include/libcork/threads.h
	libcork/include/libcork/threads/atomics.h
	libcork/include/libcork/threads/basics.h
Please move or remove them before you can switch branches.
Aborting
Makefile:62: recipe for target '/home/t123yh/OpenWrt-SDK-15.05.1-x86-64_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64/dl/simple-obfs-0.0.2-149b57d24d90fff3f7983b42967f6354acb5eeca.tar.gz' failed

No need to fill out the values in LUCI, right?

After install this ipk in openwrt, I fill out the values at luci UI:

"plugin": "obfs-local",
"plugin_opts": "obfs=http;obfs-host=www.baidu.com"

But unfortunately, can not access the internet.
So, no need to put the values at LUCI end, right?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.