LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   I using the torsocks with curl. (https://www.linuxquestions.org/questions/linux-security-4/i-using-the-torsocks-with-curl-4175584113/)

P.G.Krish 07-08-2016 12:34 PM

I using the torsocks with curl.
 
Code:

torsocks curl icanhazip.com
It shows the following error
Quote:

libtorsocks(15700): WARNING: The symbol res_querydomain() was not found in any shared library with the reported error: Not Found!
Also, we failed to find the symbol __res_querydomain() with the reported error: Not Found
Please help to solve
Thanks in Advance

TB0ne 07-08-2016 01:19 PM

Quote:

Originally Posted by P.G.Krish (Post 5572624)
Code:

torsocks curl icanhazip.com
It shows the following error
Code:

libtorsocks(15700): WARNING: The symbol res_querydomain() was not found in any shared library with the reported error: Not Found!
Also, we failed to find the symbol __res_querydomain() with the reported error: Not Found


Again, as you've been asked SEVERAL TIMES NOW, which you said you would 'correct':

YOU NEED TO PROVIDE DETAILS WHEN ASKING A QUESTION


Things like version/distro of Linux, how you got torsocks installed (package? Source?), etc. Gets old having to ask each and every time. Based on a BRIEF Google search for the error, it could be a known bug in older versions of torsocks, or a bug in the library. Since you provide ZERO details, there's no way to know.

P.G.Krish 07-09-2016 12:29 AM

Sorry for my mistake
 
Quote:

Originally Posted by TB0ne (Post 5572645)
Again, as you've been asked SEVERAL TIMES NOW, which you said you would 'correct':

YOU NEED TO PROVIDE DETAILS WHEN ASKING A QUESTION


Things like version/distro of Linux, how you got torsocks installed (package? Source?), etc. Gets old having to ask each and every time. Based on a BRIEF Google search for the error, it could be a known bug in older versions of torsocks, or a bug in the library. Since you provide ZERO details, there's no way to know.

First up all, I am sorry for my mistake. I already search the google, this bug belongs to older version. I am installing the tor using
Code:

apt-get install tor
My os is ubuntu 14.04

TB0ne 07-10-2016 10:42 AM

Quote:

Originally Posted by P.G.Krish (Post 5572923)
First up all, I am sorry for my mistake.

Yes, but you have done this CONSISTENTLY with every new thread you've opened.
Quote:

I already search the google, this bug belongs to older version.
Right...which is exactly what you were told.
Quote:

I am installing the tor using
Code:

apt-get install tor
My os is ubuntu 14.04
...and if you're trying to use torsocks, then WHY are you installing TOR???? The VERY FIRST HIT for "how to install torsocks on ubuntu 14.04" is, amazingly:
https://www.howtoinstall.co/en/ubuntu/trusty/torsocks

...which says SPECIFICALLY to run "sudo apt-get install torsocks"...NOT "tor". Further, you're using Ubuntu 14.04...which is OLD...so, using an old OS will (logically), install the old package, right?????? So install torsocks from source...or, load and use the latest ubuntu, which will THEN provide the latest package.

P.G.Krish 07-11-2016 12:16 AM

But Tor installed torsocks automatically
 
Quote:

Originally Posted by TB0ne (Post 5573600)
Yes, but you have done this CONSISTENTLY with every new thread you've opened.

Right...which is exactly what you were told.

...and if you're trying to use torsocks, then WHY are you installing TOR???? The VERY FIRST HIT for "how to install torsocks on ubuntu 14.04" is, amazingly:
https://www.howtoinstall.co/en/ubuntu/trusty/torsocks

...which says SPECIFICALLY to run "sudo apt-get install torsocks"...NOT "tor". Further, you're using Ubuntu 14.04...which is OLD...so, using an old OS will (logically), install the old package, right?????? So install torsocks from source...or, load and use the latest ubuntu, which will THEN provide the latest package.


Thanks TBOne, I installed torsocks successfully by your guidence. But i Read some tutorial which is only said to install tor, because tor is automatically install torsocks.But it exactly right.When i install tor , torsocks also worked.http://www.binarytides.com/proxify-a...with-torsocks/


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