Opened 12 years ago

Closed 5 years ago

#801 closed defect (wontfix)

Torify+dsocks: A listener connection returned a socket with a mismatched family

Reported by: m4rco- Owned by: dgoulet
Priority: Low Milestone:
Component: Core Tor/Torsocks Version:
Severity: Keywords:
Cc: m4rco-, nickm, arma, proper@… Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by dgoulet)

When i try to torify something trought it doesn't works.

Example: nmap -P0 -v -n -p21 -sV

Starting Nmap 4.50 ( ) at 2008-08-16 13:45 CEST
Initiating Connect Scan at 13:45
Scanning [1 port]
nmap: (dsocks) couldn't connect to proxy at
Discovered open port 21/tcp on
Completed Connect Scan at 13:45, 0.14s elapsed (1 total ports)
Host appears to be up ... good.
Interesting ports on
21/tcp open ftp

Nmap done: 1 IP address (1 host up) scanned in 0.204 seconds

this is the entry in the Tor debub log

[info] connection_handle_listener_read(): Bug: A listener connection returned a socket with a mismatched family. Socks listener for addr_family 2 gave us a socket with address family 0. Dropping.

i've the last version of dsocks aviable from darwinports.

Thanks to all!


[Automatically added by flyspray2trac: Operating System: OSX 10.4 Tiger]

Child Tickets

Change History (4)

comment:1 Changed 12 years ago by nickm

That's very strange! It can only happen when an accept() call on an AF_INET listener returns an AF_UNSPEC socket,
(assuming that AF_INET==2 an AF_UNSPEC==0).

I wonder if the dsocks code is doing something weird here.

comment:2 Changed 8 years ago by proper

Cc: proper@… added

Do you still care about this bug or got it in meanwhile obsolete?

comment:3 Changed 5 years ago by nickm

Component: TorifyTorsocks
Owner: set to dgoulet

comment:4 Changed 5 years ago by dgoulet

Description: modified (diff)
Resolution: Nonewontfix
Status: newclosed

Too old and reported on deprecated version of torsocks. Closing it as obsolete.

Note: See TracTickets for help on using tickets.