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
In reply to Re: Using SSH via SOCKS5 Proxy
by erroneousBollock
in thread Using SSH via SOCKS5 Proxy (Solution Posted)
by cmv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |