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
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in
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
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
import obfsproxy.network.launch_transport as launch_transport
File "/usr/lib/python2.6/site-packages/obfsproxy/network/launch_transport.py", line 2, in
import obfsproxy.transports.transports as transports
File "/usr/lib/python2.6/site-packages/obfsproxy/transports/transports.py", line 4, in
import obfsproxy.transports.obfs2 as obfs2
File "/usr/lib/python2.6/site-packages/obfsproxy/transports/obfs2.py", line 13, in
import obfsproxy.common.aes as aes
File "/usr/lib/python2.6/site-packages/obfsproxy/common/aes.py", line 7, in
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

  • Linux tftp listens on all interfaces and IPs by DEFAULT Security Risk Hole Solution
  • python import docx error
  • Cisco Unified Communications Manager Express Cheatsheet CUCME CME
  • Linux Ubuntu Debian Missing privilege separation directory: /var/run/sshd
  • bash how to count the number of columns or words in a line
  • bash if statement how to test program output without assigning to variable
  • RTNETLINK answers: Network is unreachable
  • Centos 7 how to save iptables rules like Centos 6
  • nfs tuning maximum amount of connections
  • qemu-kvm error "Could not initialize SDL(No available video device) - exiting"
  • Centos 7 tftpd will not work with selinux enabled
  • Debian Ubuntu Mint Howto Create Bridge (br0)
  • How To Control Interface that dhcpd server listens to on Debian based Linux like Mint and Ubuntu
  • LUKS unable to type password to unlock during boot on Debian, Ubuntu and Mint
  • Debian Ubuntu and Linux Mint Broken Kernel After Date - New Extra Module Naming Convention
  • Wordpress overwrites and wipes out custom htaccess rules and changes soluton
  • Apache htaccess and mod_rewrite how to redirect and force all URLs and visitors to the SSL / HTTPS version
  • python 3 pip cannot install mysql module
  • QEMU-KVM won't boot Windows 2016 or 2019 server on an Intel Core i3
  • Virtualbox vbox not starting