TProxy as Experiment

Instalasi Tproxy di slackware 64

cd /usr/src/
wget -c http://ftp.linux.org.uk/pub/linux/linux-2.6/linux-2.6.25.11.tar.bz2
tar -xvf linux-2.6.25.11.tar.bz2 
rm linux
ln -s /usr/src/linux-2.6.25.11 linux



wget -c http://www.balabit.com/downloads/files/tproxy/tproxy-kernel-2.6.25-20080519-165031-1211208631.tar.bz2
tar -xvf tproxy-kernel-2.6.25-20080519-165031-1211208631.tar.bz2 
cd linux
cat ../tproxy-2.6.25-20080519/00*.patch | patch -p1 --dry-run
cat ../tproxy-2.6.25-20080519/00*.patch | patch -p1 


cp .config /usr/src/linux-2.6.25.11
cd /usr/src/linux-2.6.25.11
make
make modules_install
make kernelversion
output --> 2.6.25.11
cp arch/i386/boot/bzImage /boot/bzimage-2.6.25.11
cd /boot 
rm vmlinuz
ln -s /boot/bzimage-2.6.25.11 vmlinuz
System.map
cp /usr/src/linux/System.map /boot/System.map-2.6.25.11
ln -s /boot/System.map-2.6.25.11 System.map


init 6


cd /usr/src


wget http://www.netfilter.org/projects/iptables/files/iptables-1.4.0.tar.bz2
tar -xvf iptables-1.4.0.tar.bz2


wget http://www.balabit.com/downloads/files/tproxy/tproxy-iptables-1.4.0-20080521-113954-1211362794.patch


cat ../tproxy-iptables*.patch | patch -p1

No comments:

Post a Comment