Termux-packages: Package request: obfsproxy

Created on 25 Apr 2017  路  4Comments  路  Source: termux/termux-packages

hi,

since you added tor package, could you add obfsproxy package to enable bridge in tor ,or any other pluggable transport that works with tor
Thank you

package request

Most helpful comment

Get python-dev.

All 4 comments

i did it with go
go get git.torproject.org/pluggable-transports/meek.git/meek-client for meek
go get git.torproject.org/pluggable-transports/obfs4.git/obfs4proxy for obfs4proxy
then copied them to /data/data/com.termux/files/usr/bin/
and i added this torrc

UseBridges 1
Bridge meek 0.0.2.0:1 url=https://d2zfqthxsdq309.cloudfront.net/ front=d19tqk5t6qcjac.cloudfront.net
ClientTransportPlugin meek exec /data/data/com.termux/files/usr/bin/meek-client

I gor this error for
pip install obfsproxy
:

creating build/temp.linux-armv7l-3.6
    creating build/temp.linux-armv7l-3.6/src
    arm-linux-androideabi-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fwrapv -Wall -Wstrict-prototypes -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/ -I/data/data/com.termux/files/usr/include/python3.6m -c src/_fastmath.c -o build/temp.linux-armv7l-3.6/src/_fastmath.o
    src/_fastmath.c:31:10: fatal error: 'Python.h' file not found
    #include "Python.h"
             ^~~~~~~~~~
    1 error generated.
    error: command 'arm-linux-androideabi-clang' failed with exit status 1

    ----------------------------------------
Command "/data/data/com.termux/files/usr/bin/python -u -c "import setuptools, tokenize;__file__='/data/data/com.termux/files/usr/tmp/pip-install-oetv9970/PyCrypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /data/data/com.termux/files/usr/tmp/pip-record-tvpyr1kt/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /data/data/com.termux/files/usr/tmp/pip-install-oetv9970/PyCrypto/

Get python-dev.

Package obfsproxy is available via pip (python package manager).
Package obfs4proxy is available in unstable-repo:

pkg install unstable-repo
pkg install obfs4proxy
Was this page helpful?
0 / 5 - 0 ratings

Related issues

zejji picture zejji  路  4Comments

roalyr picture roalyr  路  3Comments

adit picture adit  路  3Comments

divyakutty picture divyakutty  路  3Comments

bkdwt picture bkdwt  路  3Comments