Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2005 10:57:04 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Carstea Catalin <carstea.catalin@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Script - Tentation! ( for experts )
Message-ID:  <42FA3FF0.3000103@u.washington.edu>
In-Reply-To: <dc6701ba05081010545ba15247@mail.gmail.com>
References:  <dc6701ba05081010545ba15247@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Carstea Catalin wrote:

>I want to make a script but i don't know how. Please help me! 
> 1.I want one script that put MAC address automaticaly to my ruleset of ipfw 
>and restart at the end of script ipfw - service .
>2.In this script ipfw has rules to permit only some MAC addresses and deny 
>others.
> *Ex: /etc/firewall.sh -add "00:23:f3:23:a0:e4" -name "WS1"*
> In this script ( /etc/firewall.sh ) are my rules to permit only MAC address 
>of my LAN users specified with this inputs (*-add 00:23:f3:23:a0:e4 -name 
>WS1)*
>..........................................................................................
>To make this script a must verify if exist "-add" and if exist i must verify 
>if exist " 02:23...." (the MAC) and after if exist "-name" and "ws#"
>................................................................................................................................................................................................
>.....after i must add this MAC adress to ipfw command in the 
>/etc/firewall.sh
>..................................................................................................................................................................................................
> If exist one expert that can helpe me please give me the script! Tks!
>     
>Carstea Catalin
>  
>
Based on all of your emails lately, it sounds like you need a consultant 
more than just answers to some questions :).
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42FA3FF0.3000103>