Hi folks,
Hey Simon...are you reading this??? -if not, hopefully someone can clarify
something for me. Should I create the two files as suggested in Simon's
earlier message (see below) exactly as he has shown...or is there something
unique about my scenario that I should be substituting when I create these
files? Thank you, have a great weekend!!!
Craig
1. Create /etc/LaBrea.in have it contain the following:
dst host <IPADDR>
and tcp[2:2] & 0xfc00 == 0
and not dst port (port # of any services you run that use ports below
1024 like ssh or ftp or www)
2. Create /etc/LaBrea.scr it should contain the following:
#!/bin/sh
IPADDR=`ip addr list label eth0 | grep inet | \
sed '1!d;s/^[^.0-9]*\([.0-9]*\).*$/\1/'`
sed "s/<IPADDR>/$IPADDR/g" /etc/LaBrea.in >/etc/LaBrea.bpf
3. Allow LaBrea.scr to be executable:
chmod 744 /etc/LaBrea.scr
4. Edit the dhclient-exit-hooks to with the following changes:
# Reload networking to see new address
reload_all
Add a few lines so you have
# Reload networking to see new address
reload_all
/etc/LaBrea.scr
svi LaBrea stop
svi LaBrea start
5. Back up dhclient and LaBrea - all done :)
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user