Article Listing 1 Listing 2 Listing 3 Listing 4
Listing 5 feb2007.tar

Listing 5 ebfilter script

#!/bin/bash

ethtool -K vif0.0 tx off
ethtool -K eth0 tx off
ethtool -K peth0 tx off

ebtables -F INPUT
ebtables -F FORWARD
ebtables -F OUTPUT

ebtables -A FORWARD --out-interface peth0 --protocol ipv4 \
  --ip-protocol udp --ip-destination-port 67:68 -j DROP

ebtables -A FORWARD --in-interface peth0 --protocol ipv4
service dhcpd restart

lvcreate -L10G -n krb5_root_01 vg_vm1
lvcreate -L1114M -n krb5_swap_01 vg_vm1

wget -O/tmp/k http://192.168.42.18/fc5/core/images/xen/vmlinuz
wget -O/tmp/i http://192.168.42.18/fc5/core/images/xen/initrd.img

cp listing02.txt /var/local_yum/fc5/ks.cfg
chmod 755 /var/local_yum/fc5/ks.cfg

cp listing03.txt /etc/xen/krb5

xm create -c krb5 

sleep 5

service httpd stop
service dhcpd stop

umount /dev/mapper/vg_yum-yum_archive

cp listing04.txt /etc/xen/krb5

xm create -c krb5