November 4, 2006
The software described here (my packaging of Dan's Guardian for IPCop) is unmaintained and obsolete. It is only known to work with IPCop version 1.4.0a9, which is (as of this writing) more than 2 years older than the current versions of IPCop.
This installation procedure is known to not work with more recent IPCops because the IPCop GUI has changed, causing my installation script to break the web administration CGI scripts.
Rather than trying to use this, I recommend that you use Cop+ : IPCop with some Extras, which provides Dan's Guardian for more recent IPCop versions.
I will continue to leave this page here for reference/research purposes, but I regret that I will not be unable to provide support for it. Since it is licensed under the GPL, of course, you are free to download it and hack it as you like.
I would like to thank Davis Stovall, who was conscientious enough to dig into how the GUI was broken, and thoughtfully emailed me a description of what he found. If you are curious about how to fix the install described here to work with more recent IPCops, please read these notes from Davis.
I considered incorporating Davis' suggestions into a fixed version of this code; however, I then learned about Cop+ (see above) and I believe that Cop+ is probably a better solution, so fixing this code would simply be pointlessly duplicating what Cop+ has already done (i.e., providing a Dan's Guardian install that is compatible with recent IPCop installations.)
| Get only one of these two alternatives - if unsure, use the left one. | |
| Known to work : dan's guardian 2.6 : Dan's Guardian for IPCop 1.4 |
FOR TESTING ONLY : dan's guardian 2.8 : Dan's Guardian 2.8.0.3 for IPCop 1.4 |
Now we'll copy the tarballs from steps 1 and 2 to the ipcop. If you're on Windows, you need cygwin, and you'll also need "scp" which is installable through the Cygwin installer : choose "Net Default" -> "openssh" in the installer.
On your linux desktop, start a terminal, or on Windows, open a cygwin shell, and go to the directory where you saved the tarballs from step 1. Now do:
scp -o "Port 222" dansguardian.tar.gz dansguardiangui.tar.gz root@192.168.0.6:/tmp ssh -l root -p 222 192.168.0.6 "cd /tmp && tar xfz /tmp/dansguardian.tar.gz && /tmp/setup"
Step 1, Installing the DansGuardian Files ...list of files... /tmp/setup: line 8: clear: command not found Step 1, Installing the DansGuardian Files Step 2, Backup Up IPCop System Files etc/rc.d/rc.sysinit var/ipcop/proxy/acl home/httpd/cgi-bin/proxy.cgi var/ipcop/Ethernet/settings etc/rc.d/rc.firewall tar: Removing leading '/' from member names Step 3, Patching IPCopy System Files DansGuardian Setup Complete
ssh -l root -p 222 192.168.0.6 "cd /tmp && tar xfz /tmp/dansguardiangui.tar.gz && /tmp/setup"
...list of files... Step 1, Installing the DansGuardian Web GUI Step 2, Patching IPCop System Files ...more information... DansGuardian GUI Setup Complete