[NoCat] Pre-recorded MAC address type of service

twistedpickles twistedpickles at gmail.com
Sat Jun 23 07:50:20 PDT 2007


That's why I only described it. I am not good with perl.



An alternate method.
The following steps are for Fedora/Redhat based distros.


/etc/dhcpd.conf  to show the mobile phones i.e.:

########## twistedpickle's cell ######

host twistedpickles {
hardware ethernet 00:09:2d:ad:1c:ec;
fixed-address 10.0.200.49;
}

############################


I've setup nocat to run as a service on all my servers. If the servers
for what ever reason are rebooted nocat automatically starts up.
I created a file named "permit-access.fw" then placed in ../nocat/gateway/bin

contents of permit-access.fw:

#################################################################################
#
        #
#               Always Connect and never prompt the following machines
        #
#               for a password
        #
#
        #
#################################################################################




##################   PIX
#####################################################
/usr/local/nocat/gateway/bin/access.fw permit 00:0e:d7:20:5d:ec
10.0.200.16 Member

##########   EmailKiosk1   ##################################################
/usr/local/nocat/gateway/bin/access.fw permit 00:06:25:b7:f3:7a
10.0.200.21 Member

##########   EmailKiosk2   ##################################################
/usr/local/nocat/gateway/bin/access.fw permit 00:06:25:d9:a2:16
10.0.200.22 Member


##########   PolyCom Video   ##################################################
/usr/local/nocat/gateway/bin/access.fw permit 00:e0:db:02:14:83
10.0.200.25 Member

##########  twistedpickle's cell phone
##############################################
/usr/local/nocat/gateway/bin/access.fw permit 00:09:2d:ad:1c:ec
10.0.200.49  Owner



Since nocat starts at boot I then add
'/usr/local/nocat/gateway/bin/permit-access.fw'
to '/etc/rc.d/rc.local' This way ensures that all services boot up
first including nocat and then access is granted to the users in
permit-access.fw when ' /etc/rc.d/rc.local' runs.


-- 
::twistedPickles:: :




More information about the NoCat mailing list