From: Don Gould Date: Fri, 07 Jul 2006 13:21:28 +0000 Subject: [LARTC] Hello New MAC / DHCP Request - How to spot the presents of Message-Id: <44AE5FD8.1020307@bowenvale.co.nz> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------050603070802020206070009" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. --------------050603070802020206070009 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi All, How do I find out about new new DHCP connections as they appear? I want to write a script that will do some stuff based on a new ip request from a machine on my lan. ie - new user connects to the lan, DHCP server on my Linux (debian) gateway gives them an IP, my script is run automatically to change the firewall rules and start recording their presents, or if it's an unknown user it will add their MAC to a list of unknown users. More details of the application can be seen here: http://www.tcn.bowenvale.co.nz/component/option,com_wrapper/Itemid,23/ Cheers Don -- Don Gould www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz - www.bowenvale.co.nz - SkypeMe: ThinkDesignPrint Upcoming events: Software Freedom Day - 16 September 2006 - www.softwarefreedomday.org --------------050603070802020206070009 Content-Type: text/x-vcard; charset=utf-8; name="don.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="don.vcf" begin:vcard fn:Don Gould n:Gould;Don org:Bowenvale Communications adr:Riccarton;;2/59 Peverel Street;Christchurch;;8004;New Zealand email;internet:don@bowenvale.co.nz title:Director tel;work:+64 3 348 7235 tel;home:+64 3 348 7235 tel;cell:+64 21 114 0699 url:http://www.bowenvale.co.nz version:2.1 end:vcard --------------050603070802020206070009 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --------------050603070802020206070009--