Opened 15 years ago

Last modified 9 years ago

#21623 new defect

tsocks 1.8.4 - segmentation fault with ssh -D *and* -L

Reported by: antro5@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: tsocks

Description

Hi,

I'm using the following configuration file:

local = 127.0.0.1/255.255.255.255
local = 192.168.0.0/255.255.255.0
local = 10.0.0.0/255.0.0.0

server = 127.0.0.1
# Server type defaults to 4 so I need to specify it as 5 for this one
server_type = 5
# The port defaults to 1080 but I've stated here 
server_port = 8888 

Then, I log in on a proxy machine via ssh with

ssh -D 8888 myname@theProxyMachine

and then

tsocks ssh -L5900:localhost:5900 mymachine

returns a straight "Segmentation fault" without any debugging information. However, if I repeat the last command without port forwarding, i.e.,

tsocks ssh mymachine

then I have no segmentation fault and everything is ok. Same observations if I use /usr/bin/ssh or /opt/local/bin/ssh instead of ssh. I am unfamiliar with debugging under Mac OS X but I am willing to provide help.

Attachments (1)

ssh_2015-05-26-141933_Ralphs-MacBook-Pro-2.crash (16.0 KB) - added by rschmied (Ralph Schmieder) 9 years ago.
mac os crash log file

Download all attachments as: .zip

Change History (4)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to darren.bane@…

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from darren.bane@… to macports-tickets@…

It would be helpful to see the crash log for this. One is virtually always generated even if the Crash Reporter dialog is not displayed.

comment:3 Changed 9 years ago by rschmied (Ralph Schmieder)

Quite an old defect... but seeing the same here, essentially port forwarding over a SSH session going through a SOCKS server crashes SSH. attaching a Crash Report.

Changed 9 years ago by rschmied (Ralph Schmieder)

mac os crash log file

Note: See TracTickets for help on using tickets.