Here in will be the recipe needed to install a clean, effecient and viable build of Debian, NoCat and related apps to turn a NewCloneArmyBox into a powerfull node on the PTPnet

(These are rough notes taken by JeffWillard and DarrinEden from the actions of KeeganQuinn which will be hammered into a step by step recipe)

The Debian Install

NoCat Setup

Here's the raw capture of the stuff I did to the second box. There's a little fu that didn't get captured in a vi session, but forthe most part...

{{{eth0 Link encap:Ethernet HWaddr 00:C0:F0:17:74:F6

eth1 Link encap:Ethernet HWaddr 00:00:F8:04:F2:9F

lo Link encap:Local Loopback

{{{We trust you have received the usual lecture from the local System Administrator. It usually boils down to these two things:


{{{main/admin sudo main/net ssh main/admin pciutils main/utils fileutils main/utils shellutils main/utils textutils main/utils gnupg main/net dnsmasq main/net snmpd main/base lilo main/net iptables main/devel make main/editors nvi main/admin deborphan}}}

{{{ do_symlinks = No do_initrd = Yes

postinst_hook = /sbin/update-grub postrm_hook = /sbin/update-grub do_bootloader = No}}}

{{{Searching for GRUB installation directory ... found: /boot/grub .

Could not find /boot/grub/menu.lst file. Would you like /boot/grub/menu.lst generated for you? (y/N) y Found kernel: /boot/vmlinuz-2.4.22-1-k6 Found kernel: /boot/vmlinuz-2.4.18-bf2.4 Updating /boot/grub/menu.lst ... done}}}

>(Reading database ... 8790 files and directories currently installed.) >Removing libident ... >Removing libpcre3 ... >Purging configuration files for libpcre3 ... >root@number-two:~# deborphan >root@number-two:~# pwd >/home/dje >root@number-two:~# ls >NoCatAuth-nightly stable-01.patch >root@number-two:~# cd NoCatAuth-nightly/ >root@number-two:~/NoCatAuth-nightly# ls >BUGS Makefile TODO cgi-bin gateway.conf libexec > >INSTALL NEWS authserv.conf doc htdocs pgp >LICENSE README bin etc lib >root@number-two:~/NoCatAuth-nightly# make gateway >Looking for gpgv... >Checking for firewall compatibility: /sbin/iptables found. >libexec/iptables/access.fw -> bin/access.fw >libexec/iptables/clear.fw -> bin/clear.fw >libexec/iptables/clear.fw -> bin/clear.fw >libexec/iptables/dump.fw -> bin/dump.fw >libexec/iptables/initialize.fw -> bin/initialize.fw >libexec/iptables/reset.fw -> bin/reset.fw >libexec/iptables/throttle.fw -> bin/throttle.fw >/sbin/iptables -> bin/iptables >[ -d /usr/local/nocat ] || mkdir -p /usr/local/nocat >chmod 755 /usr/local/nocat >[ -d /usr/local/nocat/htdocs ] || cp -R htdocs /usr/local/nocat >cp -R bin /usr/local/nocat >Installing NoCat to /usr/local/nocat... >cp -R lib pgp /usr/local/nocat >[ -f /usr/local/nocat/nocat.conf ] || \ > perl -pe 's#/usr/local/nocat#/usr/local/nocat#g' gateway.conf \ > > /usr/local/nocat/nocat.conf > >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Congratulations! > NoCat gateway is installed. To start it, check > /usr/local/nocat/nocat.conf, then run bin/gateway > as root. >-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > >root@number-two:~/NoCatAuth-nightly# shutdown -h now > >Broadcast message from root (pts/0) (Tue Oct 28 13:39:32 2003): > >The system is going down for system halt NOW! >root@number-two:~/NoCatAuth-nightly# Connection to closed

>by remote host. >Connection to closed. >Darrin-Edens-Computer:~ dje$