 |
 |
Socks / runsocks in darwin / OSX
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: Jul 2002
Location: Algarve, Portugal
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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!
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|