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

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
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

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


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

  • QEMU / KVM How To Manually Create Basic Virtual Machine VM
  • Linux wlan0 check all wireless clients
  • PHP Issues With Decoding Strange Smart Quotes And Non-Standard ASCII Characters
  • /etc/iproute2/rt_tables default settings file in Linux Centos 6,7 and most other NIX's
  • bind named error solutions named[2169]: error (no valid DS) resolving / error (broken trust chain) resolving / : error (no valid RRSIG) resolving 'com/DS/IN':
  • iptables how to log ALL dropped incoming packets
  • How To Edit Linux Based NM Network Manager Connection Settings Without GUI
  • Linux Disable IPV6 Centos / Debian / Mint Howto
  • Linux use growisofs to burn a larger file on a BD-R / Bluray Disc
  • Linux partprobe/partx cannot access last and 4th partition
  • DRBD Errors Caused By Physical Corruption
  • mdadm: add new device failed for /dev/sdb4 as 3: Invalid argument solution
  • Linux named / bind how to dump, view and clear the cache!
  • Centos 6 / 7 / 8 How To Change Default nameservers in /etc/resolv.conf when using DHCP / dhclient
  • Adobe Acrobat Reader for Linux to use and view XFA Fillable Forms
  • Debian Linux Mint Ubuntu iptables save and restore settings automatically onboot and reboot
  • Why SMART is not smart at all and doesn't properly predict disk errors that cause a kernel panic or crash
  • scp: ambiguous target error and solution
  • VirtualBox How To Add iSCSI Storage using VBoxManage
  • iSCSI on Centos 7 Configuration and Setup Guide for Initiator and Target