Hello again, After Lazaro's response I gave new though to this question and soon it became clear that the problem was a presumption I made: that gnome3 proxy settings being directed to a local machine tor server would made it automatically use torsocks.conf. The fact is, gnome proxy settings are configured apart in gsettings and have no knowledge of /etc/torsocks.conf. To change gnome3 proxy settings and avoid using tor to connect to local lan, use dconf Editor and put local lan in ignore_hosts value. As I said earlier, though, curlftpfs + fstab totally sidesteps this inhouse gnome config. -- -- André Nunes Batista
--- Begin Message ---
- To: debian-user@lists.debian.org
- Subject: Re: Torsocks.conf problem
- From: André Nunes Batista <andrenbatista@gmail.com>
- Date: Sat, 04 May 2013 05:10:53 -0300
- Message-id: <[🔎] 1367655053.8894.12.camel@tagesuhu-pc>
- In-reply-to: <[🔎] 1367625159.4973.8.camel@tagesuhu-pc>
- References: <[🔎] 1367625159.4973.8.camel@tagesuhu-pc>
Hi, I've found a bash workaround to this problem. Instead of connecting to ftp server through nautilus, it is possible to locally mount it using curlftpfs package. First, you need to make sure to except the host ip range address with $no_proxy bash environment variable, something like: export $no_proxy=localhost,192.168.1.1/8,127.0.0.1/16 After installing curlftpfs, create a mount point: # mkdir /PATH/DIR Mount it: # curlftpfs -o rw,allow_other,user USER:PASSWORD@HOST/ /PATH/DIR To unmount: # fusermount -u /PATH/DIR To make it permanent, add this line to /etc/fstab: curlftpfs#USER:PASSWORD@HOST/DIR /PATH/DIR fuse rw,allow_other,auto,user 0 0 Since this is a more universal solution, I'm sticking to it. -- -- André Nunes Batista--- Begin Message ---
- To: debian-user@lists.debian.org
- Subject: Torsocks.conf problem
- From: André Nunes Batista <andrenbatista@gmail.com>
- Date: Fri, 03 May 2013 20:52:39 -0300
- Message-id: <[🔎] 1367625159.4973.8.camel@tagesuhu-pc>
Hi there! I use tor system wide through gnome proxy settings localhost:9050. According to torsocks.conf man pages, /etc/torsocks.conf should avoid using torsocks when connecting to local lan network. local = 192.168.0.0/255.255.0.0 should do the job in my scenario. However, nautilus refuses to connect to a local ftp server and informs a "Connection through SOCKSv4 server rejected". Since I'm able to connect to this server using iceweasel and filezilla, it's a real issue, but it would be better to have this server attached to nautilus and avoid the hassle of using another program just for this. Does anyone have a hint to the solution? -- -- André Nunes BatistaAttachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---Attachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---
Attachment:
signature.asc
Description: This is a digitally signed message part