LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-24-2013, 02:08 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Rep: Reputation: 47
tsocks in fedora 17 64bit


I am using
Code:
#  uname -a
Linux CSG.localdomain 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
#  cat /etc/fedora-release 
Fedora release 17 (Beefy Miracle)
I hav tor browser up & running
My tsocks configuration is
Code:
#  cat /etc/tsocks.conf 
server = 127.0.0.1
server_type = 5
server_port = 9050
Still I get
Code:
]$  tsocks wget www.google.com
--2013-06-24 11:38:44--  http://www.google.com/
Resolving www.google.com... 173.194.36.116, 173.194.36.112, 173.194.36.113, ...
Connecting to www.google.com|173.194.36.116|:80... 11:38:44 libtsocks(29791): Error 111 attempting to connect to SOCKS server (Connection refused)
failed: Connection refused.
Connecting to www.google.com|173.194.36.112|:80... 11:38:44 libtsocks(29791): Error 111 attempting to connect to SOCKS server (Connection refused)
failed: Connection refused.
Connecting to www.google.com|173.194.36.113|:80... 11:38:44 libtsocks(29791): Error 111 attempting to connect to SOCKS server (Connection refused)
failed: Connection refused.
Connecting to www.google.com|173.194.36.114|:80... 11:38:44 libtsocks(29791): Error 111 attempting to connect to SOCKS server (Connection refused)
failed: Connection refused.
Connecting to www.google.com|173.194.36.115|:80... 11:38:44 libtsocks(29791): Error 111 attempting to connect to SOCKS server (Connection refused)
failed: Connection refused.
Connecting to www.google.com|2404:6800:4002:803::1012|:80... failed: Network is unreachable.
Where am I going wrong ?
 
Old 06-24-2013, 02:34 AM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,583

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
Hi,

how did you (or whoever) make the proxy you are trying to use? It looks like it doesn't exist.

Evo2.
 
Old 06-24-2013, 02:36 AM   #3
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Original Poster
Rep: Reputation: 47
I found out that vidalia control panel > message log says
Jun 24 11:52:26.039 [Notice] Socks listener listening on port 43318.

So editing server_port to 43318 worked.


Thank you.
 
Old 06-24-2013, 04:26 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Original Poster
Rep: Reputation: 47
Still , how can I find via command prompt the port on which tor server is running
I tried
Code:
tcp        0      0 *:sunrpc                *:*                     LISTEN     
tcp        0      0 localhost:58898         *:*                     LISTEN     
tcp        0      0 *:53810                 *:*                     LISTEN     
tcp        0      0 CSG.localdomain:domain  *:*                     LISTEN     
tcp        0      0 localhost:43318         *:*                     LISTEN      Nothing special about this  
tcp        0      0 *:ssh                   *:*                     LISTEN     
tcp        0      0 localhost:ipp           *:*                     LISTEN     
tcp        0      0 localhost:smtp          *:*                     LISTEN     
tcp6       0      0 [::]:sunrpc             [::]:*                  LISTEN     
tcp6       0      0 [::]:presence           [::]:*                  LISTEN     
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN     
tcp6       0      0 localhost:ipp           [::]:*                  LISTEN     
tcp6       0      0 [::]:60986              [::]:*                  LISTEN     
unix  2      [ ACC ]     STREAM     LISTENING     29951    /run/user/cdot/keyring-B2XM1t/ssh
unix  2      [ ACC ]     STREAM     LISTENING     16858    @ISCSIADM_ABSTRACT_NAMESPACE
unix  2      [ ACC ]     STREAM     LISTENING     20999    /var/run/rpcbind.sock
unix  2      [ ACC ]     STREAM     LISTENING     16005    /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     7955     /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     19480    /var/run/libvirt/libvirt-sock
unix  2      [ ACC ]     STREAM     LISTENING     19482    /var/run/libvirt/libvirt-sock-ro
unix  2      [ ACC ]     STREAM     LISTENING     11035    /dev/gpmctl
unix  2      [ ACC ]     STREAM     LISTENING     11042    /var/run/abrt/abrt.socket
unix  2      [ ACC ]     STREAM     LISTENING     20179    /tmp/.ICE-unix/3839
unix  2      [ ACC ]     STREAM     LISTENING     215442   /tmp/OSL_PIPE_1000_SingleOfficeIPC_1bb3741983bccbddfd086f82f6c4d8f
unix  2      [ ACC ]     STREAM     LISTENING     17460    /var/run/mcelog-client
unix  2      [ ACC ]     STREAM     LISTENING     29397    @/tmp/dbus-0NHJGOAKAz
unix  2      [ ACC ]     STREAM     LISTENING     29958    /tmp/.esd-1000/socket
unix  2      [ ACC ]     STREAM     LISTENING     29960    /home/cdot/.pulse/f7e4e3b7d1e4bf339dab353100000010-runtime/native
unix  2      [ ACC ]     STREAM     LISTENING     29961    /home/cdot/.pulse/f7e4e3b7d1e4bf339dab353100000010-runtime/dbus-socket
unix  2      [ ACC ]     STREAM     LISTENING     16852    @ISCSID_UIP_ABSTRACT_NAMESPACE
unix  2      [ ACC ]     STREAM     LISTENING     16004    @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     18553    /var/run/sdp
unix  2      [ ACC ]     STREAM     LISTENING     10201    @/tmp/gdm-session-GduyRkwQ
unix  2      [ ACC ]     STREAM     LISTENING     15512    /var/run/rpcbind.sock
unix  2      [ ACC ]     SEQPACKET  LISTENING     8100     /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     15523    /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     26543    /run/user/cdot/keyring-B2XM1t/control
unix  2      [ ACC ]     STREAM     LISTENING     16559    /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     8110     /run/systemd/journal/stdout
unix  2      [ ACC ]     STREAM     LISTENING     15535    /var/run/cups/cups.sock
unix  2      [ ACC ]     STREAM     LISTENING     15546    /var/run/pcscd/pcscd.comm
unix  2      [ ACC ]     STREAM     LISTENING     15558    /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     10195    /var/run/setroubleshoot/setroubleshoot_server
unix  2      [ ACC ]     STREAM     LISTENING     20195    /run/user/cdot/keyring-B2XM1t/pkcs11
unix  2      [ ACC ]     STREAM     LISTENING     20178    @/tmp/.ICE-unix/3839
unix  2      [ ACC ]     STREAM     LISTENING     29949    /run/user/cdot/keyring-B2XM1t/gpg
 
Old 06-24-2013, 04:29 AM   #5
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,583

Rep: Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226Reputation: 1226
Hi,

you could do a port scan:
Code:
nmap localhost
Evo2.
 
Old 06-24-2013, 05:02 AM   #6
sumeet inani
Member
 
Registered: Oct 2008
Posts: 881
Blog Entries: 26

Original Poster
Rep: Reputation: 47
I tried
Code:
#  netstat -tulpn | grep -i tor
tcp        0      0 127.0.0.1:58898         0.0.0.0:*               LISTEN      30146/tor           
tcp        0      0 127.0.0.1:43318         0.0.0.0:*               LISTEN      30146/tor
Also
Code:
#  nmap  localhost

Starting Nmap 5.51 ( http://nmap.org ) at 2013-06-24 14:30 IST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000050s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 995 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
111/tcp  open  rpcbind
631/tcp  open  ipp
5298/tcp open  presence

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use tsocks with transmission-cli? penyuan Linux - Networking 0 02-10-2013 05:45 PM
Fedora 64bit and Ubuntu 12.04 64bit sees only 7.8GiB when i have 8GB. no igp. snowcake Linux - Hardware 11 11-04-2012 01:48 AM
tsocks libtsocks.so cannot be preloaded secretlydead Linux - Networking 0 08-27-2009 09:17 AM
Socks5 --tsocks- and UDP sarajevo Linux - Networking 0 08-10-2009 03:28 PM
tor transproxy tsocks .... gabsik Linux - Security 7 04-28-2006 02:58 PM


All times are GMT -5. The time now is 06:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration