1. * Package: net-proxy/obfsproxy-0.1.4
  2. * Repository: gentoo
  3. * Maintainer: blueness@gentoo.org
  4. * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU
  5. * FEATURES: sandbox test userpriv usersandbox
  6. Installed LAPACK for library directory lib64
  7. [1] reference *
  8. Installed BLAS for library directory lib64
  9. [1] reference *
  10. Installed CBLAS for library directory lib64
  11. [1] gsl
  12. [2] reference *
  13. >>> Unpacking source...
  14. >>> Unpacking obfsproxy-0.1.4.tar.gz to /tmp/portage/net-proxy/obfsproxy-0.1.4/work
  15. >>> Source unpacked in /tmp/portage/net-proxy/obfsproxy-0.1.4/work
  16. >>> Preparing source in /tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4 ...
  17. >>> Source prepared.
  18. >>> Configuring source in /tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4 ...
  19. ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking
  20. configure: loading site script /usr/share/config.site
  21. checking for a BSD-compatible install... /usr/bin/install -c
  22. checking whether build environment is sane... yes
  23. checking for a thread-safe mkdir -p... /bin/mkdir -p
  24. checking for gawk... gawk
  25. checking whether make sets $(MAKE)... yes
  26. checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
  27. checking whether the C compiler works... yes
  28. checking for C compiler default output file name... a.out
  29. checking for suffix of executables...
  30. checking whether we are cross compiling... no
  31. checking for suffix of object files... o
  32. checking whether we are using the GNU C compiler... yes
  33. checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
  34. checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
  35. checking for style of include used by make... GNU
  36. checking dependency style of x86_64-pc-linux-gnu-gcc... none
  37. checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
  38. checking for a sed that does not truncate output... /bin/sed
  39. checking for a Python interpreter with version >= 2.6... python
  40. checking for python... /usr/bin/python
  41. checking for python version... 2.7
  42. checking for python platform... linux2
  43. checking for python script directory... ${prefix}/lib64/python2.7/site-packages
  44. checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
  45. checking for x86_64-pc-linux-gnu-pkg-config... no
  46. checking for pkg-config... /usr/bin/pkg-config
  47. checking pkg-config is at least version 0.9.0... yes
  48. checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
  49. checking for grep that handles long lines and -e... /bin/grep
  50. checking for egrep... /bin/grep -E
  51. checking for ANSI C header files... yes
  52. checking for sys/types.h... yes
  53. checking for sys/stat.h... yes
  54. checking for stdlib.h... yes
  55. checking for string.h... yes
  56. checking for memory.h... yes
  57. checking for strings.h... yes
  58. checking for inttypes.h... yes
  59. checking for stdint.h... yes
  60. checking for unistd.h... yes
  61. checking sys/socket.h usability... yes
  62. checking sys/socket.h presence... yes
  63. checking for sys/socket.h... yes
  64. checking for sys/types.h... (cached) yes
  65. checking netinet/in.h usability... yes
  66. checking netinet/in.h presence... yes
  67. checking for netinet/in.h... yes
  68. checking whether C compiler accepts -D_FORTIFY_SOURCE=2... no
  69. checking whether C compiler accepts -fstack-protector-all... yes
  70. checking whether C compiler accepts -fwrapv... yes
  71. checking whether C compiler accepts -fPIE... yes
  72. checking whether C compiler accepts --param ssp-buffer-size=1... yes
  73. checking whether C compiler accepts -fno-strict-aliasing... yes
  74. checking whether C compiler accepts -fno-strict-overflow... yes
  75. checking whether the linker accepts -pie... yes
  76. checking whether the linker accepts -Wl,-pie... yes
  77. checking whether the linker accepts -z relro... yes
  78. checking whether the linker accepts -z now... yes
  79. checking for libevent... yes
  80. checking for libcrypto... yes
  81. checking for SHA256_Init... yes
  82. checking for library containing ntohl... none required
  83. checking for inline... inline
  84. checking size of int... 4
  85. checking size of size_t... 8
  86. checking whether we have va_copy... yes
  87. configure: creating ./config.status
  88. config.status: creating Makefile
  89. config.status: creating config.h
  90. config.status: executing depfiles commands
  91. >>> Source configured.
  92. >>> Compiling source in /tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4 ...
  93. make -j24
  94. make all-am
  95. make[1]: Entering directory `/tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4'
  96. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o container.o `test -f 'src/container.c' || echo './'`src/container.c
  97. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o crypt.o `test -f 'src/crypt.c' || echo './'`src/crypt.c
  98. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o external.o `test -f 'src/external.c' || echo './'`src/external.c
  99. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o main.o `test -f 'src/main.c' || echo './'`src/main.c
  100. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o managed.o `test -f 'src/managed.c' || echo './'`src/managed.c
  101. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o network.o `test -f 'src/network.c' || echo './'`src/network.c
  102. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o protocol.o `test -f 'src/protocol.c' || echo './'`src/protocol.c
  103. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o socks.o `test -f 'src/socks.c' || echo './'`src/socks.c
  104. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o status.o `test -f 'src/status.c' || echo './'`src/status.c
  105. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o util.o `test -f 'src/util.c' || echo './'`src/util.c
  106. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o dummy.o `test -f 'src/protocols/dummy.c' || echo './'`src/protocols/dummy.c
  107. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o obfs2.o `test -f 'src/protocols/obfs2.c' || echo './'`src/protocols/obfs2.c
  108. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o obfs_main.o `test -f 'src/obfs_main.c' || echo './'`src/obfs_main.c
  109. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o tinytest.o `test -f 'src/test/tinytest.c' || echo './'`src/test/tinytest.c
  110. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o unittest.o `test -f 'src/test/unittest.c' || echo './'`src/test/unittest.c
  111. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o unittest_container.o `test -f 'src/test/unittest_container.c' || echo './'`src/test/unittest_container.c
  112. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o unittest_crypt.o `test -f 'src/test/unittest_crypt.c' || echo './'`src/test/unittest_crypt.c
  113. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o unittest_socks.o `test -f 'src/test/unittest_socks.c' || echo './'`src/test/unittest_socks.c
  114. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o unittest_dummy.o `test -f 'src/test/unittest_dummy.c' || echo './'`src/test/unittest_dummy.c
  115. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o unittest_managed.o `test -f 'src/test/unittest_managed.c' || echo './'`src/test/unittest_managed.c
  116. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o unittest_obfs2.o `test -f 'src/test/unittest_obfs2.c' || echo './'`src/test/unittest_obfs2.c
  117. x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -c -o unittest_util.o `test -f 'src/test/unittest_util.c' || echo './'`src/test/unittest_util.c
  118. /bin/sed -e 's,[@]PYTHON[@],/usr/bin/python,' < ./src/test/tester.py.in > tester.py
  119. chmod +x tester.py
  120. rm -f libobfsproxy.a
  121. ar cru libobfsproxy.a container.o crypt.o external.o main.o managed.o network.o protocol.o socks.o status.o util.o dummy.o obfs2.o
  122. x86_64-pc-linux-gnu-ranlib libobfsproxy.a
  123. x86_64-pc-linux-gnu-gcc -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -Wl,-O1 -Wl,--as-needed -pie -Wl,-pie -z relro -z now -o obfsproxy obfs_main.o libobfsproxy.a -levent -lcrypto
  124. x86_64-pc-linux-gnu-gcc -Wall -Wwrite-strings -Werror -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -fstack-protector-all -fwrapv -fPIE --param ssp-buffer-size=1 -fno-strict-aliasing -fno-strict-overflow -Wl,-O1 -Wl,--as-needed -pie -Wl,-pie -z relro -z now -o unittests tinytest.o unittest.o unittest_container.o unittest_crypt.o unittest_socks.o unittest_dummy.o unittest_managed.o unittest_obfs2.o unittest_util.o libobfsproxy.a -levent -lcrypto
  125. make[1]: Leaving directory `/tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4'
  126. >>> Source compiled.
  127. >>> Test phase [check]: net-proxy/obfsproxy-0.1.4
  128. * Tinderbox QA Notice: 'make' called by __eapi0_src_test
  129. make -j24 -j24 -j1 check
  130. make check-TESTS
  131. make[1]: Entering directory `/tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4'
  132. container/smartlist_basic: OK
  133. container/smartlist_strings: OK
  134. container/smartlist_overlap: OK
  135. container/smartlist_digests: OK
  136. container/smartlist_join: OK
  137. container/bitarray: OK
  138. container/digestset: OK
  139. container/strmap: OK
  140. container/pqueue: OK
  141. container/order_functions: OK
  142. crypt/hashvec: OK
  143. crypt/aes1: OK
  144. crypt/aes2: OK
  145. crypt/rng: OK
  146. socks/socks5_send_negotiation: OK
  147. socks/socks5_request: OK
  148. socks/socks5_request_reply: OK
  149. socks/socks4_request: OK
  150. socks/socks4_request_reply: OK
  151. dummy/option_parsing:
  152. FAIL src/test/unittest_dummy.c:50: assert(c->result != NULL): (nil) vs (nil)
  153. [option_parsing FAILED]
  154. dummy/transfer: 2013-01-02 14:08:09 [warn] Error resolving 127.0.0.1:1800: address family for nodename not supported
  155. 2013-01-02 14:08:09 [warn] dummy syntax:
  156. dummy <mode> <listen_address> [<target_address>]
  157. mode ~ server|client|socks
  158. listen_address, target_address ~ host:port
  159. target_address is required for server and client mode,
  160. and forbidden for socks mode.
  161. Examples:
  162. obfsproxy dummy socks 127.0.0.1:5000
  163. obfsproxy dummy client 127.0.0.1:5000 192.168.1.99:11253
  164. obfsproxy dummy server 192.168.1.99:11253 127.0.0.1:9005
  165. FAIL src/test/unittest_dummy.c:114: assert(s->cfg_client)
  166. [transfer FAILED]
  167. obfs2/option_parsing:
  168. FAIL src/test/unittest_obfs2.c:76: assert(c->result != NULL): (nil) vs (nil)
  169. [option_parsing FAILED]
  170. obfs2/handshake: 2013-01-02 14:08:09 [warn] Error resolving 127.0.0.1:1800: address family for nodename not supported
  171. 2013-01-02 14:08:09 [warn] You failed at creating a correct obfs2 line.
  172. obfs2 syntax:
  173. obfs2 [obfs2_args] obfs2_opts
  174. 'obfs2_opts':
  175. mode ~ server|client|socks
  176. listen address ~ host:port
  177. 'obfs2_args':
  178. Destination Address ~ --dest=host:port
  179. Shared Secret ~ --shared-secret=<secret>
  180. Example:
  181. obfsproxy obfs2 --dest=127.0.0.1:666 --shared-secret=himitsu server 127.0.0.1:1026
  182. FAIL src/test/unittest_obfs2.c:148: assert(s->cfg_client)/bin/sh: line 5: 337211 Segmentation fault ${dir}$tst
  183. FAIL: unittests
  184. EProcess Process-2:
  185. Traceback (most recent call last):
  186. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  187. self.run()
  188. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  189. self._target(*self._args, **self._kwargs)
  190. File "./tester.py", line 119, in work
  191. listener.bind(address)
  192. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  193. return getattr(self._sock,name)(*args)
  194. error: [Errno 98] Address already in use
  195. EProcess Process-3:
  196. Traceback (most recent call last):
  197. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  198. self.run()
  199. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  200. self._target(*self._args, **self._kwargs)
  201. File "./tester.py", line 119, in work
  202. listener.bind(address)
  203. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  204. return getattr(self._sock,name)(*args)
  205. error: [Errno 98] Address already in use
  206. EProcess Process-4:
  207. Traceback (most recent call last):
  208. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  209. self.run()
  210. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  211. self._target(*self._args, **self._kwargs)
  212. File "./tester.py", line 119, in work
  213. listener.bind(address)
  214. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  215. return getattr(self._sock,name)(*args)
  216. error: [Errno 98] Address already in use
  217. EProcess Process-5:
  218. Traceback (most recent call last):
  219. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  220. self.run()
  221. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  222. self._target(*self._args, **self._kwargs)
  223. File "./tester.py", line 119, in work
  224. listener.bind(address)
  225. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  226. return getattr(self._sock,name)(*args)
  227. error: [Errno 98] Address already in use
  228. EProcess Process-6:
  229. Traceback (most recent call last):
  230. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  231. self.run()
  232. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  233. self._target(*self._args, **self._kwargs)
  234. File "./tester.py", line 119, in work
  235. listener.bind(address)
  236. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  237. return getattr(self._sock,name)(*args)
  238. error: [Errno 98] Address already in use
  239. EProcess Process-7:
  240. Traceback (most recent call last):
  241. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  242. self.run()
  243. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  244. self._target(*self._args, **self._kwargs)
  245. File "./tester.py", line 119, in work
  246. listener.bind(address)
  247. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  248. return getattr(self._sock,name)(*args)
  249. error: [Errno 98] Address already in use
  250. EProcess Process-8:
  251. Traceback (most recent call last):
  252. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  253. self.run()
  254. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  255. self._target(*self._args, **self._kwargs)
  256. File "./tester.py", line 119, in work
  257. listener.bind(address)
  258. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  259. return getattr(self._sock,name)(*args)
  260. error: [Errno 98] Address already in use
  261. EProcess Process-9:
  262. Traceback (most recent call last):
  263. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  264. self.run()
  265. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  266. self._target(*self._args, **self._kwargs)
  267. File "./tester.py", line 119, in work
  268. listener.bind(address)
  269. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  270. return getattr(self._sock,name)(*args)
  271. error: [Errno 98] Address already in use
  272. EProcess Process-10:
  273. Traceback (most recent call last):
  274. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  275. self.run()
  276. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  277. self._target(*self._args, **self._kwargs)
  278. File "./tester.py", line 119, in work
  279. listener.bind(address)
  280. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  281. return getattr(self._sock,name)(*args)
  282. error: [Errno 98] Address already in use
  283. EProcess Process-11:
  284. Traceback (most recent call last):
  285. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  286. self.run()
  287. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  288. self._target(*self._args, **self._kwargs)
  289. File "./tester.py", line 119, in work
  290. listener.bind(address)
  291. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  292. return getattr(self._sock,name)(*args)
  293. error: [Errno 98] Address already in use
  294. EProcess Process-12:
  295. Traceback (most recent call last):
  296. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  297. self.run()
  298. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  299. self._target(*self._args, **self._kwargs)
  300. File "./tester.py", line 119, in work
  301. listener.bind(address)
  302. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  303. return getattr(self._sock,name)(*args)
  304. error: [Errno 98] Address already in use
  305. EProcess Process-13:
  306. Traceback (most recent call last):
  307. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  308. self.run()
  309. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  310. self._target(*self._args, **self._kwargs)
  311. File "./tester.py", line 119, in work
  312. listener.bind(address)
  313. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  314. return getattr(self._sock,name)(*args)
  315. error: [Errno 98] Address already in use
  316. EProcess Process-14:
  317. Traceback (most recent call last):
  318. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  319. self.run()
  320. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  321. self._target(*self._args, **self._kwargs)
  322. File "./tester.py", line 119, in work
  323. listener.bind(address)
  324. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  325. return getattr(self._sock,name)(*args)
  326. error: [Errno 98] Address already in use
  327. EProcess Process-15:
  328. Traceback (most recent call last):
  329. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  330. self.run()
  331. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  332. self._target(*self._args, **self._kwargs)
  333. File "./tester.py", line 119, in work
  334. listener.bind(address)
  335. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  336. return getattr(self._sock,name)(*args)
  337. error: [Errno 98] Address already in use
  338. EProcess Process-16:
  339. Traceback (most recent call last):
  340. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  341. self.run()
  342. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  343. self._target(*self._args, **self._kwargs)
  344. File "./tester.py", line 119, in work
  345. listener.bind(address)
  346. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  347. return getattr(self._sock,name)(*args)
  348. error: [Errno 98] Address already in use
  349. EProcess Process-17:
  350. Traceback (most recent call last):
  351. File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
  352. self.run()
  353. File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
  354. self._target(*self._args, **self._kwargs)
  355. File "./tester.py", line 119, in work
  356. listener.bind(address)
  357. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  358. return getattr(self._sock,name)(*args)
  359. error: [Errno 98] Address already in use
  360. E
  361. ======================================================================
  362. ERROR: test_direct_transfer (__main__.DirectDummy)
  363. ----------------------------------------------------------------------
  364. Traceback (most recent call last):
  365. File "./tester.py", line 170, in setUp
  366. self.input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  367. File "./tester.py", line 100, in connect_with_retry
  368. return socket.create_connection(addr)
  369. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  370. raise err
  371. error: [Errno 111] Connection refused
  372. ======================================================================
  373. ERROR: test_direct_transfer (__main__.DirectObfs2)
  374. ----------------------------------------------------------------------
  375. Traceback (most recent call last):
  376. File "./tester.py", line 170, in setUp
  377. self.input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  378. File "./tester.py", line 100, in connect_with_retry
  379. return socket.create_connection(addr)
  380. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  381. raise err
  382. error: [Errno 111] Connection refused
  383. ======================================================================
  384. ERROR: test_illformed (__main__.SocksBad)
  385. ----------------------------------------------------------------------
  386. Traceback (most recent call last):
  387. File "./tester.py", line 319, in test_illformed
  388. False ])
  389. File "./tester.py", line 267, in socksTest
  390. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  391. File "./tester.py", line 100, in connect_with_retry
  392. return socket.create_connection(addr)
  393. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  394. raise err
  395. error: [Errno 111] Connection refused
  396. ======================================================================
  397. ERROR: test_socks4_unsupported_method_1 (__main__.SocksBad)
  398. ----------------------------------------------------------------------
  399. Traceback (most recent call last):
  400. File "./tester.py", line 324, in test_socks4_unsupported_method_1
  401. False ])
  402. File "./tester.py", line 267, in socksTest
  403. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  404. File "./tester.py", line 100, in connect_with_retry
  405. return socket.create_connection(addr)
  406. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  407. raise err
  408. error: [Errno 111] Connection refused
  409. ======================================================================
  410. ERROR: test_socks5_bad_handshake_1 (__main__.SocksBad)
  411. ----------------------------------------------------------------------
  412. Traceback (most recent call last):
  413. File "./tester.py", line 327, in test_socks5_bad_handshake_1
  414. self.socksTest([ "\x05", False ])
  415. File "./tester.py", line 267, in socksTest
  416. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  417. File "./tester.py", line 100, in connect_with_retry
  418. return socket.create_connection(addr)
  419. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  420. raise err
  421. error: [Errno 111] Connection refused
  422. ======================================================================
  423. ERROR: test_socks5_bad_handshake_2 (__main__.SocksBad)
  424. ----------------------------------------------------------------------
  425. Traceback (most recent call last):
  426. File "./tester.py", line 330, in test_socks5_bad_handshake_2
  427. self.socksTest([ "\x05\x00", False ])
  428. File "./tester.py", line 267, in socksTest
  429. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  430. File "./tester.py", line 100, in connect_with_retry
  431. return socket.create_connection(addr)
  432. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  433. raise err
  434. error: [Errno 111] Connection refused
  435. ======================================================================
  436. ERROR: test_socks5_bad_handshake_3 (__main__.SocksBad)
  437. ----------------------------------------------------------------------
  438. Traceback (most recent call last):
  439. File "./tester.py", line 333, in test_socks5_bad_handshake_3
  440. self.socksTest([ "\x05\x01\x01", False ]) # should get "\x05\xFF"
  441. File "./tester.py", line 267, in socksTest
  442. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  443. File "./tester.py", line 100, in connect_with_retry
  444. return socket.create_connection(addr)
  445. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  446. raise err
  447. error: [Errno 111] Connection refused
  448. ======================================================================
  449. ERROR: test_socks5_bad_handshake_4 (__main__.SocksBad)
  450. ----------------------------------------------------------------------
  451. Traceback (most recent call last):
  452. File "./tester.py", line 336, in test_socks5_bad_handshake_4
  453. self.socksTest([ "\x05\x01\x080", False ]) # should get "\x05\xFF"
  454. File "./tester.py", line 267, in socksTest
  455. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  456. File "./tester.py", line 100, in connect_with_retry
  457. return socket.create_connection(addr)
  458. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  459. raise err
  460. error: [Errno 111] Connection refused
  461. ======================================================================
  462. ERROR: test_socks5_bad_handshake_5 (__main__.SocksBad)
  463. ----------------------------------------------------------------------
  464. Traceback (most recent call last):
  465. File "./tester.py", line 339, in test_socks5_bad_handshake_5
  466. self.socksTest([ "\x05\x02\x01\x02", False ]) # should get "\x05\xFF"
  467. File "./tester.py", line 267, in socksTest
  468. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  469. File "./tester.py", line 100, in connect_with_retry
  470. return socket.create_connection(addr)
  471. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  472. raise err
  473. error: [Errno 111] Connection refused
  474. ======================================================================
  475. ERROR: test_socks5_good_handshake_1 (__main__.SocksBad)
  476. ----------------------------------------------------------------------
  477. Traceback (most recent call last):
  478. File "./tester.py", line 342, in test_socks5_good_handshake_1
  479. self.socksTest([ "\x05\x01\x00", "\x05\x00", False ])
  480. File "./tester.py", line 267, in socksTest
  481. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  482. File "./tester.py", line 100, in connect_with_retry
  483. return socket.create_connection(addr)
  484. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  485. raise err
  486. error: [Errno 111] Connection refused
  487. ======================================================================
  488. ERROR: test_socks5_good_handshake_2 (__main__.SocksBad)
  489. ----------------------------------------------------------------------
  490. Traceback (most recent call last):
  491. File "./tester.py", line 345, in test_socks5_good_handshake_2
  492. self.socksTest([ "\x05\x02\x00\x01", "\x05\x00", False ])
  493. File "./tester.py", line 267, in socksTest
  494. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  495. File "./tester.py", line 100, in connect_with_retry
  496. return socket.create_connection(addr)
  497. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  498. raise err
  499. error: [Errno 111] Connection refused
  500. ======================================================================
  501. ERROR: test_socks5_unsupported_method_1 (__main__.SocksBad)
  502. ----------------------------------------------------------------------
  503. Traceback (most recent call last):
  504. File "./tester.py", line 350, in test_socks5_unsupported_method_1
  505. "\x05\x07\x00\x01\x00\x00\x00\x00\x00\x00", False ])
  506. File "./tester.py", line 267, in socksTest
  507. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  508. File "./tester.py", line 100, in connect_with_retry
  509. return socket.create_connection(addr)
  510. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  511. raise err
  512. error: [Errno 111] Connection refused
  513. ======================================================================
  514. ERROR: test_socks5_unsupported_method_2 (__main__.SocksBad)
  515. ----------------------------------------------------------------------
  516. Traceback (most recent call last):
  517. File "./tester.py", line 355, in test_socks5_unsupported_method_2
  518. "\x05\x07\x00\x01\x00\x00\x00\x00\x00\x00", False ])
  519. File "./tester.py", line 267, in socksTest
  520. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  521. File "./tester.py", line 100, in connect_with_retry
  522. return socket.create_connection(addr)
  523. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  524. raise err
  525. error: [Errno 111] Connection refused
  526. ======================================================================
  527. ERROR: test_socks4_transfer (__main__.SocksDummy)
  528. ----------------------------------------------------------------------
  529. Traceback (most recent call last):
  530. File "./tester.py", line 297, in test_socks4_transfer
  531. ( (0, 90, SERVER_PORT, 127, 0, 0, 1), "!BBH4B" ) ])
  532. File "./tester.py", line 267, in socksTest
  533. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  534. File "./tester.py", line 100, in connect_with_retry
  535. return socket.create_connection(addr)
  536. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  537. raise err
  538. error: [Errno 111] Connection refused
  539. ======================================================================
  540. ERROR: test_socks5_transfer (__main__.SocksDummy)
  541. ----------------------------------------------------------------------
  542. Traceback (most recent call last):
  543. File "./tester.py", line 302, in test_socks5_transfer
  544. ( (5, 0, 0, 1, 127, 0, 0, 1, SERVER_PORT), "!8BH" ) ])
  545. File "./tester.py", line 267, in socksTest
  546. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  547. File "./tester.py", line 100, in connect_with_retry
  548. return socket.create_connection(addr)
  549. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  550. raise err
  551. error: [Errno 111] Connection refused
  552. ======================================================================
  553. ERROR: test_socks4_transfer (__main__.SocksObfs2)
  554. ----------------------------------------------------------------------
  555. Traceback (most recent call last):
  556. File "./tester.py", line 297, in test_socks4_transfer
  557. ( (0, 90, SERVER_PORT, 127, 0, 0, 1), "!BBH4B" ) ])
  558. File "./tester.py", line 267, in socksTest
  559. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  560. File "./tester.py", line 100, in connect_with_retry
  561. return socket.create_connection(addr)
  562. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  563. raise err
  564. error: [Errno 111] Connection refused
  565. ======================================================================
  566. ERROR: test_socks5_transfer (__main__.SocksObfs2)
  567. ----------------------------------------------------------------------
  568. Traceback (most recent call last):
  569. File "./tester.py", line 302, in test_socks5_transfer
  570. ( (5, 0, 0, 1, 127, 0, 0, 1, SERVER_PORT), "!8BH" ) ])
  571. File "./tester.py", line 267, in socksTest
  572. input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
  573. File "./tester.py", line 100, in connect_with_retry
  574. return socket.create_connection(addr)
  575. File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
  576. raise err
  577. error: [Errno 111] Connection refused
  578. ----------------------------------------------------------------------
  579. Ran 17 tests in 17.254s
  580. FAILED (errors=17)
  581. /bin/sh: line 5: 337216 Killed ${dir}$tst
  582. FAIL: tester.py
  583. ===================
  584. 2 of 2 tests failed
  585. ===================
  586. make[1]: *** [check-TESTS] Error 1
  587. make[1]: Leaving directory `/tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4'
  588. make: *** [check-am] Error 2
  589. * ERROR: net-proxy/obfsproxy-0.1.4 failed (test phase):
  590. * emake failed
  591. *
  592. * If you need support, post the output of `emerge --info '=net-proxy/obfsproxy-0.1.4'`,
  593. * the complete build log and the output of `emerge -pqv '=net-proxy/obfsproxy-0.1.4'`.
  594. * The complete build log is located at '/var/log/portage/net-proxy:obfsproxy-0.1.4:20130102-140759.log'.
  595. * For convenience, a symlink to the build log is located at '/tmp/portage/net-proxy/obfsproxy-0.1.4/temp/build.log'.
  596. * The ebuild environment file is located at '/tmp/portage/net-proxy/obfsproxy-0.1.4/temp/environment'.
  597. * Working directory: '/tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4'
  598. * S: '/tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4'
  599. >>> Install obfsproxy-0.1.4 into /tmp/portage/net-proxy/obfsproxy-0.1.4/image/ category net-proxy
  600. make -j24 DESTDIR=/tmp/portage/net-proxy/obfsproxy-0.1.4/image/ install
  601. make[1]: Entering directory `/tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4'
  602. test -z "/usr/bin" || /bin/mkdir -p "/tmp/portage/net-proxy/obfsproxy-0.1.4/image//usr/bin"
  603. test -z "/usr/share/man/man1" || /bin/mkdir -p "/tmp/portage/net-proxy/obfsproxy-0.1.4/image//usr/share/man/man1"
  604. /usr/bin/install -c obfsproxy '/tmp/portage/net-proxy/obfsproxy-0.1.4/image//usr/bin'
  605. /usr/bin/install -c -m 644 doc/obfsproxy.1 '/tmp/portage/net-proxy/obfsproxy-0.1.4/image//usr/share/man/man1'
  606. make[1]: Leaving directory `/tmp/portage/net-proxy/obfsproxy-0.1.4/work/obfsproxy-0.1.4'
  607. >>> Completed installing obfsproxy-0.1.4 into /tmp/portage/net-proxy/obfsproxy-0.1.4/image/
  608. strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line
  609. usr/bin/obfsproxy
  610. ecompressdir: bzip2 -9 /usr/share/man
  611. ecompressdir: bzip2 -9 /usr/share/doc
  612. *
  613. * To run obfsproxy with a tor bridge, add the following to your torrc file:
  614. *
  615. * ORPort 5001
  616. * BridgeRelay 1
  617. * ExitPolicy reject *:*
  618. * ServerTransportPlugin obfs2 exec /usr/bin/obfsproxy --managed
  619. *
  620. * Change your ORPort to whatever value you use. When you start tor,
  621. * you should see a message similar to the following in its logs:
  622. *
  623. * Registered server transport 'obfs2' at '0.0.0.0:33578'
  624. *
  625. * Note the port number, 33578 in this case, and report it, along with
  626. * your IP address, to your bridge clients.
  627. *
  628. *
  629. * To run obfsproxy with a tor client, add the following to your torrc file:
  630. *
  631. * SocksPort 5000
  632. * UseBridges 1
  633. * Bridge obfs2 <IP>:<port>
  634. * ClientTransportPlugin obfs2 exec /usr/bin/obfsproxy --managed
  635. *
  636. * Change your SocksPort to whatever value you use. Also, replace the
  637. * <IP>:<port> pair with the values you received from the tor obfs bridge.
  638. *