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

  • Cisco Switches How To Get Of Port Line Status Console Messages
  • Cisco DHCP Snooping Relay Setup Information
  • Cisco Switch Setup Guide Command List
  • Cisco 2960 Switch Reset To Factory Defaults
  • How To Boot Cisco CUCM UCSInstall 8.6, 10, 11 and 12 on KVM/Proxmox
  • VBOX VirtualBox How To Import Raw .img Disk File
  • Windows Server 2012, 2016, 2019 How To Install and Missing Disabled Telnet Client
  • proxmox vm networking breaks when you restart your network on the hostnode
  • Linux ln symlink how to update existing symbolic link
  • Ubuntu 18.04 / Linux Mint 19.1 Cannot Type or Login - solution
  • LUKS Hard Drive Encryption on Linux Mint Ubuntu Debian etc how to mount encrypted hard drive
  • How to use nmap locate other machines/computers/servers on your network using nmap
  • Linux Mint 18.2 Create Config File To Start Application Upon Login
  • Dell Wyse Thin Client BIOS Access Key
  • sudoers file in /etc warning about comments/includes!
  • Centos 7 Reallocate logical volume space to another
  • lvm how to reduce volume size
  • letsencrypt certbot error "Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80."
  • SSH error cannot Forward or Listen "bind: Cannot assign requested address"
  • X11 SSH Linux Forwarding Error