Opened 11 months ago

Last modified 4 months ago

#28688 assigned defect

torsocks: Unsupported syscall errors in version 2.3.0

Reported by: yurivict271 Owned by:
Priority: Medium Milestone:
Component: Core Tor/Torsocks Version: Tor: 0.3.4.9
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Copied from the downstream bug report:

After upgrading to torsocks-2.3.0, I get an error when using torify:

$ torify git clone https://github.com/freebsd/poudriere.git
1543787510 WARNING torsocks[25796]: [syscall] Unsupported syscall number 20. Denying the call (in tsocks_syscall() at syscall.c:568)
Cloning into 'poudriere'...
1543787510 WARNING torsocks[25796]: [syscall] Unsupported syscall number 2. Denying the call (in tsocks_syscall() at syscall.c:568)
error: cannot fork() for git-remote-https: Function not implemented

The same command works with torsocks 2.2.0.

syscall number 2 is fork. There have been some changes to syscall.c which may cause this issue.

Child Tickets

Change History (4)

comment:2 Changed 10 months ago by arma

we had a person on #tor today who also had this problem:

"torsocks[2002]: [syscall] Unsupported syscall number 20. Denying the call (in tsocks_syscall() at syscall.c:568)"

"after that warning, network unreachable to app. (i have tried torsocks lynx, torsocks curl etc)"

i pointed them to this ticket and they said

"I have downgraded to version 2.2. Then works"

So, count one more vote for somebody addressing this ticket.

comment:3 Changed 10 months ago by yurivict271

There are two issues here: a regression with this particular syscall, and many other syscalls not being supported (at least on FreeBSD). I suggest that the latter issue should be fixed: all syscalls should be supported.

comment:4 Changed 4 months ago by gaba

Owner: dgoulet deleted
Status: newassigned

removing dgoulet from ownership in torsocks component

Note: See TracTickets for help on using tickets.