Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Socks / runsocks in darwin / OSX

Socks / runsocks in darwin / OSX
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2002
Location: Algarve, Portugal
Status: Offline
Reply With Quote
Dec 30, 2002, 08:02 PM
 
Hi!

I need to run some software like Proteus (ICQ, MSN, etc), Mail.app, iTunes (listen to radio), through a firewalled network (at college). There's a SOCKS server available but putting the socks server's address in the preferences doesn't seem to result... so i tried to compile socks, it compiled but runsocks doesn't run: it complains about the OS not supporting shared libraries (?).

Is there a solution to what i need?
(running software that were not compiled natively with socks support)

Thanks for the help.
--
Leonel Martins
     
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Online
Reply With Quote
Dec 31, 2002, 05:09 AM
 
You need to get the source code and compile the socks5-lib yourself.

You should visit www.permeo.com and request it. It is free for private/educational use.

On MacOS X 10.2 it compiles without issues, but I couldn't get it to work under 10.2 Server.

Then you have to recompile fetchmail, using

./configure --with-libsocks (or something along those lines)

Mail.app should work then.
I don't suffer from insanity, I enjoy every minute of it.
     
Senior User
Join Date: Sep 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Dec 31, 2002, 04:44 PM
 
the SOCKS lib can and does work under OSX.
So like the gentleman said, you need to
recompile the applications in question
w/ -lsocks (or use the ./configure option).

The runsocks thing is a different story.
It's nothing more than a shell script
which sets up the PRELOAD environment.

What that means is that the runtime linker
will use the library/ies found in the
preload area before resolving the symbols
normally. Do a 'man dyld' and look for
DYLD_INSERT_LIBRARIES.
(Last edited by howardm4; Dec 31, 2002 at 05:05 PM. )
     
Fresh-Faced Recruit
Join Date: Jul 2002
Location: Algarve, Portugal
Status: Offline
Reply With Quote
Jan 1, 2003, 07:10 PM
 
Originally posted by OreoCookie:
You need to get the source code and compile the socks5-lib yourself.

You should visit www.permeo.com and request it. It is free for private/educational use.

On MacOS X 10.2 it compiles without issues, but I couldn't get it to work under 10.2 Server.

Then you have to recompile fetchmail, using

./configure --with-libsocks (or something along those lines)

Mail.app should work then.
First of all, thanks for replying my post.

I did manage to compile socks5 (i didn't download it from permeo, but it's socks5-v1.0r11, it should be the same, no?), I installed (with make install), but when I ./configure --with-socks5 fetchmail, it complains about not finding the socks5 library:

checking for SOCKSconnect in -lsocks5... no
configure: error: could not find libsocks5 which is needed for built-in SOCKS5 support

could it be because there's only a libsocks5.a in /usr/local/lib (no .dylib)?

Thanks alot.
Greetings.
--
Leonel Martins
     
Senior User
Join Date: Sep 2000
Location: Boston, MA
Status: Offline
Reply With Quote
Jan 1, 2003, 10:31 PM
 
no, it's because ./configure probably
doesn't look in /usr/local/lib at all.

You'll have to take a peek at the
internals of the configure script to
see where it is looking.

Or, just put a symbolic link to it
in /usr/lib
     
Fresh-Faced Recruit
Join Date: Jul 2002
Location: Algarve, Portugal
Status: Offline
Reply With Quote
Jan 2, 2003, 11:50 AM
 
Originally posted by OreoCookie:
Then you have to recompile fetchmail, using

./configure --with-libsocks (or something along those lines)

Mail.app should work then.
Ok.. fetchmail is compiled with SOCKS5 support.. what about now?

How does fetchmail work with Mail.app?

And what about sending mail through the firewall.. do i have to set up sendmail (or something)?

Thanks for the help.
--
Leonel Martins
     
Mac Elite
Join Date: Jan 2001
Status: Offline
Reply With Quote
Jul 7, 2004, 09:14 AM
 
After fetchmail is compiled, how does it work with Mail? Does Mail just use fetchmail to get all my email? Where do I specify the socks server settings? Do I need to compile SOCKS5 and then edit one of those config file? Or is there a Unix config file somewhere, or does it use the sys prefs SOCKS settings?

Also, do I need the runsocks app if I am going to recompile fetchmail, or just have to have the SOCKS5 library installed?

Thanks!
     
   
Thread Tools
Forum Links
Forum 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:50 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2