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

  • How high can a Xeon CPU get?
  • bash fix PATH environment variable "command not found" solution
  • Ubuntu Linux Mint Debian Redhat Youtube Cannot Play HD or 4K videos, dropped frames or high CPU usage with Nvidia or AMD Driver
  • hostapd example configuration for high speed AC on 5GHz using WPA2
  • hostapd how to enable and use WPS to connect wireless devices like printers
  • Dell Server Workstation iDRAC Dead after Firmware Update Solution R720, R320, R730
  • Cloned VM/Server/Computer in Linux won't boot and goes to initramfs busybox Solution
  • How To Add Windows 7 8 10 11 to GRUB Boot List Dual Booting
  • How to configure OpenDKIM on Linux with Postfix and setup bind zonefile
  • Debian Ubuntu 10/11/12 Linux how to get tftpd-hpa server setup tutorial
  • efibootmgr: option requires an argument -- 'd' efibootmgr version 15 grub-install.real: error: efibootmgr failed to register the boot entry: Operation not permitted.
  • Apache Error Won't start SSL Cert Issue Solution Unable to configure verify locations for client authentication SSL Library Error: 151441510 error:0906D066:PEM routines:PEM_read_bio:bad end line SSL Library Error: 185090057 error:0B084009:x509 certif
  • Linux Debian Mint Ubuntu Bridge br0 gets random IP
  • redis requirements
  • How to kill a docker swarm
  • docker swarm silly issues
  • isc-dhcp-server dhcpd how to get longer lease
  • nvidia cannot resume from sleep Comm: nvidia-sleep.sh Tainted: Linux Ubuntu Mint Debian
  • zfs and LUKS how to recover in Linux
  • [error] (28)No space left on device: Cannot create SSLMutex Apache Solution Linux CentOS Ubuntu Debian Mint