Centos/obfsproxy errors

I never did get it working, it is too bad as obfsproxy should really be an option and integrated into the OpenVPN client and server or something similar:

 

yum -y install python-pip python-devel

No package python-pip available.
#install the EPEL repo

python-pip install obfsproxy

python-pip install obfsproxy
-bash: python-pip: command not found

pip install obfsproxy

      File "/tmp/pip-build-6GFFBz/PyCrypto/setup.py", line 278, in run
        raise RuntimeError("autoconf error")
    RuntimeError: autoconf error

    ----------------------------------------
Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-6GFFBz/PyCrypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-mdOoVA-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-6GFFBz/PyCrypto

yum -y install python-crypto

    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c twisted/test/raiser.c -o build/temp.linux-x86_64-2.6/twisted/test/raiser.o
    unable to execute gcc: No such file or directory
    error: command 'gcc' failed with exit status 1


yum -y install gcc make

pip install obfsproxy

Installing collected packages: Twisted, argparse, pyptlib, pyyaml, obfsproxy
  Running setup.py install for Twisted
  Running setup.py install for pyptlib
  Running setup.py install for pyyaml
  Running setup.py install for obfsproxy
Successfully installed Twisted-15.4.0 argparse-1.4.0 obfsproxy-0.2.13 pyptlib-0.0.6 pyyaml-3.11


 obfsproxy
Traceback (most recent call last):
  File "/usr/bin/obfsproxy", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse


pip install -U setuptools

 obfsproxy      
Traceback (most recent call last):
  File "/usr/bin/obfsproxy", line 9, in <module>
    load_entry_point('obfsproxy==0.2.13', 'console_scripts', 'obfsproxy')()
  File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib/python2.6/site-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.6/site-packages/obfsproxy/pyobfsproxy.py", line 12, in <module>
    import obfsproxy.network.launch_transport as launch_transport
  File "/usr/lib/python2.6/site-packages/obfsproxy/network/launch_transport.py", line 2, in <module>
    import obfsproxy.transports.transports as transports
  File "/usr/lib/python2.6/site-packages/obfsproxy/transports/transports.py", line 4, in <module>
    import obfsproxy.transports.obfs2 as obfs2
  File "/usr/lib/python2.6/site-packages/obfsproxy/transports/obfs2.py", line 13, in <module>
    import obfsproxy.common.aes as aes
  File "/usr/lib/python2.6/site-packages/obfsproxy/common/aes.py", line 7, in <module>
    from Crypto.Util import Counter
ImportError: cannot import name Counter
 


Tags:

centos, obfsproxy, errorsi, integrated, openvpn, server, yum, install, python, pip, devel, epel, repo, bash, quot, tmp, gffbz, pycrypto, py, runtimeerror, autoconf, usr, bin, import, setuptools, tokenize, __file__, exec, compile, getattr, mdoova, txt, externally, crypto, gcc, pthread, fno, strict, aliasing, wp, d_fortify_source, fexceptions, fstack, protector, param, ssp, buffer, mtune, generic, d_gnu_source, fpic, fwrapv, dndebug, raiser, temp, linux, _, unable, execute, directory, installing, collected, packages, argparse, pyptlib, pyyaml, successfully, installed, traceback, module, pkg_resources, load_entry_point, lib, working_set, __requires__, resolve, parse_requirements, requirements, distributionnotfound, req, console_scripts, __init__, get_distribution, dist, ep, __import__, module_name, fromlist, __name__, pyobfsproxy, launch_transport, transports, obfs, aes, util, importerror,

Latest Articles

  • systemd-journald high memory usage solution
  • How to Install FreePBX in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist
  • How to Install Any OS on a Physical Drive from Windows Using VMware Workstation (Linux, Windows, BSD)
  • CDN Cloudflare how to set and preserve the real IP of the client without modifying application code on Apache
  • CentOS 7 fix Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was 14: curl#6 -
  • Ubuntu Debian How To Install Recommended Packages Automatically
  • How to set Linux Ubuntu Redhat Debian Command Line http https socks proxy for yum apt
  • How to resize a pdf without losing much quality in Linux Mint Ubuntu Debian Redhat Solution
  • qemu: could not load PC BIOS 'bios-256k.bin' solution