in reply to Using SSH via SOCKS5 Proxy (Solution Posted)
uses LD_PRELOAD environment variable to wrap all networking-related system calls so that programs can go thought a SOCKS server that was installed as part of a firewall.I'd imagine something like socksify ./script.pl will do the trick.
If your program also needs to access some non-socksified subnet you'll need to split your program into two parts which talk via a pipe (or similar).
Wikipedia has an article which discusses the LD_PRELOAD mechanism.
-David
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using SSH via SOCKS5 Proxy
by cmv (Chaplain) on Sep 11, 2007 at 19:23 UTC |