|
|
Tor does work in the [http://www.ipcop.org IPCop Linux Distribution] as a standard linux daemon. For valid security reasons, IPCop does not come with any developer libs or even gcc. IPCop is based upon [http://www.slackware.com Slackware Linux]. Therefore, one can build Tor in Slackware and merely copy the Tor binaries over to the IPCop system.
|
|
|
|
|
|
As of this writing, there is no further integration of IPCop and Tor. There is no tab or configuration through the IPCop Administration Web pages at this time. If you write one, please update this page and offer the complete package for download as a gpg signed package (hint: `gpg -ab`).
|
|
|
|
|
|
== These steps are for Slackware: ==
|
|
|
1. Download and install Slackware Linux. Use a bare minimum package selection.
|
|
|
2. Download the [http://monkey.org/~provos/libevent/ LibEvent source code]
|
|
|
3. Configure libevent as such: `./configure --disable-shared --enable-static`
|
|
|
4. `make` and then `make install` libevent
|
|
|
5. update `/etc/ld.so.conf` to include `/usr/local/lib`; run `ldconfig` a few times to make sure the libevent libs are seen.
|
|
|
6. Download the latest Tor source tarball from [https://www.torproject.org]
|
|
|
7. Configure Tor as such: `./configure --with-libevent-dir=/usr/local/lib --enable-static-libevent`
|
|
|
8. `make` and then `make install` Tor
|
|
|
9. transfer everything in /usr/local/lib/ in Slackware to your IPCop system in /usr/local/lib/. An example command could be: `scp -P 8022 -r /usr/local/lib user@ipcop-system:/usr/local/lib`
|
|
|
10. transfer everything tor in /usr/local/bin/ in Slackware to your IPCop system in /usr/local/bin/. An example command could be: `scp -P 8022 -r /usr/local/bin/tor* user@ipcop-system:/usr/local/bin/`
|
|
|
11. transfer the torrc files in /usr/local/etc/tor/ in Slackware to your IPCop system in /usr/local/etc/tor/. An example command could be: `scp -P 8022 -r /usr/local/etc/tor user@ipcop-system:/usr/local/etc/tor`
|
|
|
|
|
|
== These steps are for IPCop: ==
|
|
|
12. For a Tor client, login via ssh to the IPCop system. Add `/usr/local/bin/tor` to `/etc/rc.local`. This starts Tor on bootup of IPCop. Skip Step 2 below.
|
|
|
13. For a Tor server, login via ssh to the IPCop system. Configure `/usr/local/etc/torrc` to your liking (see Tor docs). Then follow step 1 above.
|
|
|
14. update `/etc/ld.so.conf` to include `/usr/local/lib`; run `ldconfig` a few times to make sure the libevent libs are seen.
|
|
|
15. You can now use your IPCop system as a Tor router into the network. |
|
|
\ No newline at end of file |