[Pkg-anonymity-tools] Bug#768140: torsocks: FTBFS on kfreebsd-*

Steven Chamberlain steven at pyro.eu.org
Fri Nov 7 14:10:15 UTC 2014


Steven Chamberlain wrote:
> For FreeBSD I came up with the attached, hackish workaround
> using SO_TYPE (widely available), and out of the available
> protocols in PF_LOCAL (= AF_UNIX), assume that only
> SOCK_{DGRAM,SEQPACKET,STREAM} are candidates for fd passing.

Actually it didn't work:

| $ ./test_fd_passing 
| 1..5
| ok 1 - Inet socket 3 created connected to 93.95.227.222
| ok 2 - Unix socket 4 created at /tmp/torsocks-unix-fd-passing.sock
| ok 3 - Inet socket 3 sent successfully.
| ok 4 - Data received successfully
| not ok 5 - Received INET socket through the unix socket
| #     Failed test (test_fd_passing.c:thread_recv() at line 374)
| # Looks like you failed 1 test of 5.

Regards,
-- 
Steven Chamberlain
steven at pyro.eu.org



More information about the Pkg-anonymity-tools mailing list