[tor-dev] Call for testing/review: obfsclient

Fabian Keil freebsd-listen at fabiankeil.de
Mon Feb 17 14:39:07 UTC 2014


Fabian Keil <freebsd-listen at fabiankeil.de> wrote:

> Yawning Angel <yawning at schwanenlied.me> wrote:
> 
> > On Fri, 14 Feb 2014 16:17:59 +0000
> > Yawning Angel <yawning at schwanenlied.me> wrote:
> > 
> > > What the.  Ok.  I'll look at that, though it is a "this should never
> > > happen" sort of situation. I think I'll end up setting up a FreeBSD VM
> > > since my FreeBSD box is on 9.1p10.
> > 
> > Fixed in commit 600af0991cd3ec66d45399a9496186ae58ab7ace
> 
> Awesome. FreeBSD ports are in progress ...

What I have so far is:
http://www.fabiankeil.de/sourcecode/freebsd/liballium-0.0.1.shar
http://www.fabiankeil.de/sourcecode/freebsd/obfsclient-0.0.1.shar

obfsclient seems to build on platforms that use clang to fulfil
the c++11-lib dependency, but if gcc47 is used the build fails:
https://redports.org/~fk/20140217105018-69178-176436/obfsclient-0.0.1.log

I attached a couple of patches that seem to help, but I ran out
of time for now and there are still a bunch of errors left,
for example:
####
--- src/schwanenlied/pt/scramblesuit/obfsclient-uniform_dh_handshake.o ---
src/schwanenlied/pt/scramblesuit/uniform_dh_handshake.cc: In member function 'bool schwanenlied::pt::scramblesuit::UniformDHHandshake::send_handshake_msg(bufferevent*)':
src/schwanenlied/pt/scramblesuit/uniform_dh_handshake.cc:102:17: error: 'to_string' is not a member of 'std'
*** [src/schwanenlied/pt/scramblesuit/obfsclient-uniform_dh_handshake.o] Error code 1
####

Were you able to build it on your FreeBSD 9.1p10 system using
gcc?

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-white-space-to-make-gcc47-happy.patch
Type: text/x-patch
Size: 4041 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140217/86fa279b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-casts-to-make-gcc47-happy.patch
Type: text/x-patch
Size: 1656 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140217/86fa279b/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Include-errno.h-to-make-gcc47-happy.patch
Type: text/x-patch
Size: 1129 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140217/86fa279b/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-a-couple-of-casts-for-gcc47.patch
Type: text/x-patch
Size: 1596 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140217/86fa279b/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140217/86fa279b/attachment.sig>


More information about the tor-dev mailing list